Audit Configuration

The following document describes about how audit on registry schema can be enabled

Sunbird-RC enables audit logging of the schemas. Any operation like ADD/READ/UPDATE/DELETE/SEARCH on the schema will be added to the audit log.

Currently, Sunbird-RC supports two types of audit logging:

  1. FILE In file-based audit, the logs are appended to a log file which is present at audit_logs/audit.log. The log also has a rolling policy based on the size (30MB).

  2. DATABASE In database audit, the logs are added to the database and also to elastic search if it's enabled at the registry level. To store the audit logs in the database an audit schema needs to be created. The sample schema for the audit logs should be as per The audit schema should be placed in the schema's directory configured for the registry.

Last updated

Copyright (c) 2023 EkStep Foundation under MIT License