whitehat-security/schemas/run-report.schema.json
tegwick 481ed6add5 Add WHITEHAT-WP-0002 receipt example, CLI coverage, and abort records
Meantime polish while live E2 waits on a new trial. Example receipts carry
handles only. admit-plane --receipt is tested. Aborts can be queued without
being target assurance.

Assistant: grok
Assistant-Session: 01a02670-3345-76f2-a014-70fde8e2a2bb
2026-08-22 21:40:33 +02:00

22 lines
911 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "whitehat-run/v1",
"type": "object",
"additionalProperties": false,
"required": [
"schema_version", "run_id", "evidence_class", "engagement_id", "authorization_id",
"target", "target_revision", "posture_claim", "attacker_model", "started_at", "ended_at",
"outcome", "attempted_operations", "cleanup", "credential_revocation", "probes",
"limitations", "assurance_statement"
],
"properties": {
"schema_version": {"const": "whitehat-run/v1"},
"evidence_class": {"enum": ["fixture", "target", "abort"]},
"outcome": {"enum": ["pass", "finding", "inconclusive", "aborted"]},
"attempted_operations": {"type": "integer", "minimum": 0},
"probes": {"type": "array"},
"limitations": {"type": "array", "items": {"type": "string"}},
"assurance_statement": {"type": "string", "minLength": 1}
}
}