CPM/ENE - How Password Expiry Notifications Work in Idira PAM-Self Hosted

CPM/ENE - How Password Expiry Notifications Work in Idira PAM-Self Hosted

83
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 16:04 PM


Question


Can we have password expiry notifications for accounts that are not automatically managed by CPM?

Environment


Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM);Event Notification Engine

Answer


It is not possible to set expiry notifications, for accounts that are associated with platforms that don't have periodic change enabled.

1. Password Expiry in PAM is synonymous with Automatic CPM Password Rotation (Automatic periodic password change).
Expiry Date, is the time the CPM will start to change the password (aka 'change interval').

In other words, platforms that are disabled for automatic password management, are also disabled for "expiration" notifications.
There is no such thing as 'password expiration' outside the context of policy settings for periodic change.

2. Policy configuration regarding the periodic change will determine everything regarding the notification logic, disregarding of manual overrides on the account level.
If an account is manually set to disable automatic management, it will not affect the notifications regarding this account.
If the policy is set to perform periodic change, the notifications will still be sent, even for accounts that are manually disabled for automatic management.

3. The logic of when to send notifications is as follows:

*This is put in place ONLY if AllowPeriodicChange is set to Yes on the platform level

Variables-
LastChange - The last CPM successful change task (this is an account property, saved for each object in the safe metadata)
ExpirationPeriod - Set in Master policy and its exceptions (exists only in the database)
DaysNotifyPriorExpiration - Set in the specific policy (policy-policyid.ini)

Formula-
ExpirationDate = Master Policy Expiration policy value, or the exception value created for the policy within the Master Policy. 
NotifyDate = ExpirationDate{minus}DaysNotifyPriorExpiration

Result
ENE will send out a notification on NotifyDate

* If NotifyDate is negative, the notify task will be ignored. This could be due to headstart, expirationperiod or DaysNotifyPriorExpiration being set wrong (CPM Error in logs - CACPM436E)

4. The policy parameter 'DaysNotifyPriorExpiration' has 3 comma separated values:

A. How many days before the NextChange date, to send the first notification
B. How often [in days] to send additional notification ("Send additional notifications ever [x] days")
C. For how many days to keep sending further notifications


Example:
Master policy ExpirationPeriod= 30
DaysNotifyPriorExpiration=10,2,8

Scenario:
- CPM will start changing the password 30 days AFTER the last successful password change
- CPM will send the first notification 10 days before it starts changing the password ( which is 20 days after the last good change).
- CPM will send additional notifications every 2 days for 8 days

5. There are two ENE templates that might be sent for these notifications:

-If the account has had no issues with the last change, then template ID-53 will be used. It states the account will be automatically changed by the CPM (again this could be sent out for accounts that are manually disabled for password rotation, as it comes from the policy level).

-If during the account's last change by the CPM there were issues, and the retries have maxed out, then template ID-51 will be used. It states the account will need to be manually changed.

6. The way ENE works is by clients creating requests, the notification flag is set by the CPM (the client of ENE) for the ENE on a shared safe.

 

NOTE: Headstart Interval does not change what the actual account expiration is. That is determined by the Master Policy, or the exception within the Master Policy. If you're not going to use it then just set it to 0. If you do use it, keep in mind the notification configuration as the password may change before it ever expires, and therefore not send anything. 

Example:

-Expire in 7 days

-Headstart is 2 days

-Days to Notify is 1 day

In this example the password is set to expire in 7 days, but will change 2 days prior. The notification for expiration was 1 day prior. This means the password will change, resetting the expiration, and the notification that was supposed to come out the next day won't be valid anymore.


Log Examples

pm_error.log:
CACPM436E Notify task - Definition of notify task in policy UnixSSH is ignored because it is invalid. The parameter ExpirationPeriod must be greater than DaysNotifyPriorExpiration.

PMTrace.log:
STATIC                              | CA\Notify\NFNotifyThread.cpp(131)                            |  ::  | CACPM439I Notify task - Performing notification for Policy Policy-UnixSSH.ini. 

ENETrace.log:
class CCASPeriodicPasswordChangeJob * __ptr64 | Caso\(31)



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001IVzCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail