{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-audit-log-schema.json", "title": "AuditLog", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/mongodb-auditing-api-openapi.yml#/components/schemas/AuditLog", "properties": { "auditAuthorizationSuccess": { "default": false, "description": "Flag that indicates whether someone set auditing to track successful authentications. This only applies to the `\"atype\" : \"authCheck\"` audit filter. Setting this parameter to `true` degrades cluster performance.", "type": "boolean" }, "auditFilter": { "description": "JSON document that specifies which events to record. Escape any characters that may prevent parsing, such as single or double quotes, using a backslash (`\\`).", "type": "string" }, "configurationType": { "description": "Human-readable label that displays how to configure the audit filter.", "enum": [ "NONE", "FILTER_BUILDER", "FILTER_JSON" ], "readOnly": true, "type": "string" }, "enabled": { "default": false, "description": "Flag that indicates whether someone enabled database auditing for the specified project.", "type": "boolean" } }, "type": "object" }