Create a Custom XSL Translator File
To control the format of syslog messages generated by the Vault, an XSL translator file can be created and applied. The translator receives the XML stream that is generated by the Vault and creates a syslog output record.
The following examples show the difference between the output XML stream directly from the Vault, and the XSL translator file that changes this information into a syslog output record. A description of each field follows the examples.
Output XML file
The following example shows an output XML generated by the Vault.
|
XSL translator file
The following example shows an XSL translator that transforms the XML stream sent by the Vault into an HP ArcSight CEF style entry.
|
Sample custom XSL translator file fields
The following table describes the fields displayed in the above examples.
Field | Description |
---|---|
Rfc5424 | Whether the syslog format complies with RFC5424. |
Timestamp | The timestamp, in MMM DD HH:MM:SS format. For example: Jun 25 10:47:19. |
IsoTimestamp | The timestamp, in ISO Timestamp format (RFC 3339). For example: 2013-6-25T10:47:19Z. |
Hostname | The hostname, in upper case. For example: MY-COMPUTER. |
Vendor | A static value that represents the vendor. |
Product | A static value that represents the product. |
Version | A static value that represents the version of the Vault. |
MessageID | The code ID of the audit records. |
Desc | A static value that displays a description of the audit codes. |
Severity | The severity of the audit records. This is either ‘error’ or ‘info’. |
Issuer | The Vault user who wrote the audit. This is usually the user who performed the operation. |
Action | A description of the audit record. |
SourceUser | The name of the Vault user who performed the operation. |
TargetUser | The name of the Vault user on which the operation was performed. |
Safe | The name of the target Safe. |
File | The name of the target file. |
Station | The IP from where the operation was performed. For PVWA sessions, this will be the real client machine IP. |
Location | The target Location (for Location operations). |
Category | The category name (for category-related operations). |
RequestId | The unique ID of the dual control request (for dual control related audit records). |
Reason | The reason entered by the user. |
PvwaDetails | Specific details of the PVWA audit records. |
ExtraDetails | Specific extra details of the audit records. |
Message | A description of the audit records (same information as in the Desc field). |
GatewayStation | The IP of the web application machine (PVWA). |
CAProperties | Account metadata. |