Files
git.stella-ops.org/docs/policy/schemas/policy-auth-signals-lib-115.json
master 10212d67c0
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
api-governance / spectral-lint (push) Has been cancelled
Refactor code structure for improved readability and maintainability; removed redundant code blocks and optimized function calls.
2025-11-20 07:50:52 +02:00

57 lines
1.7 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://stellaops.local/schemas/policy-auth-signals-lib-115.json",
"title": "PolicyAuthSignal",
"type": "object",
"additionalProperties": false,
"required": ["id", "tenant", "subject", "signal_type", "source", "created", "evidence"],
"properties": {
"id": {"type": "string"},
"tenant": {"type": "string"},
"subject": {"type": "string"},
"signal_type": {"type": "string", "enum": ["reachability", "attestation", "risk", "vex"]},
"source": {"type": "string"},
"confidence": {"type": "number"},
"evidence": {
"type": "array",
"items": {"$ref": "#/$defs/EvidenceRef"},
"minItems": 1
},
"provenance": {"$ref": "#/$defs/Provenance"},
"created": {
"type": "string",
"format": "date-time"
}
},
"$defs": {
"EvidenceRef": {
"type": "object",
"additionalProperties": false,
"required": ["kind", "uri", "digest"],
"properties": {
"kind": {"type": "string", "enum": ["linkset", "runtime", "attestation", "bundle"]},
"uri": {"type": "string"},
"digest": {"type": "string"},
"scope": {"type": "string"}
}
},
"Provenance": {
"type": "object",
"additionalProperties": false,
"properties": {
"pipeline": {"type": "string"},
"inputs": {"type": "array", "items": {"type": "string"}},
"signer": {"type": "string"},
"transparency": {
"type": "object",
"additionalProperties": false,
"properties": {
"rekor_uuid": {"type": ["string", "null"]},
"skip_reason": {"type": ["string", "null"]}
}
}
}
}
}
}