@marinjursic/prc-linux-arm64 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +3 -0
- package/bin/LICENSE +21 -0
- package/bin/README.md +335 -0
- package/bin/THIRD_PARTY_NOTICES.md +74 -0
- package/bin/adapters/checkov-v3.3.8.yaml +50 -0
- package/bin/adapters/gitleaks-v8.30.0.yaml +63 -0
- package/bin/adapters/grype-v0.116.1.yaml +58 -0
- package/bin/adapters/syft-v1.51.0.yaml +54 -0
- package/bin/catalog/assertions/core-repository.yaml +625 -0
- package/bin/catalog/assertions/iac.yaml +24 -0
- package/bin/catalog/assertions/supply-chain.yaml +45 -0
- package/bin/catalog/control-contracts.json +1 -0
- package/bin/catalog/control-id-registry.json +110470 -0
- package/bin/catalog/objectives/core-repository.yaml +243 -0
- package/bin/catalog/objectives/iac.yaml +13 -0
- package/bin/catalog/objectives/supply-chain.yaml +13 -0
- package/bin/catalog/profiles/api.yaml +12 -0
- package/bin/catalog/profiles/core-repository.yaml +49 -0
- package/bin/catalog/profiles/iac.yaml +18 -0
- package/bin/catalog/profiles/kubernetes.yaml +15 -0
- package/bin/catalog/profiles/quick.yaml +27 -0
- package/bin/catalog/profiles/supply-chain.yaml +20 -0
- package/bin/docs/architecture/adapters.md +380 -0
- package/bin/docs/architecture/agent-providers.md +188 -0
- package/bin/docs/architecture/applicability.md +80 -0
- package/bin/docs/architecture/catalog-integrity.md +85 -0
- package/bin/docs/architecture/evidence-and-results.md +154 -0
- package/bin/docs/architecture/execution-plans.md +61 -0
- package/bin/docs/architecture/product-contract.md +76 -0
- package/bin/docs/architecture/publisher-trust.md +68 -0
- package/bin/docs/architecture/remediation-contract.md +113 -0
- package/bin/docs/architecture/trust-model.md +95 -0
- package/bin/docs/assets/hero.svg +37 -0
- package/bin/docs/assets/logo.svg +13 -0
- package/bin/docs/assets/production-readiness-scan-demo-poster.png +0 -0
- package/bin/docs/assets/production-readiness-scan-demo.gif +0 -0
- package/bin/docs/assets/production-readiness-scan-demo.mp4 +0 -0
- package/bin/docs/assets/social-card.png +0 -0
- package/bin/docs/assets/social-card.svg +40 -0
- package/bin/docs/checklists/00-readiness-principle.md +17 -0
- package/bin/docs/checklists/01-release-foundations.md +91 -0
- package/bin/docs/checklists/02-product-risk-architecture.md +136 -0
- package/bin/docs/checklists/03-source-build-supply-chain.md +97 -0
- package/bin/docs/checklists/04-environments-quality-experience.md +226 -0
- package/bin/docs/checklists/05-application-security.md +320 -0
- package/bin/docs/checklists/06-data-privacy-performance.md +166 -0
- package/bin/docs/checklists/07-reliability-operations.md +355 -0
- package/bin/docs/checklists/08-maintenance-vendors-compliance.md +112 -0
- package/bin/docs/checklists/09-conditional-modules.md +229 -0
- package/bin/docs/checklists/10-evidence-and-decision.md +111 -0
- package/bin/docs/engineering/00-overview.md +51 -0
- package/bin/docs/engineering/01-governance-and-foundations.md +919 -0
- package/bin/docs/engineering/02-product-and-requirements.md +186 -0
- package/bin/docs/engineering/03-user-experience-web-and-content.md +1352 -0
- package/bin/docs/engineering/04-architecture-and-design.md +387 -0
- package/bin/docs/engineering/05-code-quality-and-implementation.md +1103 -0
- package/bin/docs/engineering/06-application-services-and-apis.md +476 -0
- package/bin/docs/engineering/07-data-and-information-lifecycle.md +1009 -0
- package/bin/docs/engineering/08-security-and-cryptography.md +1215 -0
- package/bin/docs/engineering/09-privacy-and-data-protection.md +205 -0
- package/bin/docs/engineering/10-verification-and-testing.md +841 -0
- package/bin/docs/engineering/11-developer-experience-platform-and-delivery.md +1013 -0
- package/bin/docs/engineering/12-operations-sre-and-support.md +795 -0
- package/bin/docs/engineering/13-documentation-and-knowledge.md +349 -0
- package/bin/docs/engineering/14-trust-safety-and-ecosystems.md +330 -0
- package/bin/docs/engineering/15-ai-ml-and-ai-assisted-development.md +785 -0
- package/bin/docs/engineering/16-specialized-domains-and-release-assurance.md +775 -0
- package/bin/docs/engineering/source-manifest.md +479 -0
- package/bin/docs/guides/ai-assisted-review.md +61 -0
- package/bin/docs/guides/getting-started.md +78 -0
- package/bin/docs/index.md +66 -0
- package/bin/docs/prompts/evidence-challenge.md +26 -0
- package/bin/docs/prompts/full-readiness-review.md +34 -0
- package/bin/docs/prompts/release-diff-review.md +31 -0
- package/bin/docs/records/evidence-record.md +42 -0
- package/bin/docs/records/go-no-go-decision.md +63 -0
- package/bin/docs/records/release-assessment.md +124 -0
- package/bin/docs/records/risk-exception.md +64 -0
- package/bin/docs/references.md +52 -0
- package/bin/docs/scanner/ai-control-review.md +208 -0
- package/bin/docs/scanner/benchmarks.md +122 -0
- package/bin/docs/scanner/cli-contract.md +130 -0
- package/bin/docs/scanner/configuration.md +101 -0
- package/bin/docs/scanner/control-contracts.md +47 -0
- package/bin/docs/scanner/core-repository.md +62 -0
- package/bin/docs/scanner/diff-and-invalidation.md +79 -0
- package/bin/docs/scanner/doctor.md +71 -0
- package/bin/docs/scanner/getting-started.md +355 -0
- package/bin/docs/scanner/go-http-timeouts.md +96 -0
- package/bin/docs/scanner/infrastructure-policy.md +64 -0
- package/bin/docs/scanner/kubernetes-workloads.md +63 -0
- package/bin/docs/scanner/mcp-agent-integration.md +138 -0
- package/bin/docs/scanner/openapi-contracts.md +75 -0
- package/bin/docs/scanner/private-key-armor.md +44 -0
- package/bin/docs/scanner/releases.md +160 -0
- package/bin/docs/scanner/remediation.md +273 -0
- package/bin/docs/scanner/risk-exceptions.md +52 -0
- package/bin/docs/scanner/security-walkthrough.md +236 -0
- package/bin/docs/scanner/state-and-history.md +113 -0
- package/bin/docs/scanner/supply-chain.md +132 -0
- package/bin/docs/scanner/test-discovery.md +60 -0
- package/bin/docs/stylesheets/extra.css +183 -0
- package/bin/fixtures/benchmarks/core-native/suite-comprehensive.yaml +302 -0
- package/bin/fixtures/benchmarks/core-native/suite.yaml +59 -0
- package/bin/fixtures/benchmarks/core-native/targets/baseline/README.md +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/baseline/app.go +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/conflict-template/app.js +5 -0
- package/bin/fixtures/benchmarks/core-native/targets/container-risky-template/Dockerfile +2 -0
- package/bin/fixtures/benchmarks/core-native/targets/container-valid/Dockerfile +2 -0
- package/bin/fixtures/benchmarks/core-native/targets/dependency-lock-missing/package.json +5 -0
- package/bin/fixtures/benchmarks/core-native/targets/dependency-lock-present/package-lock.json +6 -0
- package/bin/fixtures/benchmarks/core-native/targets/dependency-lock-present/package.json +5 -0
- package/bin/fixtures/benchmarks/core-native/targets/empty-manifest-template/package.json +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/final-newline-template/app.py +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/.github/CODEOWNERS +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/.github/dependabot.yml +6 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/.github/workflows/validate.yml +15 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/CODE_OF_CONDUCT.md +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/CONTRIBUTING.md +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/LICENSE +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/README.md +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/SECURITY.md +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/package-lock.json +6 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/package.json +7 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/tests/example.test.js +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-server-timeout-risky-template/go.mod +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-server-timeout-risky-template/server.go +18 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-malformed-template/client.go +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-malformed-template/go.mod +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-risky-template/client.go +7 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-risky-template/go.mod +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-safe/client.go +22 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-safe/go.mod +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-safe/hazards_test.go +8 -0
- package/bin/fixtures/benchmarks/core-native/targets/kubernetes-risky-template/deployment.yaml +27 -0
- package/bin/fixtures/benchmarks/core-native/targets/kubernetes-valid/deployment.yaml +26 -0
- package/bin/fixtures/benchmarks/core-native/targets/openapi-operation-ids-risky-template/openapi.yaml +17 -0
- package/bin/fixtures/benchmarks/core-native/targets/openapi-operation-responses-risky-template/openapi.yaml +11 -0
- package/bin/fixtures/benchmarks/core-native/targets/openapi-root-malformed-template/openapi.yaml +5 -0
- package/bin/fixtures/benchmarks/core-native/targets/openapi-root-risky-template/openapi.yaml +5 -0
- package/bin/fixtures/benchmarks/core-native/targets/openapi-root-valid/openapi.yaml +17 -0
- package/bin/fixtures/benchmarks/core-native/targets/package-test-command/app.js +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/package-test-command/package.json +7 -0
- package/bin/fixtures/benchmarks/core-native/targets/package-test-placeholder/app.js +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/package-test-placeholder/package.json +7 -0
- package/bin/fixtures/benchmarks/core-native/targets/private-key-template/deploy.pem +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/readme-missing/fixture.txt +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/runtime-missing/package-lock.json +6 -0
- package/bin/fixtures/benchmarks/core-native/targets/runtime-missing/package.json +4 -0
- package/bin/fixtures/benchmarks/core-native/targets/terraform-locked/.terraform.lock.hcl +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/terraform-locked/main.tf +7 -0
- package/bin/fixtures/benchmarks/core-native/targets/terraform-unlocked-template/.terraform.lock.hcl +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/terraform-unlocked-template/main.tf +7 -0
- package/bin/fixtures/benchmarks/core-native/targets/test-declaration-valid/app.py +2 -0
- package/bin/fixtures/benchmarks/core-native/targets/test-declaration-valid/tests/test_app.py +5 -0
- package/bin/fixtures/benchmarks/core-native/targets/test-path-without-declaration/app.py +2 -0
- package/bin/fixtures/benchmarks/core-native/targets/test-path-without-declaration/tests/test_app.py +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/workflow-malformed/.github/workflows/validate.yml +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/workflow-no-jobs/.github/workflows/empty.yml +9 -0
- package/bin/fixtures/benchmarks/core-native/targets/workflow-risky/.github/workflows/risky.yml +10 -0
- package/bin/fixtures/benchmarks/core-native/targets/workflow-valid/.github/workflows/validate.yml +14 -0
- package/bin/packs/core-foundation.yaml +25 -0
- package/bin/packs/core-native.yaml +59 -0
- package/bin/prc +0 -0
- package/bin/schemas/adapter-execution-v0.1.schema.json +101 -0
- package/bin/schemas/adapter-execution-v0.2.schema.json +128 -0
- package/bin/schemas/adapter-execution.schema.json +145 -0
- package/bin/schemas/adapter-fixture-report.schema.json +59 -0
- package/bin/schemas/adapter-fixture-suite.schema.json +104 -0
- package/bin/schemas/adapter-manifest-v0.1.schema.json +55 -0
- package/bin/schemas/adapter-manifest-v0.2.schema.json +122 -0
- package/bin/schemas/adapter-manifest-v0.3.schema.json +172 -0
- package/bin/schemas/adapter-manifest.schema.json +299 -0
- package/bin/schemas/adapter-message.schema.json +136 -0
- package/bin/schemas/adapter-registry-report.schema.json +13 -0
- package/bin/schemas/adapter-registry.schema.json +47 -0
- package/bin/schemas/agent-execution-v0.1.schema.json +26 -0
- package/bin/schemas/agent-execution.schema.json +26 -0
- package/bin/schemas/agent-failure-v0.1.schema.json +102 -0
- package/bin/schemas/agent-failure.schema.json +102 -0
- package/bin/schemas/agent-output-v0.1.schema.json +36 -0
- package/bin/schemas/agent-output.schema.json +36 -0
- package/bin/schemas/agent-task-v0.1.schema.json +44 -0
- package/bin/schemas/agent-task.schema.json +46 -0
- package/bin/schemas/assertion-catalog.schema.json +69 -0
- package/bin/schemas/benchmark-report.schema.json +94 -0
- package/bin/schemas/benchmark-suite.schema.json +116 -0
- package/bin/schemas/catalog-bundle.schema.json +27 -0
- package/bin/schemas/catalog-manifest.schema.json +23 -0
- package/bin/schemas/checkov-iac-policy-report.schema.json +82 -0
- package/bin/schemas/control-contracts.schema.json +44 -0
- package/bin/schemas/control-review-output.schema.json +51 -0
- package/bin/schemas/doctor.schema.json +53 -0
- package/bin/schemas/evidence-v0.1.schema.json +21 -0
- package/bin/schemas/evidence.schema.json +21 -0
- package/bin/schemas/finding-v0.1.schema.json +70 -0
- package/bin/schemas/finding.schema.json +70 -0
- package/bin/schemas/fix-contract-v0.1.schema.json +35 -0
- package/bin/schemas/fix-contract-v0.2.schema.json +46 -0
- package/bin/schemas/fix-contract-v0.3.schema.json +49 -0
- package/bin/schemas/fix-contract.schema.json +49 -0
- package/bin/schemas/grype-vulnerability-report.schema.json +88 -0
- package/bin/schemas/history.schema.json +37 -0
- package/bin/schemas/invalidation.schema.json +86 -0
- package/bin/schemas/inventory-v0.1.schema.json +42 -0
- package/bin/schemas/inventory-v0.2.schema.json +95 -0
- package/bin/schemas/inventory-v0.3.schema.json +139 -0
- package/bin/schemas/inventory.schema.json +139 -0
- package/bin/schemas/objective-catalog.schema.json +62 -0
- package/bin/schemas/pack-report.schema.json +16 -0
- package/bin/schemas/pack.schema.json +53 -0
- package/bin/schemas/plan-v0.1.schema.json +31 -0
- package/bin/schemas/plan-v0.2.schema.json +32 -0
- package/bin/schemas/plan-v0.3.schema.json +44 -0
- package/bin/schemas/plan-v0.4.schema.json +48 -0
- package/bin/schemas/plan-v0.5.schema.json +49 -0
- package/bin/schemas/plan-v0.6.schema.json +137 -0
- package/bin/schemas/plan.schema.json +137 -0
- package/bin/schemas/profile.schema.json +42 -0
- package/bin/schemas/project-config.schema.json +128 -0
- package/bin/schemas/release-manifest-v0.1.schema.json +86 -0
- package/bin/schemas/release-manifest-v0.2.schema.json +146 -0
- package/bin/schemas/release-manifest-v0.3.schema.json +146 -0
- package/bin/schemas/release-manifest.schema.json +6 -0
- package/bin/schemas/remediation-candidate-v0.1.schema.json +51 -0
- package/bin/schemas/remediation-candidate-v0.2.schema.json +51 -0
- package/bin/schemas/remediation-candidate-v0.3.schema.json +51 -0
- package/bin/schemas/remediation-candidate-v0.4.schema.json +69 -0
- package/bin/schemas/remediation-candidate.schema.json +69 -0
- package/bin/schemas/remediation-run-v0.1.schema.json +69 -0
- package/bin/schemas/remediation-run-v0.2.schema.json +78 -0
- package/bin/schemas/remediation-run-v0.3.schema.json +86 -0
- package/bin/schemas/remediation-run-v0.4.schema.json +86 -0
- package/bin/schemas/remediation-run-v0.5.schema.json +131 -0
- package/bin/schemas/remediation-run-v0.6.schema.json +143 -0
- package/bin/schemas/remediation-run-v0.7.schema.json +160 -0
- package/bin/schemas/remediation-run-v0.8.schema.json +161 -0
- package/bin/schemas/remediation-run.schema.json +161 -0
- package/bin/schemas/risk-exception-verification.schema.json +17 -0
- package/bin/schemas/risk-exception.schema.json +137 -0
- package/bin/schemas/run-result-v0.1.schema.json +54 -0
- package/bin/schemas/run-result-v0.10.schema.json +64 -0
- package/bin/schemas/run-result-v0.11.schema.json +146 -0
- package/bin/schemas/run-result-v0.2.schema.json +60 -0
- package/bin/schemas/run-result-v0.3.schema.json +52 -0
- package/bin/schemas/run-result-v0.4.schema.json +52 -0
- package/bin/schemas/run-result-v0.5.schema.json +60 -0
- package/bin/schemas/run-result-v0.6.schema.json +61 -0
- package/bin/schemas/run-result-v0.7.schema.json +61 -0
- package/bin/schemas/run-result-v0.8.schema.json +61 -0
- package/bin/schemas/run-result-v0.9.schema.json +77 -0
- package/bin/schemas/run-result.schema.json +165 -0
- package/bin/schemas/signature-verification.schema.json +22 -0
- package/bin/schemas/signature.schema.json +18 -0
- package/bin/schemas/state-check-v0.1.schema.json +27 -0
- package/bin/schemas/state-check.schema.json +28 -0
- package/bin/schemas/trust-store.schema.json +50 -0
- package/bin/schemas/verification-execution-v0.1.schema.json +105 -0
- package/bin/schemas/verification-execution.schema.json +105 -0
- package/bin/schemas/version-v0.1.schema.json +27 -0
- package/bin/schemas/version.schema.json +27 -0
- package/manifest.json +9 -0
- package/package.json +28 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/run-result-v0.5.schema.json",
|
|
4
|
+
"title": "Production Readiness Run Result v0.5",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "run_id", "started_at", "completed_at", "plan", "inventory", "adapter_executions", "results", "terminal_state"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.run/v0.5"},
|
|
10
|
+
"run_id": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
11
|
+
"started_at": {"type": "string", "format": "date-time"},
|
|
12
|
+
"completed_at": {"type": "string", "format": "date-time"},
|
|
13
|
+
"plan": {"$ref": "plan-v0.5.schema.json"},
|
|
14
|
+
"inventory": {"$ref": "inventory-v0.3.schema.json"},
|
|
15
|
+
"adapter_executions": {"type": "array", "items": {"$ref": "adapter-execution-v0.1.schema.json"}},
|
|
16
|
+
"results": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {"$ref": "#/$defs/assertion_result"}
|
|
19
|
+
},
|
|
20
|
+
"terminal_state": {"$ref": "#/$defs/terminal_state"}
|
|
21
|
+
},
|
|
22
|
+
"$defs": {
|
|
23
|
+
"assertion_result": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"additionalProperties": false,
|
|
26
|
+
"required": ["assertion_id", "control_ids", "applicability", "execution", "assessment", "severity", "gate", "summary", "evidence_required", "evidence_observed", "remediation_class"],
|
|
27
|
+
"properties": {
|
|
28
|
+
"assertion_id": {"type": "string"},
|
|
29
|
+
"control_ids": {"type": "array", "items": {"type": "string"}},
|
|
30
|
+
"applicability": {"enum": ["applicable", "not_applicable", "undetermined"]},
|
|
31
|
+
"execution": {"enum": ["not_run", "completed", "blocked", "error"]},
|
|
32
|
+
"assessment": {"enum": ["pass", "fail", "unknown", "manual_review", "not_applicable", "stale", "conflicting"]},
|
|
33
|
+
"severity": {"enum": ["info", "low", "medium", "high", "critical"]},
|
|
34
|
+
"gate": {"enum": ["advisory", "required", "no-go"]},
|
|
35
|
+
"summary": {"type": "string"},
|
|
36
|
+
"evidence_required": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": {"$ref": "#/$defs/evidence_requirement"}
|
|
39
|
+
},
|
|
40
|
+
"evidence_observed": {"type": "array", "items": {"$ref": "evidence-v0.1.schema.json"}},
|
|
41
|
+
"remediation_class": {"enum": ["R0", "R1", "R2", "R3", "R4", "R5", "R6"]}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"terminal_state": {
|
|
45
|
+
"enum": ["profile_satisfied", "machine_work_complete_manual_evidence_remaining", "assessment_incomplete", "no_go", "policy_stopped", "budget_exhausted", "environment_blocked"]
|
|
46
|
+
},
|
|
47
|
+
"evidence_requirement": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"additionalProperties": false,
|
|
50
|
+
"required": ["kind", "minimum_authority", "description"],
|
|
51
|
+
"properties": {
|
|
52
|
+
"kind": {"type": "string", "pattern": "^[a-z0-9-]+$"},
|
|
53
|
+
"minimum_authority": {
|
|
54
|
+
"enum": ["declared", "repository", "executed", "artifact", "environment", "human"]
|
|
55
|
+
},
|
|
56
|
+
"description": {"type": "string", "minLength": 1}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/run-result-v0.6.schema.json",
|
|
4
|
+
"title": "Production Readiness Run Result v0.6",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "run_id", "started_at", "completed_at", "plan", "inventory", "adapter_executions", "results", "findings", "terminal_state"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.run/v0.6"},
|
|
10
|
+
"run_id": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
11
|
+
"started_at": {"type": "string", "format": "date-time"},
|
|
12
|
+
"completed_at": {"type": "string", "format": "date-time"},
|
|
13
|
+
"plan": {"$ref": "plan-v0.5.schema.json"},
|
|
14
|
+
"inventory": {"$ref": "inventory-v0.3.schema.json"},
|
|
15
|
+
"adapter_executions": {"type": "array", "items": {"$ref": "adapter-execution-v0.1.schema.json"}},
|
|
16
|
+
"results": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {"$ref": "#/$defs/assertion_result"}
|
|
19
|
+
},
|
|
20
|
+
"findings": {"type": "array", "items": {"$ref": "finding-v0.1.schema.json"}},
|
|
21
|
+
"terminal_state": {"$ref": "#/$defs/terminal_state"}
|
|
22
|
+
},
|
|
23
|
+
"$defs": {
|
|
24
|
+
"assertion_result": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"required": ["assertion_id", "control_ids", "applicability", "execution", "assessment", "severity", "gate", "summary", "evidence_required", "evidence_observed", "remediation_class"],
|
|
28
|
+
"properties": {
|
|
29
|
+
"assertion_id": {"type": "string"},
|
|
30
|
+
"control_ids": {"type": "array", "items": {"type": "string"}},
|
|
31
|
+
"applicability": {"enum": ["applicable", "not_applicable", "undetermined"]},
|
|
32
|
+
"execution": {"enum": ["not_run", "completed", "blocked", "error"]},
|
|
33
|
+
"assessment": {"enum": ["pass", "fail", "unknown", "manual_review", "not_applicable", "stale", "conflicting"]},
|
|
34
|
+
"severity": {"enum": ["info", "low", "medium", "high", "critical"]},
|
|
35
|
+
"gate": {"enum": ["advisory", "required", "no-go"]},
|
|
36
|
+
"summary": {"type": "string"},
|
|
37
|
+
"evidence_required": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"items": {"$ref": "#/$defs/evidence_requirement"}
|
|
40
|
+
},
|
|
41
|
+
"evidence_observed": {"type": "array", "items": {"$ref": "evidence-v0.1.schema.json"}},
|
|
42
|
+
"remediation_class": {"enum": ["R0", "R1", "R2", "R3", "R4", "R5", "R6"]}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"terminal_state": {
|
|
46
|
+
"enum": ["profile_satisfied", "machine_work_complete_manual_evidence_remaining", "assessment_incomplete", "no_go", "policy_stopped", "budget_exhausted", "environment_blocked"]
|
|
47
|
+
},
|
|
48
|
+
"evidence_requirement": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"additionalProperties": false,
|
|
51
|
+
"required": ["kind", "minimum_authority", "description"],
|
|
52
|
+
"properties": {
|
|
53
|
+
"kind": {"type": "string", "pattern": "^[a-z0-9-]+$"},
|
|
54
|
+
"minimum_authority": {
|
|
55
|
+
"enum": ["declared", "repository", "executed", "artifact", "environment", "human"]
|
|
56
|
+
},
|
|
57
|
+
"description": {"type": "string", "minLength": 1}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/run-result-v0.7.schema.json",
|
|
4
|
+
"title": "Production Readiness Run Result v0.7 (legacy)",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "run_id", "started_at", "completed_at", "plan", "inventory", "adapter_executions", "results", "findings", "terminal_state"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.run/v0.7"},
|
|
10
|
+
"run_id": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
11
|
+
"started_at": {"type": "string", "format": "date-time"},
|
|
12
|
+
"completed_at": {"type": "string", "format": "date-time"},
|
|
13
|
+
"plan": {"$ref": "plan-v0.6.schema.json"},
|
|
14
|
+
"inventory": {"$ref": "inventory-v0.3.schema.json"},
|
|
15
|
+
"adapter_executions": {"type": "array", "items": {"$ref": "adapter-execution-v0.1.schema.json"}},
|
|
16
|
+
"results": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {"$ref": "#/$defs/assertion_result"}
|
|
19
|
+
},
|
|
20
|
+
"findings": {"type": "array", "items": {"$ref": "finding-v0.1.schema.json"}},
|
|
21
|
+
"terminal_state": {"$ref": "#/$defs/terminal_state"}
|
|
22
|
+
},
|
|
23
|
+
"$defs": {
|
|
24
|
+
"assertion_result": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"required": ["assertion_id", "control_ids", "applicability", "execution", "assessment", "severity", "gate", "summary", "evidence_required", "evidence_observed", "remediation_class"],
|
|
28
|
+
"properties": {
|
|
29
|
+
"assertion_id": {"type": "string"},
|
|
30
|
+
"control_ids": {"type": "array", "items": {"type": "string"}},
|
|
31
|
+
"applicability": {"enum": ["applicable", "not_applicable", "undetermined"]},
|
|
32
|
+
"execution": {"enum": ["not_run", "completed", "blocked", "error"]},
|
|
33
|
+
"assessment": {"enum": ["pass", "fail", "unknown", "manual_review", "not_applicable", "stale", "conflicting"]},
|
|
34
|
+
"severity": {"enum": ["info", "low", "medium", "high", "critical"]},
|
|
35
|
+
"gate": {"enum": ["advisory", "required", "no-go"]},
|
|
36
|
+
"summary": {"type": "string"},
|
|
37
|
+
"evidence_required": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"items": {"$ref": "#/$defs/evidence_requirement"}
|
|
40
|
+
},
|
|
41
|
+
"evidence_observed": {"type": "array", "items": {"$ref": "evidence-v0.1.schema.json"}},
|
|
42
|
+
"remediation_class": {"enum": ["R0", "R1", "R2", "R3", "R4", "R5", "R6"]}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"terminal_state": {
|
|
46
|
+
"enum": ["profile_satisfied", "machine_work_complete_manual_evidence_remaining", "assessment_incomplete", "no_go", "policy_stopped", "budget_exhausted", "environment_blocked"]
|
|
47
|
+
},
|
|
48
|
+
"evidence_requirement": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"additionalProperties": false,
|
|
51
|
+
"required": ["kind", "minimum_authority", "description"],
|
|
52
|
+
"properties": {
|
|
53
|
+
"kind": {"type": "string", "pattern": "^[a-z0-9-]+$"},
|
|
54
|
+
"minimum_authority": {
|
|
55
|
+
"enum": ["declared", "repository", "executed", "artifact", "environment", "human"]
|
|
56
|
+
},
|
|
57
|
+
"description": {"type": "string", "minLength": 1}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/run-result-v0.8.schema.json",
|
|
4
|
+
"title": "Production Readiness Run Result v0.8 (legacy)",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "run_id", "started_at", "completed_at", "plan", "inventory", "adapter_executions", "results", "findings", "terminal_state"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.run/v0.8"},
|
|
10
|
+
"run_id": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
11
|
+
"started_at": {"type": "string", "format": "date-time"},
|
|
12
|
+
"completed_at": {"type": "string", "format": "date-time"},
|
|
13
|
+
"plan": {"$ref": "plan-v0.6.schema.json"},
|
|
14
|
+
"inventory": {"$ref": "inventory-v0.3.schema.json"},
|
|
15
|
+
"adapter_executions": {"type": "array", "items": {"$ref": "adapter-execution-v0.2.schema.json"}},
|
|
16
|
+
"results": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {"$ref": "#/$defs/assertion_result"}
|
|
19
|
+
},
|
|
20
|
+
"findings": {"type": "array", "items": {"$ref": "finding-v0.1.schema.json"}},
|
|
21
|
+
"terminal_state": {"$ref": "#/$defs/terminal_state"}
|
|
22
|
+
},
|
|
23
|
+
"$defs": {
|
|
24
|
+
"assertion_result": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"required": ["assertion_id", "control_ids", "applicability", "execution", "assessment", "severity", "gate", "summary", "evidence_required", "evidence_observed", "remediation_class"],
|
|
28
|
+
"properties": {
|
|
29
|
+
"assertion_id": {"type": "string"},
|
|
30
|
+
"control_ids": {"type": "array", "items": {"type": "string"}},
|
|
31
|
+
"applicability": {"enum": ["applicable", "not_applicable", "undetermined"]},
|
|
32
|
+
"execution": {"enum": ["not_run", "completed", "blocked", "error"]},
|
|
33
|
+
"assessment": {"enum": ["pass", "fail", "unknown", "manual_review", "not_applicable", "stale", "conflicting"]},
|
|
34
|
+
"severity": {"enum": ["info", "low", "medium", "high", "critical"]},
|
|
35
|
+
"gate": {"enum": ["advisory", "required", "no-go"]},
|
|
36
|
+
"summary": {"type": "string"},
|
|
37
|
+
"evidence_required": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"items": {"$ref": "#/$defs/evidence_requirement"}
|
|
40
|
+
},
|
|
41
|
+
"evidence_observed": {"type": "array", "items": {"$ref": "evidence-v0.1.schema.json"}},
|
|
42
|
+
"remediation_class": {"enum": ["R0", "R1", "R2", "R3", "R4", "R5", "R6"]}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"terminal_state": {
|
|
46
|
+
"enum": ["profile_satisfied", "machine_work_complete_manual_evidence_remaining", "assessment_incomplete", "no_go", "policy_stopped", "budget_exhausted", "environment_blocked"]
|
|
47
|
+
},
|
|
48
|
+
"evidence_requirement": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"additionalProperties": false,
|
|
51
|
+
"required": ["kind", "minimum_authority", "description"],
|
|
52
|
+
"properties": {
|
|
53
|
+
"kind": {"type": "string", "pattern": "^[a-z0-9-]+$"},
|
|
54
|
+
"minimum_authority": {
|
|
55
|
+
"enum": ["declared", "repository", "executed", "artifact", "environment", "human"]
|
|
56
|
+
},
|
|
57
|
+
"description": {"type": "string", "minLength": 1}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/run-result-v0.9.schema.json",
|
|
4
|
+
"title": "Production Readiness Run Result v0.9 (legacy)",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "run_id", "started_at", "completed_at", "plan", "inventory", "adapter_executions", "results", "findings", "terminal_state"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.run/v0.9"},
|
|
10
|
+
"run_id": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
11
|
+
"started_at": {"type": "string", "format": "date-time"},
|
|
12
|
+
"completed_at": {"type": "string", "format": "date-time"},
|
|
13
|
+
"plan": {"$ref": "plan-v0.6.schema.json"},
|
|
14
|
+
"inventory": {"$ref": "inventory-v0.3.schema.json"},
|
|
15
|
+
"adapter_executions": {"type": "array", "items": {"$ref": "adapter-execution-v0.2.schema.json"}},
|
|
16
|
+
"results": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {"$ref": "#/$defs/assertion_result"}
|
|
19
|
+
},
|
|
20
|
+
"findings": {"type": "array", "items": {"$ref": "finding-v0.1.schema.json"}},
|
|
21
|
+
"terminal_state": {"$ref": "#/$defs/terminal_state"}
|
|
22
|
+
},
|
|
23
|
+
"$defs": {
|
|
24
|
+
"assertion_result": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"required": ["assertion_id", "control_ids", "applicability", "execution", "assessment", "severity", "gate", "summary", "evidence_required", "evidence_observed", "remediation_class"],
|
|
28
|
+
"properties": {
|
|
29
|
+
"assertion_id": {"type": "string"},
|
|
30
|
+
"control_ids": {"type": "array", "items": {"type": "string"}},
|
|
31
|
+
"applicability": {"enum": ["applicable", "not_applicable", "undetermined"]},
|
|
32
|
+
"execution": {"enum": ["not_run", "completed", "blocked", "error"]},
|
|
33
|
+
"assessment": {"enum": ["pass", "fail", "unknown", "manual_review", "not_applicable", "stale", "conflicting"]},
|
|
34
|
+
"severity": {"enum": ["info", "low", "medium", "high", "critical"]},
|
|
35
|
+
"gate": {"enum": ["advisory", "required", "no-go"]},
|
|
36
|
+
"summary": {"type": "string"},
|
|
37
|
+
"locations": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"maxItems": 4096,
|
|
40
|
+
"uniqueItems": true,
|
|
41
|
+
"items": {"$ref": "#/$defs/location"}
|
|
42
|
+
},
|
|
43
|
+
"evidence_required": {
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {"$ref": "#/$defs/evidence_requirement"}
|
|
46
|
+
},
|
|
47
|
+
"evidence_observed": {"type": "array", "items": {"$ref": "evidence-v0.1.schema.json"}},
|
|
48
|
+
"remediation_class": {"enum": ["R0", "R1", "R2", "R3", "R4", "R5", "R6"]}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"terminal_state": {
|
|
52
|
+
"enum": ["profile_satisfied", "machine_work_complete_manual_evidence_remaining", "assessment_incomplete", "no_go", "policy_stopped", "budget_exhausted", "environment_blocked"]
|
|
53
|
+
},
|
|
54
|
+
"location": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"additionalProperties": false,
|
|
57
|
+
"required": ["path"],
|
|
58
|
+
"properties": {
|
|
59
|
+
"path": {"type": "string", "minLength": 1},
|
|
60
|
+
"line": {"type": "integer", "minimum": 0},
|
|
61
|
+
"column": {"type": "integer", "minimum": 0}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"evidence_requirement": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"additionalProperties": false,
|
|
67
|
+
"required": ["kind", "minimum_authority", "description"],
|
|
68
|
+
"properties": {
|
|
69
|
+
"kind": {"type": "string", "pattern": "^[a-z0-9-]+$"},
|
|
70
|
+
"minimum_authority": {
|
|
71
|
+
"enum": ["declared", "repository", "executed", "artifact", "environment", "human"]
|
|
72
|
+
},
|
|
73
|
+
"description": {"type": "string", "minLength": 1}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/run-result.schema.json",
|
|
4
|
+
"title": "Production Readiness Run Result v0.12",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "run_id", "started_at", "completed_at", "plan", "inventory", "adapter_executions", "results", "findings", "terminal_state"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.run/v0.12"},
|
|
10
|
+
"run_id": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
11
|
+
"started_at": {"type": "string", "format": "date-time"},
|
|
12
|
+
"completed_at": {"type": "string", "format": "date-time"},
|
|
13
|
+
"plan": {"$ref": "plan.schema.json"},
|
|
14
|
+
"inventory": {"$ref": "inventory.schema.json"},
|
|
15
|
+
"adapter_executions": {"type": "array", "items": {"$ref": "adapter-execution.schema.json"}},
|
|
16
|
+
"results": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {"$ref": "#/$defs/assertion_result"}
|
|
19
|
+
},
|
|
20
|
+
"findings": {"type": "array", "items": {"$ref": "finding.schema.json"}},
|
|
21
|
+
"control_catalog": {"$ref": "#/$defs/control_catalog"},
|
|
22
|
+
"control_results": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"maxItems": 100000,
|
|
25
|
+
"items": {"$ref": "#/$defs/control_result"}
|
|
26
|
+
},
|
|
27
|
+
"terminal_state": {"$ref": "#/$defs/terminal_state"}
|
|
28
|
+
},
|
|
29
|
+
"$defs": {
|
|
30
|
+
"control_catalog": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"additionalProperties": false,
|
|
33
|
+
"required": ["schema_version", "registry_version", "registry_sha256", "source_sha256", "contract_schema_version", "contract_sha256", "control_count", "active_control_count", "contract_count", "generated_contract_count", "expert_reviewed_contract_count", "profile_terminal_state"],
|
|
34
|
+
"properties": {
|
|
35
|
+
"schema_version": {"const": "prc.control-catalog-summary/v0.1"},
|
|
36
|
+
"registry_version": {"type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"},
|
|
37
|
+
"registry_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
38
|
+
"source_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
39
|
+
"contract_schema_version": {"const": "prc.control-contracts/v0.1"},
|
|
40
|
+
"contract_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
41
|
+
"control_count": {"type": "integer", "minimum": 1, "maximum": 100000},
|
|
42
|
+
"active_control_count": {"type": "integer", "minimum": 0, "maximum": 100000},
|
|
43
|
+
"contract_count": {"type": "integer", "minimum": 1, "maximum": 100000},
|
|
44
|
+
"generated_contract_count": {"type": "integer", "minimum": 0, "maximum": 100000},
|
|
45
|
+
"expert_reviewed_contract_count": {"type": "integer", "minimum": 0, "maximum": 100000},
|
|
46
|
+
"profile_terminal_state": {"$ref": "#/$defs/terminal_state"},
|
|
47
|
+
"ai_review_provider": {"enum": ["codex", "claude"]},
|
|
48
|
+
"ai_review_model": {"type": "string"},
|
|
49
|
+
"ai_review_state": {"enum": ["complete", "focused"]},
|
|
50
|
+
"ai_reviewed_count": {"type": "integer", "minimum": 0, "maximum": 100000},
|
|
51
|
+
"ai_advisory_fail_count": {"type": "integer", "minimum": 0, "maximum": 100000}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"control_result": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"additionalProperties": false,
|
|
57
|
+
"required": ["control_id", "revision", "statement", "source", "contract_sha256", "contract_status", "canonical_control_id", "evaluation_class", "automation_class", "applicability_class", "atomicity", "complete_inventory_required", "negative_condition", "project_thresholds_required", "evidence_authorities", "not_applicable_proof", "disposition", "coverage", "authority", "assertion_ids", "executed_assertion_ids", "summary"],
|
|
58
|
+
"properties": {
|
|
59
|
+
"control_id": {"type": "string", "pattern": "^(PRC-[0-9]{2}-[0-9]{3}|USEQ-[A-F0-9]{8})$"},
|
|
60
|
+
"revision": {"type": "integer", "minimum": 1},
|
|
61
|
+
"statement": {"type": "string", "minLength": 1, "maxLength": 16384},
|
|
62
|
+
"source": {"$ref": "#/$defs/control_source"},
|
|
63
|
+
"contract_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
64
|
+
"contract_status": {"enum": ["generated_unreviewed", "reviewed", "retired"]},
|
|
65
|
+
"canonical_control_id": {"type": "string", "pattern": "^(PRC-[0-9]{2}-[0-9]{3}|USEQ-[A-F0-9]{8})$"},
|
|
66
|
+
"evaluation_class": {"enum": ["repository", "environment", "human_external", "mixed", "unclassified"]},
|
|
67
|
+
"automation_class": {"enum": ["deterministic_candidate", "ai_advisory_candidate", "environment_evidence_required", "human_or_external_required", "mixed_evidence_required"]},
|
|
68
|
+
"applicability_class": {"enum": ["conditional", "scope_required"]},
|
|
69
|
+
"atomicity": {"enum": ["apparently_atomic", "compound_review_required"]},
|
|
70
|
+
"complete_inventory_required": {"type": "boolean"},
|
|
71
|
+
"negative_condition": {"type": "boolean"},
|
|
72
|
+
"project_thresholds_required": {"type": "boolean"},
|
|
73
|
+
"evidence_authorities": {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"enum": ["declared", "repository", "artifact", "environment", "human"]}},
|
|
74
|
+
"not_applicable_proof": {"type": "string", "minLength": 1, "maxLength": 1000},
|
|
75
|
+
"disposition": {"enum": ["confirmed_failure", "blocked", "partially_verified", "needs_review", "retired"]},
|
|
76
|
+
"coverage": {"enum": ["unmapped", "not_in_selected_profile", "partial_assertions", "retired"]},
|
|
77
|
+
"authority": {"enum": ["none", "deterministic_partial"]},
|
|
78
|
+
"assertion_ids": {"type": "array", "uniqueItems": true, "items": {"type": "string"}},
|
|
79
|
+
"executed_assertion_ids": {"type": "array", "uniqueItems": true, "items": {"type": "string"}},
|
|
80
|
+
"summary": {"type": "string", "minLength": 1},
|
|
81
|
+
"ai_review": {"$ref": "#/$defs/ai_control_review"}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"control_source": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"additionalProperties": false,
|
|
87
|
+
"required": ["path", "line"],
|
|
88
|
+
"properties": {
|
|
89
|
+
"path": {"type": "string", "pattern": "^docs/(checklists|engineering)/.+\\.md$"},
|
|
90
|
+
"line": {"type": "integer", "minimum": 1}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"ai_control_review": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"additionalProperties": false,
|
|
96
|
+
"required": ["provider", "assessment_candidate", "applicability_candidate", "confidence", "reason", "advice", "evidence", "limitations", "task_id"],
|
|
97
|
+
"properties": {
|
|
98
|
+
"provider": {"enum": ["codex", "claude"]},
|
|
99
|
+
"model": {"type": "string"},
|
|
100
|
+
"assessment_candidate": {"enum": ["advisory_pass_candidate", "advisory_fail_candidate", "needs_evidence", "not_applicable_candidate"]},
|
|
101
|
+
"applicability_candidate": {"enum": ["applicable", "not_applicable", "undetermined"]},
|
|
102
|
+
"confidence": {"enum": ["low", "medium", "high"]},
|
|
103
|
+
"reason": {"type": "string", "minLength": 1, "maxLength": 16384},
|
|
104
|
+
"advice": {"type": "string", "maxLength": 16384},
|
|
105
|
+
"evidence": {"type": "array", "maxItems": 256, "items": {"$ref": "#/$defs/location"}},
|
|
106
|
+
"limitations": {"type": "array", "minItems": 1, "maxItems": 256, "uniqueItems": true, "items": {"type": "string", "minLength": 1, "maxLength": 16384}},
|
|
107
|
+
"citation_verification": {"enum": ["not_cited", "snapshot_location_validated"]},
|
|
108
|
+
"claim_verification": {"const": "advisory_unverified"},
|
|
109
|
+
"task_id": {"type": "string", "pattern": "^[0-9a-f]{64}$"}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"assertion_result": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"additionalProperties": false,
|
|
115
|
+
"required": ["assertion_id", "control_ids", "applicability", "execution", "assessment", "severity", "gate", "summary", "evidence_required", "evidence_observed", "remediation_class"],
|
|
116
|
+
"properties": {
|
|
117
|
+
"assertion_id": {"type": "string"},
|
|
118
|
+
"control_ids": {"type": "array", "items": {"type": "string"}},
|
|
119
|
+
"applicability": {"enum": ["applicable", "not_applicable", "undetermined"]},
|
|
120
|
+
"execution": {"enum": ["not_run", "completed", "blocked", "error"]},
|
|
121
|
+
"assessment": {"enum": ["pass", "fail", "unknown", "manual_review", "not_applicable", "stale", "conflicting"]},
|
|
122
|
+
"severity": {"enum": ["info", "low", "medium", "high", "critical"]},
|
|
123
|
+
"gate": {"enum": ["advisory", "required", "no-go"]},
|
|
124
|
+
"summary": {"type": "string"},
|
|
125
|
+
"locations": {
|
|
126
|
+
"type": "array",
|
|
127
|
+
"maxItems": 4096,
|
|
128
|
+
"uniqueItems": true,
|
|
129
|
+
"items": {"$ref": "#/$defs/location"}
|
|
130
|
+
},
|
|
131
|
+
"evidence_required": {
|
|
132
|
+
"type": "array",
|
|
133
|
+
"items": {"$ref": "#/$defs/evidence_requirement"}
|
|
134
|
+
},
|
|
135
|
+
"evidence_observed": {"type": "array", "items": {"$ref": "evidence.schema.json"}},
|
|
136
|
+
"remediation_class": {"enum": ["R0", "R1", "R2", "R3", "R4", "R5", "R6"]}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"terminal_state": {
|
|
140
|
+
"enum": ["profile_satisfied", "machine_work_complete_manual_evidence_remaining", "assessment_incomplete", "no_go", "policy_stopped", "budget_exhausted", "environment_blocked"]
|
|
141
|
+
},
|
|
142
|
+
"location": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"additionalProperties": false,
|
|
145
|
+
"required": ["path"],
|
|
146
|
+
"properties": {
|
|
147
|
+
"path": {"type": "string", "minLength": 1},
|
|
148
|
+
"line": {"type": "integer", "minimum": 0},
|
|
149
|
+
"column": {"type": "integer", "minimum": 0}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"evidence_requirement": {
|
|
153
|
+
"type": "object",
|
|
154
|
+
"additionalProperties": false,
|
|
155
|
+
"required": ["kind", "minimum_authority", "description"],
|
|
156
|
+
"properties": {
|
|
157
|
+
"kind": {"type": "string", "pattern": "^[a-z0-9-]+$"},
|
|
158
|
+
"minimum_authority": {
|
|
159
|
+
"enum": ["declared", "repository", "executed", "artifact", "environment", "human"]
|
|
160
|
+
},
|
|
161
|
+
"description": {"type": "string", "minLength": 1}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/signature-verification.schema.json",
|
|
4
|
+
"title": "Production Readiness Publisher Signature Verification v0.1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "artifact_kind", "artifact_id", "sha256", "key_id", "algorithm", "issued_at", "verified_at", "trust_store_id", "trust_store_digest", "signature_digest", "verified"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.signature-verification/v0.1"},
|
|
10
|
+
"artifact_kind": {"enum": ["pack", "adapter-registry", "catalog-bundle", "risk-exception"]},
|
|
11
|
+
"artifact_id": {"type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9./@_-]{0,255}$"},
|
|
12
|
+
"sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
13
|
+
"key_id": {"type": "string", "pattern": "^[a-z0-9][a-z0-9.-]{0,127}$"},
|
|
14
|
+
"algorithm": {"const": "ed25519"},
|
|
15
|
+
"issued_at": {"type": "string", "format": "date-time"},
|
|
16
|
+
"verified_at": {"type": "string", "format": "date-time"},
|
|
17
|
+
"trust_store_id": {"type": "string", "pattern": "^[a-z0-9][a-z0-9.-]{0,127}$"},
|
|
18
|
+
"trust_store_digest": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
19
|
+
"signature_digest": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
20
|
+
"verified": {"const": true}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/signature.schema.json",
|
|
4
|
+
"title": "Production Readiness Publisher Signature v0.1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "artifact_kind", "artifact_id", "sha256", "key_id", "algorithm", "issued_at", "signature"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.signature/v0.1"},
|
|
10
|
+
"artifact_kind": {"enum": ["pack", "adapter-registry", "catalog-bundle", "risk-exception"]},
|
|
11
|
+
"artifact_id": {"type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9./@_-]{0,255}$"},
|
|
12
|
+
"sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
13
|
+
"key_id": {"type": "string", "pattern": "^[a-z0-9][a-z0-9.-]{0,127}$"},
|
|
14
|
+
"algorithm": {"const": "ed25519"},
|
|
15
|
+
"issued_at": {"type": "string", "format": "date-time"},
|
|
16
|
+
"signature": {"type": "string", "pattern": "^[A-Za-z0-9+/]{86}==$"}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/state-check-v0.1.schema.json",
|
|
4
|
+
"title": "Production Readiness Scanner State Check v0.1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "checked_at", "state_path", "integrity", "counts"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.state-check/v0.1"},
|
|
10
|
+
"checked_at": {"type": "string", "format": "date-time"},
|
|
11
|
+
"state_path": {"type": "string", "minLength": 1},
|
|
12
|
+
"integrity": {"const": "ok"},
|
|
13
|
+
"counts": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"required": ["runs", "results", "evidence", "inventory_files", "inventory_facts", "audit_events"],
|
|
17
|
+
"properties": {
|
|
18
|
+
"runs": {"type": "integer", "minimum": 0},
|
|
19
|
+
"results": {"type": "integer", "minimum": 0},
|
|
20
|
+
"evidence": {"type": "integer", "minimum": 0},
|
|
21
|
+
"inventory_files": {"type": "integer", "minimum": 0},
|
|
22
|
+
"inventory_facts": {"type": "integer", "minimum": 0},
|
|
23
|
+
"audit_events": {"type": "integer", "minimum": 0}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/state-check.schema.json",
|
|
4
|
+
"title": "Production Readiness Checklist State Check v0.2",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "checked_at", "state_path", "integrity", "counts"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.state-check/v0.2"},
|
|
10
|
+
"checked_at": {"type": "string", "format": "date-time"},
|
|
11
|
+
"state_path": {"type": "string", "minLength": 1},
|
|
12
|
+
"integrity": {"const": "ok"},
|
|
13
|
+
"counts": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"required": ["runs", "results", "findings", "evidence", "inventory_files", "inventory_facts", "audit_events"],
|
|
17
|
+
"properties": {
|
|
18
|
+
"runs": {"type": "integer", "minimum": 0},
|
|
19
|
+
"results": {"type": "integer", "minimum": 0},
|
|
20
|
+
"findings": {"type": "integer", "minimum": 0},
|
|
21
|
+
"evidence": {"type": "integer", "minimum": 0},
|
|
22
|
+
"inventory_files": {"type": "integer", "minimum": 0},
|
|
23
|
+
"inventory_facts": {"type": "integer", "minimum": 0},
|
|
24
|
+
"audit_events": {"type": "integer", "minimum": 0}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|