Information
Deleting privileges of a subject/object may cause a subject/object to gain or lose capabilities. When successful and unsuccessful privilege deletions are made, the events need to be logged. By logging the event, the modification or attempted modification can be investigated to determine if it was performed inadvertently or maliciously.
Solution
Launch the jboss-cli management interface.
Connect to the server by typing 'connect', authenticate as a user in the Superuser role, and run the following command:
For a Managed Domain configuration:
'host=master/server/<SERVERNAME>/core-service=management/access=audit/logger=audit-log:write-attribute(name=enabled,value=true)'
For a Standalone configuration:
'/core-service=management/access=audit/logger=audit-log:write-attribute(name=enabled,value=true)'