Some checks failed
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Mirror Thin Bundle Sign & Verify / mirror-sign (push) Has been cancelled
api-governance / spectral-lint (push) Has been cancelled
33 lines
1.0 KiB
JSON
33 lines
1.0 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "policy-violation-event@draft",
|
|
"type": "object",
|
|
"properties": {
|
|
"event_id": { "type": "string", "minLength": 1 },
|
|
"tenant_id": { "type": "string", "minLength": 1 },
|
|
"snapshot_id": { "type": "string", "minLength": 1 },
|
|
"policy_profile_hash": { "type": "string", "minLength": 1 },
|
|
"component_purl": { "type": "string", "minLength": 1 },
|
|
"advisory_id": { "type": "string", "minLength": 1 },
|
|
"violation_code": { "type": "string", "minLength": 1 },
|
|
"severity": { "type": "string", "minLength": 1 },
|
|
"status": { "type": "string", "minLength": 1 },
|
|
"trace_ref": { "type": "string", "minLength": 1 },
|
|
"occurred_at": { "type": "string", "format": "date-time" }
|
|
},
|
|
"required": [
|
|
"event_id",
|
|
"tenant_id",
|
|
"snapshot_id",
|
|
"policy_profile_hash",
|
|
"component_purl",
|
|
"advisory_id",
|
|
"violation_code",
|
|
"severity",
|
|
"status",
|
|
"trace_ref",
|
|
"occurred_at"
|
|
],
|
|
"additionalProperties": false
|
|
}
|