Esquemas compartidos
Definiciones de esquemas generadas a las que hacen referencia las páginas de operaciones.
{
"Nis2Summary": {
"type": "object",
"properties": {
"state": {
"enum": [
"not-reviewed",
"reviewed",
"withdrawn"
]
},
"revision": {
"type": "integer"
},
"profile": {
"$ref": "#/components/schemas/RiskProfile"
},
"assessment": {
"anyOf": [
{
"$ref": "#/components/schemas/Nis2Assessment"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": [
"string",
"null"
]
}
},
"required": [
"state",
"revision",
"profile",
"assessment",
"updatedAt"
]
},
"DoraSummary": {
"type": "object",
"properties": {
"state": {
"enum": [
"not-reviewed",
"reviewed",
"withdrawn"
]
},
"revision": {
"type": "integer"
},
"profile": {
"$ref": "#/components/schemas/RiskProfile"
},
"assessment": {
"anyOf": [
{
"$ref": "#/components/schemas/DoraAssessment"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": [
"string",
"null"
]
}
},
"required": [
"state",
"revision",
"profile",
"assessment",
"updatedAt"
]
},
"Nis2ReviewInput": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"review": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"entityType": {
"type": "string",
"enum": [
"dns",
"tld-registry",
"cloud-computing",
"data-centre",
"content-delivery",
"managed-service",
"managed-security-service",
"online-marketplace",
"online-search",
"social-network",
"trust-service",
"other",
"unknown"
]
},
"applicabilityReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"controls": {
"type": "object",
"properties": {
"policy": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"protection": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"approvedTechniques": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"agility": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyManagement": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod1": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod2": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod3": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod4": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod5": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod6": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod7": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod8": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod9": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod10": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod11": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod12": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"policyReview": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
}
},
"required": [
"policy",
"protection",
"approvedTechniques",
"agility",
"keyManagement",
"keyMethod1",
"keyMethod2",
"keyMethod3",
"keyMethod4",
"keyMethod5",
"keyMethod6",
"keyMethod7",
"keyMethod8",
"keyMethod9",
"keyMethod10",
"keyMethod11",
"keyMethod12",
"policyReview"
],
"additionalProperties": false
}
},
"required": [
"scope",
"reviewedAt",
"reference",
"entityType",
"applicabilityReference",
"controls"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"applicability": {
"type": "string",
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"expectedRevision",
"review",
"applicability",
"reason"
],
"additionalProperties": false
},
"DoraReviewInput": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"review": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"regime": {
"type": "string",
"enum": [
"full-framework",
"simplified-framework",
"unknown"
]
},
"applicabilityReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"dataInUse": {
"oneOf": [
{
"type": "object",
"properties": {
"necessity": {
"type": "string",
"const": "unknown"
}
},
"required": [
"necessity"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"necessity": {
"type": "string",
"const": "not-required"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"necessity",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"necessity": {
"type": "string",
"const": "required"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"approach": {
"type": "string",
"enum": [
"encryption",
"protected-environment",
"equivalent-measures",
"unknown"
]
},
"infeasibilityReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"necessity",
"reference",
"approach"
],
"additionalProperties": false
}
]
},
"controls": {
"type": "object",
"properties": {
"policy": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"classificationRisk": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"restTransit": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"dataInUse": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"networkEncryption": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"techniqueSelection": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"cryptoChange": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"mitigationRecords": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyLifecycle": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyProtection": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyReplacement": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"certificateRegister": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"certificateRenewal": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
}
},
"required": [
"policy",
"classificationRisk",
"restTransit",
"dataInUse",
"networkEncryption",
"techniqueSelection",
"cryptoChange",
"mitigationRecords",
"keyLifecycle",
"keyProtection",
"keyReplacement",
"certificateRegister",
"certificateRenewal"
],
"additionalProperties": false
}
},
"required": [
"scope",
"reviewedAt",
"reference",
"regime",
"applicabilityReference",
"dataInUse",
"controls"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"applicability": {
"type": "string",
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"expectedRevision",
"review",
"applicability",
"reason"
],
"additionalProperties": false
},
"Nis2Assessment": {
"type": "object",
"properties": {
"schema": {
"const": "sectigo.programme-profile-assessment.v1"
},
"profile": {
"$ref": "#/components/schemas/RiskProfile"
},
"assessedAt": {
"type": "string"
},
"applicability": {
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"complianceDetermination": {
"const": "not-assessed"
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ruleId": {
"type": "string"
},
"sections": {
"type": "array",
"items": {
"type": "string"
}
},
"authority": {
"const": "regulation"
},
"evidenceAuthority": {
"const": "reviewed-control"
},
"numericalScore": {
"type": "null"
},
"ongoing": {
"const": true
},
"status": {
"enum": [
"unknown",
"not-applicable",
"not-assessed",
"review-required",
"no-mapped-finding"
]
},
"reason": {
"type": "string"
},
"reviewedAt": {
"type": "string"
},
"scope": {
"type": "string"
},
"evidenceReference": {
"type": "string"
},
"applicabilityReference": {
"type": "string"
},
"controlReference": {
"type": "string"
},
"entityType": {
"type": "string"
},
"decisionBasis": {
"type": "string"
},
"decisionNotIndependentlyVerified": {
"type": "boolean"
},
"ongoingDutyNotDischarged": {
"type": "boolean"
}
},
"required": [
"ruleId",
"sections",
"authority",
"evidenceAuthority",
"numericalScore",
"ongoing",
"status",
"reason"
]
}
}
},
"required": [
"schema",
"profile",
"assessedAt",
"applicability",
"complianceDetermination",
"findings"
]
},
"DoraAssessment": {
"type": "object",
"properties": {
"schema": {
"const": "sectigo.programme-profile-assessment.v1"
},
"profile": {
"$ref": "#/components/schemas/RiskProfile"
},
"assessedAt": {
"type": "string"
},
"applicability": {
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"complianceDetermination": {
"const": "not-assessed"
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ruleId": {
"type": "string"
},
"sections": {
"type": "array",
"items": {
"type": "string"
}
},
"authority": {
"const": "regulation"
},
"evidenceAuthority": {
"const": "reviewed-control"
},
"numericalScore": {
"type": "null"
},
"ongoing": {
"const": true
},
"status": {
"enum": [
"unknown",
"not-applicable",
"not-assessed",
"review-required",
"no-mapped-finding"
]
},
"reason": {
"type": "string"
},
"reviewedAt": {
"type": "string"
},
"scope": {
"type": "string"
},
"evidenceReference": {
"type": "string"
},
"applicabilityReference": {
"type": "string"
},
"controlReference": {
"type": "string"
},
"necessityReference": {
"type": "string"
},
"infeasibilityReference": {
"type": "string"
},
"protectionApproach": {
"type": "string"
},
"ongoingDutyNotDischarged": {
"type": "boolean"
}
},
"required": [
"ruleId",
"sections",
"authority",
"evidenceAuthority",
"numericalScore",
"ongoing",
"status",
"reason"
]
}
}
},
"required": [
"schema",
"profile",
"assessedAt",
"applicability",
"complianceDetermination",
"findings"
]
},
"Nis2Review": {
"type": "object",
"properties": {
"tenantId": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer"
},
"review": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"entityType": {
"type": "string",
"enum": [
"dns",
"tld-registry",
"cloud-computing",
"data-centre",
"content-delivery",
"managed-service",
"managed-security-service",
"online-marketplace",
"online-search",
"social-network",
"trust-service",
"other",
"unknown"
]
},
"applicabilityReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"controls": {
"type": "object",
"properties": {
"policy": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"protection": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"approvedTechniques": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"agility": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyManagement": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod1": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod2": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod3": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod4": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod5": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod6": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod7": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod8": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod9": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod10": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod11": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyMethod12": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "not-appropriate"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"policyReview": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
}
},
"required": [
"policy",
"protection",
"approvedTechniques",
"agility",
"keyManagement",
"keyMethod1",
"keyMethod2",
"keyMethod3",
"keyMethod4",
"keyMethod5",
"keyMethod6",
"keyMethod7",
"keyMethod8",
"keyMethod9",
"keyMethod10",
"keyMethod11",
"keyMethod12",
"policyReview"
],
"additionalProperties": false
}
},
"required": [
"scope",
"reviewedAt",
"reference",
"entityType",
"applicabilityReference",
"controls"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"applicability": {
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"assessment": {
"anyOf": [
{
"$ref": "#/components/schemas/Nis2Assessment"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"tenantId",
"revision",
"review",
"applicability",
"assessment"
]
},
"DoraReview": {
"type": "object",
"properties": {
"tenantId": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer"
},
"review": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"regime": {
"type": "string",
"enum": [
"full-framework",
"simplified-framework",
"unknown"
]
},
"applicabilityReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"dataInUse": {
"oneOf": [
{
"type": "object",
"properties": {
"necessity": {
"type": "string",
"const": "unknown"
}
},
"required": [
"necessity"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"necessity": {
"type": "string",
"const": "not-required"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"necessity",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"necessity": {
"type": "string",
"const": "required"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"approach": {
"type": "string",
"enum": [
"encryption",
"protected-environment",
"equivalent-measures",
"unknown"
]
},
"infeasibilityReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"necessity",
"reference",
"approach"
],
"additionalProperties": false
}
]
},
"controls": {
"type": "object",
"properties": {
"policy": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"classificationRisk": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"restTransit": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"dataInUse": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"networkEncryption": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"techniqueSelection": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"cryptoChange": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"mitigationRecords": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyLifecycle": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyProtection": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"keyReplacement": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"certificateRegister": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"certificateRenewal": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "gap"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "implemented"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
}
},
"required": [
"policy",
"classificationRisk",
"restTransit",
"dataInUse",
"networkEncryption",
"techniqueSelection",
"cryptoChange",
"mitigationRecords",
"keyLifecycle",
"keyProtection",
"keyReplacement",
"certificateRegister",
"certificateRenewal"
],
"additionalProperties": false
}
},
"required": [
"scope",
"reviewedAt",
"reference",
"regime",
"applicabilityReference",
"dataInUse",
"controls"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"applicability": {
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"assessment": {
"anyOf": [
{
"$ref": "#/components/schemas/DoraAssessment"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"tenantId",
"revision",
"review",
"applicability",
"assessment"
]
},
"Nis2ReviewPreview": {
"type": "object",
"properties": {
"revision": {
"type": "integer"
},
"previousAssessment": {
"anyOf": [
{
"$ref": "#/components/schemas/Nis2Assessment"
},
{
"type": "null"
}
]
},
"assessment": {
"$ref": "#/components/schemas/Nis2Assessment"
},
"persisted": {
"const": false
}
},
"required": [
"revision",
"previousAssessment",
"assessment",
"persisted"
]
},
"DoraReviewPreview": {
"type": "object",
"properties": {
"revision": {
"type": "integer"
},
"previousAssessment": {
"anyOf": [
{
"$ref": "#/components/schemas/DoraAssessment"
},
{
"type": "null"
}
]
},
"assessment": {
"$ref": "#/components/schemas/DoraAssessment"
},
"persisted": {
"const": false
}
},
"required": [
"revision",
"previousAssessment",
"assessment",
"persisted"
]
},
"EuRoadmapReviewInput": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"review": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"organizationRole": {
"type": "string",
"enum": [
"member-state",
"organization-adoption",
"unknown"
]
},
"riskClassification": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "reviewed"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"milestones": {
"type": "object",
"properties": {
"firstSteps": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"nationalRoadmap": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"pilotsStarted": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"nextSteps": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"highRiskMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"mediumRiskPilots": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"upgradeDefaults": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"mediumRiskMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"lowRiskMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
}
},
"required": [
"firstSteps",
"nationalRoadmap",
"pilotsStarted",
"nextSteps",
"highRiskMigration",
"mediumRiskPilots",
"upgradeDefaults",
"mediumRiskMigration",
"lowRiskMigration"
],
"additionalProperties": false
}
},
"required": [
"scope",
"reviewedAt",
"reference",
"organizationRole",
"riskClassification",
"milestones"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"applicability": {
"type": "string",
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"expectedRevision",
"review",
"applicability",
"reason"
],
"additionalProperties": false
},
"EuRoadmapAssessment": {
"type": "object",
"properties": {
"schema": {
"const": "sectigo.programme-profile-assessment.v1"
},
"profile": {
"$ref": "#/components/schemas/RiskProfile"
},
"assessedAt": {
"type": "string"
},
"applicability": {
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"complianceDetermination": {
"const": "not-assessed"
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ruleId": {
"type": "string"
},
"sections": {
"type": "array",
"items": {
"type": "string"
}
},
"deadline": {
"type": "string"
},
"targetDatePrecision": {
"enum": [
"day"
]
},
"feasibilityQualified": {
"type": "boolean"
},
"authority": {
"const": "government-guidance"
},
"evidenceAuthority": {
"const": "reviewed-programme"
},
"numericalScore": {
"type": "null"
},
"status": {
"enum": [
"unknown",
"not-applicable",
"not-assessed",
"review-required",
"no-mapped-finding"
]
},
"reason": {
"type": "string"
},
"reviewedAt": {
"type": "string"
},
"scope": {
"type": "string"
},
"evidenceReference": {
"type": "string"
},
"milestoneReference": {
"type": "string"
},
"completedAt": {
"type": "string"
},
"completedAfterTarget": {
"type": "boolean"
},
"beyondTarget": {
"type": "boolean"
},
"ongoingDutyNotDischarged": {
"type": "boolean"
}
},
"required": [
"ruleId",
"sections",
"deadline",
"targetDatePrecision",
"feasibilityQualified",
"authority",
"evidenceAuthority",
"numericalScore",
"status",
"reason"
]
}
}
},
"required": [
"schema",
"profile",
"assessedAt",
"applicability",
"complianceDetermination",
"findings"
]
},
"EuRoadmapReview": {
"type": "object",
"properties": {
"tenantId": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer"
},
"review": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"organizationRole": {
"type": "string",
"enum": [
"member-state",
"organization-adoption",
"unknown"
]
},
"riskClassification": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "reviewed"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
}
]
},
"milestones": {
"type": "object",
"properties": {
"firstSteps": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"nationalRoadmap": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"pilotsStarted": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"nextSteps": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"highRiskMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"mediumRiskPilots": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"upgradeDefaults": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"mediumRiskMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"lowRiskMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
}
},
"required": [
"firstSteps",
"nationalRoadmap",
"pilotsStarted",
"nextSteps",
"highRiskMigration",
"mediumRiskPilots",
"upgradeDefaults",
"mediumRiskMigration",
"lowRiskMigration"
],
"additionalProperties": false
}
},
"required": [
"scope",
"reviewedAt",
"reference",
"organizationRole",
"riskClassification",
"milestones"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"applicability": {
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"assessment": {
"anyOf": [
{
"$ref": "#/components/schemas/EuRoadmapAssessment"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"tenantId",
"revision",
"review",
"applicability",
"assessment"
]
},
"EuRoadmapReviewPreview": {
"type": "object",
"properties": {
"revision": {
"type": "integer"
},
"previousAssessment": {
"anyOf": [
{
"$ref": "#/components/schemas/EuRoadmapAssessment"
},
{
"type": "null"
}
]
},
"assessment": {
"$ref": "#/components/schemas/EuRoadmapAssessment"
},
"persisted": {
"const": false
}
},
"required": [
"revision",
"previousAssessment",
"assessment",
"persisted"
]
},
"EuRoadmapSummary": {
"type": "object",
"properties": {
"state": {
"enum": [
"not-reviewed",
"reviewed",
"withdrawn"
]
},
"revision": {
"type": "integer"
},
"profile": {
"$ref": "#/components/schemas/RiskProfile"
},
"assessment": {
"anyOf": [
{
"$ref": "#/components/schemas/EuRoadmapAssessment"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": [
"string",
"null"
]
}
},
"required": [
"state",
"revision",
"profile",
"assessment",
"updatedAt"
]
},
"GcRoadmapReviewInput": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"review": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"informationScope": {
"type": "string",
"enum": [
"up-to-protected-b",
"protected-c-or-classified",
"mixed",
"unknown"
]
},
"milestones": {
"type": "object",
"properties": {
"initialPlan": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"annualReporting": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"priorityMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"remainingMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"accountability": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"financialPlan": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"education": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"procurement": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"discoveryApproach": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"inventory": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"prioritization": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"transitionControls": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
}
},
"required": [
"initialPlan",
"annualReporting",
"priorityMigration",
"remainingMigration",
"accountability",
"financialPlan",
"education",
"procurement",
"discoveryApproach",
"inventory",
"prioritization",
"transitionControls"
],
"additionalProperties": false
}
},
"required": [
"scope",
"reviewedAt",
"reference",
"informationScope",
"milestones"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"applicability": {
"type": "string",
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"expectedRevision",
"review",
"applicability",
"reason"
],
"additionalProperties": false
},
"GcRoadmapAssessment": {
"type": "object",
"properties": {
"schema": {
"const": "sectigo.programme-profile-assessment.v1"
},
"profile": {
"$ref": "#/components/schemas/RiskProfile"
},
"assessedAt": {
"type": "string"
},
"applicability": {
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"complianceDetermination": {
"const": "not-assessed"
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ruleId": {
"type": "string"
},
"sections": {
"type": "array",
"items": {
"type": "string"
}
},
"target": {
"type": [
"string",
"null"
]
},
"targetDatePrecision": {
"enum": [
"month",
"end-of-year",
"unspecified"
]
},
"ongoing": {
"type": "boolean"
},
"authority": {
"const": "government-guidance"
},
"evidenceAuthority": {
"const": "reviewed-programme"
},
"numericalScore": {
"type": "null"
},
"status": {
"enum": [
"unknown",
"not-applicable",
"not-assessed",
"review-required",
"no-mapped-finding"
]
},
"reason": {
"type": "string"
},
"reviewedAt": {
"type": "string"
},
"scope": {
"type": "string"
},
"evidenceReference": {
"type": "string"
},
"milestoneReference": {
"type": "string"
},
"completedAt": {
"type": "string"
},
"completedAfterTarget": {
"type": "boolean"
},
"beyondTarget": {
"type": "boolean"
},
"ongoingDutyNotDischarged": {
"type": "boolean"
}
},
"required": [
"ruleId",
"sections",
"target",
"targetDatePrecision",
"ongoing",
"authority",
"evidenceAuthority",
"numericalScore",
"status",
"reason"
]
}
}
},
"required": [
"schema",
"profile",
"assessedAt",
"applicability",
"complianceDetermination",
"findings"
]
},
"GcRoadmapReview": {
"type": "object",
"properties": {
"tenantId": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer"
},
"review": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"informationScope": {
"type": "string",
"enum": [
"up-to-protected-b",
"protected-c-or-classified",
"mixed",
"unknown"
]
},
"milestones": {
"type": "object",
"properties": {
"initialPlan": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"annualReporting": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"priorityMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"remainingMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"accountability": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"financialPlan": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"education": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"procurement": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"discoveryApproach": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"inventory": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"prioritization": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"transitionControls": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
}
},
"required": [
"initialPlan",
"annualReporting",
"priorityMigration",
"remainingMigration",
"accountability",
"financialPlan",
"education",
"procurement",
"discoveryApproach",
"inventory",
"prioritization",
"transitionControls"
],
"additionalProperties": false
}
},
"required": [
"scope",
"reviewedAt",
"reference",
"informationScope",
"milestones"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"applicability": {
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"assessment": {
"anyOf": [
{
"$ref": "#/components/schemas/GcRoadmapAssessment"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"tenantId",
"revision",
"review",
"applicability",
"assessment"
]
},
"GcRoadmapReviewPreview": {
"type": "object",
"properties": {
"revision": {
"type": "integer"
},
"previousAssessment": {
"anyOf": [
{
"$ref": "#/components/schemas/GcRoadmapAssessment"
},
{
"type": "null"
}
]
},
"assessment": {
"$ref": "#/components/schemas/GcRoadmapAssessment"
},
"persisted": {
"const": false
}
},
"required": [
"revision",
"previousAssessment",
"assessment",
"persisted"
]
},
"GcRoadmapSummary": {
"type": "object",
"properties": {
"state": {
"enum": [
"not-reviewed",
"reviewed",
"withdrawn"
]
},
"revision": {
"type": "integer"
},
"profile": {
"$ref": "#/components/schemas/RiskProfile"
},
"assessment": {
"anyOf": [
{
"$ref": "#/components/schemas/GcRoadmapAssessment"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": [
"string",
"null"
]
}
},
"required": [
"state",
"revision",
"profile",
"assessment",
"updatedAt"
]
},
"GcSpinReviewInput": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"review": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"organizationRole": {
"type": "string",
"enum": [
"department-or-agency",
"ssc",
"unknown"
]
},
"informationScope": {
"type": "string",
"enum": [
"up-to-protected-b",
"protected-c-or-classified",
"mixed",
"unknown"
]
},
"milestones": {
"type": "object",
"properties": {
"phase1Plan": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"annualReporting": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"phase2Plan": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"inventory": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"priorities": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"sscCoordination": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"procurementControls": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"phase3Plan": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"transitionStarted": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"priorityMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"remainingMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
}
},
"required": [
"phase1Plan",
"annualReporting",
"phase2Plan",
"inventory",
"priorities",
"sscCoordination",
"procurementControls",
"phase3Plan",
"transitionStarted",
"priorityMigration",
"remainingMigration"
],
"additionalProperties": false
}
},
"required": [
"scope",
"reviewedAt",
"reference",
"organizationRole",
"informationScope",
"milestones"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"applicability": {
"type": "string",
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"expectedRevision",
"review",
"applicability",
"reason"
],
"additionalProperties": false
},
"GcSpinAssessment": {
"type": "object",
"properties": {
"schema": {
"const": "sectigo.programme-profile-assessment.v1"
},
"profile": {
"$ref": "#/components/schemas/RiskProfile"
},
"assessedAt": {
"type": "string"
},
"applicability": {
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"complianceDetermination": {
"const": "not-assessed"
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ruleId": {
"type": "string"
},
"sections": {
"type": "array",
"items": {
"type": "string"
}
},
"deadline": {
"type": "string"
},
"targetDatePrecision": {
"enum": [
"day",
"end-of-year"
]
},
"ongoing": {
"type": "boolean"
},
"authority": {
"const": "government-policy"
},
"evidenceAuthority": {
"const": "reviewed-programme"
},
"numericalScore": {
"type": "null"
},
"status": {
"enum": [
"unknown",
"not-applicable",
"not-assessed",
"review-required",
"no-mapped-finding"
]
},
"reason": {
"type": "string"
},
"reviewedAt": {
"type": "string"
},
"scope": {
"type": "string"
},
"evidenceReference": {
"type": "string"
},
"milestoneReference": {
"type": "string"
},
"completedAt": {
"type": "string"
},
"completedAfterDeadline": {
"type": "boolean"
},
"beyondDeadline": {
"type": "boolean"
},
"ongoingDutyNotDischarged": {
"type": "boolean"
}
},
"required": [
"ruleId",
"sections",
"deadline",
"targetDatePrecision",
"ongoing",
"authority",
"evidenceAuthority",
"numericalScore",
"status",
"reason"
]
}
}
},
"required": [
"schema",
"profile",
"assessedAt",
"applicability",
"complianceDetermination",
"findings"
]
},
"GcSpinReview": {
"type": "object",
"properties": {
"tenantId": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer"
},
"review": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"organizationRole": {
"type": "string",
"enum": [
"department-or-agency",
"ssc",
"unknown"
]
},
"informationScope": {
"type": "string",
"enum": [
"up-to-protected-b",
"protected-c-or-classified",
"mixed",
"unknown"
]
},
"milestones": {
"type": "object",
"properties": {
"phase1Plan": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"annualReporting": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"phase2Plan": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"inventory": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"priorities": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"sscCoordination": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"procurementControls": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"phase3Plan": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"transitionStarted": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"priorityMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"remainingMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
}
},
"required": [
"phase1Plan",
"annualReporting",
"phase2Plan",
"inventory",
"priorities",
"sscCoordination",
"procurementControls",
"phase3Plan",
"transitionStarted",
"priorityMigration",
"remainingMigration"
],
"additionalProperties": false
}
},
"required": [
"scope",
"reviewedAt",
"reference",
"organizationRole",
"informationScope",
"milestones"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"applicability": {
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"assessment": {
"anyOf": [
{
"$ref": "#/components/schemas/GcSpinAssessment"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"tenantId",
"revision",
"review",
"applicability",
"assessment"
]
},
"GcSpinReviewPreview": {
"type": "object",
"properties": {
"revision": {
"type": "integer"
},
"previousAssessment": {
"anyOf": [
{
"$ref": "#/components/schemas/GcSpinAssessment"
},
{
"type": "null"
}
]
},
"assessment": {
"$ref": "#/components/schemas/GcSpinAssessment"
},
"persisted": {
"const": false
}
},
"required": [
"revision",
"previousAssessment",
"assessment",
"persisted"
]
},
"ProgrammeReviewInput": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"review": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"milestones": {
"type": "object",
"properties": {
"goals": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"discovery": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"initialPlan": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"priorityMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"refinedPlan": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"migration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
}
},
"required": [
"goals",
"discovery",
"initialPlan",
"priorityMigration",
"refinedPlan",
"migration"
],
"additionalProperties": false
}
},
"required": [
"scope",
"reviewedAt",
"reference",
"milestones"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"applicability": {
"type": "string",
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"expectedRevision",
"review",
"applicability",
"reason"
],
"additionalProperties": false
},
"ProgrammeAssessment": {
"type": "object",
"properties": {
"schema": {
"const": "sectigo.programme-profile-assessment.v1"
},
"profile": {
"$ref": "#/components/schemas/RiskProfile"
},
"assessedAt": {
"type": "string"
},
"applicability": {
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"complianceDetermination": {
"const": "not-assessed"
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ruleId": {
"type": "string"
},
"status": {
"enum": [
"unknown",
"not-applicable",
"not-assessed",
"review-required",
"no-mapped-finding"
]
},
"reason": {
"type": "string"
},
"targetYear": {
"type": "integer"
},
"targetDatePrecision": {
"const": "year"
},
"authority": {
"const": "guidance"
},
"evidenceAuthority": {
"const": "reviewed-programme"
},
"numericalScore": {
"type": "null"
},
"reviewedAt": {
"type": "string"
},
"scope": {
"type": "string"
},
"evidenceReference": {
"type": "string"
},
"milestoneReference": {
"type": "string"
},
"completedAt": {
"type": "string"
},
"completedAfterTargetYear": {
"type": "boolean"
},
"beyondTargetYear": {
"type": "boolean"
}
},
"required": [
"ruleId",
"status",
"reason",
"targetYear",
"targetDatePrecision",
"authority",
"evidenceAuthority",
"numericalScore"
]
}
}
},
"required": [
"schema",
"profile",
"assessedAt",
"applicability",
"complianceDetermination",
"findings"
]
},
"ProgrammeReview": {
"type": "object",
"properties": {
"tenantId": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer"
},
"review": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"milestones": {
"type": "object",
"properties": {
"goals": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"discovery": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"initialPlan": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"priorityMigration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"refinedPlan": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
},
"migration": {
"oneOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "unknown"
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "incomplete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"state",
"reference"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "complete"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"completedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"state",
"reference",
"completedAt"
],
"additionalProperties": false
}
]
}
},
"required": [
"goals",
"discovery",
"initialPlan",
"priorityMigration",
"refinedPlan",
"migration"
],
"additionalProperties": false
}
},
"required": [
"scope",
"reviewedAt",
"reference",
"milestones"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"applicability": {
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"assessment": {
"anyOf": [
{
"$ref": "#/components/schemas/ProgrammeAssessment"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"tenantId",
"revision",
"review",
"applicability",
"assessment"
]
},
"ProgrammeReviewPreview": {
"type": "object",
"properties": {
"revision": {
"type": "integer"
},
"previousAssessment": {
"anyOf": [
{
"$ref": "#/components/schemas/ProgrammeAssessment"
},
{
"type": "null"
}
]
},
"assessment": {
"$ref": "#/components/schemas/ProgrammeAssessment"
},
"persisted": {
"const": false
}
},
"required": [
"revision",
"previousAssessment",
"assessment",
"persisted"
]
},
"CustomDeactivationInput": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"expectedRevision",
"reason"
],
"additionalProperties": false
},
"CustomActivationInput": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"profileId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"assessedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"recalculate": {
"type": "boolean"
}
},
"required": [
"expectedRevision",
"profileId",
"version",
"assessedAt",
"reason",
"recalculate"
],
"additionalProperties": false
},
"CustomRecalculationInput": {
"type": "object",
"properties": {
"expectedActivationRevision": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"expectedActivationRevision",
"requestId",
"reason"
],
"additionalProperties": false
},
"CustomActivation": {
"type": "object",
"properties": {
"revision": {
"type": "integer"
},
"selection": {
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "custom"
},
"id": {
"type": "string"
},
"version": {
"type": "integer"
},
"assessedAt": {
"type": "string"
}
},
"required": [
"kind",
"id",
"version",
"assessedAt"
]
},
{
"type": "null"
}
]
},
"lastRunId": {
"type": [
"string",
"null"
]
},
"updatedAt": {
"type": "string"
},
"updatedBy": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"revision",
"selection",
"lastRunId"
]
},
"CustomRiskRun": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"activationRevision": {
"type": "integer"
},
"selection": {
"type": "object",
"properties": {
"kind": {
"const": "custom"
},
"id": {
"type": "string"
},
"version": {
"type": "integer"
},
"assessedAt": {
"type": "string"
}
},
"required": [
"kind",
"id",
"version",
"assessedAt"
]
},
"status": {
"enum": [
"pending",
"running",
"completed",
"completed-with-errors",
"completed-with-scope-changes",
"failed",
"paused",
"superseded"
]
},
"requestedBy": {
"type": "string"
},
"requestedAt": {
"type": "string"
},
"reason": {
"type": "string"
},
"totalAtStart": {
"type": "integer"
},
"processed": {
"type": "integer"
},
"failed": {
"type": "integer"
},
"cursor": {
"type": "string"
},
"upperId": {
"type": "string"
},
"scope": {
"type": "string"
},
"normalizationVersion": {
"type": "string"
},
"customFactsVersion": {
"type": "string"
},
"scoringVersion": {
"type": "string"
},
"finishedAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"startingCountDifference": {
"type": "integer"
}
},
"required": [
"id",
"activationRevision",
"selection",
"status",
"requestedBy",
"requestedAt",
"reason",
"totalAtStart",
"processed",
"failed",
"scope",
"normalizationVersion",
"customFactsVersion",
"scoringVersion"
]
},
"CustomRiskResult": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"runId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"assetId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,128}$"
},
"evidenceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"contextRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"activationRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"selection": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "custom"
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"assessedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"kind",
"id",
"version",
"assessedAt"
],
"additionalProperties": {}
},
"normalizationVersion": {
"type": "string",
"minLength": 1
},
"customFactsVersion": {
"type": "string",
"minLength": 1
},
"scoringVersion": {
"type": "string",
"minLength": 1
},
"processedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"status": {
"type": "string",
"enum": [
"assessed",
"failed"
]
},
"assessment": {
"type": "object",
"properties": {
"schema": {
"type": "string",
"const": "sectigo.custom-risk-assessment.v1"
},
"authority": {
"type": "string",
"const": "tenant-defined"
},
"complianceDetermination": {
"type": "string",
"const": "not-assessed"
},
"profileLabel": {
"type": "string",
"minLength": 1
},
"assessedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"score": {
"type": "object",
"properties": {
"schema": {
"type": "string",
"const": "sectigo.configurable-risk-score.v1"
},
"scoringVersion": {
"type": "string",
"minLength": 1
},
"authority": {
"type": "string",
"const": "tenant-defined"
},
"status": {
"type": "string",
"enum": [
"assessed",
"incomplete"
]
},
"score": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 100
},
{
"type": "null"
}
]
},
"severity": {
"type": "string",
"enum": [
"low",
"medium",
"high",
"critical",
"unknown"
]
},
"range": {
"type": "object",
"properties": {
"minimum": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"maximum": {
"type": "number",
"minimum": 0,
"maximum": 100
}
},
"required": [
"minimum",
"maximum"
],
"additionalProperties": {}
},
"missingDimensions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"required": [
"schema",
"scoringVersion",
"authority",
"status",
"score",
"severity",
"range",
"missingDimensions"
],
"additionalProperties": {}
},
"findings": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"required": [
"schema",
"authority",
"complianceDetermination",
"profileLabel",
"assessedAt",
"score",
"findings"
],
"additionalProperties": {}
},
"facts": {
"type": "object",
"properties": {
"assessedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"dimensions": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"cryptographicFacts": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"required": [
"assessedAt",
"dimensions",
"cryptographicFacts"
],
"additionalProperties": {}
},
"error": {
"type": "string",
"minLength": 1
},
"recordVersion": {
"type": "number",
"const": 1
}
},
"required": [
"id",
"runId",
"assetId",
"evidenceId",
"contextRevision",
"activationRevision",
"selection",
"normalizationVersion",
"customFactsVersion",
"scoringVersion",
"processedAt",
"status"
],
"additionalProperties": {}
},
"CustomProfilePreviewInput": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"assessedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"assetIds": {
"minItems": 1,
"maxItems": 25,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,128}$"
}
},
"baselineVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"targetVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"expectedRevision",
"assessedAt"
],
"additionalProperties": false
},
"CustomProfileDefinition": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"description": {
"type": "string",
"maxLength": 2000
},
"scoring": {
"type": "object",
"properties": {
"weights": {
"type": "object",
"properties": {
"susceptibility": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"confidentiality": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"impact": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"exposure": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"dependencies": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"urgency": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"friction": {
"type": "integer",
"minimum": 0,
"maximum": 10000
}
},
"required": [
"susceptibility",
"confidentiality",
"impact",
"exposure",
"dependencies",
"urgency",
"friction"
],
"additionalProperties": false
},
"boundaries": {
"type": "object",
"properties": {
"medium": {
"type": "integer",
"minimum": 1,
"maximum": 98
},
"high": {
"type": "integer",
"minimum": 2,
"maximum": 99
},
"critical": {
"type": "integer",
"minimum": 3,
"maximum": 100
}
},
"required": [
"medium",
"high",
"critical"
],
"additionalProperties": false
}
},
"required": [
"weights",
"boundaries"
],
"additionalProperties": false
},
"rules": {
"maxItems": 200,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{0,63}$"
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"enabled": {
"type": "boolean"
},
"type": {
"type": "string",
"const": "standard"
},
"selection": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"allowDraft": {
"type": "boolean"
},
"applicability": {
"type": "string",
"enum": [
"applicable",
"not-applicable",
"unknown"
]
}
},
"required": [
"id",
"version",
"allowDraft",
"applicability"
],
"additionalProperties": false
}
},
"required": [
"id",
"label",
"enabled",
"type",
"selection"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{0,63}$"
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"enabled": {
"type": "boolean"
},
"type": {
"type": "string",
"const": "dimension-threshold"
},
"dimension": {
"type": "string",
"enum": [
"susceptibility",
"confidentiality",
"impact",
"exposure",
"dependencies",
"urgency",
"friction"
]
},
"operator": {
"type": "string",
"enum": [
"gte",
"lte"
]
},
"threshold": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"severity": {
"type": "string",
"enum": [
"low",
"medium",
"high",
"critical"
]
}
},
"required": [
"id",
"label",
"enabled",
"type",
"dimension",
"operator",
"threshold",
"severity"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{0,63}$"
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"enabled": {
"type": "boolean"
},
"type": {
"type": "string",
"const": "migration-deadline"
},
"deadline": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"severity": {
"type": "string",
"enum": [
"low",
"medium",
"high",
"critical"
]
}
},
"required": [
"id",
"label",
"enabled",
"type",
"deadline",
"severity"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"name",
"description",
"scoring",
"rules"
],
"additionalProperties": false
},
"CustomProfileCreate": {
"type": "object",
"properties": {
"definition": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"description": {
"type": "string",
"maxLength": 2000
},
"scoring": {
"type": "object",
"properties": {
"weights": {
"type": "object",
"properties": {
"susceptibility": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"confidentiality": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"impact": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"exposure": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"dependencies": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"urgency": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"friction": {
"type": "integer",
"minimum": 0,
"maximum": 10000
}
},
"required": [
"susceptibility",
"confidentiality",
"impact",
"exposure",
"dependencies",
"urgency",
"friction"
],
"additionalProperties": false
},
"boundaries": {
"type": "object",
"properties": {
"medium": {
"type": "integer",
"minimum": 1,
"maximum": 98
},
"high": {
"type": "integer",
"minimum": 2,
"maximum": 99
},
"critical": {
"type": "integer",
"minimum": 3,
"maximum": 100
}
},
"required": [
"medium",
"high",
"critical"
],
"additionalProperties": false
}
},
"required": [
"weights",
"boundaries"
],
"additionalProperties": false
},
"rules": {
"maxItems": 200,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{0,63}$"
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"enabled": {
"type": "boolean"
},
"type": {
"type": "string",
"const": "standard"
},
"selection": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"allowDraft": {
"type": "boolean"
},
"applicability": {
"type": "string",
"enum": [
"applicable",
"not-applicable",
"unknown"
]
}
},
"required": [
"id",
"version",
"allowDraft",
"applicability"
],
"additionalProperties": false
}
},
"required": [
"id",
"label",
"enabled",
"type",
"selection"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{0,63}$"
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"enabled": {
"type": "boolean"
},
"type": {
"type": "string",
"const": "dimension-threshold"
},
"dimension": {
"type": "string",
"enum": [
"susceptibility",
"confidentiality",
"impact",
"exposure",
"dependencies",
"urgency",
"friction"
]
},
"operator": {
"type": "string",
"enum": [
"gte",
"lte"
]
},
"threshold": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"severity": {
"type": "string",
"enum": [
"low",
"medium",
"high",
"critical"
]
}
},
"required": [
"id",
"label",
"enabled",
"type",
"dimension",
"operator",
"threshold",
"severity"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{0,63}$"
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"enabled": {
"type": "boolean"
},
"type": {
"type": "string",
"const": "migration-deadline"
},
"deadline": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"severity": {
"type": "string",
"enum": [
"low",
"medium",
"high",
"critical"
]
}
},
"required": [
"id",
"label",
"enabled",
"type",
"deadline",
"severity"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"name",
"description",
"scoring",
"rules"
],
"additionalProperties": false
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"definition",
"reason"
],
"additionalProperties": false
},
"CustomProfileClone": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"source": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "builtin"
},
"selection": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"allowDraft": {
"type": "boolean"
},
"applicability": {
"type": "string",
"enum": [
"applicable",
"not-applicable",
"unknown"
]
}
},
"required": [
"id",
"version",
"allowDraft",
"applicability"
],
"additionalProperties": false
}
},
"required": [
"kind",
"selection"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "custom"
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
}
},
"required": [
"kind",
"id",
"version"
],
"additionalProperties": false
}
]
}
},
"required": [
"name",
"reason",
"source"
],
"additionalProperties": false
},
"CustomProfileSave": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"definition": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"description": {
"type": "string",
"maxLength": 2000
},
"scoring": {
"type": "object",
"properties": {
"weights": {
"type": "object",
"properties": {
"susceptibility": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"confidentiality": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"impact": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"exposure": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"dependencies": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"urgency": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"friction": {
"type": "integer",
"minimum": 0,
"maximum": 10000
}
},
"required": [
"susceptibility",
"confidentiality",
"impact",
"exposure",
"dependencies",
"urgency",
"friction"
],
"additionalProperties": false
},
"boundaries": {
"type": "object",
"properties": {
"medium": {
"type": "integer",
"minimum": 1,
"maximum": 98
},
"high": {
"type": "integer",
"minimum": 2,
"maximum": 99
},
"critical": {
"type": "integer",
"minimum": 3,
"maximum": 100
}
},
"required": [
"medium",
"high",
"critical"
],
"additionalProperties": false
}
},
"required": [
"weights",
"boundaries"
],
"additionalProperties": false
},
"rules": {
"maxItems": 200,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{0,63}$"
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"enabled": {
"type": "boolean"
},
"type": {
"type": "string",
"const": "standard"
},
"selection": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"allowDraft": {
"type": "boolean"
},
"applicability": {
"type": "string",
"enum": [
"applicable",
"not-applicable",
"unknown"
]
}
},
"required": [
"id",
"version",
"allowDraft",
"applicability"
],
"additionalProperties": false
}
},
"required": [
"id",
"label",
"enabled",
"type",
"selection"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{0,63}$"
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"enabled": {
"type": "boolean"
},
"type": {
"type": "string",
"const": "dimension-threshold"
},
"dimension": {
"type": "string",
"enum": [
"susceptibility",
"confidentiality",
"impact",
"exposure",
"dependencies",
"urgency",
"friction"
]
},
"operator": {
"type": "string",
"enum": [
"gte",
"lte"
]
},
"threshold": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"severity": {
"type": "string",
"enum": [
"low",
"medium",
"high",
"critical"
]
}
},
"required": [
"id",
"label",
"enabled",
"type",
"dimension",
"operator",
"threshold",
"severity"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{0,63}$"
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"enabled": {
"type": "boolean"
},
"type": {
"type": "string",
"const": "migration-deadline"
},
"deadline": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"severity": {
"type": "string",
"enum": [
"low",
"medium",
"high",
"critical"
]
}
},
"required": [
"id",
"label",
"enabled",
"type",
"deadline",
"severity"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"name",
"description",
"scoring",
"rules"
],
"additionalProperties": false
}
},
"required": [
"expectedRevision",
"reason",
"definition"
],
"additionalProperties": false
},
"CustomProfileMutation": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"expectedRevision",
"reason"
],
"additionalProperties": false
},
"CustomProfileRestore": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
}
},
"required": [
"expectedRevision",
"reason",
"version"
],
"additionalProperties": false
},
"CustomProfile": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"authority": {
"const": "tenant-defined"
},
"label": {
"type": "string"
},
"revision": {
"type": "integer"
},
"archived": {
"type": "boolean"
},
"definition": {
"$ref": "#/components/schemas/CustomProfileDefinition"
},
"ancestry": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"id": {
"type": "string"
},
"version": {
"type": [
"string",
"integer"
]
}
},
"required": []
}
},
"latestVersion": {
"type": "integer"
},
"publishedDraftRevision": {
"type": [
"integer",
"null"
]
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"updatedBy": {
"type": "string"
}
},
"required": [
"id",
"authority",
"label",
"revision",
"archived",
"definition",
"ancestry",
"latestVersion",
"createdAt",
"updatedAt",
"updatedBy"
]
},
"CustomProfileVersion": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"version": {
"type": "integer"
},
"authority": {
"const": "tenant-defined"
},
"label": {
"type": "string"
},
"definition": {
"$ref": "#/components/schemas/CustomProfileDefinition"
},
"ancestry": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"required": []
}
},
"publishedAt": {
"type": "string"
},
"publishedBy": {
"type": "string"
},
"reason": {
"type": "string"
},
"sourceDraftRevision": {
"type": "integer"
},
"restoredFromVersion": {
"type": "integer"
}
},
"required": [
"id",
"version",
"authority",
"definition",
"ancestry",
"publishedAt",
"publishedBy",
"reason",
"sourceDraftRevision"
]
},
"RiskProfileSelection": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"allowDraft": {
"default": false,
"type": "boolean"
},
"assessedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"applicability": {
"type": "string",
"enum": [
"applicable",
"not-applicable",
"unknown"
]
}
},
"required": [
"id",
"version",
"assessedAt",
"applicability"
],
"additionalProperties": false
},
"RiskProfilePolicyInput": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"selection": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"allowDraft": {
"default": false,
"type": "boolean"
},
"assessedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"applicability": {
"type": "string",
"enum": [
"applicable",
"not-applicable",
"unknown"
]
}
},
"required": [
"id",
"version",
"assessedAt",
"applicability"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"expectedRevision",
"selection",
"reason"
],
"additionalProperties": false
},
"RiskProfilePolicy": {
"type": "object",
"properties": {
"revision": {
"type": "integer"
},
"selection": {
"anyOf": [
{
"$ref": "#/components/schemas/RiskProfileSelection"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": [
"string",
"null"
]
},
"updatedBy": {
"type": [
"string",
"null"
]
},
"reason": {
"type": [
"string",
"null"
]
}
},
"required": [
"revision",
"selection",
"updatedAt",
"updatedBy",
"reason"
]
},
"RiskProfile": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"version": {
"type": "string"
},
"name": {
"type": "string"
},
"publicationStatus": {
"enum": [
"product-policy",
"final",
"draft"
]
},
"publishedAt": {
"type": "string"
},
"reviewedAt": {
"type": "string"
},
"scope": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"document": {
"type": "string"
},
"sections": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": []
}
},
"requiredFacts": {
"type": "array",
"items": {
"type": "string"
}
},
"ruleIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"version",
"name",
"publicationStatus",
"publishedAt",
"reviewedAt",
"scope",
"sources",
"requiredFacts",
"ruleIds"
]
},
"AssetRiskProfilePreview": {
"type": "object",
"properties": {
"schema": {
"const": "sectigo.asset-risk-profile.v1"
},
"assetId": {
"type": "string"
},
"evidenceId": {
"type": [
"string",
"null"
]
},
"observedAt": {
"type": [
"string",
"null"
]
},
"preview": {
"const": true
},
"persisted": {
"const": false
},
"normalizationVersion": {
"type": "string"
},
"complianceDetermination": {
"const": "not-assessed"
},
"coverage": {
"const": "partial"
},
"assessments": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"scope": {
"type": "string"
},
"reason": {
"type": "string"
},
"evidencePath": {
"type": "string"
},
"assessment": {
"type": "object",
"properties": {
"schema": {
"const": "sectigo.risk-profile-assessment.v1"
},
"profile": {
"$ref": "#/components/schemas/RiskProfile"
},
"assessedAt": {
"type": "string"
},
"applicability": {
"enum": [
"applicable",
"not-applicable",
"unknown"
]
},
"draftPreview": {
"type": "boolean"
},
"complianceDetermination": {
"const": "not-assessed"
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ruleId": {
"type": "string"
},
"status": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"ruleId",
"status",
"reason"
]
}
}
},
"required": [
"schema",
"profile",
"assessedAt",
"applicability",
"draftPreview",
"complianceDetermination",
"findings"
]
}
},
"required": [
"scope",
"assessment"
]
}
}
},
"required": [
"schema",
"assetId",
"evidenceId",
"observedAt",
"preview",
"persisted",
"normalizationVersion",
"complianceDetermination",
"coverage",
"assessments"
]
},
"ServiceComparison": {
"type": "object",
"properties": {
"assetId": {
"type": "string"
},
"evidenceId": {
"type": "string",
"format": "uuid"
},
"role": {
"enum": [
"active",
"passive"
]
},
"observedAt": {
"type": [
"string",
"null"
]
},
"receivedAt": {
"type": [
"string",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"detector": {
"type": [
"string",
"null"
]
},
"negotiated": {
"type": "object",
"properties": {
"protocol": {
"type": [
"string",
"null"
]
},
"cipherSuite": {
"type": [
"string",
"null"
]
},
"selectedGroupId": {
"type": [
"string",
"null"
]
},
"selectedGroupName": {
"type": [
"string",
"null"
]
},
"signatureSchemeId": {
"type": [
"string",
"null"
]
},
"signatureSchemeName": {
"type": [
"string",
"null"
]
},
"keyEstablishment": {
"type": [
"string",
"null"
]
},
"authentication": {
"type": [
"string",
"null"
]
}
},
"required": []
},
"verification": {
"type": "object",
"properties": {
"chainVerified": {
"type": "boolean"
},
"handshakeCompletedVerified": {
"type": "boolean"
},
"identityVerifiedByAssociation": {
"const": false
}
},
"required": [
"chainVerified",
"handshakeCompletedVerified",
"identityVerifiedByAssociation"
]
},
"capabilityProfile": {
"type": [
"string",
"null"
]
},
"capabilityProbes": {
"type": "array",
"maxItems": 15,
"items": {
"type": "object",
"properties": {
"probe": {
"type": "string",
"enum": [
"tls12",
"tls13",
"tls12-ecdhe-rsa-aes128gcm",
"tls12-ecdhe-ecdsa-aes128gcm",
"tls12-dhe-rsa-aes256gcm",
"tls13-x25519",
"tls13-p256",
"tls13-x25519mlkem768",
"tls13-secp256r1mlkem768",
"tls13-secp384r1mlkem1024",
"tls13-mlkem512",
"tls13-mlkem768",
"tls13-mlkem1024",
"tls12-rsa-aes128gcm",
"tls12-rsa-aes256gcm"
]
},
"offeredProtocol": {
"type": "string",
"enum": [
"TLSv1.2",
"TLSv1.3"
]
},
"offeredCipher": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"offeredCurve": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"offeredGroup": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"status": {
"type": "string",
"enum": [
"negotiated",
"inconclusive",
"local-unavailable"
]
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"certificateVerified": {
"type": "boolean",
"const": true
},
"negotiatedProtocol": {
"type": "string",
"enum": [
"TLSv1.2",
"TLSv1.3"
]
},
"negotiatedCipher": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"certificateSha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"selectedGroupId": {
"type": "string",
"pattern": "^0x[0-9a-f]{4}$"
},
"selectedGroupName": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"negotiatedSignatureSchemeId": {
"type": "string",
"pattern": "^0x[0-9a-f]{4}$"
},
"negotiatedSignatureSchemeName": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"sessionReused": {
"type": "boolean"
},
"handshakeMetadataAvailable": {
"type": "boolean"
},
"handshakeMetadataValid": {
"type": "boolean"
},
"handshakeMetadataSource": {
"type": "string",
"const": "cpython-message-callback"
},
"keyExchangeSource": {
"type": "string",
"const": "negotiated-cipher-suite"
},
"cipherSuiteId": {
"type": "string",
"pattern": "^0x[0-9a-f]{4}$"
}
},
"required": [
"probe",
"offeredProtocol",
"status"
],
"additionalProperties": false
}
},
"capabilitiesExhaustive": {
"const": false
}
},
"required": [
"assetId",
"evidenceId",
"role",
"observedAt",
"receivedAt",
"source",
"detector",
"negotiated",
"verification",
"capabilityProfile",
"capabilityProbes",
"capabilitiesExhaustive"
]
},
"ServiceScopeOriginInput": {
"type": "object",
"properties": {
"scopeId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
},
"required": [
"scopeId",
"expectedRevision",
"reason"
],
"additionalProperties": false
},
"ServiceScopeStamp": {
"type": "object",
"properties": {
"scopeId": {
"type": "string",
"format": "uuid"
},
"originKind": {
"type": "string",
"enum": [
"agent",
"remote-pool",
"capture-operation",
"network-operation",
"collector-capture"
]
},
"originId": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer"
},
"assignedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"scopeId",
"originKind",
"originId",
"revision",
"assignedAt"
]
},
"ServiceScopeOrigin": {
"type": "object",
"properties": {
"scopeId": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"originKind": {
"type": "string",
"enum": [
"agent",
"remote-pool",
"capture-operation",
"network-operation",
"collector-capture"
]
},
"originId": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer"
},
"reason": {
"type": [
"string",
"null"
]
},
"updatedAt": {
"type": [
"string",
"null"
]
},
"updatedBy": {
"type": [
"string",
"null"
]
}
},
"required": [
"scopeId",
"originKind",
"originId",
"revision",
"reason",
"updatedAt",
"updatedBy"
]
},
"ServiceScopeInput": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"description": {
"default": "",
"type": "string",
"maxLength": 1000
}
},
"required": [
"name"
],
"additionalProperties": false
},
"ServiceScopeBindingInput": {
"type": "object",
"properties": {
"scopeId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"expectedEvidenceId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
},
"required": [
"scopeId",
"expectedRevision",
"expectedEvidenceId",
"reason"
],
"additionalProperties": false
},
"ServiceScope": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
}
},
"required": [
"id",
"name",
"description",
"createdAt",
"createdBy"
]
},
"Service": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^service:[a-f0-9]{64}$"
},
"networkScope": {
"type": "string",
"format": "uuid"
},
"transport": {
"enum": [
"TCP",
"QUIC"
]
},
"address": {
"type": "string"
},
"port": {
"type": "integer",
"minimum": 1,
"maximum": 65535
},
"name": {
"type": "string"
},
"observationCount": {
"type": "integer"
},
"activeCount": {
"type": "integer"
},
"passiveCount": {
"type": "integer"
},
"association": {
"const": "observed-endpoint-match"
},
"identityVerifiedByAssociation": {
"const": false
}
},
"required": [
"id",
"networkScope",
"transport",
"address",
"port",
"name",
"observationCount",
"activeCount",
"passiveCount",
"association",
"identityVerifiedByAssociation"
]
},
"ServiceMembership": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"assetId": {
"type": "string"
},
"evidenceId": {
"type": "string",
"format": "uuid"
},
"networkScope": {
"type": "string",
"format": "uuid"
},
"serviceId": {
"type": "string",
"pattern": "^service:[a-f0-9]{64}$"
},
"transport": {
"enum": [
"TCP",
"QUIC"
]
},
"address": {
"type": "string"
},
"port": {
"type": "integer",
"minimum": 1,
"maximum": 65535
},
"name": {
"type": "string"
},
"role": {
"enum": [
"active",
"passive"
]
},
"nameEvidence": {
"enum": [
"probe-target",
"observed-client-request",
"observed-no-server-name"
]
},
"association": {
"const": "observed-endpoint-match"
},
"identityVerifiedByAssociation": {
"const": false
}
},
"required": [
"id",
"assetId",
"evidenceId",
"networkScope",
"serviceId",
"transport",
"address",
"port",
"name",
"role",
"nameEvidence",
"association",
"identityVerifiedByAssociation"
]
},
"ServiceScopeBinding": {
"type": "object",
"properties": {
"automaticScope": {
"anyOf": [
{
"$ref": "#/components/schemas/ServiceScopeStamp"
},
{
"type": "null"
}
]
},
"assetId": {
"type": "string"
},
"evidenceId": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer"
},
"scopeId": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"reviewedEvidenceId": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"needsReview": {
"type": "boolean"
},
"reason": {
"type": [
"string",
"null"
]
},
"updatedAt": {
"type": [
"string",
"null"
]
},
"updatedBy": {
"type": [
"string",
"null"
]
},
"membership": {
"anyOf": [
{
"$ref": "#/components/schemas/ServiceMembership"
},
{
"type": "null"
}
]
}
},
"required": [
"assetId",
"evidenceId",
"revision",
"scopeId",
"reviewedEvidenceId",
"needsReview",
"reason",
"updatedAt",
"updatedBy"
]
},
"AssetContextInput": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"expectedEvidenceId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"values": {
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"exposure": {
"type": "string",
"enum": [
"unknown",
"public",
"partner",
"internal",
"isolated"
]
},
"criticality": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"retentionYears": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"migrationFriction": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"federalPriority": {
"type": "object",
"properties": {
"federalSystem": {
"type": [
"boolean",
"null"
]
},
"nationalSecuritySystem": {
"type": [
"boolean",
"null"
]
},
"designation": {
"type": "string",
"enum": [
"unknown",
"not-prioritized",
"high-value-asset",
"high-impact-system",
"other-prioritized-sensitive-system"
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"federalSystem",
"nationalSecuritySystem",
"designation",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"randomGeneration": {
"type": "object",
"properties": {
"algorithm": {
"type": "string",
"enum": [
"unknown",
"Hash_DRBG",
"HMAC_DRBG",
"CTR_DRBG",
"DUAL_EC_DRBG",
"FIPS186-2-RNG",
"ANS-X9.31-RNG",
"ANS-X9.62-1998-RNG",
"other"
]
},
"hashAlgorithm": {
"type": "string",
"enum": [
"unknown",
"SHA-1",
"SHA-224",
"SHA-256",
"SHA-384",
"SHA-512",
"SHA-512/224",
"SHA-512/256",
"SHA3-224",
"SHA3-256",
"SHA3-384",
"SHA3-512",
"other"
]
},
"primitive": {
"type": "string",
"enum": [
"unknown",
"AES",
"three-key-TDEA",
"other"
]
},
"keyBits": {
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 128
},
{
"type": "number",
"const": 192
},
{
"type": "number",
"const": 256
}
]
},
{
"type": "null"
}
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"algorithm",
"hashAlgorithm",
"primitive",
"keyBits",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"keyWrapping": {
"type": "object",
"properties": {
"operation": {
"type": "string",
"enum": [
"unknown",
"wrap",
"unwrap"
]
},
"algorithm": {
"type": "string",
"enum": [
"unknown",
"AES",
"TDEA",
"other"
]
},
"method": {
"type": "string",
"enum": [
"unknown",
"KW",
"KWP",
"TKW",
"GCM",
"CCM",
"composed",
"other"
]
},
"encryptionMode": {
"type": "string",
"enum": [
"unknown",
"CBC",
"CFB",
"OFB",
"CTR",
"other"
]
},
"authentication": {
"type": "string",
"enum": [
"unknown",
"CMAC",
"GMAC",
"HMAC",
"KMAC",
"digital-signature",
"other"
]
},
"approvedComponents": {
"type": [
"boolean",
"null"
]
},
"keyBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 16384
},
{
"type": "null"
}
]
},
"tdeaKeyingOption": {
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 3
}
]
},
{
"type": "null"
}
]
},
"exception": {
"type": "string",
"enum": [
"unknown",
"none",
"claimed"
]
},
"exceptionReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"operation",
"algorithm",
"method",
"keyBits",
"tdeaKeyingOption",
"exception",
"exceptionReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"keyDerivation": {
"type": "object",
"properties": {
"construction": {
"type": "string",
"enum": [
"unknown",
"SP800-108",
"SP800-56C-one-step",
"SP800-56C-two-step",
"SP800-132",
"HKDF",
"password-based",
"other"
]
},
"prf": {
"type": "string",
"enum": [
"unknown",
"HASH",
"HMAC",
"CMAC",
"KMAC",
"other"
]
},
"operation": {
"type": "string",
"enum": [
"unknown",
"initiate",
"process"
]
},
"kmacVariant": {
"type": "string",
"enum": [
"unknown",
"KMAC128",
"KMAC256"
]
},
"saltBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 1048576
},
{
"type": "null"
}
]
},
"saltRandom": {
"type": [
"boolean",
"null"
]
},
"iterations": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
{
"type": "null"
}
]
},
"hashAlgorithm": {
"type": "string",
"enum": [
"unknown",
"SHA-1",
"SHA-224",
"SHA-256",
"SHA-384",
"SHA-512",
"SHA-512/224",
"SHA-512/256",
"SHA3-224",
"SHA3-256",
"SHA3-384",
"SHA3-512",
"other"
]
},
"primitive": {
"type": "string",
"enum": [
"unknown",
"AES",
"TDEA",
"other"
]
},
"keyBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 1048576
},
{
"type": "null"
}
]
},
"tdeaKeyingOption": {
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 3
}
]
},
{
"type": "null"
}
]
},
"exception": {
"type": "string",
"enum": [
"unknown",
"none",
"claimed"
]
},
"exceptionReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"construction",
"prf",
"hashAlgorithm",
"primitive",
"keyBits",
"tdeaKeyingOption",
"exception",
"exceptionReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"xof": {
"type": "object",
"properties": {
"algorithm": {
"type": "string",
"enum": [
"unknown",
"SHAKE128",
"SHAKE256",
"other"
]
},
"application": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"approvedApplication": {
"type": [
"boolean",
"null"
]
},
"parametersConform": {
"type": [
"boolean",
"null"
]
},
"outputLengthMode": {
"type": "string",
"enum": [
"unknown",
"fixed",
"application-defined"
]
},
"outputBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
}
},
"required": [
"algorithm",
"application",
"approvedApplication",
"parametersConform",
"outputLengthMode",
"outputBits",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"nist52Server": {
"type": "object",
"properties": {
"audience": {
"type": "string",
"enum": [
"unknown",
"government-only",
"citizen-business"
]
},
"tls13Supported": {
"type": [
"boolean",
"null"
]
},
"tls12Enabled": {
"type": [
"boolean",
"null"
]
},
"tls12InteroperabilityNeeded": {
"type": [
"boolean",
"null"
]
},
"tls10Enabled": {
"type": [
"boolean",
"null"
]
},
"tls11Enabled": {
"type": [
"boolean",
"null"
]
},
"ssl2Enabled": {
"type": [
"boolean",
"null"
]
},
"ssl3Enabled": {
"type": [
"boolean",
"null"
]
},
"versionNegotiationCorrect": {
"type": [
"boolean",
"null"
]
},
"legacyNecessary": {
"type": [
"boolean",
"null"
]
},
"legacyRiskAccepted": {
"type": [
"boolean",
"null"
]
},
"legacyReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
}
},
"required": [
"audience",
"tls13Supported",
"tls12Enabled",
"tls12InteroperabilityNeeded",
"tls10Enabled",
"tls11Enabled",
"ssl2Enabled",
"ssl3Enabled",
"versionNegotiationCorrect",
"legacyNecessary",
"legacyRiskAccepted",
"legacyReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"dependencyReview": {
"type": "object",
"properties": {
"completeness": {
"type": "string",
"enum": [
"unknown",
"partial",
"complete"
]
},
"count": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
{
"type": "null"
}
]
},
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"completeness",
"count",
"scope",
"reference",
"reviewedAt"
],
"additionalProperties": false
},
"cnsaTransition": {
"type": "object",
"properties": {
"nssApplicable": {
"type": [
"boolean",
"null"
]
},
"inventoryComplete": {
"type": [
"boolean",
"null"
]
},
"acquiredOn": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
]
},
"acquisitionConformant": {
"type": [
"boolean",
"null"
]
},
"allServicesCapable": {
"type": [
"boolean",
"null"
]
},
"allServicesUsing": {
"type": [
"boolean",
"null"
]
},
"validationEstablished": {
"type": [
"boolean",
"null"
]
},
"validationReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"exception": {
"type": "string",
"enum": [
"none",
"unknown",
"claimed",
"documented"
]
},
"exceptionMilestones": {
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"acquisition",
"capability",
"use"
]
}
},
"exceptionReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"exceptionExpires": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"nssApplicable",
"inventoryComplete",
"acquiredOn",
"acquisitionConformant",
"allServicesCapable",
"allServicesUsing",
"validationEstablished",
"validationReference",
"exception",
"exceptionMilestones",
"exceptionReference",
"exceptionExpires",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"cnsaUse": {
"type": "object",
"properties": {
"nssApplicable": {
"type": [
"boolean",
"null"
]
},
"application": {
"type": "string",
"enum": [
"unknown",
"software-firmware-signing",
"software-firmware-verification",
"internal-hardware-integrity",
"virtual-integrity",
"general-hash",
"drbg-kdf",
"approved-algorithm-component"
]
},
"algorithm": {
"type": "string",
"enum": [
"unknown",
"LMS",
"XMSS",
"HSS",
"XMSSMT",
"ML-DSA-87",
"ML-DSA-other",
"HashML-DSA",
"SLH-DSA",
"SHA-384",
"SHA-512",
"SHA3-384",
"SHA3-512",
"SHA-256",
"SHAKE",
"other"
]
},
"sp800208Parameters": {
"type": [
"boolean",
"null"
]
},
"signerNss": {
"type": [
"boolean",
"null"
]
},
"cavpValidated": {
"type": [
"boolean",
"null"
]
},
"cmvpHardware": {
"type": [
"boolean",
"null"
]
},
"stateReusePrevented": {
"type": [
"boolean",
"null"
]
},
"operationalQualityReviewed": {
"type": [
"boolean",
"null"
]
},
"validationEstablished": {
"type": [
"boolean",
"null"
]
},
"internalNonInteroperating": {
"type": [
"boolean",
"null"
]
},
"prescribedComponent": {
"type": [
"boolean",
"null"
]
},
"validationReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"componentReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
}
},
"required": [
"nssApplicable",
"application",
"algorithm",
"sp800208Parameters",
"signerNss",
"cavpValidated",
"cmvpHardware",
"stateReusePrevented",
"operationalQualityReviewed",
"validationEstablished",
"internalNonInteroperating",
"prescribedComponent",
"validationReference",
"componentReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"protocolDesign": {
"type": "object",
"properties": {
"newProtocol": {
"type": [
"boolean",
"null"
]
},
"transport": {
"type": "string",
"enum": [
"TLS",
"DTLS",
"unknown"
]
},
"tls13Supported": {
"type": [
"boolean",
"null"
]
},
"defaultVersion": {
"type": "string",
"enum": [
"TLSv1.0",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3",
"unknown"
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"newProtocol",
"transport",
"tls13Supported",
"defaultVersion",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"deadline": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z))$"
}
]
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
},
"required": [
"expectedRevision",
"expectedEvidenceId",
"values",
"reason"
],
"additionalProperties": false
},
"AssetContext": {
"type": "object",
"properties": {
"assetId": {
"type": "string"
},
"revision": {
"type": "integer"
},
"evidenceId": {
"type": "string",
"format": "uuid"
},
"values": {
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"exposure": {
"type": "string",
"enum": [
"unknown",
"public",
"partner",
"internal",
"isolated"
]
},
"criticality": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"retentionYears": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"migrationFriction": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"federalPriority": {
"type": "object",
"properties": {
"federalSystem": {
"type": [
"boolean",
"null"
]
},
"nationalSecuritySystem": {
"type": [
"boolean",
"null"
]
},
"designation": {
"type": "string",
"enum": [
"unknown",
"not-prioritized",
"high-value-asset",
"high-impact-system",
"other-prioritized-sensitive-system"
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"federalSystem",
"nationalSecuritySystem",
"designation",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"randomGeneration": {
"type": "object",
"properties": {
"algorithm": {
"type": "string",
"enum": [
"unknown",
"Hash_DRBG",
"HMAC_DRBG",
"CTR_DRBG",
"DUAL_EC_DRBG",
"FIPS186-2-RNG",
"ANS-X9.31-RNG",
"ANS-X9.62-1998-RNG",
"other"
]
},
"hashAlgorithm": {
"type": "string",
"enum": [
"unknown",
"SHA-1",
"SHA-224",
"SHA-256",
"SHA-384",
"SHA-512",
"SHA-512/224",
"SHA-512/256",
"SHA3-224",
"SHA3-256",
"SHA3-384",
"SHA3-512",
"other"
]
},
"primitive": {
"type": "string",
"enum": [
"unknown",
"AES",
"three-key-TDEA",
"other"
]
},
"keyBits": {
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 128
},
{
"type": "number",
"const": 192
},
{
"type": "number",
"const": 256
}
]
},
{
"type": "null"
}
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"algorithm",
"hashAlgorithm",
"primitive",
"keyBits",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"keyWrapping": {
"type": "object",
"properties": {
"operation": {
"type": "string",
"enum": [
"unknown",
"wrap",
"unwrap"
]
},
"algorithm": {
"type": "string",
"enum": [
"unknown",
"AES",
"TDEA",
"other"
]
},
"method": {
"type": "string",
"enum": [
"unknown",
"KW",
"KWP",
"TKW",
"GCM",
"CCM",
"composed",
"other"
]
},
"encryptionMode": {
"type": "string",
"enum": [
"unknown",
"CBC",
"CFB",
"OFB",
"CTR",
"other"
]
},
"authentication": {
"type": "string",
"enum": [
"unknown",
"CMAC",
"GMAC",
"HMAC",
"KMAC",
"digital-signature",
"other"
]
},
"approvedComponents": {
"type": [
"boolean",
"null"
]
},
"keyBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 16384
},
{
"type": "null"
}
]
},
"tdeaKeyingOption": {
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 3
}
]
},
{
"type": "null"
}
]
},
"exception": {
"type": "string",
"enum": [
"unknown",
"none",
"claimed"
]
},
"exceptionReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"operation",
"algorithm",
"method",
"keyBits",
"tdeaKeyingOption",
"exception",
"exceptionReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"keyDerivation": {
"type": "object",
"properties": {
"construction": {
"type": "string",
"enum": [
"unknown",
"SP800-108",
"SP800-56C-one-step",
"SP800-56C-two-step",
"SP800-132",
"HKDF",
"password-based",
"other"
]
},
"prf": {
"type": "string",
"enum": [
"unknown",
"HASH",
"HMAC",
"CMAC",
"KMAC",
"other"
]
},
"operation": {
"type": "string",
"enum": [
"unknown",
"initiate",
"process"
]
},
"kmacVariant": {
"type": "string",
"enum": [
"unknown",
"KMAC128",
"KMAC256"
]
},
"saltBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 1048576
},
{
"type": "null"
}
]
},
"saltRandom": {
"type": [
"boolean",
"null"
]
},
"iterations": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
{
"type": "null"
}
]
},
"hashAlgorithm": {
"type": "string",
"enum": [
"unknown",
"SHA-1",
"SHA-224",
"SHA-256",
"SHA-384",
"SHA-512",
"SHA-512/224",
"SHA-512/256",
"SHA3-224",
"SHA3-256",
"SHA3-384",
"SHA3-512",
"other"
]
},
"primitive": {
"type": "string",
"enum": [
"unknown",
"AES",
"TDEA",
"other"
]
},
"keyBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 1048576
},
{
"type": "null"
}
]
},
"tdeaKeyingOption": {
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 3
}
]
},
{
"type": "null"
}
]
},
"exception": {
"type": "string",
"enum": [
"unknown",
"none",
"claimed"
]
},
"exceptionReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"construction",
"prf",
"hashAlgorithm",
"primitive",
"keyBits",
"tdeaKeyingOption",
"exception",
"exceptionReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"xof": {
"type": "object",
"properties": {
"algorithm": {
"type": "string",
"enum": [
"unknown",
"SHAKE128",
"SHAKE256",
"other"
]
},
"application": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"approvedApplication": {
"type": [
"boolean",
"null"
]
},
"parametersConform": {
"type": [
"boolean",
"null"
]
},
"outputLengthMode": {
"type": "string",
"enum": [
"unknown",
"fixed",
"application-defined"
]
},
"outputBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
}
},
"required": [
"algorithm",
"application",
"approvedApplication",
"parametersConform",
"outputLengthMode",
"outputBits",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"nist52Server": {
"type": "object",
"properties": {
"audience": {
"type": "string",
"enum": [
"unknown",
"government-only",
"citizen-business"
]
},
"tls13Supported": {
"type": [
"boolean",
"null"
]
},
"tls12Enabled": {
"type": [
"boolean",
"null"
]
},
"tls12InteroperabilityNeeded": {
"type": [
"boolean",
"null"
]
},
"tls10Enabled": {
"type": [
"boolean",
"null"
]
},
"tls11Enabled": {
"type": [
"boolean",
"null"
]
},
"ssl2Enabled": {
"type": [
"boolean",
"null"
]
},
"ssl3Enabled": {
"type": [
"boolean",
"null"
]
},
"versionNegotiationCorrect": {
"type": [
"boolean",
"null"
]
},
"legacyNecessary": {
"type": [
"boolean",
"null"
]
},
"legacyRiskAccepted": {
"type": [
"boolean",
"null"
]
},
"legacyReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
}
},
"required": [
"audience",
"tls13Supported",
"tls12Enabled",
"tls12InteroperabilityNeeded",
"tls10Enabled",
"tls11Enabled",
"ssl2Enabled",
"ssl3Enabled",
"versionNegotiationCorrect",
"legacyNecessary",
"legacyRiskAccepted",
"legacyReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"dependencyReview": {
"type": "object",
"properties": {
"completeness": {
"type": "string",
"enum": [
"unknown",
"partial",
"complete"
]
},
"count": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
{
"type": "null"
}
]
},
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"completeness",
"count",
"scope",
"reference",
"reviewedAt"
],
"additionalProperties": false
},
"cnsaTransition": {
"type": "object",
"properties": {
"nssApplicable": {
"type": [
"boolean",
"null"
]
},
"inventoryComplete": {
"type": [
"boolean",
"null"
]
},
"acquiredOn": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
]
},
"acquisitionConformant": {
"type": [
"boolean",
"null"
]
},
"allServicesCapable": {
"type": [
"boolean",
"null"
]
},
"allServicesUsing": {
"type": [
"boolean",
"null"
]
},
"validationEstablished": {
"type": [
"boolean",
"null"
]
},
"validationReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"exception": {
"type": "string",
"enum": [
"none",
"unknown",
"claimed",
"documented"
]
},
"exceptionMilestones": {
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"acquisition",
"capability",
"use"
]
}
},
"exceptionReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"exceptionExpires": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"nssApplicable",
"inventoryComplete",
"acquiredOn",
"acquisitionConformant",
"allServicesCapable",
"allServicesUsing",
"validationEstablished",
"validationReference",
"exception",
"exceptionMilestones",
"exceptionReference",
"exceptionExpires",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"cnsaUse": {
"type": "object",
"properties": {
"nssApplicable": {
"type": [
"boolean",
"null"
]
},
"application": {
"type": "string",
"enum": [
"unknown",
"software-firmware-signing",
"software-firmware-verification",
"internal-hardware-integrity",
"virtual-integrity",
"general-hash",
"drbg-kdf",
"approved-algorithm-component"
]
},
"algorithm": {
"type": "string",
"enum": [
"unknown",
"LMS",
"XMSS",
"HSS",
"XMSSMT",
"ML-DSA-87",
"ML-DSA-other",
"HashML-DSA",
"SLH-DSA",
"SHA-384",
"SHA-512",
"SHA3-384",
"SHA3-512",
"SHA-256",
"SHAKE",
"other"
]
},
"sp800208Parameters": {
"type": [
"boolean",
"null"
]
},
"signerNss": {
"type": [
"boolean",
"null"
]
},
"cavpValidated": {
"type": [
"boolean",
"null"
]
},
"cmvpHardware": {
"type": [
"boolean",
"null"
]
},
"stateReusePrevented": {
"type": [
"boolean",
"null"
]
},
"operationalQualityReviewed": {
"type": [
"boolean",
"null"
]
},
"validationEstablished": {
"type": [
"boolean",
"null"
]
},
"internalNonInteroperating": {
"type": [
"boolean",
"null"
]
},
"prescribedComponent": {
"type": [
"boolean",
"null"
]
},
"validationReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"componentReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
}
},
"required": [
"nssApplicable",
"application",
"algorithm",
"sp800208Parameters",
"signerNss",
"cavpValidated",
"cmvpHardware",
"stateReusePrevented",
"operationalQualityReviewed",
"validationEstablished",
"internalNonInteroperating",
"prescribedComponent",
"validationReference",
"componentReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"protocolDesign": {
"type": "object",
"properties": {
"newProtocol": {
"type": [
"boolean",
"null"
]
},
"transport": {
"type": "string",
"enum": [
"TLS",
"DTLS",
"unknown"
]
},
"tls13Supported": {
"type": [
"boolean",
"null"
]
},
"defaultVersion": {
"type": "string",
"enum": [
"TLSv1.0",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3",
"unknown"
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"newProtocol",
"transport",
"tls13Supported",
"defaultVersion",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"deadline": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z))$"
}
]
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"observed": {
"type": "object"
},
"effective": {
"type": "object"
},
"risk": {
"$ref": "#/components/schemas/Risk"
},
"updatedAt": {
"type": [
"string",
"null"
]
},
"updatedBy": {
"type": [
"string",
"null"
]
},
"reason": {
"type": [
"string",
"null"
]
}
},
"required": [
"assetId",
"revision",
"evidenceId",
"values",
"observed",
"effective",
"risk",
"updatedAt",
"updatedBy",
"reason"
]
},
"JiraConnectionInput": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
}
},
"required": [
"name"
],
"additionalProperties": false
},
"JiraConnection": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"revision": {
"type": "integer"
},
"mappingSummary": {
"type": "object",
"properties": {
"savedAt": {
"type": "string",
"format": "date-time"
},
"fieldCount": {
"type": "integer"
},
"referenceValidationPending": {
"type": "boolean"
}
},
"required": [
"savedAt",
"fieldCount",
"referenceValidationPending"
]
},
"state": {
"enum": [
"authorization-required",
"project-required",
"mapping-required",
"mapping-saved",
"disconnected"
]
},
"target": {
"type": "object",
"properties": {
"site": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"url": {
"type": "string",
"format": "uri"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"url",
"name"
]
},
"project": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"key",
"name"
]
},
"issueType": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"subtask": {
"type": "boolean"
}
},
"required": [
"id",
"name",
"subtask"
]
},
"selectedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"site",
"project",
"issueType",
"selectedAt"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
},
"updatedBy": {
"type": "string"
},
"revokedAt": {
"type": "string",
"format": "date-time"
},
"archivedAt": {
"type": "string",
"format": "date-time"
},
"deletedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"tenantId",
"name",
"revision",
"state",
"createdAt",
"updatedAt"
]
},
"Error": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "object"
}
}
},
"required": [
"error"
]
},
"AgentConfigurationInput": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"settings": {
"type": "object",
"properties": {
"egress": {
"type": "object",
"properties": {
"version": {
"type": "number",
"const": 1
},
"mode": {
"type": "string",
"enum": [
"direct",
"relay"
]
},
"relays": {
"maxItems": 2,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"origin": {
"type": "string",
"maxLength": 300
}
},
"required": [
"id",
"origin"
],
"additionalProperties": false
}
},
"directFallback": {
"type": "string",
"enum": [
"disabled",
"when-unavailable"
]
}
},
"required": [
"version",
"mode",
"relays",
"directFallback"
],
"additionalProperties": false
},
"sshHostKeyProfile": {
"type": "string",
"enum": [
"baseline",
"host-keys-v1",
"host-keys-v2"
]
},
"enabled": {
"type": "boolean"
},
"pollSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 120
},
"allowedQuicTargets": {
"maxItems": 256,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"pattern": "^[A-Za-z0-9.[\\]:-]+$"
}
},
"allowedTargets": {
"maxItems": 256,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"pattern": "^[A-Za-z0-9.[\\]:-]+$"
}
},
"allowedSshTargets": {
"maxItems": 256,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"pattern": "^[A-Za-z0-9.[\\]:-]+$"
}
},
"repositoryRoots": {
"maxItems": 256,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
},
"captureRoots": {
"maxItems": 256,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
},
"allowedAwsKmsKeys": {
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"pattern": "^arn:(aws|aws-us-gov|aws-cn):kms:([a-z]{2}(?:-[a-z]+){1,3}-[0-9]+):[0-9]{12}:key\\/(?:[a-f0-9]{8}-(?:[a-f0-9]{4}-){3}[a-f0-9]{12}|mrk-[a-f0-9]{32})$"
}
},
"allowedGcpKmsVersions": {
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"pattern": "^projects\\/([a-z][a-z0-9-]{4,28}[a-z0-9]|[1-9][0-9]{0,19})\\/locations\\/[a-z][a-z0-9-]{0,62}\\/keyRings\\/[A-Za-z0-9_-]{1,63}\\/cryptoKeys\\/[A-Za-z0-9_-]{1,63}\\/cryptoKeyVersions\\/[1-9][0-9]{0,19}$"
}
},
"allowedAzureKeyVersions": {
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"pattern": "^https:\\/\\/([a-z][a-z0-9-]{1,22}[a-z0-9])\\.vault\\.azure\\.net\\/keys\\/[A-Za-z0-9-]{1,127}\\/[a-f0-9]{32}$"
}
},
"allowedRuntimeProcesses": {
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"pattern": "^[1-9][0-9]{0,6}:[0-9]{1,20}:[a-f0-9]{64}$"
}
},
"allowedWindowsCertificateStores": {
"maxItems": 12,
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:CurrentUser|LocalMachine)\\/(?:MY|ROOT|CA|TrustedPeople|TrustedPublisher|Disallowed)$"
}
}
},
"required": [
"enabled",
"pollSeconds",
"allowedTargets",
"allowedSshTargets",
"repositoryRoots"
],
"additionalProperties": false
}
},
"required": [
"expectedRevision",
"settings"
],
"additionalProperties": false
},
"AgentConfigurationStatus": {
"type": "object",
"properties": {
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"status": {
"type": "string",
"enum": [
"applied",
"rejected"
]
},
"reason": {
"type": "string",
"enum": [
"none",
"local-opt-in-required",
"outside-local-scope",
"invalid-configuration"
]
}
},
"required": [
"revision",
"status",
"reason"
],
"additionalProperties": false
},
"ManagedSettings": {
"type": "object",
"properties": {
"egress": {
"type": "object",
"properties": {
"version": {
"type": "number",
"const": 1
},
"mode": {
"type": "string",
"enum": [
"direct",
"relay"
]
},
"relays": {
"maxItems": 2,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"origin": {
"type": "string",
"maxLength": 300
}
},
"required": [
"id",
"origin"
],
"additionalProperties": false
}
},
"directFallback": {
"type": "string",
"enum": [
"disabled",
"when-unavailable"
]
}
},
"required": [
"version",
"mode",
"relays",
"directFallback"
],
"additionalProperties": false
},
"sshHostKeyProfile": {
"type": "string",
"enum": [
"baseline",
"host-keys-v1",
"host-keys-v2"
]
},
"enabled": {
"type": "boolean"
},
"pollSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 120
},
"allowedQuicTargets": {
"maxItems": 256,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"pattern": "^[A-Za-z0-9.[\\]:-]+$"
}
},
"allowedTargets": {
"maxItems": 256,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"pattern": "^[A-Za-z0-9.[\\]:-]+$"
}
},
"allowedSshTargets": {
"maxItems": 256,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"pattern": "^[A-Za-z0-9.[\\]:-]+$"
}
},
"repositoryRoots": {
"maxItems": 256,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
},
"captureRoots": {
"maxItems": 256,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
},
"allowedAwsKmsKeys": {
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"pattern": "^arn:(aws|aws-us-gov|aws-cn):kms:([a-z]{2}(?:-[a-z]+){1,3}-[0-9]+):[0-9]{12}:key\\/(?:[a-f0-9]{8}-(?:[a-f0-9]{4}-){3}[a-f0-9]{12}|mrk-[a-f0-9]{32})$"
}
},
"allowedGcpKmsVersions": {
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"pattern": "^projects\\/([a-z][a-z0-9-]{4,28}[a-z0-9]|[1-9][0-9]{0,19})\\/locations\\/[a-z][a-z0-9-]{0,62}\\/keyRings\\/[A-Za-z0-9_-]{1,63}\\/cryptoKeys\\/[A-Za-z0-9_-]{1,63}\\/cryptoKeyVersions\\/[1-9][0-9]{0,19}$"
}
},
"allowedAzureKeyVersions": {
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"pattern": "^https:\\/\\/([a-z][a-z0-9-]{1,22}[a-z0-9])\\.vault\\.azure\\.net\\/keys\\/[A-Za-z0-9-]{1,127}\\/[a-f0-9]{32}$"
}
},
"allowedRuntimeProcesses": {
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"pattern": "^[1-9][0-9]{0,6}:[0-9]{1,20}:[a-f0-9]{64}$"
}
},
"allowedWindowsCertificateStores": {
"maxItems": 12,
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:CurrentUser|LocalMachine)\\/(?:MY|ROOT|CA|TrustedPeople|TrustedPublisher|Disallowed)$"
}
}
},
"required": [
"enabled",
"pollSeconds",
"allowedTargets",
"allowedSshTargets",
"repositoryRoots"
],
"additionalProperties": false
},
"PlanInput": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"assetId": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"owner": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"dueDate": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"status": {
"default": "planned",
"type": "string",
"const": "planned"
},
"criteria": {
"type": "object",
"properties": {
"algorithm": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"keyEstablishment": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"authentication": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"minimumConfidence": {
"default": 0.9,
"description": "Minimum evidence-completeness-adjusted confidence recomputed from the immutable observation under the current risk policy; not the scanner-reported value alone.",
"type": "number",
"minimum": 0.8,
"maximum": 1
}
},
"additionalProperties": false
}
},
"required": [
"title",
"assetId",
"owner",
"dueDate"
],
"additionalProperties": false
},
"PlanUpdate": {
"type": "object",
"properties": {
"expectedVersion": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"owner": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"dueDate": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"criteria": {
"type": "object",
"properties": {
"algorithm": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"keyEstablishment": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"authentication": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"minimumConfidence": {
"default": 0.9,
"description": "Minimum evidence-completeness-adjusted confidence recomputed from the immutable observation under the current risk policy; not the scanner-reported value alone.",
"type": "number",
"minimum": 0.8,
"maximum": 1
}
},
"additionalProperties": false
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false
},
"PlanState": {
"type": "object",
"properties": {
"expectedVersion": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"status": {
"type": "string",
"enum": [
"planned",
"in-progress",
"verified"
]
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"evidenceId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"expectedVersion",
"status",
"reason"
],
"additionalProperties": false
},
"Observation": {
"type": "object",
"properties": {
"externalId": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"kind": {
"type": "string",
"enum": [
"tls",
"ssh",
"code",
"certificate",
"library",
"key",
"cloud",
"runtime",
"database"
]
},
"algorithm": {
"default": "unknown",
"type": "string",
"maxLength": 100
},
"keyEstablishment": {
"default": "unknown",
"type": "string",
"maxLength": 100
},
"authentication": {
"default": "unknown",
"type": "string",
"maxLength": 100
},
"source": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"exposure": {
"default": "unknown",
"type": "string",
"enum": [
"unknown",
"public",
"partner",
"internal",
"isolated"
]
},
"criticality": {
"default": 3,
"type": "integer",
"minimum": 1,
"maximum": 5
},
"retentionYears": {
"default": 0,
"type": "number",
"minimum": 0,
"maximum": 100
},
"migrationFriction": {
"default": 3,
"type": "integer",
"minimum": 1,
"maximum": 5
},
"dependencyCount": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"dependencies": {
"default": [],
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 300
}
},
"deadline": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"location": {
"type": "string",
"maxLength": 1000
},
"owner": {
"default": "Unassigned",
"type": "string",
"maxLength": 200
},
"evidence": {
"default": {},
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 100
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"anyOf": [
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "gcp-alloydb"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"oneOf": [
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "gcp"
},
"service": {
"type": "string",
"const": "alloydb"
},
"engine": {
"type": "string",
"const": "postgresql"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"projectId": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"region": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"resourceType": {
"type": "string",
"const": "cluster"
},
"configuredKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"encryptionType": {
"type": "string",
"enum": [
"TYPE_UNSPECIFIED",
"GOOGLE_DEFAULT_ENCRYPTION",
"CUSTOMER_MANAGED_ENCRYPTION"
]
},
"usedKeyVersionReferences": {
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 600
}
},
"storageState": {
"type": "string",
"enum": [
"provider-reported-cmek",
"provider-reported-google-managed",
"unknown"
]
},
"configuredTls": {
"type": "string",
"const": "unknown"
},
"tlsEvidenceSource": {
"type": "string",
"const": "instance-configuration-required"
}
},
"required": [
"provider",
"service",
"engine",
"resource",
"projectId",
"region",
"keyAlgorithm",
"transportEncryption",
"databaseTde",
"automaticNetworkScanAuthorized",
"coverage",
"resourceType",
"usedKeyVersionReferences",
"storageState",
"configuredTls",
"tlsEvidenceSource"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "gcp"
},
"service": {
"type": "string",
"const": "alloydb"
},
"engine": {
"type": "string",
"const": "postgresql"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"projectId": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"region": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"resourceType": {
"type": "string",
"const": "instance"
},
"cluster": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"sslMode": {
"type": "string",
"enum": [
"SSL_MODE_UNSPECIFIED",
"SSL_MODE_ALLOW",
"SSL_MODE_REQUIRE",
"SSL_MODE_VERIFY_CA",
"ALLOW_UNENCRYPTED_AND_ENCRYPTED",
"ENCRYPTED_ONLY"
]
},
"requireConnectors": {
"type": "boolean"
},
"configuredTls": {
"type": "string",
"enum": [
"required",
"optional",
"unknown"
]
},
"configuredClientCertificate": {
"type": "string",
"enum": [
"required",
"not-required",
"unknown"
]
},
"tlsEvidenceSource": {
"type": "string",
"enum": [
"instance-sslMode",
"missing"
]
},
"storageState": {
"type": "string",
"const": "cluster-configuration-required"
}
},
"required": [
"provider",
"service",
"engine",
"resource",
"projectId",
"region",
"keyAlgorithm",
"transportEncryption",
"databaseTde",
"automaticNetworkScanAuthorized",
"coverage",
"resourceType",
"cluster",
"configuredTls",
"configuredClientCertificate",
"tlsEvidenceSource",
"storageState"
],
"additionalProperties": false
}
]
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "azure-sql-managed-instance"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "azure"
},
"service": {
"type": "string",
"const": "sql-managed-instance"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"instanceResource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"engine": {
"type": "string",
"const": "sqlserver"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"alwaysEncrypted": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"instanceTlsPolicy": {
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredMinimumTls": {
"type": "string",
"enum": [
"unknown",
"1.0",
"1.1",
"1.2"
]
},
"minimumTlsField": {
"type": "string",
"enum": [
"None",
"1.0",
"1.1",
"1.2"
]
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"configuredMinimumTls",
"transportEncryption",
"automaticNetworkScanAuthorized",
"observedAt"
],
"additionalProperties": false
},
"instanceProtector": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"keyManagement": {
"type": "string",
"enum": [
"service-managed",
"customer-managed",
"unknown"
]
},
"keyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"autoRotationEnabled": {
"type": "boolean"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"keyManagement",
"keyAlgorithm",
"databaseTde",
"observedAt"
],
"additionalProperties": false
}
]
},
"tdeConfiguration": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredTde": {
"type": "string",
"enum": [
"enabled",
"disabled",
"unknown"
]
},
"evidenceSource": {
"type": "string",
"const": "azure-arm-tde-configuration"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"engineEncryptionState": {
"type": "string",
"const": "not-assessed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"configuredTde",
"evidenceSource",
"keyAlgorithm",
"engineEncryptionState",
"observedAt"
],
"additionalProperties": false
}
]
}
},
"required": [
"provider",
"service",
"resource",
"instanceResource",
"name",
"engine",
"databaseTde",
"transportEncryption",
"keyAlgorithm",
"alwaysEncrypted",
"automaticNetworkScanAuthorized",
"coverage",
"instanceTlsPolicy",
"instanceProtector",
"tdeConfiguration"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "azure-flexible-database"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "azure"
},
"service": {
"type": "string",
"const": "flexible-database"
},
"engine": {
"type": "string",
"enum": [
"postgresql",
"mysql"
]
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"keyManagement": {
"type": "string",
"enum": [
"service-managed",
"customer-managed",
"unknown"
]
},
"primaryKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"geoBackupKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"storageEncryptionState": {
"type": "string",
"const": "not-assessed"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"engineEncryption": {
"type": "string",
"const": "not-assessed"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"tlsConfigurations": {
"minItems": 2,
"maxItems": 3,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"parameter": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"parameter",
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"parameter": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"status": {
"type": "string",
"const": "observed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configured": {
"anyOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"unknown",
"unrecognized"
]
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "known"
},
"value": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"minLength": 1,
"maxLength": 1000
},
{
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
}
]
}
},
"required": [
"state",
"value"
],
"additionalProperties": false
}
]
},
"current": {
"anyOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"unknown",
"unrecognized"
]
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "known"
},
"value": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"minLength": 1,
"maxLength": 1000
},
{
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
}
]
}
},
"required": [
"state",
"value"
],
"additionalProperties": false
}
]
},
"pendingRestart": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"const": "unknown"
}
]
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"evidenceSource": {
"type": "string",
"const": "azure-arm-server-configuration"
}
},
"required": [
"parameter",
"status",
"observedAt",
"resource",
"configured",
"current",
"pendingRestart",
"transportEncryption",
"evidenceSource"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"provider",
"service",
"engine",
"resource",
"name",
"keyManagement",
"storageEncryptionState",
"keyAlgorithm",
"engineEncryption",
"transportEncryption",
"automaticNetworkScanAuthorized",
"coverage",
"tlsConfigurations"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "postgresql"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "current-session-and-visible-settings"
},
"probes": {
"type": "object",
"properties": {
"session": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"oneOf": [
{
"type": "object",
"properties": {
"encrypted": {
"type": "boolean",
"const": false
}
},
"required": [
"encrypted"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"encrypted": {
"type": "boolean",
"const": true
},
"protocol": {
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
},
"cipher": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
"cipherBits": {
"type": "integer",
"minimum": 1,
"maximum": 512
}
},
"required": [
"encrypted",
"protocol",
"cipher",
"cipherBits"
],
"additionalProperties": false
}
]
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"settings": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"values": {
"type": "object",
"properties": {
"ssl": {
"type": "boolean"
},
"ssl_min_protocol_version": {
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
},
"ssl_max_protocol_version": {
"anyOf": [
{
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
},
{
"type": "string",
"const": ""
}
]
},
"ssl_ciphers": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
"ssl_prefer_server_ciphers": {
"type": "boolean"
},
"ssl_ecdh_curve": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
"ssl_groups": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
"ssl_tls13_ciphers": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 1024,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
{
"type": "string",
"const": ""
}
]
},
"server_version_num": {
"type": "integer",
"minimum": 10000,
"maximum": 999999
}
},
"additionalProperties": false
},
"missing": {
"maxItems": 9,
"type": "array",
"items": {
"type": "string",
"enum": [
"ssl",
"ssl_min_protocol_version",
"ssl_max_protocol_version",
"ssl_ciphers",
"ssl_prefer_server_ciphers",
"ssl_ecdh_curve",
"ssl_groups",
"ssl_tls13_ciphers",
"server_version_num"
]
}
},
"notApplicable": {
"maxItems": 9,
"type": "array",
"items": {
"type": "string",
"enum": [
"ssl",
"ssl_min_protocol_version",
"ssl_max_protocol_version",
"ssl_ciphers",
"ssl_prefer_server_ciphers",
"ssl_ecdh_curve",
"ssl_groups",
"ssl_tls13_ciphers",
"server_version_num"
]
}
},
"versionProfile": {
"type": "string",
"enum": [
"known",
"unverified"
]
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"values",
"missing",
"notApplicable",
"versionProfile",
"coverage"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
}
},
"required": [
"session",
"settings"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
},
"connection": {
"type": "object",
"properties": {
"tlsVerified": {
"type": "boolean",
"const": true
},
"targetPinned": {
"type": "boolean",
"const": true
},
"authenticationPolicy": {
"type": "string",
"const": "scram-sha-256"
}
},
"required": [
"tlsVerified",
"targetPinned",
"authenticationPolicy"
],
"additionalProperties": false
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"probes",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "mysql"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "current-session-and-visible-settings"
},
"probes": {
"type": "object",
"properties": {
"session": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"oneOf": [
{
"type": "object",
"properties": {
"encrypted": {
"type": "boolean",
"const": false
}
},
"required": [
"encrypted"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"encrypted": {
"type": "boolean",
"const": true
},
"protocol": {
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
},
"cipher": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,128}$"
}
},
"required": [
"encrypted",
"protocol",
"cipher"
],
"additionalProperties": false
}
]
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"settings": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"values": {
"type": "object",
"properties": {
"version": {
"type": "string",
"maxLength": 1024,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"require_secure_transport": {
"type": "boolean"
},
"tls_version": {
"type": "string",
"maxLength": 1024,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"tls_ciphersuites": {
"type": "string",
"maxLength": 1024,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"ssl_cipher": {
"type": "string",
"maxLength": 1024,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"default_table_encryption": {
"type": "boolean"
},
"innodb_redo_log_encrypt": {
"type": "boolean"
},
"innodb_undo_log_encrypt": {
"type": "boolean"
},
"binlog_encryption": {
"type": "boolean"
}
},
"additionalProperties": false
},
"missing": {
"maxItems": 9,
"type": "array",
"items": {
"type": "string",
"enum": [
"version",
"require_secure_transport",
"tls_version",
"tls_ciphersuites",
"ssl_cipher",
"default_table_encryption",
"innodb_redo_log_encrypt",
"innodb_undo_log_encrypt",
"binlog_encryption"
]
}
},
"versionProfile": {
"type": "string",
"enum": [
"known",
"unverified"
]
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"values",
"missing",
"versionProfile",
"coverage"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"tablespaces": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"scope": {
"type": "string",
"const": "visible-innodb-tablespaces"
},
"encryptedCount": {
"type": "integer",
"minimum": 0,
"maximum": 10000000
},
"unencryptedCount": {
"type": "integer",
"minimum": 0,
"maximum": 10000000
},
"completeDatabaseEncryptionVerified": {
"type": "boolean",
"const": false
}
},
"required": [
"scope",
"encryptedCount",
"unencryptedCount",
"completeDatabaseEncryptionVerified"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "not-requested"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
}
},
"required": [
"session",
"settings",
"tablespaces"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
},
"connection": {
"type": "object",
"properties": {
"tlsVerified": {
"type": "boolean",
"const": true
},
"targetPinned": {
"type": "boolean",
"const": true
}
},
"required": [
"tlsVerified",
"targetPinned"
],
"additionalProperties": false
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"probes",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "sqlserver"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "current-database-and-session"
},
"probes": {
"type": "object",
"properties": {
"visibility": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"version": {
"type": "string",
"pattern": "^[0-9]{1,2}(?:\\.[0-9]{1,10}){1,3}$"
},
"engineEdition": {
"type": "integer",
"minimum": 1,
"maximum": 20
},
"databaseDefinitionVisible": {
"type": "boolean"
}
},
"required": [
"version",
"engineEdition",
"databaseDefinitionVisible"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"session": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"encrypted": {
"type": "boolean"
},
"transport": {
"type": "string",
"enum": [
"TCP",
"Named pipe",
"Shared memory",
"Session"
]
},
"loginAuthentication": {
"type": "string",
"enum": [
"SQL",
"NTLM",
"KERBEROS",
"FEDAUTH",
"unknown"
]
},
"protocol": {
"type": "string",
"const": "unknown"
},
"cipher": {
"type": "string",
"const": "unknown"
}
},
"required": [
"encrypted",
"transport",
"loginAuthentication",
"protocol",
"cipher"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"tde": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"no-visible-key",
"no-key",
"unencrypted",
"encrypting",
"encrypted",
"key-change",
"decrypting",
"protector-change"
]
},
"algorithm": {
"type": "string",
"enum": [
"AES",
"TRIPLE_DES",
"unknown"
]
},
"keyBits": {
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 128
},
{
"type": "number",
"const": 192
},
{
"type": "number",
"const": 256
},
{
"type": "null"
}
]
},
"protectorType": {
"type": "string",
"enum": [
"CERTIFICATE",
"ASYMMETRIC KEY",
"unknown"
]
}
},
"required": [
"state",
"algorithm",
"keyBits",
"protectorType"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "not-requested"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"columns": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"scope": {
"type": "string",
"const": "visible-current-database-columns"
},
"applicationEncryptionUseVerified": {
"type": "boolean",
"const": false
},
"groups": {
"maxItems": 2,
"type": "array",
"items": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"DETERMINISTIC",
"RANDOMIZED"
]
},
"algorithm": {
"type": "string",
"const": "AEAD_AES_256_CBC_HMAC_SHA_256"
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 10000000
}
},
"required": [
"mode",
"algorithm",
"count"
],
"additionalProperties": false
}
}
},
"required": [
"scope",
"applicationEncryptionUseVerified",
"groups"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "not-requested"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
}
},
"required": [
"visibility",
"session",
"tde",
"columns"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
},
"connection": {
"type": "object",
"properties": {
"tlsVerified": {
"type": "boolean",
"const": true
},
"targetPinned": {
"type": "boolean",
"const": true
}
},
"required": [
"tlsVerified",
"targetPinned"
],
"additionalProperties": false
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"probes",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "sqlite"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "current-local-database-metadata"
},
"probes": {
"type": "object",
"properties": {
"runtime": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"sqliteVersion": {
"type": "string",
"pattern": "^[0-9]{1,2}(?:\\.[0-9]{1,3}){2}$"
}
},
"required": [
"sqliteVersion"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"schema": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"readable": {
"type": "boolean",
"const": true
},
"allPagesVerified": {
"type": "boolean",
"const": false
}
},
"required": [
"readable",
"allPagesVerified"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unreadable-or-unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher": {
"type": "object",
"properties": {
"cipher_version": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "string",
"pattern": "^[0-9]{1,2}(?:\\.[0-9]{1,3}){1,3}(?: [A-Za-z0-9_-]{1,40})?$"
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_provider": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "string",
"enum": [
"openssl",
"commoncrypto",
"libtomcrypt",
"nss"
]
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_status": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "boolean"
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_use_hmac": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "boolean"
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_page_size": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "integer",
"minimum": 512,
"maximum": 65536
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"kdf_iter": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "integer",
"minimum": 1,
"maximum": 10000000
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_plaintext_header_size": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "integer",
"minimum": 0,
"maximum": 65536,
"multipleOf": 16
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_hmac_algorithm": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "string",
"enum": [
"HMAC_SHA1",
"HMAC_SHA256",
"HMAC_SHA512"
]
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_kdf_algorithm": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "string",
"enum": [
"PBKDF2_HMAC_SHA1",
"PBKDF2_HMAC_SHA256",
"PBKDF2_HMAC_SHA512"
]
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
}
},
"required": [
"cipher_version",
"cipher_provider",
"cipher_status",
"cipher_use_hmac",
"cipher_page_size",
"kdf_iter",
"cipher_plaintext_header_size",
"cipher_hmac_algorithm",
"cipher_kdf_algorithm"
],
"additionalProperties": false
}
},
"required": [
"runtime",
"schema",
"cipher"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"probes",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "aws-rds"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "aws"
},
"service": {
"type": "string",
"const": "rds"
},
"resource": {
"type": "string",
"maxLength": 300
},
"resourceType": {
"type": "string",
"enum": [
"instance",
"cluster"
]
},
"region": {
"type": "string",
"maxLength": 300
},
"accountId": {
"type": "string",
"maxLength": 300
},
"engine": {
"type": "string",
"maxLength": 300
},
"engineVersion": {
"type": "string",
"maxLength": 300
},
"engineCoverage": {
"type": "string",
"enum": [
"recognized",
"unverified"
]
},
"storageScope": {
"type": "string",
"enum": [
"parent-cluster",
"instance",
"cluster"
]
},
"storageState": {
"type": "string",
"enum": [
"encrypted",
"unencrypted",
"unknown",
"cluster-evidence-required"
]
},
"keyManagement": {
"type": "string",
"enum": [
"aws-owned",
"aws-managed-or-customer-managed",
"unknown"
]
},
"storageEncryptionType": {
"type": "string",
"enum": [
"none",
"sse-rds",
"sse-kms"
]
},
"storageEncryptedField": {
"type": "boolean"
},
"keyReference": {
"type": "string",
"maxLength": 300
},
"clusterReference": {
"type": "string",
"maxLength": 300
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"endpoint": {
"type": "string",
"maxLength": 300
},
"port": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"provider",
"service",
"resource",
"resourceType",
"region",
"accountId",
"engine",
"engineCoverage",
"storageScope",
"storageState",
"keyManagement",
"transportEncryption",
"databaseTde",
"keyAlgorithm",
"automaticNetworkScanAuthorized",
"coverage"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "gcp-cloud-sql"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "gcp"
},
"service": {
"type": "string",
"const": "cloud-sql"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"projectId": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"region": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"engine": {
"type": "string",
"enum": [
"postgresql",
"mysql",
"sqlserver",
"unknown"
]
},
"engineVersion": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"configuredTls": {
"type": "string",
"enum": [
"required",
"optional",
"unknown"
]
},
"configuredClientCertificate": {
"type": "string",
"enum": [
"required",
"not-required",
"not-applicable",
"unknown"
]
},
"tlsEvidenceSource": {
"type": "string",
"enum": [
"sslMode",
"legacy-requireSsl",
"missing"
]
},
"sslMode": {
"type": "string",
"enum": [
"SSL_MODE_UNSPECIFIED",
"ALLOW_UNENCRYPTED_AND_ENCRYPTED",
"ENCRYPTED_ONLY",
"TRUSTED_CLIENT_CERTIFICATE_REQUIRED"
]
},
"requireSsl": {
"type": "boolean"
},
"legacyFieldConflict": {
"type": "boolean"
},
"configuredKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"usedKeyVersionReference": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"storageState": {
"type": "string",
"enum": [
"provider-reported-cmek",
"unknown"
]
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"provider",
"service",
"resource",
"projectId",
"region",
"engine",
"configuredTls",
"configuredClientCertificate",
"tlsEvidenceSource",
"legacyFieldConflict",
"storageState",
"keyAlgorithm",
"transportEncryption",
"databaseTde",
"automaticNetworkScanAuthorized",
"coverage"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "azure-sql-database"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "azure"
},
"service": {
"type": "string",
"const": "sql-database"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"serverResource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"engine": {
"type": "string",
"const": "sqlserver"
},
"databaseKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredEnclave": {
"type": "string",
"enum": [
"Default",
"VBS"
]
},
"infrastructureEncryptionEnabled": {
"type": "boolean"
},
"databaseKeyAutoRotation": {
"type": "boolean"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"alwaysEncrypted": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"serverTlsPolicy": {
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredMinimumTls": {
"type": "string",
"enum": [
"unknown",
"1.0",
"1.1",
"1.2",
"1.3"
]
},
"minimumTlsField": {
"type": "string",
"enum": [
"None",
"1.0",
"1.1",
"1.2",
"1.3"
]
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"configuredMinimumTls",
"transportEncryption",
"automaticNetworkScanAuthorized",
"observedAt"
],
"additionalProperties": false
},
"serverProtector": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"keyManagement": {
"type": "string",
"enum": [
"service-managed",
"customer-managed",
"unknown"
]
},
"keyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"autoRotationEnabled": {
"type": "boolean"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"keyManagement",
"keyAlgorithm",
"databaseTde",
"observedAt"
],
"additionalProperties": false
}
]
},
"tdeConfiguration": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredTde": {
"type": "string",
"enum": [
"enabled",
"disabled",
"unknown"
]
},
"evidenceSource": {
"type": "string",
"const": "azure-arm-tde-configuration"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"engineEncryptionState": {
"type": "string",
"const": "not-assessed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"configuredTde",
"evidenceSource",
"keyAlgorithm",
"engineEncryptionState",
"observedAt"
],
"additionalProperties": false
}
]
}
},
"required": [
"provider",
"service",
"resource",
"serverResource",
"name",
"engine",
"databaseTde",
"transportEncryption",
"keyAlgorithm",
"alwaysEncrypted",
"automaticNetworkScanAuthorized",
"coverage",
"serverTlsPolicy",
"serverProtector",
"tdeConfiguration"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
}
]
},
{
"type": "object",
"properties": {
"certificateSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"certificateType": {
"type": "string",
"enum": [
"ssh-rsa-cert-v01@openssh.com",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com"
]
},
"certificateRole": {
"type": "string",
"const": "host"
},
"serial": {
"type": "string",
"maxLength": 20
},
"validAfter": {
"type": "string",
"maxLength": 20
},
"validBefore": {
"type": "string",
"maxLength": 20
},
"principalCount": {
"type": "integer",
"minimum": 0,
"maximum": 256
},
"criticalOptionCount": {
"type": "integer",
"minimum": 0,
"maximum": 64
},
"extensionCount": {
"type": "integer",
"minimum": 0,
"maximum": 64
},
"subjectKey": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"ssh-rsa",
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521"
]
},
"bits": {
"anyOf": [
{
"anyOf": [
{
"type": "integer",
"minimum": 512,
"maximum": 16384
},
{
"type": "number",
"const": 256
}
]
},
{
"type": "number",
"const": 384
}
]
},
"sha256": {
"type": "string",
"pattern": "^SHA256:[A-Za-z0-9+/]{43}$"
}
},
"required": [
"type",
"bits",
"sha256"
],
"additionalProperties": false
},
"signingKey": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"ssh-rsa",
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521"
]
},
"bits": {
"anyOf": [
{
"anyOf": [
{
"type": "integer",
"minimum": 512,
"maximum": 16384
},
{
"type": "number",
"const": 256
}
]
},
{
"type": "number",
"const": 384
}
]
},
"sha256": {
"type": "string",
"pattern": "^SHA256:[A-Za-z0-9+/]{43}$"
}
},
"required": [
"type",
"bits",
"sha256"
],
"additionalProperties": false
},
"certificateSignatureAlgorithm": {
"type": "string",
"enum": [
"ssh-rsa",
"rsa-sha2-256",
"rsa-sha2-512",
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521"
]
},
"certificateSignatureVerified": {
"type": "boolean"
},
"certificateAuthorityTrusted": {
"type": "boolean",
"const": false
},
"certificateHostMatchVerified": {
"type": "boolean",
"const": false
}
},
"required": [
"certificateSha256",
"certificateType",
"certificateRole",
"serial",
"validAfter",
"validBefore",
"principalCount",
"criticalOptionCount",
"extensionCount",
"subjectKey",
"signingKey",
"certificateSignatureAlgorithm",
"certificateSignatureVerified",
"certificateAuthorityTrusted",
"certificateHostMatchVerified"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"keyExchange": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"hostKey": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"cipherClientToServer": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"cipherServerToClient": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"macClientToServer": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"macServerToClient": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
}
},
"required": [
"keyExchange",
"hostKey",
"cipherClientToServer",
"cipherServerToClient",
"macClientToServer",
"macServerToClient"
],
"additionalProperties": false
},
{
"minItems": 7,
"maxItems": 15,
"type": "array",
"items": {
"type": "object",
"properties": {
"probe": {
"type": "string",
"enum": [
"tls12",
"tls13",
"tls12-ecdhe-rsa-aes128gcm",
"tls12-ecdhe-ecdsa-aes128gcm",
"tls12-dhe-rsa-aes256gcm",
"tls13-x25519",
"tls13-p256",
"tls13-x25519mlkem768",
"tls13-secp256r1mlkem768",
"tls13-secp384r1mlkem1024",
"tls13-mlkem512",
"tls13-mlkem768",
"tls13-mlkem1024",
"tls12-rsa-aes128gcm",
"tls12-rsa-aes256gcm"
]
},
"offeredProtocol": {
"type": "string",
"enum": [
"TLSv1.2",
"TLSv1.3"
]
},
"offeredCipher": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"offeredCurve": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"offeredGroup": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"status": {
"type": "string",
"enum": [
"negotiated",
"inconclusive",
"local-unavailable"
]
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"certificateVerified": {
"type": "boolean",
"const": true
},
"negotiatedProtocol": {
"type": "string",
"enum": [
"TLSv1.2",
"TLSv1.3"
]
},
"negotiatedCipher": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"certificateSha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"selectedGroupId": {
"type": "string",
"pattern": "^0x[0-9a-f]{4}$"
},
"selectedGroupName": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"negotiatedSignatureSchemeId": {
"type": "string",
"pattern": "^0x[0-9a-f]{4}$"
},
"negotiatedSignatureSchemeName": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"sessionReused": {
"type": "boolean"
},
"handshakeMetadataAvailable": {
"type": "boolean"
},
"handshakeMetadataValid": {
"type": "boolean"
},
"handshakeMetadataSource": {
"type": "string",
"const": "cpython-message-callback"
},
"keyExchangeSource": {
"type": "string",
"const": "negotiated-cipher-suite"
},
"cipherSuiteId": {
"type": "string",
"pattern": "^0x[0-9a-f]{4}$"
}
},
"required": [
"probe",
"offeredProtocol",
"status"
],
"additionalProperties": false
}
},
{
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"enum": [
"encrypt",
"decrypt",
"sign",
"verify",
"wrapKey",
"unwrapKey",
"import",
"export"
]
}
},
{
"maxItems": 9,
"type": "array",
"items": {
"type": "string",
"enum": [
"digitalSignature",
"contentCommitment",
"keyEncipherment",
"dataEncipherment",
"keyAgreement",
"keyCertSign",
"cRLSign",
"encipherOnly",
"decipherOnly"
]
}
},
{
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"pattern": "^[0-2](?:\\.[0-9]+){2,30}$"
}
},
{
"minItems": 1,
"maxItems": 32,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
{
"type": "object",
"properties": {
"source": {
"type": "string",
"const": "hosted-cloud"
},
"operationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"connectionRevision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"selection": {
"type": "string",
"enum": [
"paginated-discovery",
"explicit-resources"
]
},
"resourceIndex": {
"type": "integer",
"minimum": 0,
"maximum": 99999
},
"selectedResourceCount": {
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"listingComplete": {
"type": [
"boolean",
"null"
]
},
"listingPages": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"inventorySnapshotVerified": {
"type": "boolean",
"const": false
},
"operationCompletionVerifiedAtIngestion": {
"type": "boolean",
"const": false
}
},
"required": [
"source",
"operationId",
"connectionId",
"connectionRevision",
"selection",
"resourceIndex",
"selectedResourceCount",
"listingComplete",
"listingPages",
"inventorySnapshotVerified",
"operationCompletionVerifiedAtIngestion"
],
"additionalProperties": false
},
{
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 1000
},
"additionalProperties": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
{
"maxItems": 32,
"type": "array",
"items": {
"type": "string",
"enum": [
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512",
"PS256",
"PS384",
"PS512",
"ES256",
"ES384",
"ES512",
"ES256K",
"EdDSA",
"none"
]
}
}
]
}
}
},
"required": [
"externalId",
"name",
"kind",
"source",
"observedAt",
"confidence"
],
"additionalProperties": false
},
"ObservationBatch": {
"type": "object",
"properties": {
"observations": {
"minItems": 1,
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"externalId": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"kind": {
"type": "string",
"enum": [
"tls",
"ssh",
"code",
"certificate",
"library",
"key",
"cloud",
"runtime",
"database"
]
},
"algorithm": {
"default": "unknown",
"type": "string",
"maxLength": 100
},
"keyEstablishment": {
"default": "unknown",
"type": "string",
"maxLength": 100
},
"authentication": {
"default": "unknown",
"type": "string",
"maxLength": 100
},
"source": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"exposure": {
"default": "unknown",
"type": "string",
"enum": [
"unknown",
"public",
"partner",
"internal",
"isolated"
]
},
"criticality": {
"default": 3,
"type": "integer",
"minimum": 1,
"maximum": 5
},
"retentionYears": {
"default": 0,
"type": "number",
"minimum": 0,
"maximum": 100
},
"migrationFriction": {
"default": 3,
"type": "integer",
"minimum": 1,
"maximum": 5
},
"dependencyCount": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"dependencies": {
"default": [],
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 300
}
},
"deadline": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"location": {
"type": "string",
"maxLength": 1000
},
"owner": {
"default": "Unassigned",
"type": "string",
"maxLength": 200
},
"evidence": {
"default": {},
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 100
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"anyOf": [
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "gcp-alloydb"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"oneOf": [
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "gcp"
},
"service": {
"type": "string",
"const": "alloydb"
},
"engine": {
"type": "string",
"const": "postgresql"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"projectId": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"region": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"resourceType": {
"type": "string",
"const": "cluster"
},
"configuredKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"encryptionType": {
"type": "string",
"enum": [
"TYPE_UNSPECIFIED",
"GOOGLE_DEFAULT_ENCRYPTION",
"CUSTOMER_MANAGED_ENCRYPTION"
]
},
"usedKeyVersionReferences": {
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 600
}
},
"storageState": {
"type": "string",
"enum": [
"provider-reported-cmek",
"provider-reported-google-managed",
"unknown"
]
},
"configuredTls": {
"type": "string",
"const": "unknown"
},
"tlsEvidenceSource": {
"type": "string",
"const": "instance-configuration-required"
}
},
"required": [
"provider",
"service",
"engine",
"resource",
"projectId",
"region",
"keyAlgorithm",
"transportEncryption",
"databaseTde",
"automaticNetworkScanAuthorized",
"coverage",
"resourceType",
"usedKeyVersionReferences",
"storageState",
"configuredTls",
"tlsEvidenceSource"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "gcp"
},
"service": {
"type": "string",
"const": "alloydb"
},
"engine": {
"type": "string",
"const": "postgresql"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"projectId": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"region": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"resourceType": {
"type": "string",
"const": "instance"
},
"cluster": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"sslMode": {
"type": "string",
"enum": [
"SSL_MODE_UNSPECIFIED",
"SSL_MODE_ALLOW",
"SSL_MODE_REQUIRE",
"SSL_MODE_VERIFY_CA",
"ALLOW_UNENCRYPTED_AND_ENCRYPTED",
"ENCRYPTED_ONLY"
]
},
"requireConnectors": {
"type": "boolean"
},
"configuredTls": {
"type": "string",
"enum": [
"required",
"optional",
"unknown"
]
},
"configuredClientCertificate": {
"type": "string",
"enum": [
"required",
"not-required",
"unknown"
]
},
"tlsEvidenceSource": {
"type": "string",
"enum": [
"instance-sslMode",
"missing"
]
},
"storageState": {
"type": "string",
"const": "cluster-configuration-required"
}
},
"required": [
"provider",
"service",
"engine",
"resource",
"projectId",
"region",
"keyAlgorithm",
"transportEncryption",
"databaseTde",
"automaticNetworkScanAuthorized",
"coverage",
"resourceType",
"cluster",
"configuredTls",
"configuredClientCertificate",
"tlsEvidenceSource",
"storageState"
],
"additionalProperties": false
}
]
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "azure-sql-managed-instance"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "azure"
},
"service": {
"type": "string",
"const": "sql-managed-instance"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"instanceResource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"engine": {
"type": "string",
"const": "sqlserver"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"alwaysEncrypted": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"instanceTlsPolicy": {
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredMinimumTls": {
"type": "string",
"enum": [
"unknown",
"1.0",
"1.1",
"1.2"
]
},
"minimumTlsField": {
"type": "string",
"enum": [
"None",
"1.0",
"1.1",
"1.2"
]
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"configuredMinimumTls",
"transportEncryption",
"automaticNetworkScanAuthorized",
"observedAt"
],
"additionalProperties": false
},
"instanceProtector": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"keyManagement": {
"type": "string",
"enum": [
"service-managed",
"customer-managed",
"unknown"
]
},
"keyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"autoRotationEnabled": {
"type": "boolean"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"keyManagement",
"keyAlgorithm",
"databaseTde",
"observedAt"
],
"additionalProperties": false
}
]
},
"tdeConfiguration": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredTde": {
"type": "string",
"enum": [
"enabled",
"disabled",
"unknown"
]
},
"evidenceSource": {
"type": "string",
"const": "azure-arm-tde-configuration"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"engineEncryptionState": {
"type": "string",
"const": "not-assessed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"configuredTde",
"evidenceSource",
"keyAlgorithm",
"engineEncryptionState",
"observedAt"
],
"additionalProperties": false
}
]
}
},
"required": [
"provider",
"service",
"resource",
"instanceResource",
"name",
"engine",
"databaseTde",
"transportEncryption",
"keyAlgorithm",
"alwaysEncrypted",
"automaticNetworkScanAuthorized",
"coverage",
"instanceTlsPolicy",
"instanceProtector",
"tdeConfiguration"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "azure-flexible-database"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "azure"
},
"service": {
"type": "string",
"const": "flexible-database"
},
"engine": {
"type": "string",
"enum": [
"postgresql",
"mysql"
]
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"keyManagement": {
"type": "string",
"enum": [
"service-managed",
"customer-managed",
"unknown"
]
},
"primaryKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"geoBackupKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"storageEncryptionState": {
"type": "string",
"const": "not-assessed"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"engineEncryption": {
"type": "string",
"const": "not-assessed"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"tlsConfigurations": {
"minItems": 2,
"maxItems": 3,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"parameter": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"parameter",
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"parameter": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"status": {
"type": "string",
"const": "observed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configured": {
"anyOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"unknown",
"unrecognized"
]
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "known"
},
"value": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"minLength": 1,
"maxLength": 1000
},
{
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
}
]
}
},
"required": [
"state",
"value"
],
"additionalProperties": false
}
]
},
"current": {
"anyOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"unknown",
"unrecognized"
]
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "known"
},
"value": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"minLength": 1,
"maxLength": 1000
},
{
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
}
]
}
},
"required": [
"state",
"value"
],
"additionalProperties": false
}
]
},
"pendingRestart": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"const": "unknown"
}
]
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"evidenceSource": {
"type": "string",
"const": "azure-arm-server-configuration"
}
},
"required": [
"parameter",
"status",
"observedAt",
"resource",
"configured",
"current",
"pendingRestart",
"transportEncryption",
"evidenceSource"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"provider",
"service",
"engine",
"resource",
"name",
"keyManagement",
"storageEncryptionState",
"keyAlgorithm",
"engineEncryption",
"transportEncryption",
"automaticNetworkScanAuthorized",
"coverage",
"tlsConfigurations"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "postgresql"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "current-session-and-visible-settings"
},
"probes": {
"type": "object",
"properties": {
"session": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"oneOf": [
{
"type": "object",
"properties": {
"encrypted": {
"type": "boolean",
"const": false
}
},
"required": [
"encrypted"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"encrypted": {
"type": "boolean",
"const": true
},
"protocol": {
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
},
"cipher": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
"cipherBits": {
"type": "integer",
"minimum": 1,
"maximum": 512
}
},
"required": [
"encrypted",
"protocol",
"cipher",
"cipherBits"
],
"additionalProperties": false
}
]
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"settings": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"values": {
"type": "object",
"properties": {
"ssl": {
"type": "boolean"
},
"ssl_min_protocol_version": {
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
},
"ssl_max_protocol_version": {
"anyOf": [
{
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
},
{
"type": "string",
"const": ""
}
]
},
"ssl_ciphers": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
"ssl_prefer_server_ciphers": {
"type": "boolean"
},
"ssl_ecdh_curve": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
"ssl_groups": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
"ssl_tls13_ciphers": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 1024,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
{
"type": "string",
"const": ""
}
]
},
"server_version_num": {
"type": "integer",
"minimum": 10000,
"maximum": 999999
}
},
"additionalProperties": false
},
"missing": {
"maxItems": 9,
"type": "array",
"items": {
"type": "string",
"enum": [
"ssl",
"ssl_min_protocol_version",
"ssl_max_protocol_version",
"ssl_ciphers",
"ssl_prefer_server_ciphers",
"ssl_ecdh_curve",
"ssl_groups",
"ssl_tls13_ciphers",
"server_version_num"
]
}
},
"notApplicable": {
"maxItems": 9,
"type": "array",
"items": {
"type": "string",
"enum": [
"ssl",
"ssl_min_protocol_version",
"ssl_max_protocol_version",
"ssl_ciphers",
"ssl_prefer_server_ciphers",
"ssl_ecdh_curve",
"ssl_groups",
"ssl_tls13_ciphers",
"server_version_num"
]
}
},
"versionProfile": {
"type": "string",
"enum": [
"known",
"unverified"
]
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"values",
"missing",
"notApplicable",
"versionProfile",
"coverage"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
}
},
"required": [
"session",
"settings"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
},
"connection": {
"type": "object",
"properties": {
"tlsVerified": {
"type": "boolean",
"const": true
},
"targetPinned": {
"type": "boolean",
"const": true
},
"authenticationPolicy": {
"type": "string",
"const": "scram-sha-256"
}
},
"required": [
"tlsVerified",
"targetPinned",
"authenticationPolicy"
],
"additionalProperties": false
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"probes",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "mysql"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "current-session-and-visible-settings"
},
"probes": {
"type": "object",
"properties": {
"session": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"oneOf": [
{
"type": "object",
"properties": {
"encrypted": {
"type": "boolean",
"const": false
}
},
"required": [
"encrypted"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"encrypted": {
"type": "boolean",
"const": true
},
"protocol": {
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
},
"cipher": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,128}$"
}
},
"required": [
"encrypted",
"protocol",
"cipher"
],
"additionalProperties": false
}
]
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"settings": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"values": {
"type": "object",
"properties": {
"version": {
"type": "string",
"maxLength": 1024,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"require_secure_transport": {
"type": "boolean"
},
"tls_version": {
"type": "string",
"maxLength": 1024,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"tls_ciphersuites": {
"type": "string",
"maxLength": 1024,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"ssl_cipher": {
"type": "string",
"maxLength": 1024,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"default_table_encryption": {
"type": "boolean"
},
"innodb_redo_log_encrypt": {
"type": "boolean"
},
"innodb_undo_log_encrypt": {
"type": "boolean"
},
"binlog_encryption": {
"type": "boolean"
}
},
"additionalProperties": false
},
"missing": {
"maxItems": 9,
"type": "array",
"items": {
"type": "string",
"enum": [
"version",
"require_secure_transport",
"tls_version",
"tls_ciphersuites",
"ssl_cipher",
"default_table_encryption",
"innodb_redo_log_encrypt",
"innodb_undo_log_encrypt",
"binlog_encryption"
]
}
},
"versionProfile": {
"type": "string",
"enum": [
"known",
"unverified"
]
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"values",
"missing",
"versionProfile",
"coverage"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"tablespaces": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"scope": {
"type": "string",
"const": "visible-innodb-tablespaces"
},
"encryptedCount": {
"type": "integer",
"minimum": 0,
"maximum": 10000000
},
"unencryptedCount": {
"type": "integer",
"minimum": 0,
"maximum": 10000000
},
"completeDatabaseEncryptionVerified": {
"type": "boolean",
"const": false
}
},
"required": [
"scope",
"encryptedCount",
"unencryptedCount",
"completeDatabaseEncryptionVerified"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "not-requested"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
}
},
"required": [
"session",
"settings",
"tablespaces"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
},
"connection": {
"type": "object",
"properties": {
"tlsVerified": {
"type": "boolean",
"const": true
},
"targetPinned": {
"type": "boolean",
"const": true
}
},
"required": [
"tlsVerified",
"targetPinned"
],
"additionalProperties": false
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"probes",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "sqlserver"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "current-database-and-session"
},
"probes": {
"type": "object",
"properties": {
"visibility": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"version": {
"type": "string",
"pattern": "^[0-9]{1,2}(?:\\.[0-9]{1,10}){1,3}$"
},
"engineEdition": {
"type": "integer",
"minimum": 1,
"maximum": 20
},
"databaseDefinitionVisible": {
"type": "boolean"
}
},
"required": [
"version",
"engineEdition",
"databaseDefinitionVisible"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"session": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"encrypted": {
"type": "boolean"
},
"transport": {
"type": "string",
"enum": [
"TCP",
"Named pipe",
"Shared memory",
"Session"
]
},
"loginAuthentication": {
"type": "string",
"enum": [
"SQL",
"NTLM",
"KERBEROS",
"FEDAUTH",
"unknown"
]
},
"protocol": {
"type": "string",
"const": "unknown"
},
"cipher": {
"type": "string",
"const": "unknown"
}
},
"required": [
"encrypted",
"transport",
"loginAuthentication",
"protocol",
"cipher"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"tde": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"no-visible-key",
"no-key",
"unencrypted",
"encrypting",
"encrypted",
"key-change",
"decrypting",
"protector-change"
]
},
"algorithm": {
"type": "string",
"enum": [
"AES",
"TRIPLE_DES",
"unknown"
]
},
"keyBits": {
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 128
},
{
"type": "number",
"const": 192
},
{
"type": "number",
"const": 256
},
{
"type": "null"
}
]
},
"protectorType": {
"type": "string",
"enum": [
"CERTIFICATE",
"ASYMMETRIC KEY",
"unknown"
]
}
},
"required": [
"state",
"algorithm",
"keyBits",
"protectorType"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "not-requested"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"columns": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"scope": {
"type": "string",
"const": "visible-current-database-columns"
},
"applicationEncryptionUseVerified": {
"type": "boolean",
"const": false
},
"groups": {
"maxItems": 2,
"type": "array",
"items": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"DETERMINISTIC",
"RANDOMIZED"
]
},
"algorithm": {
"type": "string",
"const": "AEAD_AES_256_CBC_HMAC_SHA_256"
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 10000000
}
},
"required": [
"mode",
"algorithm",
"count"
],
"additionalProperties": false
}
}
},
"required": [
"scope",
"applicationEncryptionUseVerified",
"groups"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "not-requested"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
}
},
"required": [
"visibility",
"session",
"tde",
"columns"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
},
"connection": {
"type": "object",
"properties": {
"tlsVerified": {
"type": "boolean",
"const": true
},
"targetPinned": {
"type": "boolean",
"const": true
}
},
"required": [
"tlsVerified",
"targetPinned"
],
"additionalProperties": false
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"probes",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "sqlite"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "current-local-database-metadata"
},
"probes": {
"type": "object",
"properties": {
"runtime": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"sqliteVersion": {
"type": "string",
"pattern": "^[0-9]{1,2}(?:\\.[0-9]{1,3}){2}$"
}
},
"required": [
"sqliteVersion"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"schema": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"readable": {
"type": "boolean",
"const": true
},
"allPagesVerified": {
"type": "boolean",
"const": false
}
},
"required": [
"readable",
"allPagesVerified"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unreadable-or-unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher": {
"type": "object",
"properties": {
"cipher_version": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "string",
"pattern": "^[0-9]{1,2}(?:\\.[0-9]{1,3}){1,3}(?: [A-Za-z0-9_-]{1,40})?$"
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_provider": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "string",
"enum": [
"openssl",
"commoncrypto",
"libtomcrypt",
"nss"
]
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_status": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "boolean"
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_use_hmac": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "boolean"
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_page_size": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "integer",
"minimum": 512,
"maximum": 65536
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"kdf_iter": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "integer",
"minimum": 1,
"maximum": 10000000
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_plaintext_header_size": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "integer",
"minimum": 0,
"maximum": 65536,
"multipleOf": 16
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_hmac_algorithm": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "string",
"enum": [
"HMAC_SHA1",
"HMAC_SHA256",
"HMAC_SHA512"
]
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_kdf_algorithm": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "string",
"enum": [
"PBKDF2_HMAC_SHA1",
"PBKDF2_HMAC_SHA256",
"PBKDF2_HMAC_SHA512"
]
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
}
},
"required": [
"cipher_version",
"cipher_provider",
"cipher_status",
"cipher_use_hmac",
"cipher_page_size",
"kdf_iter",
"cipher_plaintext_header_size",
"cipher_hmac_algorithm",
"cipher_kdf_algorithm"
],
"additionalProperties": false
}
},
"required": [
"runtime",
"schema",
"cipher"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"probes",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "aws-rds"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "aws"
},
"service": {
"type": "string",
"const": "rds"
},
"resource": {
"type": "string",
"maxLength": 300
},
"resourceType": {
"type": "string",
"enum": [
"instance",
"cluster"
]
},
"region": {
"type": "string",
"maxLength": 300
},
"accountId": {
"type": "string",
"maxLength": 300
},
"engine": {
"type": "string",
"maxLength": 300
},
"engineVersion": {
"type": "string",
"maxLength": 300
},
"engineCoverage": {
"type": "string",
"enum": [
"recognized",
"unverified"
]
},
"storageScope": {
"type": "string",
"enum": [
"parent-cluster",
"instance",
"cluster"
]
},
"storageState": {
"type": "string",
"enum": [
"encrypted",
"unencrypted",
"unknown",
"cluster-evidence-required"
]
},
"keyManagement": {
"type": "string",
"enum": [
"aws-owned",
"aws-managed-or-customer-managed",
"unknown"
]
},
"storageEncryptionType": {
"type": "string",
"enum": [
"none",
"sse-rds",
"sse-kms"
]
},
"storageEncryptedField": {
"type": "boolean"
},
"keyReference": {
"type": "string",
"maxLength": 300
},
"clusterReference": {
"type": "string",
"maxLength": 300
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"endpoint": {
"type": "string",
"maxLength": 300
},
"port": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"provider",
"service",
"resource",
"resourceType",
"region",
"accountId",
"engine",
"engineCoverage",
"storageScope",
"storageState",
"keyManagement",
"transportEncryption",
"databaseTde",
"keyAlgorithm",
"automaticNetworkScanAuthorized",
"coverage"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "gcp-cloud-sql"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "gcp"
},
"service": {
"type": "string",
"const": "cloud-sql"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"projectId": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"region": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"engine": {
"type": "string",
"enum": [
"postgresql",
"mysql",
"sqlserver",
"unknown"
]
},
"engineVersion": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"configuredTls": {
"type": "string",
"enum": [
"required",
"optional",
"unknown"
]
},
"configuredClientCertificate": {
"type": "string",
"enum": [
"required",
"not-required",
"not-applicable",
"unknown"
]
},
"tlsEvidenceSource": {
"type": "string",
"enum": [
"sslMode",
"legacy-requireSsl",
"missing"
]
},
"sslMode": {
"type": "string",
"enum": [
"SSL_MODE_UNSPECIFIED",
"ALLOW_UNENCRYPTED_AND_ENCRYPTED",
"ENCRYPTED_ONLY",
"TRUSTED_CLIENT_CERTIFICATE_REQUIRED"
]
},
"requireSsl": {
"type": "boolean"
},
"legacyFieldConflict": {
"type": "boolean"
},
"configuredKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"usedKeyVersionReference": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"storageState": {
"type": "string",
"enum": [
"provider-reported-cmek",
"unknown"
]
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"provider",
"service",
"resource",
"projectId",
"region",
"engine",
"configuredTls",
"configuredClientCertificate",
"tlsEvidenceSource",
"legacyFieldConflict",
"storageState",
"keyAlgorithm",
"transportEncryption",
"databaseTde",
"automaticNetworkScanAuthorized",
"coverage"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "azure-sql-database"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "azure"
},
"service": {
"type": "string",
"const": "sql-database"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"serverResource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"engine": {
"type": "string",
"const": "sqlserver"
},
"databaseKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredEnclave": {
"type": "string",
"enum": [
"Default",
"VBS"
]
},
"infrastructureEncryptionEnabled": {
"type": "boolean"
},
"databaseKeyAutoRotation": {
"type": "boolean"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"alwaysEncrypted": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"serverTlsPolicy": {
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredMinimumTls": {
"type": "string",
"enum": [
"unknown",
"1.0",
"1.1",
"1.2",
"1.3"
]
},
"minimumTlsField": {
"type": "string",
"enum": [
"None",
"1.0",
"1.1",
"1.2",
"1.3"
]
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"configuredMinimumTls",
"transportEncryption",
"automaticNetworkScanAuthorized",
"observedAt"
],
"additionalProperties": false
},
"serverProtector": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"keyManagement": {
"type": "string",
"enum": [
"service-managed",
"customer-managed",
"unknown"
]
},
"keyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"autoRotationEnabled": {
"type": "boolean"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"keyManagement",
"keyAlgorithm",
"databaseTde",
"observedAt"
],
"additionalProperties": false
}
]
},
"tdeConfiguration": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredTde": {
"type": "string",
"enum": [
"enabled",
"disabled",
"unknown"
]
},
"evidenceSource": {
"type": "string",
"const": "azure-arm-tde-configuration"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"engineEncryptionState": {
"type": "string",
"const": "not-assessed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"configuredTde",
"evidenceSource",
"keyAlgorithm",
"engineEncryptionState",
"observedAt"
],
"additionalProperties": false
}
]
}
},
"required": [
"provider",
"service",
"resource",
"serverResource",
"name",
"engine",
"databaseTde",
"transportEncryption",
"keyAlgorithm",
"alwaysEncrypted",
"automaticNetworkScanAuthorized",
"coverage",
"serverTlsPolicy",
"serverProtector",
"tdeConfiguration"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
}
]
},
{
"type": "object",
"properties": {
"certificateSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"certificateType": {
"type": "string",
"enum": [
"ssh-rsa-cert-v01@openssh.com",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com"
]
},
"certificateRole": {
"type": "string",
"const": "host"
},
"serial": {
"type": "string",
"maxLength": 20
},
"validAfter": {
"type": "string",
"maxLength": 20
},
"validBefore": {
"type": "string",
"maxLength": 20
},
"principalCount": {
"type": "integer",
"minimum": 0,
"maximum": 256
},
"criticalOptionCount": {
"type": "integer",
"minimum": 0,
"maximum": 64
},
"extensionCount": {
"type": "integer",
"minimum": 0,
"maximum": 64
},
"subjectKey": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"ssh-rsa",
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521"
]
},
"bits": {
"anyOf": [
{
"anyOf": [
{
"type": "integer",
"minimum": 512,
"maximum": 16384
},
{
"type": "number",
"const": 256
}
]
},
{
"type": "number",
"const": 384
}
]
},
"sha256": {
"type": "string",
"pattern": "^SHA256:[A-Za-z0-9+/]{43}$"
}
},
"required": [
"type",
"bits",
"sha256"
],
"additionalProperties": false
},
"signingKey": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"ssh-rsa",
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521"
]
},
"bits": {
"anyOf": [
{
"anyOf": [
{
"type": "integer",
"minimum": 512,
"maximum": 16384
},
{
"type": "number",
"const": 256
}
]
},
{
"type": "number",
"const": 384
}
]
},
"sha256": {
"type": "string",
"pattern": "^SHA256:[A-Za-z0-9+/]{43}$"
}
},
"required": [
"type",
"bits",
"sha256"
],
"additionalProperties": false
},
"certificateSignatureAlgorithm": {
"type": "string",
"enum": [
"ssh-rsa",
"rsa-sha2-256",
"rsa-sha2-512",
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521"
]
},
"certificateSignatureVerified": {
"type": "boolean"
},
"certificateAuthorityTrusted": {
"type": "boolean",
"const": false
},
"certificateHostMatchVerified": {
"type": "boolean",
"const": false
}
},
"required": [
"certificateSha256",
"certificateType",
"certificateRole",
"serial",
"validAfter",
"validBefore",
"principalCount",
"criticalOptionCount",
"extensionCount",
"subjectKey",
"signingKey",
"certificateSignatureAlgorithm",
"certificateSignatureVerified",
"certificateAuthorityTrusted",
"certificateHostMatchVerified"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"keyExchange": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"hostKey": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"cipherClientToServer": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"cipherServerToClient": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"macClientToServer": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"macServerToClient": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
}
},
"required": [
"keyExchange",
"hostKey",
"cipherClientToServer",
"cipherServerToClient",
"macClientToServer",
"macServerToClient"
],
"additionalProperties": false
},
{
"minItems": 7,
"maxItems": 15,
"type": "array",
"items": {
"type": "object",
"properties": {
"probe": {
"type": "string",
"enum": [
"tls12",
"tls13",
"tls12-ecdhe-rsa-aes128gcm",
"tls12-ecdhe-ecdsa-aes128gcm",
"tls12-dhe-rsa-aes256gcm",
"tls13-x25519",
"tls13-p256",
"tls13-x25519mlkem768",
"tls13-secp256r1mlkem768",
"tls13-secp384r1mlkem1024",
"tls13-mlkem512",
"tls13-mlkem768",
"tls13-mlkem1024",
"tls12-rsa-aes128gcm",
"tls12-rsa-aes256gcm"
]
},
"offeredProtocol": {
"type": "string",
"enum": [
"TLSv1.2",
"TLSv1.3"
]
},
"offeredCipher": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"offeredCurve": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"offeredGroup": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"status": {
"type": "string",
"enum": [
"negotiated",
"inconclusive",
"local-unavailable"
]
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"certificateVerified": {
"type": "boolean",
"const": true
},
"negotiatedProtocol": {
"type": "string",
"enum": [
"TLSv1.2",
"TLSv1.3"
]
},
"negotiatedCipher": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"certificateSha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"selectedGroupId": {
"type": "string",
"pattern": "^0x[0-9a-f]{4}$"
},
"selectedGroupName": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"negotiatedSignatureSchemeId": {
"type": "string",
"pattern": "^0x[0-9a-f]{4}$"
},
"negotiatedSignatureSchemeName": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"sessionReused": {
"type": "boolean"
},
"handshakeMetadataAvailable": {
"type": "boolean"
},
"handshakeMetadataValid": {
"type": "boolean"
},
"handshakeMetadataSource": {
"type": "string",
"const": "cpython-message-callback"
},
"keyExchangeSource": {
"type": "string",
"const": "negotiated-cipher-suite"
},
"cipherSuiteId": {
"type": "string",
"pattern": "^0x[0-9a-f]{4}$"
}
},
"required": [
"probe",
"offeredProtocol",
"status"
],
"additionalProperties": false
}
},
{
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"enum": [
"encrypt",
"decrypt",
"sign",
"verify",
"wrapKey",
"unwrapKey",
"import",
"export"
]
}
},
{
"maxItems": 9,
"type": "array",
"items": {
"type": "string",
"enum": [
"digitalSignature",
"contentCommitment",
"keyEncipherment",
"dataEncipherment",
"keyAgreement",
"keyCertSign",
"cRLSign",
"encipherOnly",
"decipherOnly"
]
}
},
{
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"pattern": "^[0-2](?:\\.[0-9]+){2,30}$"
}
},
{
"minItems": 1,
"maxItems": 32,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
{
"type": "object",
"properties": {
"source": {
"type": "string",
"const": "hosted-cloud"
},
"operationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"connectionRevision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"selection": {
"type": "string",
"enum": [
"paginated-discovery",
"explicit-resources"
]
},
"resourceIndex": {
"type": "integer",
"minimum": 0,
"maximum": 99999
},
"selectedResourceCount": {
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"listingComplete": {
"type": [
"boolean",
"null"
]
},
"listingPages": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"inventorySnapshotVerified": {
"type": "boolean",
"const": false
},
"operationCompletionVerifiedAtIngestion": {
"type": "boolean",
"const": false
}
},
"required": [
"source",
"operationId",
"connectionId",
"connectionRevision",
"selection",
"resourceIndex",
"selectedResourceCount",
"listingComplete",
"listingPages",
"inventorySnapshotVerified",
"operationCompletionVerifiedAtIngestion"
],
"additionalProperties": false
},
{
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 1000
},
"additionalProperties": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
{
"maxItems": 32,
"type": "array",
"items": {
"type": "string",
"enum": [
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512",
"PS256",
"PS384",
"PS512",
"ES256",
"ES384",
"ES512",
"ES256K",
"EdDSA",
"none"
]
}
}
]
}
}
},
"required": [
"externalId",
"name",
"kind",
"source",
"observedAt",
"confidence"
],
"additionalProperties": false
}
},
"idempotencyKey": {
"type": "string",
"minLength": 8,
"maxLength": 100
},
"jobId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"leaseToken": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"observations",
"idempotencyKey"
],
"additionalProperties": false,
"dependentRequired": {
"jobId": [
"leaseToken"
],
"leaseToken": [
"jobId"
]
}
},
"JobInput": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"kind": {
"type": "string",
"enum": [
"tls",
"quic",
"code",
"ssh",
"capture",
"aws-kms",
"gcp-kms",
"azure-keyvault",
"runtime",
"windows-certificates",
"database"
]
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"agentId": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"name",
"kind",
"target",
"agentId"
],
"additionalProperties": false
},
"ScheduleInput": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"kind": {
"type": "string",
"enum": [
"tls",
"quic",
"code",
"ssh",
"capture",
"aws-kms",
"gcp-kms",
"azure-keyvault",
"runtime",
"windows-certificates",
"database"
]
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"agentId": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"intervalSeconds": {
"type": "integer",
"minimum": 300,
"maximum": 2592000
},
"firstRunAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"name",
"kind",
"target",
"agentId",
"intervalSeconds"
],
"additionalProperties": false
},
"Organization": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"name",
"createdAt"
]
},
"Credential": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"role": {
"enum": [
"admin",
"analyst",
"viewer",
"agent",
"ingestor"
]
},
"agentId": {
"type": "string",
"format": "uuid"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"revoked": {
"type": "boolean"
}
},
"required": [
"id",
"name",
"role",
"createdAt",
"expiresAt"
]
},
"IssuedCredential": {
"allOf": [
{
"$ref": "#/components/schemas/Credential"
},
{
"type": "object",
"properties": {
"token": {
"type": "string"
}
},
"required": [
"token"
]
}
]
},
"Agent": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"group": {
"type": "string",
"maxLength": 64
},
"groupRevision": {
"type": "integer"
},
"groupUpdatedAt": {
"type": "string",
"format": "date-time"
},
"groupUpdatedBy": {
"type": "string"
},
"capabilities": {
"type": "array",
"items": {
"enum": [
"tls",
"quic",
"code",
"ssh",
"capture",
"aws-kms",
"gcp-kms",
"azure-keyvault",
"runtime",
"windows-certificates",
"database"
]
}
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"lastSeen": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"credentialId": {
"type": "string",
"format": "uuid"
},
"revokedAt": {
"type": "string",
"format": "date-time"
},
"archivedAt": {
"type": "string",
"format": "date-time"
},
"archivedBy": {
"type": "string"
},
"configuration": {
"type": [
"object",
"null"
],
"properties": {
"revision": {
"type": "integer"
},
"settings": {
"$ref": "#/components/schemas/ManagedSettings"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
}
}
},
"maintenanceAcknowledgement": {
"anyOf": [
{
"type": "object",
"properties": {
"revision": {
"type": "integer"
},
"instanceId": {
"type": "string",
"format": "uuid"
},
"status": {
"const": "idle"
},
"reportedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"revision",
"instanceId",
"status",
"reportedAt"
]
},
{
"type": "null"
}
]
},
"maintenance": {
"type": "object",
"properties": {
"revision": {
"type": "integer"
},
"paused": {
"type": "boolean"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
}
},
"required": [
"revision",
"paused",
"updatedAt",
"updatedBy"
]
},
"configurationStatus": {
"type": [
"object",
"null"
],
"properties": {
"revision": {
"type": "integer"
},
"status": {
"enum": [
"applied",
"rejected"
]
},
"reason": {
"type": "string"
},
"reportedAt": {
"type": "string",
"format": "date-time"
}
}
},
"updaterRoutingStatus": {
"type": [
"object",
"null"
],
"properties": {
"revision": {
"type": "integer"
},
"status": {
"enum": [
"applied",
"rejected"
]
},
"reason": {
"type": "string"
},
"reportedAt": {
"type": "string",
"format": "date-time"
}
}
},
"runtime": {
"type": "object",
"properties": {
"quicReady": {
"type": "boolean"
},
"databaseReady": {
"type": "boolean"
},
"instanceId": {
"type": "string",
"format": "uuid"
},
"scannerVersion": {
"type": "string"
},
"pythonVersion": {
"type": "string"
},
"platform": {
"type": "object",
"properties": {
"os": {
"type": "string",
"enum": [
"windows",
"linux",
"macos",
"unknown"
]
},
"architecture": {
"type": "string",
"enum": [
"x86_64",
"arm64",
"x86",
"unknown"
]
},
"distribution": {
"type": "string",
"enum": [
"python",
"compiled"
]
}
},
"required": [
"os",
"architecture",
"distribution"
],
"additionalProperties": false
},
"reportedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"reportedAt"
]
}
},
"required": [
"id",
"name",
"capabilities",
"createdAt",
"credentialId"
]
},
"TlsTransportSecurity": {
"type": "object",
"properties": {
"recordProtection": {
"enum": [
"unknown",
"encrypt-then-mac",
"mac-then-encrypt"
]
},
"status": {
"enum": [
"unknown",
"review",
"no-listed-issues"
]
},
"scope": {
"enum": [
"selected-protocol-and-cipher",
"selected-protocol-and-capabilities"
]
},
"provenance": {
"enum": [
"passive-server-hello",
"verified-handshake"
]
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"enum": [
"TLS-DEPRECATED-VERSION",
"TLS-CBC-ETM-UNVERIFIED",
"TLS-CBC-WITHOUT-ETM",
"TLS-3DES-LEGACY-CIPHER",
"TLS-RSA-KEY-TRANSPORT-SUPPORTED"
]
},
"severity": {
"enum": [
"high",
"review"
]
},
"message": {
"type": "string"
},
"reference": {
"type": "string",
"format": "uri"
}
},
"required": [
"code",
"severity",
"message",
"reference"
]
}
}
},
"required": [
"status",
"scope",
"issues"
]
},
"EvidenceQuality": {
"type": "object",
"properties": {
"scope": {
"enum": [
"active-tls",
"active-ssh",
"protocol-identities",
"algorithm-identity"
]
},
"status": {
"enum": [
"complete",
"incomplete"
]
},
"requiredFields": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5
},
"confirmedFields": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5
},
"missingFields": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5
},
"coverage": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"reportedConfidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"verification": {
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "boolean"
},
{
"const": "not-reported"
}
]
}
}
},
"required": [
"scope",
"status",
"requiredFields",
"confirmedFields",
"missingFields",
"coverage",
"reportedConfidence",
"confidence",
"verification"
]
},
"Risk": {
"type": "object",
"properties": {
"algorithmStatuses": {
"type": "array",
"maxItems": 3,
"items": {
"type": "object",
"properties": {
"field": {
"enum": [
"algorithm",
"keyEstablishment",
"authentication"
]
},
"name": {
"type": "string"
},
"posture": {
"enum": [
"hybrid",
"post-quantum"
]
},
"status": {
"enum": [
"draft",
"pre-standard",
"obsolete"
]
},
"reference": {
"type": "string",
"format": "uri"
}
},
"required": [
"field",
"name",
"posture",
"status",
"reference"
]
}
},
"missingEvidenceFields": {
"type": "array",
"uniqueItems": true,
"items": {
"enum": [
"algorithm",
"keyEstablishment",
"authentication"
]
}
},
"transportSecurity": {
"$ref": "#/components/schemas/TlsTransportSecurity"
},
"policyVersion": {
"type": "string"
},
"score": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"severity": {
"enum": [
"critical",
"high",
"medium",
"low"
]
},
"keyEstablishment": {
"type": "string"
},
"authentication": {
"type": "string"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Derived confidence capped by required evidence completeness; not a calibrated probability."
},
"evidenceQuality": {
"$ref": "#/components/schemas/EvidenceQuality"
},
"verificationPriority": {
"type": "integer"
},
"dimensions": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"action": {
"type": "string"
}
},
"required": [
"policyVersion",
"score",
"severity",
"keyEstablishment",
"authentication",
"confidence",
"dimensions"
]
},
"RiskRun": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"policyVersion": {
"type": "string",
"minLength": 1
},
"status": {
"type": "string",
"enum": [
"pending",
"running",
"completed",
"paused",
"superseded"
]
},
"requestedBy": {
"type": "string",
"minLength": 1
},
"requestedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"initialTotal": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"processed": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"finishedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"pausedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"recordVersion": {
"type": "number",
"const": 1
}
},
"required": [
"id",
"policyVersion",
"status",
"requestedBy",
"requestedAt",
"initialTotal",
"processed"
],
"additionalProperties": {}
},
"RiskRevision": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"runId": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"contextRevision": {
"type": "integer"
},
"previousContext": {
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"exposure": {
"type": "string",
"enum": [
"unknown",
"public",
"partner",
"internal",
"isolated"
]
},
"criticality": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"retentionYears": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"migrationFriction": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"federalPriority": {
"type": "object",
"properties": {
"federalSystem": {
"type": [
"boolean",
"null"
]
},
"nationalSecuritySystem": {
"type": [
"boolean",
"null"
]
},
"designation": {
"type": "string",
"enum": [
"unknown",
"not-prioritized",
"high-value-asset",
"high-impact-system",
"other-prioritized-sensitive-system"
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"federalSystem",
"nationalSecuritySystem",
"designation",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"randomGeneration": {
"type": "object",
"properties": {
"algorithm": {
"type": "string",
"enum": [
"unknown",
"Hash_DRBG",
"HMAC_DRBG",
"CTR_DRBG",
"DUAL_EC_DRBG",
"FIPS186-2-RNG",
"ANS-X9.31-RNG",
"ANS-X9.62-1998-RNG",
"other"
]
},
"hashAlgorithm": {
"type": "string",
"enum": [
"unknown",
"SHA-1",
"SHA-224",
"SHA-256",
"SHA-384",
"SHA-512",
"SHA-512/224",
"SHA-512/256",
"SHA3-224",
"SHA3-256",
"SHA3-384",
"SHA3-512",
"other"
]
},
"primitive": {
"type": "string",
"enum": [
"unknown",
"AES",
"three-key-TDEA",
"other"
]
},
"keyBits": {
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 128
},
{
"type": "number",
"const": 192
},
{
"type": "number",
"const": 256
}
]
},
{
"type": "null"
}
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"algorithm",
"hashAlgorithm",
"primitive",
"keyBits",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"keyWrapping": {
"type": "object",
"properties": {
"operation": {
"type": "string",
"enum": [
"unknown",
"wrap",
"unwrap"
]
},
"algorithm": {
"type": "string",
"enum": [
"unknown",
"AES",
"TDEA",
"other"
]
},
"method": {
"type": "string",
"enum": [
"unknown",
"KW",
"KWP",
"TKW",
"GCM",
"CCM",
"composed",
"other"
]
},
"encryptionMode": {
"type": "string",
"enum": [
"unknown",
"CBC",
"CFB",
"OFB",
"CTR",
"other"
]
},
"authentication": {
"type": "string",
"enum": [
"unknown",
"CMAC",
"GMAC",
"HMAC",
"KMAC",
"digital-signature",
"other"
]
},
"approvedComponents": {
"type": [
"boolean",
"null"
]
},
"keyBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 16384
},
{
"type": "null"
}
]
},
"tdeaKeyingOption": {
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 3
}
]
},
{
"type": "null"
}
]
},
"exception": {
"type": "string",
"enum": [
"unknown",
"none",
"claimed"
]
},
"exceptionReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"operation",
"algorithm",
"method",
"keyBits",
"tdeaKeyingOption",
"exception",
"exceptionReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"keyDerivation": {
"type": "object",
"properties": {
"construction": {
"type": "string",
"enum": [
"unknown",
"SP800-108",
"SP800-56C-one-step",
"SP800-56C-two-step",
"SP800-132",
"HKDF",
"password-based",
"other"
]
},
"prf": {
"type": "string",
"enum": [
"unknown",
"HASH",
"HMAC",
"CMAC",
"KMAC",
"other"
]
},
"operation": {
"type": "string",
"enum": [
"unknown",
"initiate",
"process"
]
},
"kmacVariant": {
"type": "string",
"enum": [
"unknown",
"KMAC128",
"KMAC256"
]
},
"saltBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 1048576
},
{
"type": "null"
}
]
},
"saltRandom": {
"type": [
"boolean",
"null"
]
},
"iterations": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
{
"type": "null"
}
]
},
"hashAlgorithm": {
"type": "string",
"enum": [
"unknown",
"SHA-1",
"SHA-224",
"SHA-256",
"SHA-384",
"SHA-512",
"SHA-512/224",
"SHA-512/256",
"SHA3-224",
"SHA3-256",
"SHA3-384",
"SHA3-512",
"other"
]
},
"primitive": {
"type": "string",
"enum": [
"unknown",
"AES",
"TDEA",
"other"
]
},
"keyBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 1048576
},
{
"type": "null"
}
]
},
"tdeaKeyingOption": {
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 3
}
]
},
{
"type": "null"
}
]
},
"exception": {
"type": "string",
"enum": [
"unknown",
"none",
"claimed"
]
},
"exceptionReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"construction",
"prf",
"hashAlgorithm",
"primitive",
"keyBits",
"tdeaKeyingOption",
"exception",
"exceptionReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"xof": {
"type": "object",
"properties": {
"algorithm": {
"type": "string",
"enum": [
"unknown",
"SHAKE128",
"SHAKE256",
"other"
]
},
"application": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"approvedApplication": {
"type": [
"boolean",
"null"
]
},
"parametersConform": {
"type": [
"boolean",
"null"
]
},
"outputLengthMode": {
"type": "string",
"enum": [
"unknown",
"fixed",
"application-defined"
]
},
"outputBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
}
},
"required": [
"algorithm",
"application",
"approvedApplication",
"parametersConform",
"outputLengthMode",
"outputBits",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"nist52Server": {
"type": "object",
"properties": {
"audience": {
"type": "string",
"enum": [
"unknown",
"government-only",
"citizen-business"
]
},
"tls13Supported": {
"type": [
"boolean",
"null"
]
},
"tls12Enabled": {
"type": [
"boolean",
"null"
]
},
"tls12InteroperabilityNeeded": {
"type": [
"boolean",
"null"
]
},
"tls10Enabled": {
"type": [
"boolean",
"null"
]
},
"tls11Enabled": {
"type": [
"boolean",
"null"
]
},
"ssl2Enabled": {
"type": [
"boolean",
"null"
]
},
"ssl3Enabled": {
"type": [
"boolean",
"null"
]
},
"versionNegotiationCorrect": {
"type": [
"boolean",
"null"
]
},
"legacyNecessary": {
"type": [
"boolean",
"null"
]
},
"legacyRiskAccepted": {
"type": [
"boolean",
"null"
]
},
"legacyReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
}
},
"required": [
"audience",
"tls13Supported",
"tls12Enabled",
"tls12InteroperabilityNeeded",
"tls10Enabled",
"tls11Enabled",
"ssl2Enabled",
"ssl3Enabled",
"versionNegotiationCorrect",
"legacyNecessary",
"legacyRiskAccepted",
"legacyReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"dependencyReview": {
"type": "object",
"properties": {
"completeness": {
"type": "string",
"enum": [
"unknown",
"partial",
"complete"
]
},
"count": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
{
"type": "null"
}
]
},
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"completeness",
"count",
"scope",
"reference",
"reviewedAt"
],
"additionalProperties": false
},
"cnsaTransition": {
"type": "object",
"properties": {
"nssApplicable": {
"type": [
"boolean",
"null"
]
},
"inventoryComplete": {
"type": [
"boolean",
"null"
]
},
"acquiredOn": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
]
},
"acquisitionConformant": {
"type": [
"boolean",
"null"
]
},
"allServicesCapable": {
"type": [
"boolean",
"null"
]
},
"allServicesUsing": {
"type": [
"boolean",
"null"
]
},
"validationEstablished": {
"type": [
"boolean",
"null"
]
},
"validationReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"exception": {
"type": "string",
"enum": [
"none",
"unknown",
"claimed",
"documented"
]
},
"exceptionMilestones": {
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"acquisition",
"capability",
"use"
]
}
},
"exceptionReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"exceptionExpires": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"nssApplicable",
"inventoryComplete",
"acquiredOn",
"acquisitionConformant",
"allServicesCapable",
"allServicesUsing",
"validationEstablished",
"validationReference",
"exception",
"exceptionMilestones",
"exceptionReference",
"exceptionExpires",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"cnsaUse": {
"type": "object",
"properties": {
"nssApplicable": {
"type": [
"boolean",
"null"
]
},
"application": {
"type": "string",
"enum": [
"unknown",
"software-firmware-signing",
"software-firmware-verification",
"internal-hardware-integrity",
"virtual-integrity",
"general-hash",
"drbg-kdf",
"approved-algorithm-component"
]
},
"algorithm": {
"type": "string",
"enum": [
"unknown",
"LMS",
"XMSS",
"HSS",
"XMSSMT",
"ML-DSA-87",
"ML-DSA-other",
"HashML-DSA",
"SLH-DSA",
"SHA-384",
"SHA-512",
"SHA3-384",
"SHA3-512",
"SHA-256",
"SHAKE",
"other"
]
},
"sp800208Parameters": {
"type": [
"boolean",
"null"
]
},
"signerNss": {
"type": [
"boolean",
"null"
]
},
"cavpValidated": {
"type": [
"boolean",
"null"
]
},
"cmvpHardware": {
"type": [
"boolean",
"null"
]
},
"stateReusePrevented": {
"type": [
"boolean",
"null"
]
},
"operationalQualityReviewed": {
"type": [
"boolean",
"null"
]
},
"validationEstablished": {
"type": [
"boolean",
"null"
]
},
"internalNonInteroperating": {
"type": [
"boolean",
"null"
]
},
"prescribedComponent": {
"type": [
"boolean",
"null"
]
},
"validationReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"componentReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
}
},
"required": [
"nssApplicable",
"application",
"algorithm",
"sp800208Parameters",
"signerNss",
"cavpValidated",
"cmvpHardware",
"stateReusePrevented",
"operationalQualityReviewed",
"validationEstablished",
"internalNonInteroperating",
"prescribedComponent",
"validationReference",
"componentReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"protocolDesign": {
"type": "object",
"properties": {
"newProtocol": {
"type": [
"boolean",
"null"
]
},
"transport": {
"type": "string",
"enum": [
"TLS",
"DTLS",
"unknown"
]
},
"tls13Supported": {
"type": [
"boolean",
"null"
]
},
"defaultVersion": {
"type": "string",
"enum": [
"TLSv1.0",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3",
"unknown"
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"newProtocol",
"transport",
"tls13Supported",
"defaultVersion",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"deadline": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z))$"
}
]
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"context": {
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"exposure": {
"type": "string",
"enum": [
"unknown",
"public",
"partner",
"internal",
"isolated"
]
},
"criticality": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"retentionYears": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"migrationFriction": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"federalPriority": {
"type": "object",
"properties": {
"federalSystem": {
"type": [
"boolean",
"null"
]
},
"nationalSecuritySystem": {
"type": [
"boolean",
"null"
]
},
"designation": {
"type": "string",
"enum": [
"unknown",
"not-prioritized",
"high-value-asset",
"high-impact-system",
"other-prioritized-sensitive-system"
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"federalSystem",
"nationalSecuritySystem",
"designation",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"randomGeneration": {
"type": "object",
"properties": {
"algorithm": {
"type": "string",
"enum": [
"unknown",
"Hash_DRBG",
"HMAC_DRBG",
"CTR_DRBG",
"DUAL_EC_DRBG",
"FIPS186-2-RNG",
"ANS-X9.31-RNG",
"ANS-X9.62-1998-RNG",
"other"
]
},
"hashAlgorithm": {
"type": "string",
"enum": [
"unknown",
"SHA-1",
"SHA-224",
"SHA-256",
"SHA-384",
"SHA-512",
"SHA-512/224",
"SHA-512/256",
"SHA3-224",
"SHA3-256",
"SHA3-384",
"SHA3-512",
"other"
]
},
"primitive": {
"type": "string",
"enum": [
"unknown",
"AES",
"three-key-TDEA",
"other"
]
},
"keyBits": {
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 128
},
{
"type": "number",
"const": 192
},
{
"type": "number",
"const": 256
}
]
},
{
"type": "null"
}
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"algorithm",
"hashAlgorithm",
"primitive",
"keyBits",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"keyWrapping": {
"type": "object",
"properties": {
"operation": {
"type": "string",
"enum": [
"unknown",
"wrap",
"unwrap"
]
},
"algorithm": {
"type": "string",
"enum": [
"unknown",
"AES",
"TDEA",
"other"
]
},
"method": {
"type": "string",
"enum": [
"unknown",
"KW",
"KWP",
"TKW",
"GCM",
"CCM",
"composed",
"other"
]
},
"encryptionMode": {
"type": "string",
"enum": [
"unknown",
"CBC",
"CFB",
"OFB",
"CTR",
"other"
]
},
"authentication": {
"type": "string",
"enum": [
"unknown",
"CMAC",
"GMAC",
"HMAC",
"KMAC",
"digital-signature",
"other"
]
},
"approvedComponents": {
"type": [
"boolean",
"null"
]
},
"keyBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 16384
},
{
"type": "null"
}
]
},
"tdeaKeyingOption": {
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 3
}
]
},
{
"type": "null"
}
]
},
"exception": {
"type": "string",
"enum": [
"unknown",
"none",
"claimed"
]
},
"exceptionReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"operation",
"algorithm",
"method",
"keyBits",
"tdeaKeyingOption",
"exception",
"exceptionReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"keyDerivation": {
"type": "object",
"properties": {
"construction": {
"type": "string",
"enum": [
"unknown",
"SP800-108",
"SP800-56C-one-step",
"SP800-56C-two-step",
"SP800-132",
"HKDF",
"password-based",
"other"
]
},
"prf": {
"type": "string",
"enum": [
"unknown",
"HASH",
"HMAC",
"CMAC",
"KMAC",
"other"
]
},
"operation": {
"type": "string",
"enum": [
"unknown",
"initiate",
"process"
]
},
"kmacVariant": {
"type": "string",
"enum": [
"unknown",
"KMAC128",
"KMAC256"
]
},
"saltBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 1048576
},
{
"type": "null"
}
]
},
"saltRandom": {
"type": [
"boolean",
"null"
]
},
"iterations": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
{
"type": "null"
}
]
},
"hashAlgorithm": {
"type": "string",
"enum": [
"unknown",
"SHA-1",
"SHA-224",
"SHA-256",
"SHA-384",
"SHA-512",
"SHA-512/224",
"SHA-512/256",
"SHA3-224",
"SHA3-256",
"SHA3-384",
"SHA3-512",
"other"
]
},
"primitive": {
"type": "string",
"enum": [
"unknown",
"AES",
"TDEA",
"other"
]
},
"keyBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 1048576
},
{
"type": "null"
}
]
},
"tdeaKeyingOption": {
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 3
}
]
},
{
"type": "null"
}
]
},
"exception": {
"type": "string",
"enum": [
"unknown",
"none",
"claimed"
]
},
"exceptionReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"construction",
"prf",
"hashAlgorithm",
"primitive",
"keyBits",
"tdeaKeyingOption",
"exception",
"exceptionReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"xof": {
"type": "object",
"properties": {
"algorithm": {
"type": "string",
"enum": [
"unknown",
"SHAKE128",
"SHAKE256",
"other"
]
},
"application": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"approvedApplication": {
"type": [
"boolean",
"null"
]
},
"parametersConform": {
"type": [
"boolean",
"null"
]
},
"outputLengthMode": {
"type": "string",
"enum": [
"unknown",
"fixed",
"application-defined"
]
},
"outputBits": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
}
},
"required": [
"algorithm",
"application",
"approvedApplication",
"parametersConform",
"outputLengthMode",
"outputBits",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"nist52Server": {
"type": "object",
"properties": {
"audience": {
"type": "string",
"enum": [
"unknown",
"government-only",
"citizen-business"
]
},
"tls13Supported": {
"type": [
"boolean",
"null"
]
},
"tls12Enabled": {
"type": [
"boolean",
"null"
]
},
"tls12InteroperabilityNeeded": {
"type": [
"boolean",
"null"
]
},
"tls10Enabled": {
"type": [
"boolean",
"null"
]
},
"tls11Enabled": {
"type": [
"boolean",
"null"
]
},
"ssl2Enabled": {
"type": [
"boolean",
"null"
]
},
"ssl3Enabled": {
"type": [
"boolean",
"null"
]
},
"versionNegotiationCorrect": {
"type": [
"boolean",
"null"
]
},
"legacyNecessary": {
"type": [
"boolean",
"null"
]
},
"legacyRiskAccepted": {
"type": [
"boolean",
"null"
]
},
"legacyReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
}
},
"required": [
"audience",
"tls13Supported",
"tls12Enabled",
"tls12InteroperabilityNeeded",
"tls10Enabled",
"tls11Enabled",
"ssl2Enabled",
"ssl3Enabled",
"versionNegotiationCorrect",
"legacyNecessary",
"legacyRiskAccepted",
"legacyReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"dependencyReview": {
"type": "object",
"properties": {
"completeness": {
"type": "string",
"enum": [
"unknown",
"partial",
"complete"
]
},
"count": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
{
"type": "null"
}
]
},
"scope": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"completeness",
"count",
"scope",
"reference",
"reviewedAt"
],
"additionalProperties": false
},
"cnsaTransition": {
"type": "object",
"properties": {
"nssApplicable": {
"type": [
"boolean",
"null"
]
},
"inventoryComplete": {
"type": [
"boolean",
"null"
]
},
"acquiredOn": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
]
},
"acquisitionConformant": {
"type": [
"boolean",
"null"
]
},
"allServicesCapable": {
"type": [
"boolean",
"null"
]
},
"allServicesUsing": {
"type": [
"boolean",
"null"
]
},
"validationEstablished": {
"type": [
"boolean",
"null"
]
},
"validationReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"exception": {
"type": "string",
"enum": [
"none",
"unknown",
"claimed",
"documented"
]
},
"exceptionMilestones": {
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"acquisition",
"capability",
"use"
]
}
},
"exceptionReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"exceptionExpires": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"nssApplicable",
"inventoryComplete",
"acquiredOn",
"acquisitionConformant",
"allServicesCapable",
"allServicesUsing",
"validationEstablished",
"validationReference",
"exception",
"exceptionMilestones",
"exceptionReference",
"exceptionExpires",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"cnsaUse": {
"type": "object",
"properties": {
"nssApplicable": {
"type": [
"boolean",
"null"
]
},
"application": {
"type": "string",
"enum": [
"unknown",
"software-firmware-signing",
"software-firmware-verification",
"internal-hardware-integrity",
"virtual-integrity",
"general-hash",
"drbg-kdf",
"approved-algorithm-component"
]
},
"algorithm": {
"type": "string",
"enum": [
"unknown",
"LMS",
"XMSS",
"HSS",
"XMSSMT",
"ML-DSA-87",
"ML-DSA-other",
"HashML-DSA",
"SLH-DSA",
"SHA-384",
"SHA-512",
"SHA3-384",
"SHA3-512",
"SHA-256",
"SHAKE",
"other"
]
},
"sp800208Parameters": {
"type": [
"boolean",
"null"
]
},
"signerNss": {
"type": [
"boolean",
"null"
]
},
"cavpValidated": {
"type": [
"boolean",
"null"
]
},
"cmvpHardware": {
"type": [
"boolean",
"null"
]
},
"stateReusePrevented": {
"type": [
"boolean",
"null"
]
},
"operationalQualityReviewed": {
"type": [
"boolean",
"null"
]
},
"validationEstablished": {
"type": [
"boolean",
"null"
]
},
"internalNonInteroperating": {
"type": [
"boolean",
"null"
]
},
"prescribedComponent": {
"type": [
"boolean",
"null"
]
},
"validationReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"componentReference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
}
},
"required": [
"nssApplicable",
"application",
"algorithm",
"sp800208Parameters",
"signerNss",
"cavpValidated",
"cmvpHardware",
"stateReusePrevented",
"operationalQualityReviewed",
"validationEstablished",
"internalNonInteroperating",
"prescribedComponent",
"validationReference",
"componentReference",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"protocolDesign": {
"type": "object",
"properties": {
"newProtocol": {
"type": [
"boolean",
"null"
]
},
"transport": {
"type": "string",
"enum": [
"TLS",
"DTLS",
"unknown"
]
},
"tls13Supported": {
"type": [
"boolean",
"null"
]
},
"defaultVersion": {
"type": "string",
"enum": [
"TLSv1.0",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3",
"unknown"
]
},
"reviewedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"newProtocol",
"transport",
"tls13Supported",
"defaultVersion",
"reviewedAt",
"reference"
],
"additionalProperties": false
},
"deadline": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z))$"
}
]
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"reason": {
"type": "string"
},
"actorId": {
"type": "string"
},
"assetId": {
"type": "string"
},
"evidenceId": {
"type": [
"string",
"null"
]
},
"previousRisk": {
"anyOf": [
{
"$ref": "#/components/schemas/Risk"
},
{
"type": "null"
}
]
},
"risk": {
"$ref": "#/components/schemas/Risk"
},
"assessedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"runId",
"assetId",
"evidenceId",
"previousRisk",
"risk",
"assessedAt"
]
},
"Asset": {
"allOf": [
{
"type": "object",
"properties": {
"externalId": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"kind": {
"type": "string",
"enum": [
"tls",
"ssh",
"code",
"certificate",
"library",
"key",
"cloud",
"runtime",
"database"
]
},
"algorithm": {
"default": "unknown",
"type": "string",
"maxLength": 100
},
"keyEstablishment": {
"default": "unknown",
"type": "string",
"maxLength": 100
},
"authentication": {
"default": "unknown",
"type": "string",
"maxLength": 100
},
"source": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"exposure": {
"default": "unknown",
"type": "string",
"enum": [
"unknown",
"public",
"partner",
"internal",
"isolated"
]
},
"criticality": {
"default": 3,
"type": "integer",
"minimum": 1,
"maximum": 5
},
"retentionYears": {
"default": 0,
"type": "number",
"minimum": 0,
"maximum": 100
},
"migrationFriction": {
"default": 3,
"type": "integer",
"minimum": 1,
"maximum": 5
},
"dependencyCount": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"dependencies": {
"default": [],
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 300
}
},
"deadline": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"location": {
"type": "string",
"maxLength": 1000
},
"owner": {
"default": "Unassigned",
"type": "string",
"maxLength": 200
},
"evidence": {
"default": {},
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 100
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"anyOf": [
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "gcp-alloydb"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"oneOf": [
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "gcp"
},
"service": {
"type": "string",
"const": "alloydb"
},
"engine": {
"type": "string",
"const": "postgresql"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"projectId": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"region": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"resourceType": {
"type": "string",
"const": "cluster"
},
"configuredKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"encryptionType": {
"type": "string",
"enum": [
"TYPE_UNSPECIFIED",
"GOOGLE_DEFAULT_ENCRYPTION",
"CUSTOMER_MANAGED_ENCRYPTION"
]
},
"usedKeyVersionReferences": {
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 600
}
},
"storageState": {
"type": "string",
"enum": [
"provider-reported-cmek",
"provider-reported-google-managed",
"unknown"
]
},
"configuredTls": {
"type": "string",
"const": "unknown"
},
"tlsEvidenceSource": {
"type": "string",
"const": "instance-configuration-required"
}
},
"required": [
"provider",
"service",
"engine",
"resource",
"projectId",
"region",
"keyAlgorithm",
"transportEncryption",
"databaseTde",
"automaticNetworkScanAuthorized",
"coverage",
"resourceType",
"usedKeyVersionReferences",
"storageState",
"configuredTls",
"tlsEvidenceSource"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "gcp"
},
"service": {
"type": "string",
"const": "alloydb"
},
"engine": {
"type": "string",
"const": "postgresql"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"projectId": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"region": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"resourceType": {
"type": "string",
"const": "instance"
},
"cluster": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"sslMode": {
"type": "string",
"enum": [
"SSL_MODE_UNSPECIFIED",
"SSL_MODE_ALLOW",
"SSL_MODE_REQUIRE",
"SSL_MODE_VERIFY_CA",
"ALLOW_UNENCRYPTED_AND_ENCRYPTED",
"ENCRYPTED_ONLY"
]
},
"requireConnectors": {
"type": "boolean"
},
"configuredTls": {
"type": "string",
"enum": [
"required",
"optional",
"unknown"
]
},
"configuredClientCertificate": {
"type": "string",
"enum": [
"required",
"not-required",
"unknown"
]
},
"tlsEvidenceSource": {
"type": "string",
"enum": [
"instance-sslMode",
"missing"
]
},
"storageState": {
"type": "string",
"const": "cluster-configuration-required"
}
},
"required": [
"provider",
"service",
"engine",
"resource",
"projectId",
"region",
"keyAlgorithm",
"transportEncryption",
"databaseTde",
"automaticNetworkScanAuthorized",
"coverage",
"resourceType",
"cluster",
"configuredTls",
"configuredClientCertificate",
"tlsEvidenceSource",
"storageState"
],
"additionalProperties": false
}
]
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "azure-sql-managed-instance"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "azure"
},
"service": {
"type": "string",
"const": "sql-managed-instance"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"instanceResource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"engine": {
"type": "string",
"const": "sqlserver"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"alwaysEncrypted": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"instanceTlsPolicy": {
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredMinimumTls": {
"type": "string",
"enum": [
"unknown",
"1.0",
"1.1",
"1.2"
]
},
"minimumTlsField": {
"type": "string",
"enum": [
"None",
"1.0",
"1.1",
"1.2"
]
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"configuredMinimumTls",
"transportEncryption",
"automaticNetworkScanAuthorized",
"observedAt"
],
"additionalProperties": false
},
"instanceProtector": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"keyManagement": {
"type": "string",
"enum": [
"service-managed",
"customer-managed",
"unknown"
]
},
"keyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"autoRotationEnabled": {
"type": "boolean"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"keyManagement",
"keyAlgorithm",
"databaseTde",
"observedAt"
],
"additionalProperties": false
}
]
},
"tdeConfiguration": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredTde": {
"type": "string",
"enum": [
"enabled",
"disabled",
"unknown"
]
},
"evidenceSource": {
"type": "string",
"const": "azure-arm-tde-configuration"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"engineEncryptionState": {
"type": "string",
"const": "not-assessed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"configuredTde",
"evidenceSource",
"keyAlgorithm",
"engineEncryptionState",
"observedAt"
],
"additionalProperties": false
}
]
}
},
"required": [
"provider",
"service",
"resource",
"instanceResource",
"name",
"engine",
"databaseTde",
"transportEncryption",
"keyAlgorithm",
"alwaysEncrypted",
"automaticNetworkScanAuthorized",
"coverage",
"instanceTlsPolicy",
"instanceProtector",
"tdeConfiguration"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "azure-flexible-database"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "azure"
},
"service": {
"type": "string",
"const": "flexible-database"
},
"engine": {
"type": "string",
"enum": [
"postgresql",
"mysql"
]
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"keyManagement": {
"type": "string",
"enum": [
"service-managed",
"customer-managed",
"unknown"
]
},
"primaryKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"geoBackupKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"storageEncryptionState": {
"type": "string",
"const": "not-assessed"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"engineEncryption": {
"type": "string",
"const": "not-assessed"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"tlsConfigurations": {
"minItems": 2,
"maxItems": 3,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"parameter": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"parameter",
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"parameter": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"status": {
"type": "string",
"const": "observed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configured": {
"anyOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"unknown",
"unrecognized"
]
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "known"
},
"value": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"minLength": 1,
"maxLength": 1000
},
{
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
}
]
}
},
"required": [
"state",
"value"
],
"additionalProperties": false
}
]
},
"current": {
"anyOf": [
{
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"unknown",
"unrecognized"
]
}
},
"required": [
"state"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"state": {
"type": "string",
"const": "known"
},
"value": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"minLength": 1,
"maxLength": 1000
},
{
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
}
]
}
},
"required": [
"state",
"value"
],
"additionalProperties": false
}
]
},
"pendingRestart": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"const": "unknown"
}
]
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"evidenceSource": {
"type": "string",
"const": "azure-arm-server-configuration"
}
},
"required": [
"parameter",
"status",
"observedAt",
"resource",
"configured",
"current",
"pendingRestart",
"transportEncryption",
"evidenceSource"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"provider",
"service",
"engine",
"resource",
"name",
"keyManagement",
"storageEncryptionState",
"keyAlgorithm",
"engineEncryption",
"transportEncryption",
"automaticNetworkScanAuthorized",
"coverage",
"tlsConfigurations"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "postgresql"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "current-session-and-visible-settings"
},
"probes": {
"type": "object",
"properties": {
"session": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"oneOf": [
{
"type": "object",
"properties": {
"encrypted": {
"type": "boolean",
"const": false
}
},
"required": [
"encrypted"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"encrypted": {
"type": "boolean",
"const": true
},
"protocol": {
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
},
"cipher": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
"cipherBits": {
"type": "integer",
"minimum": 1,
"maximum": 512
}
},
"required": [
"encrypted",
"protocol",
"cipher",
"cipherBits"
],
"additionalProperties": false
}
]
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"settings": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"values": {
"type": "object",
"properties": {
"ssl": {
"type": "boolean"
},
"ssl_min_protocol_version": {
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
},
"ssl_max_protocol_version": {
"anyOf": [
{
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
},
{
"type": "string",
"const": ""
}
]
},
"ssl_ciphers": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
"ssl_prefer_server_ciphers": {
"type": "boolean"
},
"ssl_ecdh_curve": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
"ssl_groups": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
"ssl_tls13_ciphers": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 1024,
"pattern": "^[A-Za-z0-9_:+!@=., /-]+$"
},
{
"type": "string",
"const": ""
}
]
},
"server_version_num": {
"type": "integer",
"minimum": 10000,
"maximum": 999999
}
},
"additionalProperties": false
},
"missing": {
"maxItems": 9,
"type": "array",
"items": {
"type": "string",
"enum": [
"ssl",
"ssl_min_protocol_version",
"ssl_max_protocol_version",
"ssl_ciphers",
"ssl_prefer_server_ciphers",
"ssl_ecdh_curve",
"ssl_groups",
"ssl_tls13_ciphers",
"server_version_num"
]
}
},
"notApplicable": {
"maxItems": 9,
"type": "array",
"items": {
"type": "string",
"enum": [
"ssl",
"ssl_min_protocol_version",
"ssl_max_protocol_version",
"ssl_ciphers",
"ssl_prefer_server_ciphers",
"ssl_ecdh_curve",
"ssl_groups",
"ssl_tls13_ciphers",
"server_version_num"
]
}
},
"versionProfile": {
"type": "string",
"enum": [
"known",
"unverified"
]
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"values",
"missing",
"notApplicable",
"versionProfile",
"coverage"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
}
},
"required": [
"session",
"settings"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
},
"connection": {
"type": "object",
"properties": {
"tlsVerified": {
"type": "boolean",
"const": true
},
"targetPinned": {
"type": "boolean",
"const": true
},
"authenticationPolicy": {
"type": "string",
"const": "scram-sha-256"
}
},
"required": [
"tlsVerified",
"targetPinned",
"authenticationPolicy"
],
"additionalProperties": false
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"probes",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "mysql"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "current-session-and-visible-settings"
},
"probes": {
"type": "object",
"properties": {
"session": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"oneOf": [
{
"type": "object",
"properties": {
"encrypted": {
"type": "boolean",
"const": false
}
},
"required": [
"encrypted"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"encrypted": {
"type": "boolean",
"const": true
},
"protocol": {
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
},
"cipher": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,128}$"
}
},
"required": [
"encrypted",
"protocol",
"cipher"
],
"additionalProperties": false
}
]
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"settings": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"values": {
"type": "object",
"properties": {
"version": {
"type": "string",
"maxLength": 1024,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"require_secure_transport": {
"type": "boolean"
},
"tls_version": {
"type": "string",
"maxLength": 1024,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"tls_ciphersuites": {
"type": "string",
"maxLength": 1024,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"ssl_cipher": {
"type": "string",
"maxLength": 1024,
"pattern": "^[^\\x00-\\x1f\\x7f]*$"
},
"default_table_encryption": {
"type": "boolean"
},
"innodb_redo_log_encrypt": {
"type": "boolean"
},
"innodb_undo_log_encrypt": {
"type": "boolean"
},
"binlog_encryption": {
"type": "boolean"
}
},
"additionalProperties": false
},
"missing": {
"maxItems": 9,
"type": "array",
"items": {
"type": "string",
"enum": [
"version",
"require_secure_transport",
"tls_version",
"tls_ciphersuites",
"ssl_cipher",
"default_table_encryption",
"innodb_redo_log_encrypt",
"innodb_undo_log_encrypt",
"binlog_encryption"
]
}
},
"versionProfile": {
"type": "string",
"enum": [
"known",
"unverified"
]
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"values",
"missing",
"versionProfile",
"coverage"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"tablespaces": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"scope": {
"type": "string",
"const": "visible-innodb-tablespaces"
},
"encryptedCount": {
"type": "integer",
"minimum": 0,
"maximum": 10000000
},
"unencryptedCount": {
"type": "integer",
"minimum": 0,
"maximum": 10000000
},
"completeDatabaseEncryptionVerified": {
"type": "boolean",
"const": false
}
},
"required": [
"scope",
"encryptedCount",
"unencryptedCount",
"completeDatabaseEncryptionVerified"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "not-requested"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
}
},
"required": [
"session",
"settings",
"tablespaces"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
},
"connection": {
"type": "object",
"properties": {
"tlsVerified": {
"type": "boolean",
"const": true
},
"targetPinned": {
"type": "boolean",
"const": true
}
},
"required": [
"tlsVerified",
"targetPinned"
],
"additionalProperties": false
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"probes",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "sqlserver"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "current-database-and-session"
},
"probes": {
"type": "object",
"properties": {
"visibility": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"version": {
"type": "string",
"pattern": "^[0-9]{1,2}(?:\\.[0-9]{1,10}){1,3}$"
},
"engineEdition": {
"type": "integer",
"minimum": 1,
"maximum": 20
},
"databaseDefinitionVisible": {
"type": "boolean"
}
},
"required": [
"version",
"engineEdition",
"databaseDefinitionVisible"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"session": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"encrypted": {
"type": "boolean"
},
"transport": {
"type": "string",
"enum": [
"TCP",
"Named pipe",
"Shared memory",
"Session"
]
},
"loginAuthentication": {
"type": "string",
"enum": [
"SQL",
"NTLM",
"KERBEROS",
"FEDAUTH",
"unknown"
]
},
"protocol": {
"type": "string",
"const": "unknown"
},
"cipher": {
"type": "string",
"const": "unknown"
}
},
"required": [
"encrypted",
"transport",
"loginAuthentication",
"protocol",
"cipher"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"tde": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"no-visible-key",
"no-key",
"unencrypted",
"encrypting",
"encrypted",
"key-change",
"decrypting",
"protector-change"
]
},
"algorithm": {
"type": "string",
"enum": [
"AES",
"TRIPLE_DES",
"unknown"
]
},
"keyBits": {
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 128
},
{
"type": "number",
"const": 192
},
{
"type": "number",
"const": 256
},
{
"type": "null"
}
]
},
"protectorType": {
"type": "string",
"enum": [
"CERTIFICATE",
"ASYMMETRIC KEY",
"unknown"
]
}
},
"required": [
"state",
"algorithm",
"keyBits",
"protectorType"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "not-requested"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"columns": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"scope": {
"type": "string",
"const": "visible-current-database-columns"
},
"applicationEncryptionUseVerified": {
"type": "boolean",
"const": false
},
"groups": {
"maxItems": 2,
"type": "array",
"items": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"DETERMINISTIC",
"RANDOMIZED"
]
},
"algorithm": {
"type": "string",
"const": "AEAD_AES_256_CBC_HMAC_SHA_256"
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 10000000
}
},
"required": [
"mode",
"algorithm",
"count"
],
"additionalProperties": false
}
}
},
"required": [
"scope",
"applicationEncryptionUseVerified",
"groups"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"permission-denied",
"unsupported-version",
"query-timeout",
"invalid-metadata",
"query-failed"
]
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "not-requested"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
}
},
"required": [
"visibility",
"session",
"tde",
"columns"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
},
"connection": {
"type": "object",
"properties": {
"tlsVerified": {
"type": "boolean",
"const": true
},
"targetPinned": {
"type": "boolean",
"const": true
}
},
"required": [
"tlsVerified",
"targetPinned"
],
"additionalProperties": false
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"probes",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "sqlite"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "current-local-database-metadata"
},
"probes": {
"type": "object",
"properties": {
"runtime": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"sqliteVersion": {
"type": "string",
"pattern": "^[0-9]{1,2}(?:\\.[0-9]{1,3}){2}$"
}
},
"required": [
"sqliteVersion"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"schema": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"data": {
"type": "object",
"properties": {
"readable": {
"type": "boolean",
"const": true
},
"allPagesVerified": {
"type": "boolean",
"const": false
}
},
"required": [
"readable",
"allPagesVerified"
],
"additionalProperties": false
}
},
"required": [
"status",
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unreadable-or-unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher": {
"type": "object",
"properties": {
"cipher_version": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "string",
"pattern": "^[0-9]{1,2}(?:\\.[0-9]{1,3}){1,3}(?: [A-Za-z0-9_-]{1,40})?$"
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_provider": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "string",
"enum": [
"openssl",
"commoncrypto",
"libtomcrypt",
"nss"
]
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_status": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "boolean"
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_use_hmac": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "boolean"
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_page_size": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "integer",
"minimum": 512,
"maximum": 65536
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"kdf_iter": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "integer",
"minimum": 1,
"maximum": 10000000
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_plaintext_header_size": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "integer",
"minimum": 0,
"maximum": 65536,
"multipleOf": 16
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_hmac_algorithm": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "string",
"enum": [
"HMAC_SHA1",
"HMAC_SHA256",
"HMAC_SHA512"
]
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
},
"cipher_kdf_algorithm": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"value": {
"type": "string",
"enum": [
"PBKDF2_HMAC_SHA1",
"PBKDF2_HMAC_SHA256",
"PBKDF2_HMAC_SHA512"
]
}
},
"required": [
"status",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unsupported"
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "invalid-metadata"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
}
},
"required": [
"cipher_version",
"cipher_provider",
"cipher_status",
"cipher_use_hmac",
"cipher_page_size",
"kdf_iter",
"cipher_plaintext_header_size",
"cipher_hmac_algorithm",
"cipher_kdf_algorithm"
],
"additionalProperties": false
}
},
"required": [
"runtime",
"schema",
"cipher"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"probes",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "aws-rds"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "aws"
},
"service": {
"type": "string",
"const": "rds"
},
"resource": {
"type": "string",
"maxLength": 300
},
"resourceType": {
"type": "string",
"enum": [
"instance",
"cluster"
]
},
"region": {
"type": "string",
"maxLength": 300
},
"accountId": {
"type": "string",
"maxLength": 300
},
"engine": {
"type": "string",
"maxLength": 300
},
"engineVersion": {
"type": "string",
"maxLength": 300
},
"engineCoverage": {
"type": "string",
"enum": [
"recognized",
"unverified"
]
},
"storageScope": {
"type": "string",
"enum": [
"parent-cluster",
"instance",
"cluster"
]
},
"storageState": {
"type": "string",
"enum": [
"encrypted",
"unencrypted",
"unknown",
"cluster-evidence-required"
]
},
"keyManagement": {
"type": "string",
"enum": [
"aws-owned",
"aws-managed-or-customer-managed",
"unknown"
]
},
"storageEncryptionType": {
"type": "string",
"enum": [
"none",
"sse-rds",
"sse-kms"
]
},
"storageEncryptedField": {
"type": "boolean"
},
"keyReference": {
"type": "string",
"maxLength": 300
},
"clusterReference": {
"type": "string",
"maxLength": 300
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"endpoint": {
"type": "string",
"maxLength": 300
},
"port": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"provider",
"service",
"resource",
"resourceType",
"region",
"accountId",
"engine",
"engineCoverage",
"storageScope",
"storageState",
"keyManagement",
"transportEncryption",
"databaseTde",
"keyAlgorithm",
"automaticNetworkScanAuthorized",
"coverage"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"enum": [
"partial",
"observed-scope"
]
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "gcp-cloud-sql"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "gcp"
},
"service": {
"type": "string",
"const": "cloud-sql"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"projectId": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"region": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"engine": {
"type": "string",
"enum": [
"postgresql",
"mysql",
"sqlserver",
"unknown"
]
},
"engineVersion": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"configuredTls": {
"type": "string",
"enum": [
"required",
"optional",
"unknown"
]
},
"configuredClientCertificate": {
"type": "string",
"enum": [
"required",
"not-required",
"not-applicable",
"unknown"
]
},
"tlsEvidenceSource": {
"type": "string",
"enum": [
"sslMode",
"legacy-requireSsl",
"missing"
]
},
"sslMode": {
"type": "string",
"enum": [
"SSL_MODE_UNSPECIFIED",
"ALLOW_UNENCRYPTED_AND_ENCRYPTED",
"ENCRYPTED_ONLY",
"TRUSTED_CLIENT_CERTIFICATE_REQUIRED"
]
},
"requireSsl": {
"type": "boolean"
},
"legacyFieldConflict": {
"type": "boolean"
},
"configuredKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"usedKeyVersionReference": {
"type": "string",
"minLength": 1,
"maxLength": 550
},
"storageState": {
"type": "string",
"enum": [
"provider-reported-cmek",
"unknown"
]
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"provider",
"service",
"resource",
"projectId",
"region",
"engine",
"configuredTls",
"configuredClientCertificate",
"tlsEvidenceSource",
"legacyFieldConflict",
"storageState",
"keyAlgorithm",
"transportEncryption",
"databaseTde",
"automaticNetworkScanAuthorized",
"coverage"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"engine": {
"type": "string",
"const": "azure-sql-database"
},
"metadataOnly": {
"type": "boolean",
"const": true
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"scope": {
"type": "string",
"const": "cloud-resource-configuration"
},
"resource": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "azure"
},
"service": {
"type": "string",
"const": "sql-database"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"serverResource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"engine": {
"type": "string",
"const": "sqlserver"
},
"databaseKeyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredEnclave": {
"type": "string",
"enum": [
"Default",
"VBS"
]
},
"infrastructureEncryptionEnabled": {
"type": "boolean"
},
"databaseKeyAutoRotation": {
"type": "boolean"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"alwaysEncrypted": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"coverage": {
"type": "string",
"const": "partial"
},
"serverTlsPolicy": {
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredMinimumTls": {
"type": "string",
"enum": [
"unknown",
"1.0",
"1.1",
"1.2",
"1.3"
]
},
"minimumTlsField": {
"type": "string",
"enum": [
"None",
"1.0",
"1.1",
"1.2",
"1.3"
]
},
"transportEncryption": {
"type": "string",
"const": "not-assessed"
},
"automaticNetworkScanAuthorized": {
"type": "boolean",
"const": false
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"configuredMinimumTls",
"transportEncryption",
"automaticNetworkScanAuthorized",
"observedAt"
],
"additionalProperties": false
},
"serverProtector": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"keyManagement": {
"type": "string",
"enum": [
"service-managed",
"customer-managed",
"unknown"
]
},
"keyReference": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"autoRotationEnabled": {
"type": "boolean"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"databaseTde": {
"type": "string",
"const": "not-assessed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"keyManagement",
"keyAlgorithm",
"databaseTde",
"observedAt"
],
"additionalProperties": false
}
]
},
"tdeConfiguration": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"access-denied",
"not-found"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"observedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "observed"
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"configuredTde": {
"type": "string",
"enum": [
"enabled",
"disabled",
"unknown"
]
},
"evidenceSource": {
"type": "string",
"const": "azure-arm-tde-configuration"
},
"keyAlgorithm": {
"type": "string",
"const": "unknown"
},
"engineEncryptionState": {
"type": "string",
"const": "not-assessed"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"status",
"resource",
"configuredTde",
"evidenceSource",
"keyAlgorithm",
"engineEncryptionState",
"observedAt"
],
"additionalProperties": false
}
]
}
},
"required": [
"provider",
"service",
"resource",
"serverResource",
"name",
"engine",
"databaseTde",
"transportEncryption",
"keyAlgorithm",
"alwaysEncrypted",
"automaticNetworkScanAuthorized",
"coverage",
"serverTlsPolicy",
"serverProtector",
"tdeConfiguration"
],
"additionalProperties": false
},
"keyEstablishment": {
"type": "string",
"const": "unknown"
},
"authentication": {
"type": "string",
"const": "unknown"
},
"storageEncryption": {
"type": "string",
"const": "not-assessed"
},
"coverage": {
"type": "string",
"const": "partial"
}
},
"required": [
"engine",
"metadataOnly",
"observedAt",
"scope",
"resource",
"keyEstablishment",
"authentication",
"storageEncryption",
"coverage"
],
"additionalProperties": false
}
]
},
{
"type": "object",
"properties": {
"certificateSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"certificateType": {
"type": "string",
"enum": [
"ssh-rsa-cert-v01@openssh.com",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com"
]
},
"certificateRole": {
"type": "string",
"const": "host"
},
"serial": {
"type": "string",
"maxLength": 20
},
"validAfter": {
"type": "string",
"maxLength": 20
},
"validBefore": {
"type": "string",
"maxLength": 20
},
"principalCount": {
"type": "integer",
"minimum": 0,
"maximum": 256
},
"criticalOptionCount": {
"type": "integer",
"minimum": 0,
"maximum": 64
},
"extensionCount": {
"type": "integer",
"minimum": 0,
"maximum": 64
},
"subjectKey": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"ssh-rsa",
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521"
]
},
"bits": {
"anyOf": [
{
"anyOf": [
{
"type": "integer",
"minimum": 512,
"maximum": 16384
},
{
"type": "number",
"const": 256
}
]
},
{
"type": "number",
"const": 384
}
]
},
"sha256": {
"type": "string",
"pattern": "^SHA256:[A-Za-z0-9+/]{43}$"
}
},
"required": [
"type",
"bits",
"sha256"
],
"additionalProperties": false
},
"signingKey": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"ssh-rsa",
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521"
]
},
"bits": {
"anyOf": [
{
"anyOf": [
{
"type": "integer",
"minimum": 512,
"maximum": 16384
},
{
"type": "number",
"const": 256
}
]
},
{
"type": "number",
"const": 384
}
]
},
"sha256": {
"type": "string",
"pattern": "^SHA256:[A-Za-z0-9+/]{43}$"
}
},
"required": [
"type",
"bits",
"sha256"
],
"additionalProperties": false
},
"certificateSignatureAlgorithm": {
"type": "string",
"enum": [
"ssh-rsa",
"rsa-sha2-256",
"rsa-sha2-512",
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521"
]
},
"certificateSignatureVerified": {
"type": "boolean"
},
"certificateAuthorityTrusted": {
"type": "boolean",
"const": false
},
"certificateHostMatchVerified": {
"type": "boolean",
"const": false
}
},
"required": [
"certificateSha256",
"certificateType",
"certificateRole",
"serial",
"validAfter",
"validBefore",
"principalCount",
"criticalOptionCount",
"extensionCount",
"subjectKey",
"signingKey",
"certificateSignatureAlgorithm",
"certificateSignatureVerified",
"certificateAuthorityTrusted",
"certificateHostMatchVerified"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"keyExchange": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"hostKey": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"cipherClientToServer": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"cipherServerToClient": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"macClientToServer": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
},
"macServerToClient": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[\\x21-\\x2b\\x2d-\\x7e]+$"
}
}
},
"required": [
"keyExchange",
"hostKey",
"cipherClientToServer",
"cipherServerToClient",
"macClientToServer",
"macServerToClient"
],
"additionalProperties": false
},
{
"minItems": 7,
"maxItems": 15,
"type": "array",
"items": {
"type": "object",
"properties": {
"probe": {
"type": "string",
"enum": [
"tls12",
"tls13",
"tls12-ecdhe-rsa-aes128gcm",
"tls12-ecdhe-ecdsa-aes128gcm",
"tls12-dhe-rsa-aes256gcm",
"tls13-x25519",
"tls13-p256",
"tls13-x25519mlkem768",
"tls13-secp256r1mlkem768",
"tls13-secp384r1mlkem1024",
"tls13-mlkem512",
"tls13-mlkem768",
"tls13-mlkem1024",
"tls12-rsa-aes128gcm",
"tls12-rsa-aes256gcm"
]
},
"offeredProtocol": {
"type": "string",
"enum": [
"TLSv1.2",
"TLSv1.3"
]
},
"offeredCipher": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"offeredCurve": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"offeredGroup": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"status": {
"type": "string",
"enum": [
"negotiated",
"inconclusive",
"local-unavailable"
]
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"certificateVerified": {
"type": "boolean",
"const": true
},
"negotiatedProtocol": {
"type": "string",
"enum": [
"TLSv1.2",
"TLSv1.3"
]
},
"negotiatedCipher": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"certificateSha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"selectedGroupId": {
"type": "string",
"pattern": "^0x[0-9a-f]{4}$"
},
"selectedGroupName": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"negotiatedSignatureSchemeId": {
"type": "string",
"pattern": "^0x[0-9a-f]{4}$"
},
"negotiatedSignatureSchemeName": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f]+$"
},
"sessionReused": {
"type": "boolean"
},
"handshakeMetadataAvailable": {
"type": "boolean"
},
"handshakeMetadataValid": {
"type": "boolean"
},
"handshakeMetadataSource": {
"type": "string",
"const": "cpython-message-callback"
},
"keyExchangeSource": {
"type": "string",
"const": "negotiated-cipher-suite"
},
"cipherSuiteId": {
"type": "string",
"pattern": "^0x[0-9a-f]{4}$"
}
},
"required": [
"probe",
"offeredProtocol",
"status"
],
"additionalProperties": false
}
},
{
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"enum": [
"encrypt",
"decrypt",
"sign",
"verify",
"wrapKey",
"unwrapKey",
"import",
"export"
]
}
},
{
"maxItems": 9,
"type": "array",
"items": {
"type": "string",
"enum": [
"digitalSignature",
"contentCommitment",
"keyEncipherment",
"dataEncipherment",
"keyAgreement",
"keyCertSign",
"cRLSign",
"encipherOnly",
"decipherOnly"
]
}
},
{
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"pattern": "^[0-2](?:\\.[0-9]+){2,30}$"
}
},
{
"minItems": 1,
"maxItems": 32,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
{
"type": "object",
"properties": {
"source": {
"type": "string",
"const": "hosted-cloud"
},
"operationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"connectionRevision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"selection": {
"type": "string",
"enum": [
"paginated-discovery",
"explicit-resources"
]
},
"resourceIndex": {
"type": "integer",
"minimum": 0,
"maximum": 99999
},
"selectedResourceCount": {
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"listingComplete": {
"type": [
"boolean",
"null"
]
},
"listingPages": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"inventorySnapshotVerified": {
"type": "boolean",
"const": false
},
"operationCompletionVerifiedAtIngestion": {
"type": "boolean",
"const": false
}
},
"required": [
"source",
"operationId",
"connectionId",
"connectionRevision",
"selection",
"resourceIndex",
"selectedResourceCount",
"listingComplete",
"listingPages",
"inventorySnapshotVerified",
"operationCompletionVerifiedAtIngestion"
],
"additionalProperties": false
},
{
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 1000
},
"additionalProperties": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
{
"maxItems": 32,
"type": "array",
"items": {
"type": "string",
"enum": [
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512",
"PS256",
"PS384",
"PS512",
"ES256",
"ES384",
"ES512",
"ES256K",
"EdDSA",
"none"
]
}
}
]
}
}
},
"required": [
"externalId",
"name",
"kind",
"source",
"observedAt",
"confidence"
],
"additionalProperties": true
},
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"firstSeen": {
"type": "string",
"format": "date-time"
},
"lastSeen": {
"type": "string",
"format": "date-time"
},
"evidenceId": {
"type": "string",
"format": "uuid"
},
"risk": {
"$ref": "#/components/schemas/Risk"
},
"customRisk": {
"type": "object",
"properties": {
"authority": {
"const": "tenant-defined"
},
"complianceDetermination": {
"const": "not-assessed"
},
"state": {
"enum": [
"assessed",
"incomplete",
"stale",
"failed",
"not-calculated"
]
},
"score": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 100
},
"severity": {
"type": "string"
},
"resultId": {
"type": [
"string",
"null"
]
},
"runId": {
"type": [
"string",
"null"
]
},
"profileId": {
"type": [
"string",
"null"
]
},
"profileVersion": {
"type": [
"integer",
"null"
]
},
"assessedAt": {
"type": [
"string",
"null"
]
}
},
"required": [
"authority",
"complianceDetermination",
"state",
"score",
"severity",
"resultId",
"runId",
"profileId",
"profileVersion",
"assessedAt"
]
},
"contextRevision": {
"type": "integer"
},
"observedContext": {
"type": "object"
}
},
"required": [
"id",
"firstSeen",
"lastSeen",
"evidenceId",
"risk"
]
}
]
},
"ArchiveReceipt": {
"type": "object",
"properties": {
"state": {
"enum": [
"unarchived",
"pending",
"retrying",
"archived"
]
},
"sha256": {
"type": "string"
},
"byteLength": {
"type": "integer"
},
"archivedAt": {
"type": "string",
"format": "date-time"
},
"queuedAt": {
"type": "string",
"format": "date-time"
},
"dispatchedAt": {
"type": "string",
"format": "date-time"
},
"consumerStartedAt": {
"type": "string",
"format": "date-time"
},
"dispatchAttempts": {
"type": "integer"
},
"attempts": {
"type": "integer"
},
"lastError": {
"type": "string"
},
"lastAttemptAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"state"
]
},
"Artifact": {
"type": "object",
"properties": {
"schema": {
"const": "sectigo.evidence.v1"
},
"canonicalization": {
"const": "qr-json-1"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"evidence": {
"$ref": "#/components/schemas/Evidence"
}
},
"required": [
"schema",
"canonicalization",
"tenantId",
"evidence"
]
},
"ArchiveStatus": {
"type": "object",
"properties": {
"total": {
"type": "integer"
},
"archived": {
"type": "integer"
},
"pending": {
"type": "integer"
},
"retrying": {
"type": "integer"
},
"unarchived": {
"type": "integer"
}
},
"required": [
"total",
"archived",
"pending",
"retrying",
"unarchived"
]
},
"Evidence": {
"type": "object",
"properties": {
"cloudConnectionId": {
"type": "string",
"format": "uuid"
},
"cloudOperationId": {
"type": "string",
"format": "uuid"
},
"connectionRevision": {
"type": "integer"
},
"resourceIndex": {
"type": "integer"
},
"archive": {
"$ref": "#/components/schemas/ArchiveReceipt"
},
"id": {
"type": "string",
"format": "uuid"
},
"assetId": {
"type": "string"
},
"submittedBy": {
"type": "string",
"description": "Opaque submitting actor identifier: a credential ID or service principal such as telemetry:<connection ID>."
},
"agentId": {
"type": "string",
"format": "uuid"
},
"jobId": {
"type": "string",
"format": "uuid"
},
"attempt": {
"type": "integer"
},
"receivedAt": {
"type": "string",
"format": "date-time"
},
"observation": {
"$ref": "#/components/schemas/Observation"
}
},
"required": [
"id",
"assetId",
"submittedBy",
"receivedAt",
"observation"
]
},
"SshHostKeyInventory": {
"oneOf": [
{
"type": "object",
"properties": {
"profile": {
"type": "string",
"const": "host-keys-v1"
},
"baseline": {
"type": "object",
"properties": {
"scanner": {
"type": "string",
"pattern": "^qr-ssh/[0-9]+\\.[0-9]+\\.[0-9]+$"
},
"observations": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Observation"
},
"minItems": 1,
"maxItems": 1
}
},
"required": [
"scanner",
"observations"
],
"additionalProperties": false
},
"probes": {
"minItems": 5,
"maxItems": 5,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"hostKeyType": {
"type": "string",
"enum": [
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"ssh-rsa",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"ssh-rsa-cert-v01@openssh.com"
]
},
"status": {
"type": "string",
"const": "observed"
},
"baselineReused": {
"type": "boolean"
},
"requestedAlgorithm": {
"type": "string",
"enum": [
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"rsa-sha2-512",
"rsa-sha2-256",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"rsa-sha2-512-cert-v01@openssh.com",
"rsa-sha2-256-cert-v01@openssh.com"
]
},
"observation": {
"$ref": "#/components/schemas/Observation"
}
},
"required": [
"hostKeyType",
"status",
"baselineReused",
"observation"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"hostKeyType": {
"type": "string",
"enum": [
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"ssh-rsa",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"ssh-rsa-cert-v01@openssh.com"
]
},
"status": {
"type": "string",
"const": "not-advertised"
}
},
"required": [
"hostKeyType",
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"hostKeyType": {
"type": "string",
"enum": [
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"ssh-rsa",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"ssh-rsa-cert-v01@openssh.com"
]
},
"status": {
"type": "string",
"const": "not-attempted"
},
"requestedAlgorithm": {
"type": "string",
"enum": [
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"rsa-sha2-512",
"rsa-sha2-256",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"rsa-sha2-512-cert-v01@openssh.com",
"rsa-sha2-256-cert-v01@openssh.com"
]
},
"reason": {
"type": "string",
"enum": [
"baseline-inventory-unavailable",
"time-budget-exhausted"
]
}
},
"required": [
"hostKeyType",
"status",
"reason"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"hostKeyType": {
"type": "string",
"enum": [
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"ssh-rsa",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"ssh-rsa-cert-v01@openssh.com"
]
},
"status": {
"type": "string",
"const": "inconclusive"
},
"requestedAlgorithm": {
"type": "string",
"enum": [
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"rsa-sha2-512",
"rsa-sha2-256",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"rsa-sha2-512-cert-v01@openssh.com",
"rsa-sha2-256-cert-v01@openssh.com"
]
},
"reason": {
"type": "string",
"const": "handshake-not-completed"
}
},
"required": [
"hostKeyType",
"status",
"requestedAlgorithm",
"reason"
],
"additionalProperties": false
}
]
}
},
"connectionAttempts": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"maximumConnections": {
"type": "number",
"const": 5
},
"peerAddress": {
"type": "string",
"maxLength": 45
},
"analysisComplete": {
"type": "boolean"
},
"unsupportedAdvertisedAlgorithms": {
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"exhaustive": {
"type": "boolean",
"const": false
},
"scope": {
"type": "string",
"maxLength": 500
},
"scanner": {
"type": "string",
"maxLength": 100
},
"observations": {
"maxItems": 5,
"type": "array",
"items": {}
},
"analysisErrorCount": {
"type": "integer",
"minimum": 0,
"maximum": 7
},
"diagnostics": {
"maxItems": 1,
"type": "array",
"items": {}
},
"sshHostKeyInventory": {}
},
"required": [
"profile",
"baseline",
"probes",
"connectionAttempts",
"maximumConnections",
"peerAddress",
"analysisComplete",
"unsupportedAdvertisedAlgorithms",
"exhaustive",
"scope"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"profile": {
"type": "string",
"const": "host-keys-v2"
},
"baseline": {
"type": "object",
"properties": {
"scanner": {
"type": "string",
"pattern": "^qr-ssh/[0-9]+\\.[0-9]+\\.[0-9]+$"
},
"observations": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Observation"
},
"minItems": 1,
"maxItems": 1
}
},
"required": [
"scanner",
"observations"
],
"additionalProperties": false
},
"probes": {
"minItems": 10,
"maxItems": 10,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"hostKeyType": {
"type": "string",
"enum": [
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"ssh-rsa",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"ssh-rsa-cert-v01@openssh.com"
]
},
"status": {
"type": "string",
"const": "observed"
},
"baselineReused": {
"type": "boolean"
},
"requestedAlgorithm": {
"type": "string",
"enum": [
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"rsa-sha2-512",
"rsa-sha2-256",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"rsa-sha2-512-cert-v01@openssh.com",
"rsa-sha2-256-cert-v01@openssh.com"
]
},
"observation": {
"$ref": "#/components/schemas/Observation"
}
},
"required": [
"hostKeyType",
"status",
"baselineReused",
"observation"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"hostKeyType": {
"type": "string",
"enum": [
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"ssh-rsa",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"ssh-rsa-cert-v01@openssh.com"
]
},
"status": {
"type": "string",
"const": "not-advertised"
}
},
"required": [
"hostKeyType",
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"hostKeyType": {
"type": "string",
"enum": [
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"ssh-rsa",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"ssh-rsa-cert-v01@openssh.com"
]
},
"status": {
"type": "string",
"const": "not-attempted"
},
"requestedAlgorithm": {
"type": "string",
"enum": [
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"rsa-sha2-512",
"rsa-sha2-256",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"rsa-sha2-512-cert-v01@openssh.com",
"rsa-sha2-256-cert-v01@openssh.com"
]
},
"reason": {
"type": "string",
"enum": [
"baseline-inventory-unavailable",
"time-budget-exhausted"
]
}
},
"required": [
"hostKeyType",
"status",
"reason"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"hostKeyType": {
"type": "string",
"enum": [
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"ssh-rsa",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"ssh-rsa-cert-v01@openssh.com"
]
},
"status": {
"type": "string",
"const": "inconclusive"
},
"requestedAlgorithm": {
"type": "string",
"enum": [
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"rsa-sha2-512",
"rsa-sha2-256",
"ssh-ed25519-cert-v01@openssh.com",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"rsa-sha2-512-cert-v01@openssh.com",
"rsa-sha2-256-cert-v01@openssh.com"
]
},
"reason": {
"type": "string",
"const": "handshake-not-completed"
}
},
"required": [
"hostKeyType",
"status",
"requestedAlgorithm",
"reason"
],
"additionalProperties": false
}
]
}
},
"connectionAttempts": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"maximumConnections": {
"type": "number",
"const": 10
},
"peerAddress": {
"type": "string",
"maxLength": 45
},
"analysisComplete": {
"type": "boolean"
},
"unsupportedAdvertisedAlgorithms": {
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"exhaustive": {
"type": "boolean",
"const": false
},
"scope": {
"type": "string",
"maxLength": 500
},
"scanner": {
"type": "string",
"maxLength": 100
},
"observations": {
"maxItems": 10,
"type": "array",
"items": {}
},
"analysisErrorCount": {
"type": "integer",
"minimum": 0,
"maximum": 12
},
"diagnostics": {
"maxItems": 1,
"type": "array",
"items": {}
},
"sshHostKeyInventory": {}
},
"required": [
"profile",
"baseline",
"probes",
"connectionAttempts",
"maximumConnections",
"peerAddress",
"analysisComplete",
"unsupportedAdvertisedAlgorithms",
"exhaustive",
"scope"
],
"additionalProperties": false
}
],
"description": "Bounded raw proof emitted by the qualified SSH scanner. The server independently validates every observation, advertised family, baseline pin, peer, time and connection count. Derived fields are optional and must match recomputation."
},
"AgentCodeCoverage": {
"type": "object",
"properties": {
"scanner": {
"type": "string",
"pattern": "^qr-code\\/[0-9]+\\.[0-9]+\\.[0-9]+$"
},
"analysisComplete": {
"type": "boolean"
},
"analysisErrorCount": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"filesScanned": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"filesSkipped": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pythonParseErrors": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"javascriptParseErrors": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"manifestParseErrors": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"linkedPackagesSkipped": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"diagnostics": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"reason": {
"type": "string",
"enum": [
"pattern-lexer-unavailable",
"pattern-lexical-error",
"pattern-analysis-limit",
"go-parser-unavailable",
"go-parse-error",
"go-analysis-limit",
"go-import-unresolved",
"go-api-unresolved",
"go-function-value-unresolved",
"go-dot-import-unresolved",
"directory-unreadable",
"not-regular-file",
"file-too-large",
"invalid-utf8",
"file-unreadable",
"manifest-parse-error",
"lockfile-parser-unavailable",
"javascript-lockfile-scope-unresolved",
"python-parse-error",
"python-import-unresolved",
"javascript-parse-error",
"javascript-parser-unavailable",
"javascript-analysis-limit",
"javascript-dynamic-scope-unresolved",
"javascript-module-mutation-unresolved",
"swift-manifest-scope-unresolved",
"ruby-manifest-scope-unresolved",
"gradle-scope-unresolved",
"cpp-manifest-scope-unresolved",
"maven-scope-unresolved",
"python-manifest-scope-unresolved",
"requirements-scope-unresolved",
"go-module-scope-unresolved",
"go-workspace-scope-unresolved",
"nuget-scope-unresolved",
"certificate-file-limit",
"certificate-file-no-certificate",
"certificate-pem-incomplete",
"certificate-container-extra-data",
"certificate-count-limit",
"certificate-parse-error",
"certificate-parser-unavailable"
]
}
},
"required": [
"path",
"reason"
],
"additionalProperties": false
}
},
"diagnosticsTruncated": {
"type": "boolean"
}
},
"required": [
"scanner",
"analysisComplete",
"analysisErrorCount",
"filesScanned",
"filesSkipped",
"pythonParseErrors",
"javascriptParseErrors",
"manifestParseErrors",
"linkedPackagesSkipped",
"diagnostics",
"diagnosticsTruncated"
],
"additionalProperties": false
},
"Job": {
"type": "object",
"properties": {
"databaseProtocol": {
"const": 1
},
"databaseCoverage": {
"type": "object",
"properties": {
"analysisComplete": {
"type": "boolean"
},
"engine": {
"enum": [
"postgresql",
"mysql",
"sqlserver",
"sqlite"
]
}
},
"required": [
"analysisComplete",
"engine"
]
},
"sshInventoryProtocol": {
"const": 1
},
"sshInventorySelection": {
"type": "object",
"properties": {
"profile": {
"enum": [
"host-keys-v1",
"host-keys-v2"
]
},
"source": {
"type": "string"
},
"expectedFingerprint": {
"type": "string"
}
},
"required": [
"profile",
"source"
]
},
"sshInventoryCoverage": {
"type": "object",
"description": "Validated family coverage with zone-scoped asset IDs for remote jobs, analysisComplete and analysisErrorCount."
},
"coverage": {
"$ref": "#/components/schemas/AgentCodeCoverage"
},
"codeCoverageProtocol": {
"const": 1
},
"collectorCaptureProtocol": {
"const": 1
},
"captureCoverage": {
"$ref": "#/components/schemas/CaptureCoverage"
},
"collectorCapture": {
"type": "object",
"properties": {
"reportId": {
"type": "string",
"format": "uuid"
},
"scanner": {
"type": "string"
},
"captureSha256": {
"type": "string"
},
"reportSha256": {
"type": "string"
},
"analysisComplete": {
"type": "boolean"
},
"agentId": {
"type": "string",
"format": "uuid"
},
"jobId": {
"type": "string",
"format": "uuid"
},
"attempt": {
"type": "integer"
}
},
"required": []
},
"claimedScannerVersion": {
"type": "string"
},
"claimedInstanceId": {
"type": "string"
},
"attemptStartedAt": {
"type": "string",
"format": "date-time"
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"kind": {
"enum": [
"tls",
"quic",
"code",
"ssh",
"capture",
"aws-kms",
"gcp-kms",
"azure-keyvault",
"runtime",
"windows-certificates",
"database"
]
},
"target": {
"type": "string"
},
"agentId": {
"type": "string",
"format": "uuid"
},
"status": {
"enum": [
"queued",
"running",
"completed",
"partial",
"failed",
"cancelled"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string",
"format": "uuid"
},
"attempts": {
"type": "integer"
},
"observationsAccepted": {
"type": "integer"
},
"observations": {
"type": "integer"
},
"leaseExpiresAt": {
"type": "string",
"format": "date-time"
},
"scheduleId": {
"type": "string",
"format": "uuid"
},
"scheduledFor": {
"type": "string",
"format": "date-time"
},
"orchestration": {
"type": "object",
"properties": {
"state": {
"enum": [
"pending",
"monitoring",
"finished"
]
},
"workflowId": {
"type": "string"
},
"lastCheckedAt": {
"type": "string",
"format": "date-time"
}
},
"required": []
},
"error": {
"type": "string"
},
"cancellationReason": {
"type": "string"
}
},
"required": [
"id",
"name",
"kind",
"target",
"agentId",
"status",
"createdAt",
"attempts"
]
},
"LeasedJob": {
"allOf": [
{
"$ref": "#/components/schemas/Job"
},
{
"type": "object",
"properties": {
"leaseToken": {
"type": "string"
},
"leaseExpiresAt": {
"type": "string",
"format": "date-time"
},
"protocolVersion": {
"const": 2
}
},
"required": [
"leaseToken",
"leaseExpiresAt",
"protocolVersion"
]
}
]
},
"Schedule": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"kind": {
"enum": [
"tls",
"quic",
"code",
"ssh",
"capture",
"aws-kms",
"gcp-kms",
"azure-keyvault",
"runtime",
"windows-certificates",
"database"
]
},
"target": {
"type": "string"
},
"agentId": {
"type": "string",
"format": "uuid"
},
"intervalSeconds": {
"type": "integer",
"minimum": 300,
"maximum": 2592000
},
"firstRunAt": {
"type": "string",
"format": "date-time"
},
"nextRunAt": {
"type": "string",
"format": "date-time"
},
"enabled": {
"type": "boolean"
},
"authorizedBy": {
"type": "string",
"format": "uuid"
},
"authorizedUserId": {
"type": "string",
"format": "uuid"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"lastJobId": {
"type": "string",
"format": "uuid"
},
"lastRunAt": {
"type": "string",
"format": "date-time"
},
"lastEvaluatedAt": {
"type": "string",
"format": "date-time"
},
"pauseReason": {
"type": "string"
},
"skippedRuns": {
"type": "integer"
}
},
"required": [
"id",
"name",
"kind",
"target",
"agentId",
"intervalSeconds",
"nextRunAt",
"enabled",
"authorizedBy",
"createdAt",
"skippedRuns"
]
},
"AuditEvent": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"actor": {
"type": "string"
},
"action": {
"type": "string"
},
"resource": {
"type": "string"
},
"at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"actor",
"action",
"resource",
"at"
]
},
"PlanVerification": {
"type": "object",
"properties": {
"evidenceId": {
"type": "string",
"format": "uuid"
},
"verifiedAt": {
"type": "string",
"format": "date-time"
},
"verifiedBy": {
"type": "string"
},
"criteria": {
"type": "object"
},
"reason": {
"type": "string"
},
"policyVersion": {
"type": "string"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"evidenceQuality": {
"$ref": "#/components/schemas/EvidenceQuality"
}
},
"required": [
"evidenceId",
"verifiedAt",
"verifiedBy",
"criteria",
"reason"
]
},
"Plan": {
"type": "object",
"properties": {
"version": {
"type": "integer"
},
"criteria": {
"type": "object"
},
"verification": {
"$ref": "#/components/schemas/PlanVerification"
},
"startedAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"lastReason": {
"type": "string"
},
"id": {
"type": "string",
"format": "uuid"
},
"title": {
"type": "string"
},
"assetId": {
"type": "string"
},
"owner": {
"type": "string"
},
"dueDate": {
"type": "string",
"format": "date"
},
"status": {
"enum": [
"planned",
"in-progress",
"verified"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"title",
"assetId",
"owner",
"dueDate",
"status"
]
},
"AssetPage": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Asset"
}
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"total": {
"type": "integer"
}
},
"required": [
"items",
"nextCursor",
"total"
]
},
"Receipt": {
"type": "object",
"properties": {
"accepted": {
"type": "integer"
},
"assetIds": {
"type": "array",
"items": {
"type": "string"
}
},
"fingerprint": {
"type": "string"
},
"at": {
"type": "string",
"format": "date-time"
},
"replayed": {
"type": "boolean"
}
},
"required": [
"accepted",
"assetIds",
"fingerprint",
"at"
]
},
"Me": {
"type": "object",
"properties": {
"organization": {
"$ref": "#/components/schemas/Organization"
},
"identity": {
"type": "object",
"properties": {
"credentialId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"role": {
"type": "string"
},
"agentId": {
"type": "string",
"format": "uuid"
}
},
"required": [
"credentialId",
"name",
"role"
]
},
"capabilities": {
"type": "object",
"additionalProperties": {
"type": "boolean"
}
}
},
"required": [
"organization",
"identity",
"capabilities"
]
},
"ProgrammeSummary": {
"type": "object",
"properties": {
"state": {
"enum": [
"not-reviewed",
"reviewed",
"withdrawn"
]
},
"revision": {
"type": "integer"
},
"profile": {
"$ref": "#/components/schemas/RiskProfile"
},
"assessment": {
"anyOf": [
{
"$ref": "#/components/schemas/ProgrammeAssessment"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": [
"string",
"null"
]
}
},
"required": [
"state",
"revision",
"profile",
"assessment",
"updatedAt"
]
},
"GcSpinSummary": {
"type": "object",
"properties": {
"state": {
"enum": [
"not-reviewed",
"reviewed",
"withdrawn"
]
},
"revision": {
"type": "integer"
},
"profile": {
"$ref": "#/components/schemas/RiskProfile"
},
"assessment": {
"anyOf": [
{
"$ref": "#/components/schemas/GcSpinAssessment"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": [
"string",
"null"
]
}
},
"required": [
"state",
"revision",
"profile",
"assessment",
"updatedAt"
]
},
"Overview": {
"type": "object",
"properties": {
"nis2Review": {
"$ref": "#/components/schemas/Nis2Summary"
},
"doraReview": {
"$ref": "#/components/schemas/DoraSummary"
},
"euRoadmapReview": {
"$ref": "#/components/schemas/EuRoadmapSummary"
},
"gcRoadmapReview": {
"$ref": "#/components/schemas/GcRoadmapSummary"
},
"gcSpinReview": {
"$ref": "#/components/schemas/GcSpinSummary"
},
"programmeReview": {
"$ref": "#/components/schemas/ProgrammeSummary"
},
"customRisk": {
"type": "object",
"properties": {
"schema": {
"const": "sectigo.custom-risk-overview.v1"
},
"authority": {
"const": "tenant-defined"
},
"complianceDetermination": {
"const": "not-assessed"
},
"activationRevision": {
"type": "integer"
},
"selection": {
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "custom"
},
"id": {
"type": "string"
},
"version": {
"type": "integer"
},
"assessedAt": {
"type": "string"
}
},
"required": [
"kind",
"id",
"version",
"assessedAt"
]
},
{
"type": "null"
}
]
},
"profileName": {
"type": [
"string",
"null"
]
},
"total": {
"type": "integer"
},
"counts": {
"type": "object",
"properties": {
"not-calculated": {
"type": "integer"
},
"stale": {
"type": "integer"
},
"failed": {
"type": "integer"
},
"incomplete": {
"type": "integer"
},
"assessed": {
"type": "integer"
}
},
"required": []
},
"risk": {
"type": "array",
"items": {
"type": "object",
"properties": {
"severity": {
"type": "string"
},
"n": {
"type": "integer"
}
},
"required": []
}
},
"averageScore": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 100
},
"scope": {
"type": "string"
}
},
"required": []
},
"assets": {
"type": "integer"
},
"evidence": {
"type": "integer"
},
"agents": {
"type": "integer"
},
"jobs": {
"type": "integer"
},
"averageRisk": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 100
},
"assessedAssets": {
"type": "integer"
},
"surfaces": {
"type": "array",
"items": {
"type": "object",
"properties": {
"surface": {
"type": "string"
},
"n": {
"type": "integer"
}
},
"required": [
"surface",
"n"
]
}
},
"topAssets": {
"type": "array",
"maxItems": 5,
"items": {
"$ref": "#/components/schemas/Asset"
}
},
"risk": {
"type": "array",
"items": {
"type": "object",
"properties": {
"severity": {
"type": "string"
},
"n": {
"type": "integer"
}
},
"required": [
"severity",
"n"
]
}
},
"policyVersion": {
"type": "string"
}
},
"required": [
"assets",
"evidence",
"agents",
"jobs",
"risk",
"policyVersion",
"averageRisk",
"assessedAssets",
"surfaces",
"topAssets"
]
},
"Cbom": {
"type": "object",
"properties": {
"bomFormat": {
"const": "CycloneDX"
},
"specVersion": {
"const": "1.7"
},
"serialNumber": {
"type": "string"
},
"version": {
"type": "integer"
},
"metadata": {
"type": "object"
},
"components": {
"type": "array",
"items": {
"type": "object"
}
},
"dependencies": {
"type": "array",
"items": {
"type": "object"
}
}
},
"required": [
"bomFormat",
"specVersion",
"serialNumber",
"version",
"metadata",
"components",
"dependencies"
]
},
"CloudConnectionInput": {
"anyOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"provider": {
"type": "string",
"const": "gcp"
},
"capability": {
"type": "string",
"const": "alloydb"
},
"projectNumber": {
"type": "string",
"pattern": "^[1-9][0-9]{0,19}$"
},
"poolId": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{2,31}$"
},
"providerId": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{2,31}$"
},
"scope": {
"type": "object",
"properties": {
"projectId": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{4,28}[a-z0-9]$"
},
"region": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z]+(?:-[a-z]+)+[0-9]$"
}
},
"required": [
"projectId",
"region"
],
"additionalProperties": false
}
},
"required": [
"name",
"provider",
"capability",
"projectNumber",
"poolId",
"providerId",
"scope"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"provider": {
"type": "string",
"const": "azure"
},
"capability": {
"type": "string",
"const": "sql-managed-instance"
},
"directoryId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"clientId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"scope": {
"type": "object",
"properties": {
"subscriptionId": {
"type": "string",
"pattern": "^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
},
"resourceGroup": {
"type": "string",
"minLength": 1,
"maxLength": 90,
"pattern": "^[A-Za-z0-9_().-]+$"
},
"instanceName": {
"type": "string",
"minLength": 1,
"maxLength": 63,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
}
},
"required": [
"subscriptionId",
"resourceGroup",
"instanceName"
],
"additionalProperties": false
}
},
"required": [
"name",
"provider",
"capability",
"directoryId",
"clientId",
"scope"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"provider": {
"type": "string",
"const": "azure"
},
"capability": {
"type": "string",
"const": "flexible-database"
},
"directoryId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"clientId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"scope": {
"type": "object",
"properties": {
"subscriptionId": {
"type": "string",
"pattern": "^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
},
"resourceGroup": {
"type": "string",
"minLength": 1,
"maxLength": 90,
"pattern": "^[A-Za-z0-9_().-]+$"
},
"serverName": {
"type": "string",
"minLength": 1,
"maxLength": 63,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"engine": {
"type": "string",
"enum": [
"postgresql",
"mysql"
]
}
},
"required": [
"subscriptionId",
"resourceGroup",
"serverName",
"engine"
],
"additionalProperties": false
}
},
"required": [
"name",
"provider",
"capability",
"directoryId",
"clientId",
"scope"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"provider": {
"type": "string",
"const": "aws"
},
"capability": {
"type": "string",
"const": "rds"
},
"roleArn": {
"type": "string",
"maxLength": 2048,
"pattern": "^arn:aws:iam::[0-9]{12}:role\\/[A-Za-z0-9_+=,.@/-]{1,512}$"
},
"scope": {
"type": "object",
"properties": {
"accountId": {
"type": "string",
"pattern": "^[0-9]{12}$"
},
"region": {
"type": "string",
"pattern": "^[a-z]{2}(?:-[a-z]+){1,3}-[0-9]+$"
},
"resourceType": {
"type": "string",
"enum": [
"instance",
"cluster"
]
}
},
"required": [
"accountId",
"region",
"resourceType"
],
"additionalProperties": false
}
},
"required": [
"name",
"provider",
"capability",
"roleArn",
"scope"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"provider": {
"type": "string",
"const": "gcp"
},
"capability": {
"type": "string",
"const": "cloud-sql"
},
"projectNumber": {
"type": "string",
"pattern": "^[1-9][0-9]{0,19}$"
},
"poolId": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{2,31}$"
},
"providerId": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{2,31}$"
},
"scope": {
"type": "object",
"properties": {
"projectId": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{4,28}[a-z0-9]$"
}
},
"required": [
"projectId"
],
"additionalProperties": false
}
},
"required": [
"name",
"provider",
"capability",
"projectNumber",
"poolId",
"providerId",
"scope"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"provider": {
"type": "string",
"const": "azure"
},
"capability": {
"type": "string",
"const": "sql-database"
},
"directoryId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"clientId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"scope": {
"type": "object",
"properties": {
"subscriptionId": {
"type": "string",
"pattern": "^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
},
"resourceGroup": {
"type": "string",
"minLength": 1,
"maxLength": 90,
"pattern": "^[A-Za-z0-9_().-]+$"
},
"serverName": {
"type": "string",
"minLength": 1,
"maxLength": 63,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
}
},
"required": [
"subscriptionId",
"resourceGroup",
"serverName"
],
"additionalProperties": false
}
},
"required": [
"name",
"provider",
"capability",
"directoryId",
"clientId",
"scope"
],
"additionalProperties": false
},
{
"oneOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"provider": {
"type": "string",
"const": "aws"
},
"roleArn": {
"type": "string",
"maxLength": 2048,
"pattern": "^arn:aws:iam::[0-9]{12}:role\\/[A-Za-z0-9_+=,.@/-]{1,512}$"
},
"resources": {
"default": [],
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"pattern": "^arn:(aws|aws-us-gov|aws-cn):kms:([a-z]{2}(?:-[a-z]+){1,3}-[0-9]+):[0-9]{12}:key\\/(?:[a-f0-9]{8}-(?:[a-f0-9]{4}-){3}[a-f0-9]{12}|mrk-[a-f0-9]{32})$"
}
},
"discovery": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "aws"
},
"accountId": {
"type": "string",
"pattern": "^[0-9]{12}$"
},
"region": {
"type": "string",
"maxLength": 40,
"pattern": "^(?!cn-|us-gov-)[a-z]{2}(?:-[a-z]+){1,3}-[0-9]+$"
},
"pageSize": {
"default": 100,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"provider",
"accountId",
"region"
],
"additionalProperties": false
}
},
"required": [
"name",
"provider",
"roleArn"
],
"additionalProperties": false,
"allOf": [
{
"oneOf": [
{
"required": [
"discovery"
],
"properties": {
"resources": {
"maxItems": 0
}
}
},
{
"not": {
"required": [
"discovery"
]
},
"required": [
"resources"
],
"properties": {
"resources": {
"minItems": 1
}
}
}
]
}
]
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"provider": {
"type": "string",
"const": "gcp"
},
"projectNumber": {
"type": "string",
"pattern": "^[1-9][0-9]{0,19}$"
},
"poolId": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{2,31}$"
},
"providerId": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{2,31}$"
},
"resources": {
"default": [],
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"pattern": "^projects\\/([a-z][a-z0-9-]{4,28}[a-z0-9]|[1-9][0-9]{0,19})\\/locations\\/[a-z][a-z0-9-]{0,62}\\/keyRings\\/[A-Za-z0-9_-]{1,63}\\/cryptoKeys\\/[A-Za-z0-9_-]{1,63}\\/cryptoKeyVersions\\/[1-9][0-9]{0,19}$"
}
},
"discovery": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "gcp"
},
"root": {
"type": "string",
"maxLength": 300,
"pattern": "^(?:projects\\/(?:[a-z][a-z0-9-]{4,28}[a-z0-9]|[1-9][0-9]{0,19})\\/locations\\/[a-z][a-z0-9-]{0,62}|projects\\/(?:[a-z][a-z0-9-]{4,28}[a-z0-9]|[1-9][0-9]{0,19})\\/locations\\/[a-z][a-z0-9-]{0,62}\\/keyRings\\/[A-Za-z0-9_-]{1,63})$"
},
"pageSize": {
"default": 100,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"provider",
"root"
],
"additionalProperties": false
}
},
"required": [
"name",
"provider",
"projectNumber",
"poolId",
"providerId"
],
"additionalProperties": false,
"allOf": [
{
"oneOf": [
{
"required": [
"discovery"
],
"properties": {
"resources": {
"maxItems": 0
}
}
},
{
"not": {
"required": [
"discovery"
]
},
"required": [
"resources"
],
"properties": {
"resources": {
"minItems": 1
}
}
}
]
}
]
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"provider": {
"type": "string",
"const": "azure"
},
"directoryId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"clientId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"resources": {
"default": [],
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"pattern": "^https:\\/\\/([a-z][a-z0-9-]{1,22}[a-z0-9])\\.vault\\.azure\\.net\\/keys\\/[A-Za-z0-9-]{1,127}\\/[a-f0-9]{32}$"
}
},
"discovery": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "azure"
},
"root": {
"type": "string",
"maxLength": 300,
"pattern": "^https:\\/\\/[a-z][a-z0-9-]{1,22}[a-z0-9]\\.vault\\.azure\\.net(?:\\/keys\\/[A-Za-z0-9-]{1,127})?$"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 25
}
},
"required": [
"provider",
"root"
],
"additionalProperties": false
}
},
"required": [
"name",
"provider",
"directoryId",
"clientId"
],
"additionalProperties": false,
"allOf": [
{
"oneOf": [
{
"required": [
"discovery"
],
"properties": {
"resources": {
"maxItems": 0
}
}
},
{
"not": {
"required": [
"discovery"
]
},
"required": [
"resources"
],
"properties": {
"resources": {
"minItems": 1
}
}
}
]
}
]
}
]
}
]
},
"RepositoryCoverage": {
"type": "object",
"properties": {
"scanner": {
"type": "string"
},
"filesScanned": {
"type": "integer"
},
"filesSkipped": {
"type": "integer"
},
"analysisErrorCount": {
"type": "integer"
},
"pythonParseErrors": {
"type": "integer"
},
"javascriptParseErrors": {
"type": "integer"
},
"manifestParseErrors": {
"type": "integer"
},
"linkedPackagesSkipped": {
"type": "integer"
},
"diagnostics": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"path",
"reason"
],
"additionalProperties": false
}
},
"diagnosticsTruncated": {
"type": "boolean"
}
},
"required": [
"scanner",
"filesScanned",
"filesSkipped",
"analysisErrorCount",
"pythonParseErrors",
"manifestParseErrors",
"linkedPackagesSkipped",
"diagnostics",
"diagnosticsTruncated"
],
"additionalProperties": false
},
"RepositoryScan": {
"type": "object",
"properties": {
"processingDiagnostic": {
"type": "object",
"properties": {
"stage": {
"enum": [
"admission",
"provider-preparation",
"startup",
"readiness",
"upload-and-analysis",
"report",
"transfer-verification"
]
},
"lifecycle": {
"enum": [
"not-started",
"starting",
"exited",
"capacity-unavailable",
"startup-failed"
]
}
},
"required": [
"stage",
"lifecycle"
],
"additionalProperties": false,
"description": "Last confirmed runtime stage for processor failures; not a root-cause conclusion. Contains only fixed protocol labels."
},
"scheduleId": {
"type": "string",
"format": "uuid"
},
"scheduledFor": {
"type": "string",
"format": "date-time"
},
"canCancel": {
"type": "boolean"
},
"coverage": {
"$ref": "#/components/schemas/RepositoryCoverage"
},
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"connectionId": {
"type": "string",
"format": "uuid"
},
"connectionRevision": {
"type": "integer"
},
"requestedBy": {
"type": "string"
},
"status": {
"enum": [
"queued",
"running",
"cleaning",
"completed",
"failed",
"cancelled"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"finishedAt": {
"type": "string",
"format": "date-time"
},
"error": {
"type": "string"
},
"result": {
"type": "object",
"properties": {
"commit": {
"type": "string"
},
"files": {
"type": "integer"
},
"bytes": {
"type": "integer"
},
"findings": {
"type": "integer"
},
"analysisComplete": {
"type": "boolean"
},
"streamSha256": {
"type": "string"
}
},
"required": [
"commit",
"files",
"bytes",
"findings",
"analysisComplete",
"streamSha256"
],
"additionalProperties": false
},
"cleanup": {
"enum": [
"not-started",
"pending",
"confirmed"
]
}
},
"required": [
"id",
"tenantId",
"connectionId",
"connectionRevision",
"requestedBy",
"status",
"createdAt",
"updatedAt",
"cleanup"
],
"additionalProperties": false
},
"RepositoryConnectionInput": {
"oneOf": [
{
"type": "object",
"properties": {
"config": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": [
"github",
"gitlab"
]
},
"repository": {
"type": "string",
"maxLength": 300,
"pattern": "^[A-Za-z0-9_.-]+(?:\\/[A-Za-z0-9_.-]+)+$"
},
"ref": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"directory": {
"default": "",
"type": "string",
"maxLength": 500
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"provider",
"repository",
"ref",
"name"
],
"additionalProperties": false
},
"authentication": {
"type": "string",
"const": "public"
}
},
"required": [
"config",
"authentication"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"config": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": [
"github",
"gitlab"
]
},
"repository": {
"type": "string",
"maxLength": 300,
"pattern": "^[A-Za-z0-9_.-]+(?:\\/[A-Za-z0-9_.-]+)+$"
},
"ref": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"directory": {
"default": "",
"type": "string",
"maxLength": 500
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"provider",
"repository",
"ref",
"name"
],
"additionalProperties": false
},
"authentication": {
"type": "string",
"const": "github"
}
},
"required": [
"config",
"authentication"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"config": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": [
"github",
"gitlab"
]
},
"repository": {
"type": "string",
"maxLength": 300,
"pattern": "^[A-Za-z0-9_.-]+(?:\\/[A-Za-z0-9_.-]+)+$"
},
"ref": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"directory": {
"default": "",
"type": "string",
"maxLength": 500
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"provider",
"repository",
"ref",
"name"
],
"additionalProperties": false
},
"authentication": {
"type": "string",
"const": "token"
},
"token": {
"type": "string",
"minLength": 16,
"maxLength": 8192,
"pattern": "^[\\x21-\\x7e]+$"
},
"expiresAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"config",
"authentication",
"token"
],
"additionalProperties": false
}
]
},
"RepositoryConnectionCreateInput": {
"oneOf": [
{
"type": "object",
"properties": {
"config": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": [
"github",
"gitlab"
]
},
"repository": {
"type": "string",
"maxLength": 300,
"pattern": "^[A-Za-z0-9_.-]+(?:\\/[A-Za-z0-9_.-]+)+$"
},
"ref": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"directory": {
"default": "",
"type": "string",
"maxLength": 500
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"provider",
"repository",
"ref",
"name"
],
"additionalProperties": false
},
"authentication": {
"type": "string",
"const": "public"
}
},
"required": [
"config",
"authentication"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"config": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": [
"github",
"gitlab"
]
},
"repository": {
"type": "string",
"maxLength": 300,
"pattern": "^[A-Za-z0-9_.-]+(?:\\/[A-Za-z0-9_.-]+)+$"
},
"ref": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"directory": {
"default": "",
"type": "string",
"maxLength": 500
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"provider",
"repository",
"ref",
"name"
],
"additionalProperties": false
},
"authentication": {
"type": "string",
"const": "token"
},
"token": {
"type": "string",
"minLength": 16,
"maxLength": 8192,
"pattern": "^[\\x21-\\x7e]+$"
},
"expiresAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"config",
"authentication",
"token"
],
"additionalProperties": false
}
]
},
"RepositoryConnectionConfig": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": [
"github",
"gitlab"
]
},
"repository": {
"type": "string",
"maxLength": 300,
"pattern": "^[A-Za-z0-9_.-]+(?:\\/[A-Za-z0-9_.-]+)+$"
},
"ref": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"directory": {
"default": "",
"type": "string",
"maxLength": 500
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"provider",
"repository",
"ref",
"name"
],
"additionalProperties": false
},
"RepositoryAccessCheck": {
"oneOf": [
{
"type": "object",
"properties": {
"accessible": {
"type": "boolean",
"const": true
},
"commit": {
"type": "string",
"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
},
"revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"checkedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"accessible",
"commit",
"revision",
"checkedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"accessible": {
"type": "boolean",
"const": false
},
"reason": {
"type": "string",
"enum": [
"unauthenticated",
"access-denied",
"not-found",
"source-tree-unavailable",
"directory-not-found",
"rate-limited",
"request-timeout",
"deadline-exceeded",
"redirect-rejected",
"provider-unavailable",
"cancelled",
"request-failed",
"invalid-response",
"response-too-large",
"invalid-commit",
"invalid-tree",
"tree-limit",
"request-limit",
"invalid-pagination",
"pagination-unverified"
]
},
"revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"checkedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"accessible",
"reason",
"revision",
"checkedAt"
],
"additionalProperties": false
}
]
},
"RepositoryConnection": {
"type": "object",
"properties": {
"schedule": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"connectionRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"enabled": {
"type": "boolean"
},
"intervalSeconds": {
"type": "integer",
"minimum": 3600,
"maximum": 2592000
},
"nextRunAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"ownerName": {
"type": "string",
"maxLength": 120
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"lastRunAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"lastOperationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"skipped": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"reason": {
"type": "string",
"enum": [
"paused",
"access-changed"
]
}
},
"required": [
"id",
"connectionId",
"revision",
"connectionRevision",
"enabled",
"intervalSeconds",
"nextRunAt",
"ownerName",
"createdAt",
"updatedAt",
"skipped"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"accessCheck": {
"$ref": "#/components/schemas/RepositoryAccessCheck"
},
"activeScans": {
"type": "array",
"maxItems": 2,
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"status": {
"enum": [
"queued",
"running",
"cleaning"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"status",
"createdAt"
]
}
},
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"config": {
"$ref": "#/components/schemas/RepositoryConnectionConfig"
},
"revision": {
"type": "integer"
},
"state": {
"enum": [
"untested",
"revoked"
]
},
"authentication": {
"type": "object",
"properties": {
"method": {
"enum": [
"public",
"token",
"github"
]
},
"configured": {
"type": "boolean"
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"login": {
"type": "string"
}
},
"required": [
"method",
"configured"
],
"additionalProperties": false
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
},
"updatedBy": {
"type": "string"
},
"revokedAt": {
"type": "string",
"format": "date-time"
},
"archivedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"tenantId",
"config",
"revision",
"state",
"authentication",
"createdAt",
"updatedAt",
"createdBy",
"updatedBy"
],
"additionalProperties": false
},
"CloudConnection": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"config": {
"$ref": "#/components/schemas/CloudConnectionInput"
},
"revision": {
"type": "integer"
},
"state": {
"enum": [
"draft",
"verified",
"revoked"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
},
"updatedBy": {
"type": "string"
},
"revokedAt": {
"type": "string",
"format": "date-time"
},
"archivedAt": {
"type": "string",
"format": "date-time"
},
"restoredAt": {
"type": "string",
"format": "date-time"
},
"lastTest": {
"type": "object"
},
"verification": {
"type": [
"object",
"null"
]
}
},
"required": [
"id",
"tenantId",
"config",
"revision",
"state",
"createdAt",
"updatedAt",
"createdBy",
"updatedBy"
]
},
"CloudDiscoveryProgress": {
"type": "object",
"properties": {
"pages": {
"type": "integer"
},
"resources": {
"type": "integer"
},
"pendingPages": {
"type": "integer"
},
"discoveryComplete": {
"type": "boolean"
},
"inventorySnapshotVerified": {
"const": false
}
},
"required": [
"pages",
"resources",
"pendingPages",
"discoveryComplete",
"inventorySnapshotVerified"
]
},
"CloudOperation": {
"type": "object",
"properties": {
"phase": {
"enum": [
"discovery",
"read"
]
},
"discovery": {
"$ref": "#/components/schemas/CloudDiscoveryProgress"
},
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"connectionId": {
"type": "string",
"format": "uuid"
},
"connectionRevision": {
"type": "integer"
},
"purpose": {
"enum": [
"test",
"scan"
]
},
"requestedBy": {
"type": "string"
},
"requestedRole": {
"type": "string"
},
"status": {
"enum": [
"queued",
"running",
"completed",
"failed",
"cancelled"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"deadline": {
"type": "integer"
},
"index": {
"type": "integer"
},
"total": {
"type": "integer"
},
"attempt": {
"type": "integer"
},
"passed": {
"type": "integer"
},
"failed": {
"type": "integer"
},
"reason": {
"type": "string"
},
"finishedAt": {
"type": "string",
"format": "date-time"
},
"nextAttemptAt": {
"type": "integer"
},
"lastError": {
"type": "string"
}
},
"required": [
"id",
"tenantId",
"connectionId",
"connectionRevision",
"purpose",
"requestedBy",
"status",
"index",
"total",
"passed",
"failed"
]
},
"NetworkScan": {
"type": "object",
"properties": {
"analysisComplete": {
"type": "boolean"
},
"diagnostics": {
"type": "object",
"properties": {
"stage": {
"enum": [
"admission",
"authorization",
"execution",
"ingestion",
"readiness",
"handshake",
"report",
"cleanup"
]
},
"lifecycle": {
"enum": [
"pending",
"exited",
"process-exit",
"capacity-unavailable",
"startup-failed"
]
},
"startupAttempts": {
"type": "integer",
"minimum": 0,
"maximum": 6
},
"analysisCompleted": {
"type": "boolean"
}
},
"required": []
},
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"requestedBy": {
"type": "string"
},
"target": {
"type": "string"
},
"protocol": {
"enum": [
"tls",
"ssh",
"quic"
]
},
"quicVersion": {
"enum": [
"v1",
"v2"
]
},
"expectedFingerprint": {
"type": "string",
"pattern": "^SHA256:[A-Za-z0-9+/]{42}[AEIMQUYcgkosw048]$"
},
"profile": {
"enum": [
"baseline",
"modern-v1",
"pq-v1",
"modern-v2",
"pq-v2"
]
},
"status": {
"enum": [
"queued",
"running",
"cleanup-pending",
"completed",
"partial",
"failed",
"cancelled"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"deadline": {
"type": "integer"
},
"finishedAt": {
"type": "string",
"format": "date-time"
},
"reason": {
"type": "string"
},
"findings": {
"type": "integer"
},
"result": {
"type": "object",
"properties": {
"accepted": {
"type": "integer"
},
"at": {
"type": "string",
"format": "date-time"
}
},
"required": []
}
},
"required": [
"id",
"tenantId",
"target",
"status",
"createdAt",
"deadline"
]
},
"CaptureCoverage": {
"type": "object",
"properties": {
"schema": {
"type": "string",
"const": "sectigo.capture-flow-quality.v1"
},
"framesChecked": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"transportStreams": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"incompleteFrames": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"affectedStreams": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"unassignedIncompleteFrames": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"semanticErrors": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"semanticErrorStreams": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"unassignedSemanticErrors": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"unmappedObservations": {
"type": "integer",
"minimum": 0,
"maximum": 5000
},
"retainedObservations": {
"type": "integer",
"minimum": 0,
"maximum": 5000
},
"excludedObservations": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"deduplicatedObservations": {
"type": "integer",
"minimum": 0,
"maximum": 5000
},
"isolationComplete": {
"type": "boolean"
},
"analysisComplete": {
"type": "boolean"
}
},
"required": [
"schema",
"framesChecked",
"transportStreams",
"incompleteFrames",
"affectedStreams",
"unassignedIncompleteFrames",
"semanticErrors",
"semanticErrorStreams",
"unassignedSemanticErrors",
"unmappedObservations",
"retainedObservations",
"excludedObservations",
"deduplicatedObservations",
"isolationComplete",
"analysisComplete"
],
"additionalProperties": false
},
"CollectorCaptureManifest": {
"type": "object",
"properties": {
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"scanner": {
"type": "string",
"enum": [
"qr-capture/0.26.51",
"qr-capture/0.26.52",
"qr-capture/0.26.53",
"qr-capture/0.26.54",
"qr-capture/0.26.55",
"qr-capture/0.26.56",
"qr-capture/0.26.57",
"qr-capture/0.26.58",
"qr-capture/0.26.59",
"qr-capture/0.26.60",
"qr-capture/0.26.61",
"qr-capture/0.26.62",
"qr-capture/0.26.63",
"qr-capture/0.26.64",
"qr-capture/0.26.65",
"qr-capture/0.26.66",
"qr-capture/0.26.67",
"qr-capture/0.26.68",
"qr-capture/0.26.69",
"qr-capture/0.26.70",
"qr-capture/0.26.71",
"qr-capture/0.26.72",
"qr-capture/0.26.73",
"qr-capture/0.26.74",
"qr-capture/0.26.75",
"qr-capture/0.26.76",
"qr-capture/0.26.77",
"qr-capture/0.26.78",
"qr-capture/0.26.79",
"qr-capture/0.26.80",
"qr-capture/0.26.81",
"qr-capture/0.26.82",
"qr-capture/0.26.83",
"qr-capture/0.26.84",
"qr-capture/0.26.85",
"qr-capture/0.26.86",
"qr-capture/0.26.87",
"qr-capture/0.26.88",
"qr-capture/0.26.89",
"qr-capture/0.26.90",
"qr-capture/0.26.91",
"qr-capture/0.26.92",
"qr-capture/0.26.93",
"qr-capture/0.26.94",
"qr-capture/0.26.95",
"qr-capture/0.26.96",
"qr-capture/0.26.97",
"qr-capture/0.26.98",
"qr-capture/0.27.0",
"qr-capture/0.27.1",
"qr-capture/0.27.2",
"qr-capture/0.27.3",
"qr-capture/0.27.4",
"qr-capture/0.27.5",
"qr-capture/0.27.6",
"qr-capture/0.27.7",
"qr-capture/0.27.8",
"qr-capture/0.27.9",
"qr-capture/0.27.10",
"qr-capture/0.27.11",
"qr-capture/0.27.12",
"qr-capture/0.27.13",
"qr-capture/0.27.14",
"qr-capture/0.27.15",
"qr-capture/0.27.16",
"qr-capture/0.27.17",
"qr-capture/0.27.18",
"qr-capture/0.27.19",
"qr-capture/0.27.20",
"qr-capture/0.27.21",
"qr-capture/0.27.22",
"qr-capture/0.27.23",
"qr-capture/0.27.24",
"qr-capture/0.27.25",
"qr-capture/0.27.26"
]
},
"captureSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"captureBytes": {
"type": "integer",
"minimum": 24,
"maximum": 67108864
},
"reportSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"reportBytes": {
"type": "integer",
"minimum": 0,
"maximum": 8388608
},
"chunks": {
"type": "integer",
"minimum": 0,
"maximum": 128
},
"findings": {
"type": "integer",
"minimum": 0,
"maximum": 5000
},
"coverage": {
"type": "object",
"properties": {
"schema": {
"type": "string",
"const": "sectigo.capture-flow-quality.v1"
},
"framesChecked": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"transportStreams": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"incompleteFrames": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"affectedStreams": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"unassignedIncompleteFrames": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"semanticErrors": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"semanticErrorStreams": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"unassignedSemanticErrors": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"unmappedObservations": {
"type": "integer",
"minimum": 0,
"maximum": 5000
},
"retainedObservations": {
"type": "integer",
"minimum": 0,
"maximum": 5000
},
"excludedObservations": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"deduplicatedObservations": {
"type": "integer",
"minimum": 0,
"maximum": 5000
},
"isolationComplete": {
"type": "boolean"
},
"analysisComplete": {
"type": "boolean"
}
},
"required": [
"schema",
"framesChecked",
"transportStreams",
"incompleteFrames",
"affectedStreams",
"unassignedIncompleteFrames",
"semanticErrors",
"semanticErrorStreams",
"unassignedSemanticErrors",
"unmappedObservations",
"retainedObservations",
"excludedObservations",
"deduplicatedObservations",
"isolationComplete",
"analysisComplete"
],
"additionalProperties": false
},
"jobId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"requestId",
"source",
"scanner",
"captureSha256",
"captureBytes",
"reportSha256",
"reportBytes",
"chunks",
"findings",
"coverage"
],
"additionalProperties": false
},
"CollectorCaptureChunk": {
"type": "object",
"properties": {
"index": {
"type": "integer",
"minimum": 0,
"maximum": 127
},
"data": {
"type": "string",
"minLength": 4,
"maxLength": 349528
}
},
"required": [
"index",
"data"
],
"additionalProperties": false
},
"CollectorCapture": {
"type": "object",
"properties": {
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"scanner": {
"type": "string",
"enum": [
"qr-capture/0.26.51",
"qr-capture/0.26.52",
"qr-capture/0.26.53",
"qr-capture/0.26.54",
"qr-capture/0.26.55",
"qr-capture/0.26.56",
"qr-capture/0.26.57",
"qr-capture/0.26.58",
"qr-capture/0.26.59",
"qr-capture/0.26.60",
"qr-capture/0.26.61",
"qr-capture/0.26.62",
"qr-capture/0.26.63",
"qr-capture/0.26.64",
"qr-capture/0.26.65",
"qr-capture/0.26.66",
"qr-capture/0.26.67",
"qr-capture/0.26.68",
"qr-capture/0.26.69",
"qr-capture/0.26.70",
"qr-capture/0.26.71",
"qr-capture/0.26.72",
"qr-capture/0.26.73",
"qr-capture/0.26.74",
"qr-capture/0.26.75",
"qr-capture/0.26.76",
"qr-capture/0.26.77",
"qr-capture/0.26.78",
"qr-capture/0.26.79",
"qr-capture/0.26.80",
"qr-capture/0.26.81",
"qr-capture/0.26.82",
"qr-capture/0.26.83",
"qr-capture/0.26.84",
"qr-capture/0.26.85",
"qr-capture/0.26.86",
"qr-capture/0.26.87",
"qr-capture/0.26.88",
"qr-capture/0.26.89",
"qr-capture/0.26.90",
"qr-capture/0.26.91",
"qr-capture/0.26.92",
"qr-capture/0.26.93",
"qr-capture/0.26.94",
"qr-capture/0.26.95",
"qr-capture/0.26.96",
"qr-capture/0.26.97",
"qr-capture/0.26.98",
"qr-capture/0.27.0",
"qr-capture/0.27.1",
"qr-capture/0.27.2",
"qr-capture/0.27.3",
"qr-capture/0.27.4",
"qr-capture/0.27.5",
"qr-capture/0.27.6",
"qr-capture/0.27.7",
"qr-capture/0.27.8",
"qr-capture/0.27.9",
"qr-capture/0.27.10",
"qr-capture/0.27.11",
"qr-capture/0.27.12",
"qr-capture/0.27.13",
"qr-capture/0.27.14",
"qr-capture/0.27.15",
"qr-capture/0.27.16",
"qr-capture/0.27.17",
"qr-capture/0.27.18",
"qr-capture/0.27.19",
"qr-capture/0.27.20",
"qr-capture/0.27.21",
"qr-capture/0.27.22",
"qr-capture/0.27.23",
"qr-capture/0.27.24",
"qr-capture/0.27.25",
"qr-capture/0.27.26"
]
},
"captureSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"captureBytes": {
"type": "integer",
"minimum": 24,
"maximum": 67108864
},
"reportSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"reportBytes": {
"type": "integer",
"minimum": 0,
"maximum": 8388608
},
"chunks": {
"type": "integer",
"minimum": 0,
"maximum": 128
},
"findings": {
"type": "integer",
"minimum": 0,
"maximum": 5000
},
"coverage": {
"type": "object",
"properties": {
"schema": {
"type": "string",
"const": "sectigo.capture-flow-quality.v1"
},
"framesChecked": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"transportStreams": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"incompleteFrames": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"affectedStreams": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"unassignedIncompleteFrames": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"semanticErrors": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"semanticErrorStreams": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"unassignedSemanticErrors": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"unmappedObservations": {
"type": "integer",
"minimum": 0,
"maximum": 5000
},
"retainedObservations": {
"type": "integer",
"minimum": 0,
"maximum": 5000
},
"excludedObservations": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"deduplicatedObservations": {
"type": "integer",
"minimum": 0,
"maximum": 5000
},
"isolationComplete": {
"type": "boolean"
},
"analysisComplete": {
"type": "boolean"
}
},
"required": [
"schema",
"framesChecked",
"transportStreams",
"incompleteFrames",
"affectedStreams",
"unassignedIncompleteFrames",
"semanticErrors",
"semanticErrorStreams",
"unassignedSemanticErrors",
"unmappedObservations",
"retainedObservations",
"excludedObservations",
"deduplicatedObservations",
"isolationComplete",
"analysisComplete"
],
"additionalProperties": false
},
"jobId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"agentId": {
"type": "string",
"format": "uuid"
},
"attempt": {
"type": "integer"
},
"uploadState": {
"enum": [
"receiving",
"awaiting-completion",
"interrupted",
"expired-pending-cleanup"
]
},
"status": {
"enum": [
"uploading",
"completed",
"cancelled",
"expired"
]
},
"receivedChunks": {
"type": "integer"
},
"receivedBytes": {
"type": "integer"
},
"receivedFindings": {
"type": "integer"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"expiresAt": {
"type": "integer"
},
"finishedAt": {
"type": "string",
"format": "date-time"
},
"analysisComplete": {
"type": "boolean"
},
"result": {
"type": "object",
"properties": {
"accepted": {
"type": "integer"
},
"analysisComplete": {
"type": "boolean"
},
"jobStatus": {
"enum": [
"completed",
"partial"
]
},
"at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"accepted",
"analysisComplete",
"at"
]
}
},
"required": [
"requestId",
"source",
"scanner",
"captureSha256",
"captureBytes",
"reportSha256",
"reportBytes",
"chunks",
"findings",
"coverage",
"id",
"tenantId",
"status",
"receivedChunks",
"receivedBytes",
"receivedFindings",
"createdAt",
"expiresAt"
]
},
"CaptureOperation": {
"type": "object",
"properties": {
"networkScopeId": {
"type": "string",
"format": "uuid"
},
"analysisComplete": {
"type": "boolean"
},
"coverage": {
"$ref": "#/components/schemas/CaptureCoverage"
},
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"canCancel": {
"type": "boolean"
},
"requestedBy": {
"type": "string"
},
"status": {
"enum": [
"awaiting-upload",
"processing",
"cleanup-pending",
"completed",
"failed",
"cancelled"
]
},
"rawDataState": {
"enum": [
"not-uploaded",
"processing",
"released"
]
},
"bytes": {
"type": "integer",
"minimum": 24,
"maximum": 67108864
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"deadline": {
"type": "integer"
},
"finishedAt": {
"type": "string",
"format": "date-time"
},
"reason": {
"type": "string"
},
"findings": {
"type": "integer"
},
"result": {
"type": "object",
"properties": {
"accepted": {
"type": "integer"
},
"at": {
"type": "string",
"format": "date-time"
}
},
"required": []
}
},
"required": [
"id",
"tenantId",
"status",
"rawDataState",
"bytes",
"sha256",
"createdAt",
"deadline"
]
},
"RemotePoolPolicy": {
"type": "object",
"properties": {
"sshHostKeyInventory": {
"type": "boolean"
},
"sshHostCertificateInventory": {
"type": "boolean"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"zoneId": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"
},
"allow": {
"maxItems": 256,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 70
}
},
"exclude": {
"maxItems": 256,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 70
}
},
"services": {
"minItems": 1,
"maxItems": 16,
"type": "array",
"items": {
"type": "object",
"properties": {
"protocol": {
"type": "string",
"enum": [
"tls",
"ssh",
"quic"
]
},
"port": {
"type": "integer",
"minimum": 1,
"maximum": 65535
}
},
"required": [
"protocol",
"port"
],
"additionalProperties": false
}
},
"limits": {
"type": "object",
"properties": {
"maximumTargets": {
"default": 256,
"type": "integer",
"minimum": 1,
"maximum": 4096
},
"concurrency": {
"default": 1,
"type": "integer",
"minimum": 1,
"maximum": 8
},
"minimumIntervalMs": {
"default": 1000,
"type": "integer",
"minimum": 100,
"maximum": 60000
}
},
"additionalProperties": false
},
"expiresAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"securityContact": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"changeReference": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"name",
"zoneId",
"allow",
"services",
"limits",
"expiresAt",
"securityContact",
"changeReference"
],
"additionalProperties": false
},
"RemoteScannerPool": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer",
"minimum": 0
},
"state": {
"enum": [
"draft",
"enabled",
"paused",
"archived"
]
},
"effectiveState": {
"type": "string"
},
"policy": {
"$ref": "#/components/schemas/RemotePoolPolicy"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
},
"updatedBy": {
"type": "string"
}
},
"required": [
"id",
"tenantId",
"revision",
"state",
"effectiveState",
"policy",
"createdAt",
"updatedAt"
]
},
"RemoteScannerMember": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"poolId": {
"type": "string",
"format": "uuid"
},
"agentId": {
"type": "string",
"format": "uuid"
},
"state": {
"enum": [
"approved",
"revoked"
]
},
"sourceAddresses": {
"type": "array",
"items": {
"type": "string"
}
},
"egressAddresses": {
"type": "array",
"items": {
"type": "string"
}
},
"revision": {
"type": "integer",
"minimum": 0
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
},
"name": {
"type": "string"
},
"readiness": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"id",
"tenantId",
"poolId",
"agentId",
"state",
"sourceAddresses",
"revision"
]
},
"RemoteScanRun": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"poolId": {
"type": "string",
"format": "uuid"
},
"poolRevision": {
"type": "integer",
"minimum": 0
},
"name": {
"type": "string"
},
"state": {
"type": "string"
},
"effectiveState": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 0
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
},
"notBefore": {
"type": "string",
"format": "date-time"
},
"notAfter": {
"type": "string",
"format": "date-time"
},
"serviceTargets": {
"type": "integer",
"minimum": 0
},
"excludedAddresses": {
"type": "integer",
"minimum": 0
},
"counts": {
"type": "object",
"additionalProperties": {
"type": "integer",
"minimum": 0
}
}
},
"required": [
"id",
"tenantId",
"poolId",
"poolRevision",
"name",
"state",
"effectiveState",
"revision",
"notBefore",
"notAfter",
"serviceTargets",
"counts"
]
},
"RemoteScanTarget": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"runId": {
"type": "string",
"format": "uuid"
},
"poolId": {
"type": "string",
"format": "uuid"
},
"address": {
"type": "string"
},
"family": {
"enum": [
4,
6
]
},
"protocol": {
"enum": [
"tls",
"ssh",
"quic"
]
},
"port": {
"type": "integer",
"minimum": 1,
"maximum": 65535
},
"state": {
"enum": [
"pending",
"running",
"completed",
"partial",
"failed",
"unknown",
"cancelled"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"jobId": {
"type": "string",
"format": "uuid"
},
"agentId": {
"type": "string",
"format": "uuid"
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"finishedAt": {
"type": "string",
"format": "date-time"
},
"observations": {
"type": "integer",
"minimum": 0
}
},
"required": [
"id",
"runId",
"poolId",
"address",
"family",
"protocol",
"port",
"state",
"createdAt"
]
},
"WorkspaceKeyActivationInput": {
"type": "object",
"properties": {
"operationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"keyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"operationId",
"keyId",
"expectedRevision"
],
"additionalProperties": false
},
"WorkspaceKeyActivationStatus": {
"type": "object",
"properties": {
"schema": {
"type": "string",
"const": "qscan.workspace-key-activation-status.v1"
},
"operationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"tenantId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"keyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"phase": {
"type": "string",
"enum": [
"preparing",
"channels",
"brokers",
"complete"
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"completedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
]
},
"complete": {
"type": "boolean"
}
},
"required": [
"schema",
"operationId",
"tenantId",
"keyId",
"revision",
"phase",
"createdAt",
"completedAt",
"complete"
],
"additionalProperties": false
},
"WorkspaceKeyConfigurationInput": {
"oneOf": [
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "aws"
},
"keyReference": {
"type": "string",
"maxLength": 2048,
"pattern": "^arn:aws(?:-us-gov|-cn)?:kms:[a-z0-9-]+:\\d{12}:key\\/(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|mrk-[a-f0-9]{32})$"
},
"roleArn": {
"type": "string",
"maxLength": 2048,
"pattern": "^arn:aws(?:-us-gov|-cn)?:iam::\\d{12}:role\\/[A-Za-z0-9_+=,.@/-]{1,512}$"
}
},
"required": [
"provider",
"keyReference",
"roleArn"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "gcp"
},
"keyReference": {
"type": "string",
"maxLength": 2048,
"pattern": "^projects\\/[A-Za-z0-9_-]+\\/locations\\/[a-z0-9-]+\\/keyRings\\/[A-Za-z0-9_-]+\\/cryptoKeys\\/[A-Za-z0-9_-]+$"
},
"audience": {
"type": "string",
"maxLength": 2048,
"pattern": "^\\/\\/iam\\.googleapis\\.com\\/projects\\/[1-9][0-9]*\\/locations\\/global\\/workloadIdentityPools\\/[a-z][a-z0-9-]{2,31}\\/providers\\/[a-z][a-z0-9-]{2,31}$"
}
},
"required": [
"provider",
"keyReference",
"audience"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "azure"
},
"keyReference": {
"type": "string",
"maxLength": 2048,
"pattern": "^https:\\/\\/[a-z0-9-]+\\.(?:vault|managedhsm)\\.azure\\.net\\/keys\\/[A-Za-z0-9-]+\\/[a-f0-9]{32}$"
},
"directoryId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"clientId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"provider",
"keyReference",
"directoryId",
"clientId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "vault"
},
"keyReference": {
"type": "string",
"minLength": 1,
"maxLength": 2048
},
"origin": {
"type": "string",
"maxLength": 2048,
"format": "uri"
},
"authMount": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$"
},
"role": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$"
},
"mount": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$"
},
"keyName": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$"
},
"namespace": {
"type": "string",
"maxLength": 512,
"pattern": "^[A-Za-z0-9_-]+(?:\\/[A-Za-z0-9_-]+)*$"
},
"derived": {
"type": "boolean"
}
},
"required": [
"provider",
"keyReference",
"origin",
"authMount",
"role",
"mount",
"keyName",
"derived"
],
"additionalProperties": false
}
]
},
"WorkspaceKeyConfiguration": {
"type": "object",
"properties": {
"schema": {
"type": "string",
"const": "qscan.workspace-key-configuration.v1"
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"tenantId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"createdBy": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"configuration": {
"oneOf": [
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "aws"
},
"keyReference": {
"type": "string",
"maxLength": 2048,
"pattern": "^arn:aws(?:-us-gov|-cn)?:kms:[a-z0-9-]+:\\d{12}:key\\/(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|mrk-[a-f0-9]{32})$"
},
"roleArn": {
"type": "string",
"maxLength": 2048,
"pattern": "^arn:aws(?:-us-gov|-cn)?:iam::\\d{12}:role\\/[A-Za-z0-9_+=,.@/-]{1,512}$"
}
},
"required": [
"provider",
"keyReference",
"roleArn"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "gcp"
},
"keyReference": {
"type": "string",
"maxLength": 2048,
"pattern": "^projects\\/[A-Za-z0-9_-]+\\/locations\\/[a-z0-9-]+\\/keyRings\\/[A-Za-z0-9_-]+\\/cryptoKeys\\/[A-Za-z0-9_-]+$"
},
"audience": {
"type": "string",
"maxLength": 2048,
"pattern": "^\\/\\/iam\\.googleapis\\.com\\/projects\\/[1-9][0-9]*\\/locations\\/global\\/workloadIdentityPools\\/[a-z][a-z0-9-]{2,31}\\/providers\\/[a-z][a-z0-9-]{2,31}$"
}
},
"required": [
"provider",
"keyReference",
"audience"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "azure"
},
"keyReference": {
"type": "string",
"maxLength": 2048,
"pattern": "^https:\\/\\/[a-z0-9-]+\\.(?:vault|managedhsm)\\.azure\\.net\\/keys\\/[A-Za-z0-9-]+\\/[a-f0-9]{32}$"
},
"directoryId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"clientId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"provider",
"keyReference",
"directoryId",
"clientId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "vault"
},
"keyReference": {
"type": "string",
"minLength": 1,
"maxLength": 2048
},
"origin": {
"type": "string",
"maxLength": 2048,
"format": "uri"
},
"authMount": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$"
},
"role": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$"
},
"mount": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$"
},
"keyName": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$"
},
"namespace": {
"type": "string",
"maxLength": 512,
"pattern": "^[A-Za-z0-9_-]+(?:\\/[A-Za-z0-9_-]+)*$"
},
"derived": {
"type": "boolean"
}
},
"required": [
"provider",
"keyReference",
"origin",
"authMount",
"role",
"mount",
"keyName",
"derived"
],
"additionalProperties": false
}
]
}
},
"required": [
"schema",
"id",
"tenantId",
"createdAt",
"createdBy",
"configuration"
],
"additionalProperties": false
},
"WorkspaceKeyStatus": {
"type": "object",
"properties": {
"schema": {
"const": "qscan.workspace-key-status.v1"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 9007199254740991
},
"active": {
"type": [
"object",
"null"
],
"properties": {
"keyId": {
"type": "string",
"format": "uuid"
},
"provider": {
"enum": [
"local",
"aws",
"gcp",
"azure",
"vault"
]
},
"wrappingKey": {
"type": "string"
}
},
"required": [
"keyId",
"provider",
"wrappingKey"
],
"additionalProperties": false
},
"pending": {
"type": [
"object",
"null"
],
"properties": {
"keyId": {
"type": "string",
"format": "uuid"
},
"provider": {
"enum": [
"local",
"aws",
"gcp",
"azure",
"vault"
]
},
"wrappingKey": {
"type": "string"
}
},
"required": [
"keyId",
"provider",
"wrappingKey"
],
"additionalProperties": false
},
"activation": {
"anyOf": [
{
"$ref": "#/components/schemas/WorkspaceKeyActivationStatus"
},
{
"type": "null"
}
]
}
},
"required": [
"schema",
"tenantId",
"revision",
"active",
"pending"
],
"additionalProperties": false
},
"WorkspaceEncryptionCoverage": {
"type": "object",
"required": [
"schema",
"tenantId",
"scope",
"cutoverAuthorized",
"items",
"channels"
],
"properties": {
"schema": {
"const": "qscan.workspace-record-encryption-coverage.v1"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"scope": {
"const": "tenant-records"
},
"cutoverAuthorized": {
"const": false
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"kind",
"records",
"state"
],
"additionalProperties": false,
"properties": {
"kind": {
"type": "string"
},
"records": {
"type": "integer",
"minimum": 0
},
"state": {
"enum": [
"not-started",
"key-mismatch",
"running",
"receipt-verified",
"invalid",
"unclassified",
"metadata-validated"
]
},
"keyId": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"processed": {
"type": "integer",
"minimum": 0
},
"policy": {
"const": "qscan.workspace-control-metadata.v1"
},
"encrypted": {
"const": false
},
"unclassifiedRecords": {
"type": "integer",
"minimum": 0
}
}
}
},
"channels": {
"type": "object",
"required": [
"schema",
"tenantId",
"scope",
"cutoverAuthorized",
"state",
"items"
],
"additionalProperties": false,
"properties": {
"schema": {
"const": "qscan.workspace-channel-encryption-coverage.v1"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"scope": {
"const": "registered-agent-channels"
},
"cutoverAuthorized": {
"const": false
},
"state": {
"enum": [
"not-started",
"receipts-verified",
"running",
"invalid"
]
},
"keyId": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"items": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"required": [
"slot",
"state"
],
"additionalProperties": false,
"properties": {
"slot": {
"type": "string",
"pattern": "^[a-f0-9]{2}$"
},
"state": {
"enum": [
"pending",
"running",
"verified"
]
},
"processed": {
"type": "integer",
"minimum": 0
}
}
}
}
}
}
},
"additionalProperties": false,
"description": "Read-only diagnostics of Tenant record families and registered channel receipts. These are not live broker/object-store probes or activation authority. Invalid/unclassified states are blockers; metadata-validated explicitly remains unencrypted. Null channel items means invalid evidence, not an empty fleet."
},
"Relay": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer",
"minimum": 0
},
"nodeGeneration": {
"type": "integer",
"minimum": 0
},
"state": {
"enum": [
"draft",
"enabled",
"paused",
"revoked",
"archived"
]
},
"policy": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"origin": {
"type": "string",
"maxLength": 300
},
"bootstrapOrigin": {
"type": "string",
"maxLength": 300
},
"nodeType": {
"type": "string",
"enum": [
"dedicated",
"agent"
]
},
"hostAgentId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"name",
"origin",
"nodeType"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"nodeType": {
"const": "agent"
}
}
},
"then": {
"required": [
"hostAgentId"
]
},
"else": {
"not": {
"required": [
"hostAgentId"
]
}
}
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
},
"updatedBy": {
"type": "string"
},
"credentialConfigured": {
"type": "boolean"
},
"updateCredentialConfigured": {
"type": "boolean"
},
"hostReady": {
"type": "boolean"
},
"lastSeen": {
"type": [
"string",
"null"
]
},
"health": {
"anyOf": [
{
"type": "object",
"properties": {
"instanceId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "string",
"pattern": "^\\d{1,6}\\.\\d{1,6}\\.\\d{1,6}$"
},
"platform": {
"type": "object",
"properties": {
"os": {
"type": "string",
"enum": [
"windows",
"linux",
"macos",
"unknown"
]
},
"architecture": {
"type": "string",
"enum": [
"x86_64",
"arm64",
"x86",
"unknown"
]
},
"distribution": {
"type": "string",
"enum": [
"compiled",
"python"
]
}
},
"required": [
"os",
"architecture",
"distribution"
],
"additionalProperties": false
},
"forwarding": {
"type": "string",
"enum": [
"enabled",
"paused",
"unavailable"
]
},
"listener": {
"type": "string",
"enum": [
"ready",
"unconfigured",
"error"
]
},
"activeTunnels": {
"type": "integer",
"minimum": 0,
"maximum": 256
},
"bootstrapListener": {
"type": "string",
"enum": [
"ready",
"unconfigured",
"error"
]
},
"bootstrapTunnels": {
"type": "integer",
"minimum": 0,
"maximum": 16
},
"admissionRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"lastErrorCode": {
"type": "string",
"enum": [
"none",
"listener-unavailable",
"admission-unavailable",
"credential-unavailable",
"origin-unavailable"
]
}
},
"required": [
"instanceId",
"version",
"listener",
"activeTunnels",
"admissionRevision",
"lastErrorCode"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"tenantId",
"revision",
"state",
"policy",
"credentialConfigured",
"hostReady",
"lastSeen",
"health"
]
},
"RelayMember": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"relayId": {
"type": "string",
"format": "uuid"
},
"agentId": {
"type": "string",
"format": "uuid"
},
"state": {
"enum": [
"approved",
"revoked"
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
},
"agentName": {
"type": "string"
},
"agentActive": {
"type": "boolean"
}
},
"required": [
"id",
"tenantId",
"relayId",
"agentId",
"state",
"updatedAt",
"updatedBy"
]
},
"RelayAdmissionKey": {
"type": "object",
"properties": {
"schema": {
"const": "sectigo.relay-admission-key.v1"
},
"algorithm": {
"const": "Ed25519"
},
"keyId": {
"type": "string"
},
"publicKey": {
"type": "string"
}
},
"required": [
"schema",
"algorithm",
"keyId",
"publicKey"
]
},
"RelayCA": {
"type": "object",
"properties": {
"schema": {
"const": "sectigo.relay-ca.v1"
},
"certificate": {
"type": "string"
},
"fingerprint": {
"type": "string"
},
"expiresAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"schema",
"certificate",
"fingerprint",
"expiresAt"
]
},
"RelaySetupConfiguration": {
"type": "object",
"properties": {
"version": {
"const": 1
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"relayId": {
"type": "string",
"format": "uuid"
},
"origin": {
"type": "string"
},
"listenAddress": {
"type": "string",
"maxLength": 45
},
"listenPort": {
"type": "integer",
"minimum": 1024,
"maximum": 65535
},
"limits": {
"type": "object",
"properties": {
"connections": {
"type": "integer",
"minimum": 1,
"maximum": 256
},
"per_agent": {
"type": "integer",
"minimum": 1,
"maximum": 8
},
"seconds": {
"type": "integer",
"minimum": 1,
"maximum": 300
},
"bytes": {
"type": "integer",
"minimum": 1,
"maximum": 1073741824
}
},
"required": [
"connections",
"per_agent",
"seconds",
"bytes"
],
"additionalProperties": false
},
"caCertificate": {
"type": "string"
},
"admissionTrust": {
"$ref": "#/components/schemas/RelayAdmissionKey"
},
"bootstrapOrigin": {
"type": "string"
},
"bootstrapListenPort": {
"type": "integer",
"minimum": 1024,
"maximum": 65535
}
},
"required": [
"version",
"tenantId",
"relayId",
"origin",
"listenAddress",
"listenPort",
"limits",
"caCertificate",
"admissionTrust"
],
"additionalProperties": false,
"dependentRequired": {
"bootstrapOrigin": [
"bootstrapListenPort"
],
"bootstrapListenPort": [
"bootstrapOrigin"
]
}
},
"AgentRelayEnrollment": {
"type": "object",
"properties": {
"version": {
"const": 1
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"agentId": {
"type": "string",
"format": "uuid"
},
"caCertificate": {
"type": "string"
},
"egress": {
"type": "object",
"properties": {
"version": {
"const": 1
},
"mode": {
"const": "relay"
},
"directFallback": {
"enum": [
"disabled",
"when-unavailable"
]
},
"relays": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"origin": {
"type": "string"
}
},
"required": [
"id",
"origin"
]
}
}
},
"required": [
"version",
"mode",
"directFallback",
"relays"
]
},
"bootstrap": {
"type": "object",
"properties": {
"version": {
"const": 1
},
"mode": {
"const": "relay"
},
"directFallback": {
"enum": [
"disabled",
"when-unavailable"
]
},
"relays": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"origin": {
"type": "string"
}
},
"required": [
"id",
"origin"
]
}
}
},
"required": [
"version",
"mode",
"directFallback",
"relays"
]
}
},
"required": [
"version",
"tenantId",
"agentId",
"caCertificate",
"egress",
"bootstrap"
]
},
"RelayBootstrapGrant": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"agentId": {
"type": "string",
"format": "uuid"
},
"relayIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"state": {
"enum": [
"active",
"revoked"
]
},
"revision": {
"type": "integer",
"minimum": 0
},
"uses": {
"type": "integer",
"minimum": 0
},
"maxUses": {
"type": "integer",
"minimum": 1,
"maximum": 8
},
"createdBy": {
"type": "string"
},
"createdAt": {
"type": "integer",
"minimum": 0
},
"expiresAt": {
"type": "integer",
"minimum": 0
},
"available": {
"type": "boolean"
}
},
"required": [
"id",
"tenantId",
"agentId",
"relayIds",
"state",
"revision",
"uses",
"maxUses",
"createdAt",
"expiresAt",
"available"
]
},
"RelayCertificate": {
"type": "object",
"properties": {
"requestId": {
"type": "string",
"format": "uuid"
},
"purpose": {
"enum": [
"relay-agent",
"relay-node"
]
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"agentId": {
"type": "string",
"format": "uuid"
},
"relayId": {
"type": "string",
"format": "uuid"
},
"origin": {
"type": "string"
},
"fingerprint": {
"type": "string"
},
"publicKeySha256": {
"type": "string"
},
"certificate": {
"type": "string"
},
"ca": {
"$ref": "#/components/schemas/RelayCA"
},
"issuedAt": {
"type": "string",
"format": "date-time"
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"renewAfter": {
"type": "string",
"format": "date-time"
},
"state": {
"const": "active"
},
"slot": {
"enum": [
"runtime",
"updater"
]
}
},
"required": [
"requestId",
"purpose",
"tenantId",
"fingerprint",
"publicKeySha256",
"certificate",
"ca",
"issuedAt",
"expiresAt",
"renewAfter",
"state"
]
},
"RelayCertificateState": {
"type": "object",
"properties": {
"revision": {
"type": "integer",
"minimum": 0
},
"certificate": {
"anyOf": [
{
"$ref": "#/components/schemas/RelayCertificate"
},
{
"type": "null"
}
]
}
},
"required": [
"revision",
"certificate"
]
},
"AgentGroupOperation": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"requestedBy": {
"type": "string"
},
"group": {
"type": "string"
},
"filters": {
"type": "object",
"properties": {
"q": {
"default": "",
"type": "string",
"maxLength": 100
},
"status": {
"default": "all",
"type": "string",
"enum": [
"all",
"active",
"revoked"
]
},
"archived": {
"default": false,
"type": "boolean"
},
"group": {
"default": "",
"type": "string",
"maxLength": 64,
"pattern": "^(?:[a-z0-9][a-z0-9._/-]*)?$"
},
"capability": {
"default": "",
"type": "string",
"enum": [
"",
"tls",
"quic",
"ssh",
"code",
"capture",
"aws-kms",
"gcp-kms",
"azure-keyvault",
"runtime",
"windows-certificates",
"database"
]
}
},
"additionalProperties": false
},
"status": {
"enum": [
"preparing",
"ready",
"applying",
"paused",
"completed",
"cancelled",
"expired"
]
},
"revision": {
"type": "integer"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"preparedAt": {
"type": "string",
"format": "date-time"
},
"finishedAt": {
"type": "string",
"format": "date-time"
},
"retentionAt": {
"type": "string",
"format": "date-time"
},
"approvedBy": {
"type": "string"
},
"approvedAt": {
"type": "string",
"format": "date-time"
},
"resumeStage": {
"type": [
"string",
"null"
],
"enum": [
"preparing",
"applying",
null
]
},
"reason": {
"type": [
"string",
"null"
]
},
"itemsExpired": {
"type": "boolean"
},
"selected": {
"type": "integer"
},
"processed": {
"type": "integer"
},
"applied": {
"type": "integer"
},
"unchanged": {
"type": "integer"
},
"conflicts": {
"type": "integer"
},
"missing": {
"type": "integer"
}
},
"required": [
"id",
"tenantId",
"requestedBy",
"group",
"filters",
"status",
"revision",
"createdAt",
"updatedAt",
"expiresAt",
"selected",
"processed",
"applied",
"unchanged",
"conflicts",
"missing"
]
},
"AgentGroupOperationItem": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"operationId": {
"type": "string",
"format": "uuid"
},
"agentId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"previousGroup": {
"type": "string"
},
"expectedRevision": {
"type": "integer"
},
"archived": {
"type": "boolean"
},
"revoked": {
"type": "boolean"
},
"status": {
"enum": [
"pending",
"applied",
"unchanged",
"conflict",
"missing"
]
},
"reason": {
"type": [
"string",
"null"
]
},
"processedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"operationId",
"agentId",
"name",
"previousGroup",
"expectedRevision",
"archived",
"revoked",
"status"
]
},
"AgentRoutingOperation": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"requestedBy": {
"type": "string"
},
"egress": {
"type": "object",
"properties": {
"version": {
"type": "number",
"const": 1
},
"mode": {
"type": "string",
"enum": [
"direct",
"relay"
]
},
"relays": {
"maxItems": 2,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"origin": {
"type": "string",
"maxLength": 300
}
},
"required": [
"id",
"origin"
],
"additionalProperties": false
}
},
"directFallback": {
"type": "string",
"enum": [
"disabled",
"when-unavailable"
]
}
},
"required": [
"version",
"mode",
"relays",
"directFallback"
],
"additionalProperties": false
},
"filters": {
"type": "object",
"properties": {
"q": {
"default": "",
"type": "string",
"maxLength": 100
},
"status": {
"default": "all",
"type": "string",
"enum": [
"all",
"active",
"revoked"
]
},
"archived": {
"default": false,
"type": "boolean"
},
"group": {
"default": "",
"type": "string",
"maxLength": 64,
"pattern": "^(?:[a-z0-9][a-z0-9._/-]*)?$"
},
"capability": {
"default": "",
"type": "string",
"enum": [
"",
"tls",
"quic",
"ssh",
"code",
"capture",
"aws-kms",
"gcp-kms",
"azure-keyvault",
"runtime",
"windows-certificates",
"database"
]
}
},
"additionalProperties": false
},
"status": {
"enum": [
"preparing",
"ready",
"applying",
"paused",
"completed",
"cancelled",
"expired"
]
},
"revision": {
"type": "integer"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"preparedAt": {
"type": "string",
"format": "date-time"
},
"finishedAt": {
"type": "string",
"format": "date-time"
},
"retentionAt": {
"type": "string",
"format": "date-time"
},
"approvedBy": {
"type": "string"
},
"approvedAt": {
"type": "string",
"format": "date-time"
},
"resumeStage": {
"type": [
"string",
"null"
],
"enum": [
"preparing",
"applying",
null
]
},
"reason": {
"type": [
"string",
"null"
]
},
"itemsExpired": {
"type": "boolean"
},
"selected": {
"type": "integer"
},
"processed": {
"type": "integer"
},
"applied": {
"type": "integer"
},
"unchanged": {
"type": "integer"
},
"conflicts": {
"type": "integer"
},
"missing": {
"type": "integer"
}
},
"required": [
"id",
"tenantId",
"requestedBy",
"egress",
"filters",
"status",
"revision",
"createdAt",
"updatedAt",
"expiresAt",
"selected",
"processed",
"applied",
"unchanged",
"conflicts",
"missing"
]
},
"AgentRoutingOperationItem": {
"type": "object",
"properties": {
"agentId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"previousEgress": {
"anyOf": [
{
"type": "object",
"properties": {
"version": {
"type": "number",
"const": 1
},
"mode": {
"type": "string",
"enum": [
"direct",
"relay"
]
},
"relays": {
"maxItems": 2,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"origin": {
"type": "string",
"maxLength": 300
}
},
"required": [
"id",
"origin"
],
"additionalProperties": false
}
},
"directFallback": {
"type": "string",
"enum": [
"disabled",
"when-unavailable"
]
}
},
"required": [
"version",
"mode",
"relays",
"directFallback"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"previewIssue": {
"type": [
"string",
"null"
]
},
"expectedRevision": {
"type": "integer"
},
"status": {
"enum": [
"pending",
"applied",
"unchanged",
"conflict",
"missing"
]
},
"reason": {
"type": [
"string",
"null"
]
},
"publishedRevision": {
"type": [
"integer",
"null"
]
},
"processedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"agentId",
"name",
"previousEgress",
"previewIssue",
"expectedRevision",
"status"
]
},
"AgentRollout": {
"type": "object",
"properties": {
"window": {
"type": "object",
"properties": {
"startsAt": {
"type": "string",
"format": "date-time"
},
"endsAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"startsAt",
"endsAt"
]
},
"approvedBy": {
"type": "string"
},
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"group": {
"type": "string"
},
"releaseId": {
"type": "string"
},
"version": {
"type": "string"
},
"target": {
"type": "string"
},
"batchSize": {
"type": "integer"
},
"batch": {
"type": "integer"
},
"status": {
"enum": [
"preparing",
"ready",
"running",
"review",
"paused",
"completed",
"cancelled",
"expired"
]
},
"revision": {
"type": "integer"
},
"selected": {
"type": "integer"
},
"excluded": {
"type": "integer"
},
"processed": {
"type": "integer"
},
"installed": {
"type": "integer"
},
"failed": {
"type": "integer"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"reason": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"group",
"releaseId",
"version",
"status",
"revision",
"selected",
"processed",
"installed",
"failed"
]
},
"SplunkConfiguration": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"index": {
"type": "string",
"maxLength": 80,
"pattern": "^[A-Za-z0-9_-]*$",
"default": "",
"description": "Empty uses the HEC token default index."
},
"sourcetype": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[A-Za-z0-9_.:-]+$",
"default": "sectigo:quantum:ready"
},
"acknowledgements": {
"type": "boolean",
"default": false,
"description": "Enable only when the HEC token and deployment support indexer acknowledgement. Collector acceptance alone will not complete delivery in this mode."
}
},
"required": [
"url",
"index",
"sourcetype",
"acknowledgements"
]
},
"Webhook": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"kind": {
"const": "splunk",
"description": "Absent for a signed webhook."
},
"splunk": {
"$ref": "#/components/schemas/SplunkConfiguration"
},
"events": {
"type": "array",
"items": {
"enum": [
"audit.recorded",
"security.recorded",
"job.completed",
"job.partial",
"job.failed",
"job.cancelled",
"plan.verified",
"evidence.archived",
"repository-scan.completed",
"repository-scan.failed",
"repository-scan.cancelled",
"cloud-operation.completed",
"cloud-operation.failed",
"cloud-operation.cancelled",
"capture.completed",
"capture.failed",
"capture.cancelled",
"network-scan.completed",
"network-scan.partial",
"network-scan.failed",
"network-scan.cancelled",
"scm-scan.completed",
"scm-scan.failed",
"scm-scan.cancelled"
]
}
},
"enabled": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"testedAt": {
"type": "string",
"format": "date-time"
},
"testedSecretVersion": {
"type": "integer"
},
"revokedAt": {
"type": "string",
"format": "date-time"
},
"rotatedAt": {
"type": "string",
"format": "date-time"
},
"secretVersion": {
"type": "integer"
},
"subscriptionRevision": {
"type": "integer",
"minimum": 1
},
"subscriptionsUpdatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"name",
"url",
"events",
"enabled",
"createdAt"
]
},
"WebhookDelivery": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"webhookId": {
"type": "string",
"format": "uuid"
},
"eventId": {
"type": "string",
"format": "uuid"
},
"eventType": {
"enum": [
"audit.recorded",
"security.recorded",
"job.completed",
"job.partial",
"job.failed",
"job.cancelled",
"plan.verified",
"evidence.archived",
"repository-scan.completed",
"repository-scan.failed",
"repository-scan.cancelled",
"cloud-operation.completed",
"cloud-operation.failed",
"cloud-operation.cancelled",
"capture.completed",
"capture.failed",
"capture.cancelled",
"network-scan.completed",
"network-scan.partial",
"network-scan.failed",
"network-scan.cancelled",
"scm-scan.completed",
"scm-scan.failed",
"scm-scan.cancelled",
"webhook.test"
]
},
"resourceId": {
"type": "string"
},
"state": {
"enum": [
"pending",
"sending",
"retrying",
"delivered",
"failed",
"cancelled"
]
},
"attempts": {
"type": "integer"
},
"cycleAttempts": {
"type": "integer"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"nextAttemptAt": {
"type": "string",
"format": "date-time"
},
"finishedAt": {
"type": "string",
"format": "date-time"
},
"lastError": {
"type": "string"
},
"statusCode": {
"type": "integer"
},
"providerCode": {
"type": "integer"
},
"deliveryAssurance": {
"enum": [
"collector-accepted",
"indexer-confirmed",
"unknown"
],
"description": "Splunk assurance. A delivered collector-accepted event is not proof of indexing. Unknown may mean the event already arrived; inspect eventId before an explicit retry."
},
"retryBlocked": {
"type": "boolean"
},
"credentialVersion": {
"type": "integer"
},
"splunkAck": {
"type": "object",
"properties": {
"ackId": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"channel": {
"type": "string",
"format": "uuid"
},
"credentialVersion": {
"type": "integer"
},
"expiresAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"ackId",
"channel",
"credentialVersion",
"expiresAt"
]
}
},
"required": [
"id",
"webhookId",
"eventId",
"eventType",
"resourceId",
"state",
"attempts",
"createdAt"
]
},
"WebhookAttempt": {
"type": "object",
"properties": {
"deliveryId": {
"type": "string",
"format": "uuid"
},
"attempt": {
"type": "integer"
},
"startedAt": {
"type": "string",
"format": "date-time"
},
"finishedAt": {
"type": "string",
"format": "date-time"
},
"state": {
"enum": [
"retrying",
"delivered",
"failed",
"cancelled"
]
},
"statusCode": {
"type": "integer"
},
"error": {
"type": "string"
},
"providerCode": {
"type": "integer"
},
"deliveryAssurance": {
"enum": [
"collector-accepted",
"indexer-confirmed",
"unknown"
],
"description": "Splunk assurance. A delivered collector-accepted event is not proof of indexing. Unknown may mean the event already arrived; inspect eventId before an explicit retry."
},
"phase": {
"enum": [
"event",
"index-acknowledgement"
]
}
},
"required": [
"deliveryId",
"attempt",
"startedAt",
"finishedAt",
"state"
]
},
"DeletedWebhook": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"kind": {
"enum": [
"webhook",
"splunk"
]
},
"name": {
"const": "Deleted connection"
},
"deletedAt": {
"type": "string",
"format": "date-time"
},
"revokedAt": {
"type": "string",
"format": "date-time"
},
"enabled": {
"const": false
},
"events": {
"type": "array",
"maxItems": 0
}
},
"required": [
"id",
"kind",
"name",
"deletedAt",
"revokedAt",
"enabled",
"events"
]
}
}