generated from coulomb/repo-seed
21 lines
1.0 KiB
JSON
21 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://flex-auth.netkingdom/schemas/audit_event.schema.json",
|
|
"title": "AuditEvent",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["id", "type", "subject"],
|
|
"properties": {
|
|
"id": {"type": "string", "minLength": 1},
|
|
"type": {"type": "string", "minLength": 1},
|
|
"decision_id": {"type": "string", "minLength": 1},
|
|
"subject": {"$ref": "https://flex-auth.netkingdom/schemas/check_request.schema.json#/$defs/subject_ref"},
|
|
"resource": {"$ref": "https://flex-auth.netkingdom/schemas/check_request.schema.json#/$defs/resource_ref"},
|
|
"action": {"type": "string", "minLength": 1},
|
|
"effect": {"enum": ["allow", "deny", "redact", "audit_only", "not_applicable"]},
|
|
"timestamp": {"type": "string", "minLength": 1},
|
|
"exposure_event": {"$ref": "https://flex-auth.netkingdom/schemas/caring_access_descriptor.schema.json#/$defs/exposure_event"},
|
|
"metadata": {"type": "object", "additionalProperties": true}
|
|
}
|
|
}
|