Question
What affects the time in which the CPM will change a password?
Answer
The "Change" task can be triggered by a number of different "events", such as the "Change" button clicked by a user in the PVWA, a policy expiration period that has passed, a One-Time password that was retrieved etc...
Once the change task is triggered, the CPM flags the password object for change.
The CPM searches for any password objects flagged with the 'ResetImmediately' flag every ImmediateInterval and for expired password every Interval (both defined in the policy)
One-time: One-time is configured in the policy by setting the OneTimePassword parameter to Yes (OneTimePassword=yes). Also, in order for One-time to work you need to have the AllowManualChange parameter set to Yes (AllowManualChange=Yes). Note: One-time passwords will not be handled until the time specified in the MinValidityPeriod parameter has expired.
Immediate change (when the password change is triggered manually by clicking the "Change" button for example) will be executed only after the number of minutes specified in the 'ImmediateInterval' parameter has passed.
The next time a password will be changed by the CPM is also dependent on the combination of some (or all) of the following parameters:
- In the CPM.ini file, the Interval parameter is used to detect any newly added or removed policies. So, if a new policy was just added it may take up to "Interval" minutes until any passwords associated with this policy are processed (by default this interval is 1 minute)
- In the policy file:
- The Interval parameter determines the number of minutes that the Central Password Manager waits between cycles of processing passwords of this policy as well as detecting any modifications made to the policy. When using a One Time policy, it is recommended that the interval be as short as possible, so passwords will be processed after a short period of time and changed shortly after they were used. It is recommended to set a Safe as Exclusive wherever a One Time policy is applied to the password objects stored in that Safe. This is to ensure accountability.
- The MinValidityPeriod parameter controls the number of minutes the CPM waits from the last retrieval of the password until it will attempt to change it. This gives the user a minimum period of time in which he can use the password before it is changed by the CPM. If Exclusive mode is enforced on the Safe where the password object is stored, the MinValidityPeriod parameter also determines the number of minutes after which an exclusive password will be released automatically by the CPM.
- The ExpirationPeriod parameter controls the number of days after which the passwords related to this policy must be changed. The CPM will always check when the password was last changed and only if the time that passed since then is equal to or greater than the ExpirationPeriod will it attempt to change the password.
- ImmediateInterval - The number of minutes that the CPM waits when the user initiates a Change, Verify or Reconcile task (by clicking the corresponding button on the PVWA)
- ResetOveridesMinValidity - If the password is marked with the ‘ResetImmediately’ property, it will be changed, regardless of the period defined in the MinValidityPeriod parameter. This parameter is also used to release exclusive passwords.
- ResetOveridesTimeFrame - If the password is marked with the ‘ResetImmediately’ property, it will be changed, regardless of the time frame defined in the FromHour and ToHour parameters. This is relevant for change, verify, and reconcile processes, each having their own time frame (Change – FromHour, ToHour, Verification – VFFromHour, VFToHour, Reconciliation – RCFromHour, RCToHour)
- If one of the following is used: FromHour, ToHour, ExecutionDays, VFFromHour, VFToHour, VFExecutionDays, RCFromHour, RCToHour, RCExecutionDays, it will override any other parameters(except ResetOveridesTimeFrame), meaning that the CPM will be restricted to perform the task only if the current time is within the time frame defined in these parameters.
- In case the last CPM task failed, the MinDelayBetweenRetries parameter determines how long before the CPM attempts to run the task again. The CPM will not attempt the task until this time is expired regardless of any other parameter.
Q:
What affects the time in which the CPM will change a password?
A:
The "Change" task can be triggered by a number of different "events", such as the "Change" button clicked by a user in the PVWA, a policy expiration period that has passed, a One-Time password that was retrieved etc...
Once the change task is triggered, the CPM flags the password object for change.
The CPM searches for any password objects flagged with the 'ResetImmediately' flag every ImmediateInterval and for expired password every Interval (both defined in the policy)
One-time: One-time is configured in the policy by setting the OneTimePassword parameter to Yes (OneTimePassword=yes). Also, in order for One-time to work you need to have the AllowManualChange parameter set to Yes (AllowManualChange=Yes). Note: One-time passwords will not be handle until the time specified in the MinValidity parameter has expired.
Immediate change (when the password change is triggered manually by clicking the "Change" button for example) will be executed only after the number of minutes specified in the 'ImmediateInterval' parameter has passed.
The next time a password will be changed by the CPM is also dependent on the combination of some (or all) of the following parameters:
- In the CPM.ini file, the Interval parameter is used to detect any newly added or removed policies. So, if a new policy was just added it may take up to "Interval" minutes until any passwords associated with this policy are processed (by default this interval is 60 minutes)
- In the policy file:
- The Interval parameter determines the number of minutes that the Central Password Manager waits between cycles of processing passwords of this policy as well as detecting any modifications made to the policy. When using a One Time policy, it is recommended that the interval be as short as possible, so passwords will be processed after a short period of time and changed shortly after they were used. It is recommended to set a Safe as Exclusive wherever a One Time policy is applied to the password objects stored in that Safe. This is to ensure accountability.
- The MinValidityPeriod parameter controls the number of minutes the CPM waits from the last retrieval of the password until it will attempt to change it. This gives the user a minimum period of time in which he can use the password before it is changed by the CPM. If Exclusive mode is enforced on the Safe where the password object is stored, the MinValidityPeriod parameter also determines the number of minutes after which an exclusive password will be released automatically by the CPM.
- The ExpirationPeriod parameter controls the number of days after which the passwords related to this policy must be changed. The CPM will always check when the password was last changed and only if the time that passed since then is equal to or greater than the ExpirationPeriod will it attempt to change the password.
- ImmediateInterval - The number of minutes that the CPM waits when the user initiates a Change, Verify or Reconcile task (by clicking the corresponding button on the PVWA)
- ResetOveridesMinValidity - If the password is marked with the ‘ResetImmediately’ property, it will be changed, regardless of the period defined in the MinValidityPeriod parameter. This parameter is also used to release exclusive passwords.
- ResetOveridesTimeFrame - If the password is marked with the ‘ResetImmediately’ property, it will be changed, regardless of the time frame defined in the FromHour and ToHour parameters. This is relevant for change, verify, and reconcile processes, each having their own time frame (Change – FromHour, ToHour, Verification – VFFromHour, VFToHour, Reconciliation – RCFromHour, RCToHour)
- If one of the following is used: FromHour, ToHour, ExecutionDays, VFFromHour, VFToHour, VFExecutionDays, RCFromHour, RCToHour, RCExecutionDays, it will override any other parameters(except ResetOveridesTimeFrame), meaning that the CPM will be restricted to perform the task only if the current time is within the time frame defined in these parameters.
- In case the last CPM task failed, the MinDelayBetweenRetries parameter determines how long before the CPM attempts to run the task again. The CPM will not attempt the task until this time is expired regardless of any other parameter.