Set security auditing with scripting

Security auditing provides tracking and archiving of auditable events. This page uses wsadmin to enable and administer the security auditing configurations.

While security authentication and authorization ensures that users must have access to view protected resources, security auditing provides a mechanism to validate the integrity of a security computing environment. Security auditing collects and logs authentication, authorization, system management, security, and audit policy events in audit event records. We can analyze audit event records to determine possible security breaches, threats, attacks, and potential weaknesses in the security configuration of the environment. Enable security auditing in the environment. For example, the following list displays a sample of events to audit:

Use the following task outline to enable and configure security auditing in the environment:


  1. Enable administrative security in the environment.
  2. Set auditable events.

    The security auditing configuration provides four default auditable filters. Use this topic to configure filters for additional audit events.

  3. Set audit event factories. The security auditing configuration provides a default event factory. Use this topic to configure additional audit event factories.
  4. Set audit service providers.

    The security auditing configuration provides a default service provider. Use this topic to configure additional audit service providers.

  5. Set the global audit policy.

    After setting up audit event factories, service providers, and events, use this topic to enable security auditing.



After completing the steps to enable and configure security auditing, the profile of interest audits the security configurations for specific auditable event types.


What to do next

To further configure security auditing, we can:

Set audit service providers
Set audit event factories
Set auditable events
Enable security auditing
Set security audit notifications
Encrypting security audit data
Signing security audit data
AuditEmitterCommands for AdminTask
AuditEventFactoryCommands for AdminTask


Related tasks

Enable and disable security