How to check audit status - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

It is useful to check the current audit status of a Content Services installation. You can do this via the AuditService Java API, but this can also be done via the ReST API, which can be accessed via a command line client such as Curl.

You can check the status of auditing conveniently from the command line by using a tool such as curl to access the Audit Applications ReST endpoint.

For more information about curl and where to find it see Install a Tool to Make HTTP Calls.

To check the global status of auditing, such as what audit applications that are enabled, see List Audit Applications.

While this does return the global status of the auditing framework, audit data will only be generated if the audit.alfresco-access.enabled property is true.

Auditing can also be globally enabled or disabled for Audit applications, see this Enable or Disable an Audit Application for more info.