up
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
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
This commit is contained in:
30
docs/modules/policy/schemas/severity-fusion@draft.json
Normal file
30
docs/modules/policy/schemas/severity-fusion@draft.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "severity-fusion@draft",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"tenant_id": { "type": "string", "minLength": 1 },
|
||||
"snapshot_id": { "type": "string", "minLength": 1 },
|
||||
"component_purl": { "type": "string", "minLength": 1 },
|
||||
"advisory_id": { "type": "string", "minLength": 1 },
|
||||
"severity_fused": { "type": "string", "minLength": 1 },
|
||||
"score": { "type": "number" },
|
||||
"sources": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"source": { "type": "string", "minLength": 1 },
|
||||
"weight": { "type": "number" },
|
||||
"severity": { "type": "string", "minLength": 1 },
|
||||
"score": { "type": "number" }
|
||||
},
|
||||
"required": ["source", "weight", "severity", "score"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"reason_codes": { "type": "array", "items": { "type": "string" } }
|
||||
},
|
||||
"required": ["tenant_id", "snapshot_id", "component_purl", "advisory_id", "severity_fused", "score", "sources", "reason_codes"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in New Issue
Block a user