Sample Code Audits of Configuration Changes
This sample code audits all changes to the configuration
secret data and sends the logs to a file named
This sample code expands the scope of the minimum
audit to audit all changes to the configuration, not just secret data,
and sends the logs to a file named
Example: System Logging of Configuration Changes
This example shows a sample configuration and makes changes to users and secret data. It then shows the information sent to the audit server when the secret data is added to the original configuration and committed with the load command.
The new configuration changes the secret data configuration statements and adds a new user.