Add Knative and Qonto admission evidence
This commit is contained in:
parent
9c2cb89938
commit
9ffeac2e92
8 changed files with 270 additions and 5 deletions
59
schemas/admission-evidence-v1.schema.json
Normal file
59
schemas/admission-evidence-v1.schema.json
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://railiance.dev/schemas/reef-admission-evidence-v1.schema.json",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"contract_version",
|
||||
"reef_id",
|
||||
"subject",
|
||||
"readiness_state",
|
||||
"checked_at",
|
||||
"checks",
|
||||
"residual_risks"
|
||||
],
|
||||
"properties": {
|
||||
"contract_version": {"const": "1.0.0"},
|
||||
"reef_id": {"const": "reef-railiance"},
|
||||
"subject": {"type": "string", "pattern": "^(rail|rapp)-[a-z0-9-]+$"},
|
||||
"readiness_state": {
|
||||
"enum": ["declared", "installed", "verified", "production-approved", "deprecated"]
|
||||
},
|
||||
"checked_at": {"type": "string", "format": "date-time"},
|
||||
"checks": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"required": ["status", "evidence"],
|
||||
"properties": {
|
||||
"status": {"enum": ["pass", "fail", "unknown", "not-applicable"]},
|
||||
"evidence": {"type": "array", "items": {"type": "string"}},
|
||||
"notes": {"type": "string"}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"compatibility",
|
||||
"capacity",
|
||||
"ingress",
|
||||
"network",
|
||||
"identity_and_secrets",
|
||||
"observability",
|
||||
"recovery",
|
||||
"failure_domain"
|
||||
]
|
||||
},
|
||||
"residual_risks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["risk", "status", "owner"],
|
||||
"properties": {
|
||||
"risk": {"type": "string"},
|
||||
"status": {"enum": ["open", "mitigated", "accepted"]},
|
||||
"owner": {"type": "string"},
|
||||
"decision": {"type": "string"}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue