2.3 Event Notification Engine (ENE) & Notification Administration

Key Takeaways

  • The Event Notification Engine (ENE) is a Vault-hosted Windows background service that monitors internal queues to deliver real-time email alerts independently of PVWA or CPM availability.
  • ENE configuration is bifurcated: ENEConf.ini on the local Vault file system defines SMTP host connectivity, while NotificationEngine.ini inside the Notification Engine Safe defines alerting rules and triggers.
  • Alert policies monitor critical operational events including CPM password change/reconcile failures, repeated account lockouts, Safe storage capacity thresholds, and system health status.
  • Notification layouts are driven by XSL templates stored in the Notification Engine Safe, dynamically injecting XML event parameters such as account address, error codes, and Safe names.
  • On hardened Vault servers, ENE SMTP delivery failures frequently stem from disabled DNS services or blocked outbound TCP port 25, requiring static IP definitions or hosts file mapping.
Last updated: September 2026

2.3 Event Notification Engine (ENE) & Notification Administration

Quick Answer: The CyberArk Event Notification Engine (ENE) is a dedicated Windows service (CyberArk Event Notification Engine) hosted directly on the Digital Vault server. It operates an event-driven listener that parses Vault audit and operational queues, formats alerts using XSL templates, and dispatches email notifications via SMTP. Low-level mail relay settings reside in ENEConf.ini on the Vault host, while alert rules and recipient templates reside securely inside the Notification Engine Safe.


Event Notification Engine (ENE) Architecture & Mechanics

The Event Notification Engine functions as the automated alerting hub of the CyberArk Privileged Access Management solution. Implemented as a native Windows service (ENE.exe), it runs locally on the Vault server host. Because ENE executes directly on the Vault rather than on distributed component servers, it guarantees that critical operational alerts—such as component failures, security violations, and database anomalies—can be processed and dispatched even if Password Vault Web Access (PVWA) or Central Policy Manager (CPM) services are offline.

Decoupled Event-Driven Processing

The ENE architecture operates independently from synchronous user transactions:

  • Event Interception: As operations occur across the PAM environment (e.g., CPM password rotations, administrator logons, or authentication failures), the Vault database records event entries into dedicated internal notification queue tables.
  • Queue Monitoring: The ENE background daemon continuously polls these internal database queues.
  • Rule Evaluation: When an event is detected, ENE evaluates it against active alerting rules defined in NotificationEngine.ini.
  • Transformation & Dispatch: If an event matches an alerting rule, ENE extracts dynamic metadata (Safe name, account name, target IP, error code, timestamp), merges it with the corresponding Extensible Stylesheet Language (XSL) template, and transmits an email via the configured corporate SMTP relay.

Configuration Architecture: ENEConf.ini vs. NotificationEngine.ini

A central concept on the PAM-DEF certification exam is the architectural division between the two primary ENE configuration files:

1. ENEConf.ini (Host-Level File System Configuration)

Located on the local file system of the Vault server at C:\Program Files (x86)\PrivateArk\Server\Conf\ENEConf.ini. It dictates low-level service parameters, network connectivity, and outbound SMTP relay communication:

  • SMTPServerIP: IPv4 address or resolvable hostname of the corporate mail server/relay.
  • SMTPServerPort: Outbound network port (typically 25 for standard SMTP, or 587 for authenticated TLS).
  • Sender: The email address populated in the "From:" header of all outgoing alerts.
  • SMTPAuthMethod: Authentication mechanism required by the mail relay (None, Basic, or NTLM). When enabled, SenderPassword references an encrypted credential file created by CreateCredFile.exe.
  • KeepMessagesInQueue: When set to Yes, ENE retains undelivered email alerts in its local queue if the SMTP relay is temporarily unreachable.
  • QueueExpirationTime: Number of days undelivered messages are preserved before being permanently purged.

2. NotificationEngine.ini (Vault-Stored Operational Rules)

Stored securely inside the Vault within the Notification Engine Safe. It defines the logical alerting policy of the organization: which events trigger notifications, which recipient templates are invoked, and which distribution lists receive messages. Because it is stored inside a Vault Safe, it automatically replicates to Disaster Recovery (DR) Vaults via PADR replication, ensuring identical alerting behavior upon failover without manual synchronization.


Monitored Security Events & Operational Triggers

Administrators configure ENE alert rules to capture critical operational and compliance events:

  • CPM Password Failures: Dispatched when Central Policy Manager fails to verify, change, or reconcile a credential (e.g., target host unreachable, permission denied, password complexity violation).
  • Account Lockout & Security Anomalies: Real-time alerts on multiple consecutive failed authentication attempts against a Vault user or administrative account lockout events.
  • Safe Quota & Version Thresholds: Warnings issued when a Safe approaches 90% or 100% of its disk storage quota or when version retention limits risk object purging.
  • System Health & Workflow Requests: Alerts covering PrivateArk Server service state changes, DR replication synchronization lag, and pending dual-control authorization requests.

Recipient Templates & XSL Customization

All notification email layouts are governed by Extensible Stylesheet Language (XSL) templates stored inside the Notification Engine Safe. Standard built-in templates include:

  • PasswordChangeFailed.xsl: Formats CPM password rotation failure alerts.
  • PasswordReconciliationFailed.xsl: Formats reconciliation error details.
  • AccountLocked.xsl: Formats user lockout alerts.
  • SafeCapacityExceeded.xsl: Formats Safe storage warnings.
  • DualControlRequest.xsl: Formats access approval request notifications.

Dynamic Variable Substitution

When an event occurs, ENE packages audit telemetry into an XML document. The XSL stylesheet parses this XML payload and dynamically substitutes variable tokens into the final email:

Variable TagDescription
<SafeName>The name of the Safe containing the affected account.
<AccountName>The target account username stored in the Safe.
<Address>The hostname or IP address of the managed target asset.
<PolicyID>The associated PAM platform ID governing the account.
<CPMError>The specific error code and diagnostic text returned by CPM.
<Timestamp>Date and time the event was recorded in the Vault.
<Requestor>Username of the operator who triggered the workflow.

Customizing these templates allows organizations to include corporate escalation instructions or structured headers that allow IT Service Management (ITSM) tools (e.g., ServiceNow, Jira) to automatically ingest alerts and create incident tickets.


ENE Operational Diagnostics & Troubleshooting

When email alerts fail to arrive, administrators investigate the operational log file at C:\Program Files (x86)\PrivateArk\Server\Logs\ENE.log. Common failure modes include:

  1. DNS Resolution Failure on Hardened Vault: Hardened Vaults intentionally disable DNS client services to prevent DNS spoofing. If SMTPServerIP in ENEConf.ini uses an FQDN rather than an IP, ENE cannot resolve the address. Administrators must configure a static IPv4 address or add an entry in C:\Windows\System32\drivers\etc\hosts.
  2. Windows Firewall Blocking Outbound Port 25: The Vault's hardened firewall blocks outbound network traffic by default. An outbound firewall rule must permit TCP traffic from the Vault host to the SMTP relay on port 25 or 587.
  3. SMTP Relay Authentication Rejection: Mail relays often reject unauthenticated submissions (550 5.7.1 Unable to relay). The Vault's IP must be whitelisted on the mail relay's anonymous connector, or valid credentials must be supplied via CreateCredFile.exe.

Architectural Comparison: ENE Configuration Artifacts

FeatureENEConf.iniNotificationEngine.iniXSL Templates
Storage LocationLocal File System (Server\Conf\)Notification Engine SafeNotification Engine Safe
ScopeLow-Level SMTP & Socket TransportHigh-Level Alert Rules & TriggersVisual Presentation & Layout
Replication to DRNo (Configured per Vault node)Yes (Replicates via PADR)Yes (Replicates via PADR)
Primary SettingsSMTPServerIP, SMTPServerPort, SenderEvent filters, Recipient mappingsHTML structure, <CPMError> tags
Diagnostic SourceEvaluated on ENE service startupEvaluated upon each queue eventParsed during message compilation
Loading diagram...
Event Notification Engine (ENE) End-to-End Alerting Architecture
Test Your Knowledge

Where are the Event Notification Engine's (ENE) operational notification rules, alert event triggers, and XSL templates stored, and why is this location significant for high availability?

A
B
C
D
Test Your Knowledge

Following a Vault installation on a hardened Windows server, the Event Notification Engine fails to send email alerts. Review of ENE.log reveals repeated socket connection timeouts attempting to reach the corporate mail server by name (smtp.corp.local:25). What is the most likely architectural root cause?

A
B
C
D
Test Your Knowledge

An organization needs to modify the email body format of alerts generated when the Central Policy Manager fails to verify a privileged account password. How should the administrator implement this modification?

A
B
C
D