whitehat-security/schemas/projection-receipt.schema.json

22 lines
878 B
JSON
Raw Normal View History

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "whitehat-projection-receipt/v1",
"type": "object",
"additionalProperties": false,
"required": [
"engagement_id", "projected_at", "expires_at", "identities",
"mounted_secret", "mounted_keys", "target_ready", "secret_values_observed"
],
"properties": {
"engagement_id": {"type": "string", "minLength": 1},
"projected_at": {"type": "string", "format": "date-time"},
"expires_at": {"type": "string", "format": "date-time"},
"identities": {"type": "array", "minItems": 1, "items": {"type": "string"}},
"mounted_secret": {"type": "string", "pattern": "^whitehat/"},
"mounted_keys": {"type": "array", "items": {"type": "string"}},
"target_image_matches": {"type": "boolean"},
"target_ready": {"const": true},
"secret_values_observed": {"const": false}
}
}