@radicaltools/mcp 0.1.1 → 0.3.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/README.md +52 -26
- package/dist/chunk-Z7THA3L5.js +3200 -0
- package/dist/elkLayout-TAUBPPVN.js +8 -0
- package/dist/hub-catalogue/concern/concern-api-evolution.radical +935 -0
- package/dist/hub-catalogue/concern/concern-architecture-style.radical +1112 -0
- package/dist/hub-catalogue/concern/concern-authentication.radical +685 -0
- package/dist/hub-catalogue/concern/concern-authorization.radical +1464 -0
- package/dist/hub-catalogue/concern/concern-availability.radical +804 -0
- package/dist/hub-catalogue/concern/concern-backend-stack.radical +1118 -0
- package/dist/hub-catalogue/concern/concern-backup-recovery.radical +1304 -0
- package/dist/hub-catalogue/concern/concern-capacity.radical +802 -0
- package/dist/hub-catalogue/concern/concern-communication-style.radical +1202 -0
- package/dist/hub-catalogue/concern/concern-data-consistency.radical +1081 -0
- package/dist/hub-catalogue/concern/concern-data-store.radical +960 -0
- package/dist/hub-catalogue/concern/concern-decomposition.radical +1143 -0
- package/dist/hub-catalogue/concern/concern-deployment.radical +952 -0
- package/dist/hub-catalogue/concern/concern-encryption.radical +1055 -0
- package/dist/hub-catalogue/concern/concern-frontend-stack.radical +1340 -0
- package/dist/hub-catalogue/concern/concern-infrastructure.radical +1151 -0
- package/dist/hub-catalogue/concern/concern-integration-resilience.radical +1079 -0
- package/dist/hub-catalogue/concern/concern-messaging.radical +940 -0
- package/dist/hub-catalogue/concern/concern-module-boundaries.radical +864 -0
- package/dist/hub-catalogue/concern/concern-observability.radical +1048 -0
- package/dist/hub-catalogue/concern/concern-personal-data.radical +1434 -0
- package/dist/hub-catalogue/concern/concern-rate-limiting.radical +1153 -0
- package/dist/hub-catalogue/concern/concern-secrets.radical +1026 -0
- package/dist/hub-catalogue/concern/concern-supply-chain.radical +1312 -0
- package/dist/hub-catalogue/concern/concern-tenant-isolation.radical +1306 -0
- package/dist/hub-catalogue/concern/concern-test-strategy.radical +1193 -0
- package/dist/index.js +22690 -6064
- package/package.json +1 -1
- package/dist/chunk-KI4NVSTU.js +0 -1763
- package/dist/elkLayout-WC6AXWOG.js +0 -185
- package/dist/hub-catalogue/adr/adr-api-versioning.radical +0 -53
- package/dist/hub-catalogue/adr/adr-auth-strategy.radical +0 -53
- package/dist/hub-catalogue/adr/adr-caching-strategy.radical +0 -59
- package/dist/hub-catalogue/adr/adr-data-consistency-model.radical +0 -40
- package/dist/hub-catalogue/adr/adr-data-store.radical +0 -47
- package/dist/hub-catalogue/adr/adr-deployment-strategy.radical +0 -53
- package/dist/hub-catalogue/adr/adr-event-schema-evolution.radical +0 -53
- package/dist/hub-catalogue/adr/adr-integration-style.radical +0 -50
- package/dist/hub-catalogue/adr/adr-ledger-reconciliation-strategy.radical +0 -38
- package/dist/hub-catalogue/adr/adr-llm-provider-strategy.radical +0 -40
- package/dist/hub-catalogue/adr/adr-marketplace-payments-model.radical +0 -39
- package/dist/hub-catalogue/adr/adr-multi-region.radical +0 -60
- package/dist/hub-catalogue/adr/adr-multi-tenancy-strategy.radical +0 -41
- package/dist/hub-catalogue/adr/adr-observability.radical +0 -59
- package/dist/hub-catalogue/adr/adr-realtime-transport.radical +0 -38
- package/dist/hub-catalogue/adr/adr-tech-stack.radical +0 -45
- package/dist/hub-catalogue/adr/adr-zero-trust-network.radical +0 -40
- package/dist/hub-catalogue/blueprint/bp-ai-assistant-platform.radical +0 -1641
- package/dist/hub-catalogue/blueprint/bp-analytical-data-platform.radical +0 -1428
- package/dist/hub-catalogue/blueprint/bp-ecommerce-platform.radical +0 -1989
- package/dist/hub-catalogue/blueprint/bp-fintech-ledger-platform.radical +0 -1701
- package/dist/hub-catalogue/blueprint/bp-marketplace-platform.radical +0 -1792
- package/dist/hub-catalogue/blueprint/bp-realtime-collaboration.radical +0 -1421
- package/dist/hub-catalogue/blueprint/bp-saas-b2b-platform.radical +0 -1713
- package/dist/hub-catalogue/fitness-function/ff-accessibility-scan.radical +0 -34
- package/dist/hub-catalogue/fitness-function/ff-ai-eval-gate.radical +0 -52
- package/dist/hub-catalogue/fitness-function/ff-api-contract.radical +0 -36
- package/dist/hub-catalogue/fitness-function/ff-capacity-load-test.radical +0 -67
- package/dist/hub-catalogue/fitness-function/ff-carbon-footprint-guard.radical +0 -62
- package/dist/hub-catalogue/fitness-function/ff-change-failure-rate.radical +0 -45
- package/dist/hub-catalogue/fitness-function/ff-chaos-resilience-test.radical +0 -53
- package/dist/hub-catalogue/fitness-function/ff-cost-efficiency-guard.radical +0 -64
- package/dist/hub-catalogue/fitness-function/ff-coupling-guard.radical +0 -45
- package/dist/hub-catalogue/fitness-function/ff-data-integrity-check.radical +0 -51
- package/dist/hub-catalogue/fitness-function/ff-data-residency.radical +0 -43
- package/dist/hub-catalogue/fitness-function/ff-dependency-rules.radical +0 -37
- package/dist/hub-catalogue/fitness-function/ff-deploy-frequency.radical +0 -46
- package/dist/hub-catalogue/fitness-function/ff-dr-drill-success.radical +0 -52
- package/dist/hub-catalogue/fitness-function/ff-duplication-guard.radical +0 -53
- package/dist/hub-catalogue/fitness-function/ff-error-budget.radical +0 -59
- package/dist/hub-catalogue/fitness-function/ff-fail-safe-verification.radical +0 -34
- package/dist/hub-catalogue/fitness-function/ff-infra-drift.radical +0 -34
- package/dist/hub-catalogue/fitness-function/ff-latency-slo.radical +0 -59
- package/dist/hub-catalogue/fitness-function/ff-lead-time.radical +0 -44
- package/dist/hub-catalogue/fitness-function/ff-ledger-balance-integrity.radical +0 -45
- package/dist/hub-catalogue/fitness-function/ff-license-compliance.radical +0 -43
- package/dist/hub-catalogue/fitness-function/ff-mttr.radical +0 -45
- package/dist/hub-catalogue/fitness-function/ff-noisy-neighbor-guard.radical +0 -66
- package/dist/hub-catalogue/fitness-function/ff-sast-scan.radical +0 -35
- package/dist/hub-catalogue/fitness-function/ff-scale-out-verification.radical +0 -66
- package/dist/hub-catalogue/fitness-function/ff-security-scan.radical +0 -45
- package/dist/hub-catalogue/fitness-function/ff-startup-shutdown-check.radical +0 -66
- package/dist/hub-catalogue/fitness-function/ff-sync-convergence-test.radical +0 -45
- package/dist/hub-catalogue/fitness-function/ff-test-coverage.radical +0 -43
- package/dist/hub-catalogue/fitness-function/ff-web-vitals.radical +0 -57
- package/dist/hub-catalogue/pattern/pattern-anti-corruption-layer.radical +0 -88
- package/dist/hub-catalogue/pattern/pattern-api-gateway.radical +0 -168
- package/dist/hub-catalogue/pattern/pattern-bff.radical +0 -179
- package/dist/hub-catalogue/pattern/pattern-bulkhead.radical +0 -114
- package/dist/hub-catalogue/pattern/pattern-circuit-breaker.radical +0 -219
- package/dist/hub-catalogue/pattern/pattern-cqrs.radical +0 -195
- package/dist/hub-catalogue/pattern/pattern-crdt-sync.radical +0 -200
- package/dist/hub-catalogue/pattern/pattern-event-driven.radical +0 -210
- package/dist/hub-catalogue/pattern/pattern-event-sourced-ledger.radical +0 -211
- package/dist/hub-catalogue/pattern/pattern-hexagonal.radical +0 -196
- package/dist/hub-catalogue/pattern/pattern-microservices.radical +0 -262
- package/dist/hub-catalogue/pattern/pattern-rag-pipeline.radical +0 -213
- package/dist/hub-catalogue/pattern/pattern-rate-limiter.radical +0 -114
- package/dist/hub-catalogue/pattern/pattern-saga.radical +0 -208
- package/dist/hub-catalogue/pattern/pattern-sidecar.radical +0 -123
- package/dist/hub-catalogue/pattern/pattern-strangler-fig.radical +0 -227
- package/dist/hub-catalogue/pattern/pattern-transactional-outbox.radical +0 -209
- package/dist/hub-catalogue/requirement/req-accessibility.radical +0 -48
- package/dist/hub-catalogue/requirement/req-ai-autonomous-resolution.radical +0 -51
- package/dist/hub-catalogue/requirement/req-ai-groundedness.radical +0 -45
- package/dist/hub-catalogue/requirement/req-ai-human-handoff.radical +0 -46
- package/dist/hub-catalogue/requirement/req-alerting.radical +0 -52
- package/dist/hub-catalogue/requirement/req-api-response-time.radical +0 -51
- package/dist/hub-catalogue/requirement/req-api-standard.radical +0 -45
- package/dist/hub-catalogue/requirement/req-audit-logging.radical +0 -43
- package/dist/hub-catalogue/requirement/req-auth-response-time.radical +0 -45
- package/dist/hub-catalogue/requirement/req-auth.radical +0 -43
- package/dist/hub-catalogue/requirement/req-autoscaling.radical +0 -62
- package/dist/hub-catalogue/requirement/req-availability.radical +0 -50
- package/dist/hub-catalogue/requirement/req-backward-compatibility.radical +0 -46
- package/dist/hub-catalogue/requirement/req-batch-job-completion.radical +0 -50
- package/dist/hub-catalogue/requirement/req-carbon-efficiency.radical +0 -64
- package/dist/hub-catalogue/requirement/req-centralised-logging.radical +0 -45
- package/dist/hub-catalogue/requirement/req-ci-pipeline-time.radical +0 -43
- package/dist/hub-catalogue/requirement/req-code-complexity.radical +0 -43
- package/dist/hub-catalogue/requirement/req-config-propagation.radical +0 -45
- package/dist/hub-catalogue/requirement/req-data-integrity.radical +0 -35
- package/dist/hub-catalogue/requirement/req-data-retention.radical +0 -44
- package/dist/hub-catalogue/requirement/req-db-query-response.radical +0 -44
- package/dist/hub-catalogue/requirement/req-disaster-recovery.radical +0 -59
- package/dist/hub-catalogue/requirement/req-distributed-tracing.radical +0 -45
- package/dist/hub-catalogue/requirement/req-encryption.radical +0 -49
- package/dist/hub-catalogue/requirement/req-error-rate.radical +0 -45
- package/dist/hub-catalogue/requirement/req-error-recovery.radical +0 -34
- package/dist/hub-catalogue/requirement/req-event-schema-compatibility.radical +0 -37
- package/dist/hub-catalogue/requirement/req-fail-safe-default.radical +0 -55
- package/dist/hub-catalogue/requirement/req-fast-startup-graceful-shutdown.radical +0 -69
- package/dist/hub-catalogue/requirement/req-gdpr-erasure.radical +0 -44
- package/dist/hub-catalogue/requirement/req-graceful-degradation.radical +0 -39
- package/dist/hub-catalogue/requirement/req-health-checks.radical +0 -43
- package/dist/hub-catalogue/requirement/req-iac.radical +0 -36
- package/dist/hub-catalogue/requirement/req-idempotency.radical +0 -47
- package/dist/hub-catalogue/requirement/req-input-validation.radical +0 -37
- package/dist/hub-catalogue/requirement/req-least-privilege.radical +0 -47
- package/dist/hub-catalogue/requirement/req-ledger-immutability.radical +0 -38
- package/dist/hub-catalogue/requirement/req-mfa.radical +0 -36
- package/dist/hub-catalogue/requirement/req-ml-extraction-accuracy.radical +0 -42
- package/dist/hub-catalogue/requirement/req-onboarding-time.radical +0 -42
- package/dist/hub-catalogue/requirement/req-page-load-time.radical +0 -59
- package/dist/hub-catalogue/requirement/req-payout-latency.radical +0 -46
- package/dist/hub-catalogue/requirement/req-presence-latency.radical +0 -46
- package/dist/hub-catalogue/requirement/req-rate-limiting.radical +0 -45
- package/dist/hub-catalogue/requirement/req-report-generation.radical +0 -44
- package/dist/hub-catalogue/requirement/req-resource-efficiency.radical +0 -64
- package/dist/hub-catalogue/requirement/req-resource-headroom.radical +0 -53
- package/dist/hub-catalogue/requirement/req-resource-isolation.radical +0 -37
- package/dist/hub-catalogue/requirement/req-search-response-time.radical +0 -44
- package/dist/hub-catalogue/requirement/req-secrets-management.radical +0 -45
- package/dist/hub-catalogue/requirement/req-task-success-rate.radical +0 -42
- package/dist/hub-catalogue/requirement/req-test-coverage.radical +0 -42
- package/dist/hub-catalogue/requirement/req-throughput.radical +0 -55
- package/dist/hub-catalogue/requirement/req-vulnerability-scanning.radical +0 -52
- package/dist/hub-catalogue/requirement/req-zero-downtime-deploy.radical +0 -39
|
@@ -0,0 +1,1312 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hub": {
|
|
3
|
+
"id": "concern-supply-chain",
|
|
4
|
+
"category": "concern",
|
|
5
|
+
"name": "Software supply chain",
|
|
6
|
+
"description": "What goes into what we build and ship: vulnerable dependencies, pinning and where packages come from, build provenance (SLSA), SBOMs and base images.",
|
|
7
|
+
"tags": [
|
|
8
|
+
"security",
|
|
9
|
+
"supply-chain",
|
|
10
|
+
"dependencies",
|
|
11
|
+
"sca",
|
|
12
|
+
"sbom",
|
|
13
|
+
"slsa",
|
|
14
|
+
"provenance",
|
|
15
|
+
"containers"
|
|
16
|
+
],
|
|
17
|
+
"requiredMetamodel": "c4-ddd-governance-builtin",
|
|
18
|
+
"concern": {
|
|
19
|
+
"id": "supply-chain",
|
|
20
|
+
"trigger": "LIST NODES WHERE external != true AND (type = \"container\" OR type = \"webapp\")",
|
|
21
|
+
"why": "we build and ship these elements from code, dependencies and base images we did not all write, so what may go into them and how their builds are trusted has to be decided.",
|
|
22
|
+
"group": "security"
|
|
23
|
+
},
|
|
24
|
+
"sources": [
|
|
25
|
+
{
|
|
26
|
+
"title": "SLSA v1.0, Security levels",
|
|
27
|
+
"url": "https://slsa.dev/spec/v1.0/levels"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"title": "OpenSSF Scorecard",
|
|
31
|
+
"url": "https://scorecard.dev/"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"title": "NIST SP 800-218, Secure Software Development Framework (SSDF) 1.1",
|
|
35
|
+
"url": "https://csrc.nist.gov/pubs/sp/800/218/final"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"title": "OWASP Top 10 2021, A06 Vulnerable and Outdated Components",
|
|
39
|
+
"url": "https://owasp.org/Top10/A06_2021-Vulnerable_and_Outdated_Components/"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"title": "CycloneDX specification",
|
|
43
|
+
"url": "https://cyclonedx.org/"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"title": "SPDX specification",
|
|
47
|
+
"url": "https://spdx.dev/"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"title": "OSV-Scanner documentation",
|
|
51
|
+
"url": "https://google.github.io/osv-scanner/"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"title": "Sigstore",
|
|
55
|
+
"url": "https://www.sigstore.dev/"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"templateParams": [
|
|
59
|
+
{
|
|
60
|
+
"key": "SCA",
|
|
61
|
+
"title": "Vulnerable dependencies",
|
|
62
|
+
"label": "What happens to a change that brings in a known vulnerability?",
|
|
63
|
+
"hint": "Blocking stops new vulnerabilities at the door but can stall work on a finding nobody can fix yet; deadlines alone let the backlog grow.",
|
|
64
|
+
"defaultValue": "gate",
|
|
65
|
+
"options": [
|
|
66
|
+
{
|
|
67
|
+
"value": "gate",
|
|
68
|
+
"label": "the merge is blocked on high and critical findings with a fix",
|
|
69
|
+
"description": "A required check refuses a pull request that adds or upgrades to a dependency with a known high or critical vulnerability that has a fixed version; existing findings have deadlines. Pick it for anything internet-facing or holding personal or payment data."
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"value": "sla",
|
|
73
|
+
"label": "it is reported, and fixed within deadlines",
|
|
74
|
+
"description": "Findings are reported on the pull request and in a dashboard but do not block; each severity has a deadline. Pick it for internal tools, or for a codebase with a large backlog you are working through before switching to blocking."
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"key": "PINNING",
|
|
80
|
+
"title": "Pinning",
|
|
81
|
+
"label": "How are dependencies pinned and fetched?",
|
|
82
|
+
"hint": "A dependency resolved fresh on every build can change under you; the stricter the pin, the more update pull requests a bot has to open.",
|
|
83
|
+
"defaultValue": "hash",
|
|
84
|
+
"options": [
|
|
85
|
+
{
|
|
86
|
+
"value": "lockfile",
|
|
87
|
+
"label": "lockfiles, installed exactly",
|
|
88
|
+
"description": "Every package manager has a committed lockfile and CI installs exactly it (npm ci, pip install --require-hashes, go mod verify). Pick it as the minimum for every project."
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"value": "hash",
|
|
92
|
+
"label": "everything pinned by hash",
|
|
93
|
+
"description": "Lockfiles with integrity hashes, CI actions pinned to commit SHAs and base images to sha256 digests, updated by Renovate or Dependabot pull requests. Pick it for anything you ship to production; it is what OpenSSF Scorecard's Pinned-Dependencies checks."
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"value": "proxy",
|
|
97
|
+
"label": "only from our own registry proxy",
|
|
98
|
+
"description": "Builds fetch packages only through an internal proxy (Artifactory, Nexus, AWS CodeArtifact, Azure Artifacts) with no other egress, and new releases enter only after a waiting period. Pick it in regulated environments or where malicious package releases are a demonstrated threat."
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"key": "SLSA",
|
|
104
|
+
"title": "Build provenance",
|
|
105
|
+
"label": "Which SLSA build level do the builds reach?",
|
|
106
|
+
"hint": "Provenance says which source and which build produced an artifact; the higher the level, the harder it is to forge, and the more the deployment can refuse.",
|
|
107
|
+
"defaultValue": "l2",
|
|
108
|
+
"options": [
|
|
109
|
+
{
|
|
110
|
+
"value": "l1",
|
|
111
|
+
"label": "SLSA Build L1: provenance exists",
|
|
112
|
+
"description": "The build records how each artifact was made (BuildKit provenance attestations), unsigned. Pick it as the first step for builds that are not yet on a hosted CI."
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"value": "l2",
|
|
116
|
+
"label": "SLSA Build L2: signed provenance from a hosted build",
|
|
117
|
+
"description": "Builds run only on hosted CI, which signs the provenance (GitHub artifact attestations, GitLab SLSA provenance, cosign keyless); the deployment verifies it. Pick it for production services; it is a few lines of CI configuration."
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"value": "l3",
|
|
121
|
+
"label": "SLSA Build L3: hardened, isolated builds",
|
|
122
|
+
"description": "Provenance is produced by an isolated job the build steps cannot influence (slsa-github-generator reusable workflows), and the cluster admits only images whose provenance verifies. Pick it for software others depend on, or where a tampered build would be catastrophic."
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"key": "SBOM",
|
|
128
|
+
"title": "SBOM",
|
|
129
|
+
"label": "What is the SBOM for?",
|
|
130
|
+
"hint": "A software bill of materials answers \"are we affected?\" in minutes instead of days, but only if someone keeps it and looks.",
|
|
131
|
+
"defaultValue": "internal",
|
|
132
|
+
"options": [
|
|
133
|
+
{
|
|
134
|
+
"value": "internal",
|
|
135
|
+
"label": "answering \"are we affected?\" ourselves",
|
|
136
|
+
"description": "A CycloneDX SBOM of every deployed version is loaded into OWASP Dependency-Track, which matches new advisories against what runs. Pick it when nobody outside asks for the SBOM but you want to know your exposure fast."
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"value": "shipped",
|
|
140
|
+
"label": "shipping to customers with each release",
|
|
141
|
+
"description": "Each release carries a signed SBOM (CycloneDX or SPDX) and VEX statements for known vulnerabilities that do not affect it. Pick it when customers, US federal buyers (EO 14028) or the EU Cyber Resilience Act require it."
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"key": "BASE",
|
|
147
|
+
"title": "Base images",
|
|
148
|
+
"label": "What are the container images built on?",
|
|
149
|
+
"hint": "Every package in a base image is one more to patch and one more for an attacker to use; fewer packages, fewer findings.",
|
|
150
|
+
"defaultValue": "minimal",
|
|
151
|
+
"options": [
|
|
152
|
+
{
|
|
153
|
+
"value": "minimal",
|
|
154
|
+
"label": "minimal images without a shell",
|
|
155
|
+
"description": "Distroless (gcr.io/distroless) or Chainguard/Wolfi images: the runtime and nothing else. Pick it for services in compiled languages or standard runtimes (Java, Node, Python) that need no OS tools."
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"value": "official",
|
|
159
|
+
"label": "official slim images, rebuilt weekly",
|
|
160
|
+
"description": "Docker official slim images (Debian slim, Alpine, UBI minimal), rebuilt on a schedule so OS fixes arrive. Pick it when the element needs OS packages or tools that minimal images lack."
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"value": "golden",
|
|
164
|
+
"label": "our platform team's golden images",
|
|
165
|
+
"description": "Hardened images built and patched by a platform team, published to the internal registry; nothing else may be used. Pick it in larger organisations with a platform team and compliance baselines (CIS, STIG)."
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"key": "CRITICAL_DAYS",
|
|
171
|
+
"label": "Days to fix a critical vulnerability in a dependency",
|
|
172
|
+
"defaultValue": "7",
|
|
173
|
+
"type": "number"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"key": "HIGH_DAYS",
|
|
177
|
+
"label": "Days to fix a high vulnerability in a dependency",
|
|
178
|
+
"defaultValue": "30",
|
|
179
|
+
"type": "number"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"key": "REBUILD_DAYS",
|
|
183
|
+
"label": "Most days a running image may go without a rebuild",
|
|
184
|
+
"defaultValue": "7",
|
|
185
|
+
"type": "number"
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
"nodes": [
|
|
190
|
+
{
|
|
191
|
+
"id": "need",
|
|
192
|
+
"type": "need",
|
|
193
|
+
"label": "We ship only what we meant to",
|
|
194
|
+
"x": 0,
|
|
195
|
+
"y": 0,
|
|
196
|
+
"kind": "brief",
|
|
197
|
+
"source": "Hub concern pack: Software supply chain",
|
|
198
|
+
"description": "The element is built from our code, open-source dependencies and a base image. Known vulnerabilities in what it contains must be found and fixed before they are exploited; no dependency, build step or image may change what we ship without us knowing; every artifact running in production must be traceable to a reviewed commit and the build that made it; and when a new vulnerability is announced we must know within hours which running versions contain it."
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "req-vuln-sla",
|
|
202
|
+
"type": "requirement",
|
|
203
|
+
"label": "Vulnerabilities fixed in time",
|
|
204
|
+
"x": 260,
|
|
205
|
+
"y": 0,
|
|
206
|
+
"ears_type": "state-driven",
|
|
207
|
+
"precondition": "a deployed version contains a dependency with a known critical or high vulnerability",
|
|
208
|
+
"action": "upgrade, replace or patch it within {{CRITICAL_DAYS}} days for critical and {{HIGH_DAYS}} days for high from disclosure, or record a reviewed statement that the element is not affected",
|
|
209
|
+
"rationale": "Known vulnerabilities in components are among the most exploited weaknesses; a deadline per severity turns findings into fixes (OWASP Top 10 A06:2021; NIST SSDF RV.2)."
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"id": "req-vuln-gate",
|
|
213
|
+
"type": "requirement",
|
|
214
|
+
"label": "New vulnerabilities blocked",
|
|
215
|
+
"x": 260,
|
|
216
|
+
"y": 130,
|
|
217
|
+
"ears_type": "unwanted-behaviour",
|
|
218
|
+
"unwanted_condition": "a pull request adds a dependency, or changes one to a version, with a known high or critical vulnerability that has a fixed version",
|
|
219
|
+
"action": "fail its required check so that it cannot merge until it uses a fixed version",
|
|
220
|
+
"rationale": "The cheapest vulnerability to fix is the one that never merges (NIST SSDF PW.4; OpenSSF Scorecard Vulnerabilities).",
|
|
221
|
+
"hubWhen": {
|
|
222
|
+
"SCA": [
|
|
223
|
+
"gate"
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"id": "req-vuln-report",
|
|
229
|
+
"type": "requirement",
|
|
230
|
+
"label": "Findings visible on each change",
|
|
231
|
+
"x": 260,
|
|
232
|
+
"y": 260,
|
|
233
|
+
"ears_type": "event-driven",
|
|
234
|
+
"trigger": "a pull request changes a dependency manifest or lockfile",
|
|
235
|
+
"action": "comment on it with every known vulnerability the change adds or removes, with its severity and fixed version, and open a tracked issue for each high or critical one that merges",
|
|
236
|
+
"rationale": "Without blocking, visibility at the moment of change and a tracked issue are what keep the deadline from being missed (NIST SSDF RV.1).",
|
|
237
|
+
"hubWhen": {
|
|
238
|
+
"SCA": [
|
|
239
|
+
"sla"
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"id": "req-review",
|
|
245
|
+
"type": "requirement",
|
|
246
|
+
"label": "Changes reviewed and protected",
|
|
247
|
+
"x": 260,
|
|
248
|
+
"y": 390,
|
|
249
|
+
"ears_type": "ubiquitous",
|
|
250
|
+
"action": "build release artifacts only from the protected default branch or signed release tags, where every change is merged through a pull request approved by someone other than its author",
|
|
251
|
+
"rationale": "A build is only as trustworthy as the source it starts from; review and branch protection are the source half of the supply chain (OpenSSF Scorecard Branch-Protection, Code-Review; NIST SSDF PS.1)."
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"id": "req-pin-lockfile",
|
|
255
|
+
"type": "requirement",
|
|
256
|
+
"label": "Lockfiles installed exactly",
|
|
257
|
+
"x": 260,
|
|
258
|
+
"y": 520,
|
|
259
|
+
"ears_type": "unwanted-behaviour",
|
|
260
|
+
"unwanted_condition": "a build would resolve a dependency to a version not recorded in the committed lockfile",
|
|
261
|
+
"action": "fail the build instead of updating the lockfile",
|
|
262
|
+
"rationale": "A lockfile only pins if the build refuses to drift from it; otherwise every build may fetch something new (NIST SSDF PS.3; OpenSSF Scorecard Pinned-Dependencies).",
|
|
263
|
+
"hubWhen": {
|
|
264
|
+
"PINNING": [
|
|
265
|
+
"lockfile"
|
|
266
|
+
]
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"id": "req-pin-hash",
|
|
271
|
+
"type": "requirement",
|
|
272
|
+
"label": "Everything pinned by hash",
|
|
273
|
+
"x": 260,
|
|
274
|
+
"y": 650,
|
|
275
|
+
"ears_type": "ubiquitous",
|
|
276
|
+
"action": "pin every dependency with an integrity hash in a lockfile, every CI action to a full commit SHA and every base image to a sha256 digest, and take updates only through bot pull requests that are reviewed like code",
|
|
277
|
+
"rationale": "A tag or version range can be moved by whoever controls it; a hash cannot (OpenSSF Scorecard Pinned-Dependencies; SLSA v1.0 threats, dependency threats).",
|
|
278
|
+
"hubWhen": {
|
|
279
|
+
"PINNING": [
|
|
280
|
+
"hash"
|
|
281
|
+
]
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"id": "req-pin-proxy",
|
|
286
|
+
"type": "requirement",
|
|
287
|
+
"label": "Packages only from our proxy",
|
|
288
|
+
"x": 260,
|
|
289
|
+
"y": 780,
|
|
290
|
+
"ears_type": "ubiquitous",
|
|
291
|
+
"action": "fetch every package and image only through our registry proxy, with no other network access during builds, and admit a newly published release to the proxy only after it has been public for 7 days",
|
|
292
|
+
"rationale": "One controlled entry point can be audited and blocked; malicious releases are usually found and pulled within days of publication (NIST SSDF PW.4; SLSA v1.0 threats, dependency threats).",
|
|
293
|
+
"hubWhen": {
|
|
294
|
+
"PINNING": [
|
|
295
|
+
"proxy"
|
|
296
|
+
]
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"id": "req-provenance-l1",
|
|
301
|
+
"type": "requirement",
|
|
302
|
+
"label": "Provenance recorded",
|
|
303
|
+
"x": 260,
|
|
304
|
+
"y": 910,
|
|
305
|
+
"ears_type": "event-driven",
|
|
306
|
+
"trigger": "a build produces a release artifact",
|
|
307
|
+
"action": "attach SLSA provenance to it that names the source repository, the commit, the build entry point and the builder",
|
|
308
|
+
"rationale": "Provenance is what makes an artifact traceable to the source and build that made it; at Build L1 it exists, which already catches mistakes (SLSA v1.0, Build L1).",
|
|
309
|
+
"hubWhen": {
|
|
310
|
+
"SLSA": [
|
|
311
|
+
"l1"
|
|
312
|
+
]
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"id": "req-provenance-l2",
|
|
317
|
+
"type": "requirement",
|
|
318
|
+
"label": "Unverified artifacts not deployed",
|
|
319
|
+
"x": 260,
|
|
320
|
+
"y": 1040,
|
|
321
|
+
"ears_type": "unwanted-behaviour",
|
|
322
|
+
"unwanted_condition": "an artifact is about to be deployed without provenance signed by our hosted build platform for this repository and a protected branch or tag",
|
|
323
|
+
"action": "refuse the deployment",
|
|
324
|
+
"rationale": "Signed provenance from a hosted builder cannot be forged by a developer's machine; verifying it at deployment is what makes it count (SLSA v1.0, Build L2).",
|
|
325
|
+
"hubWhen": {
|
|
326
|
+
"SLSA": [
|
|
327
|
+
"l2"
|
|
328
|
+
]
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"id": "req-provenance-l3",
|
|
333
|
+
"type": "requirement",
|
|
334
|
+
"label": "Only verified images admitted",
|
|
335
|
+
"x": 260,
|
|
336
|
+
"y": 1170,
|
|
337
|
+
"ears_type": "unwanted-behaviour",
|
|
338
|
+
"unwanted_condition": "the cluster is asked to run an image whose provenance was not produced by our isolated build workflow for this repository",
|
|
339
|
+
"action": "refuse to admit it, and keep the provenance signing in a job the build steps cannot reach",
|
|
340
|
+
"rationale": "At Build L3 the provenance cannot be forged even by the build's own steps, and admission control enforces it at the last moment (SLSA v1.0, Build L3).",
|
|
341
|
+
"hubWhen": {
|
|
342
|
+
"SLSA": [
|
|
343
|
+
"l3"
|
|
344
|
+
]
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"id": "req-sbom-internal",
|
|
349
|
+
"type": "requirement",
|
|
350
|
+
"label": "Exposure known within hours",
|
|
351
|
+
"x": 260,
|
|
352
|
+
"y": 1300,
|
|
353
|
+
"ears_type": "event-driven",
|
|
354
|
+
"trigger": "a new vulnerability advisory is published for a component",
|
|
355
|
+
"action": "list every deployed version of the element that contains it within 24 hours, from the CycloneDX SBOMs kept for each deployed version",
|
|
356
|
+
"rationale": "The first question after a widespread vulnerability is where it runs; an SBOM per deployed version answers it without rebuilding anything (NIST SSDF PS.3.2; CycloneDX).",
|
|
357
|
+
"hubWhen": {
|
|
358
|
+
"SBOM": [
|
|
359
|
+
"internal"
|
|
360
|
+
]
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"id": "req-sbom-shipped",
|
|
365
|
+
"type": "requirement",
|
|
366
|
+
"label": "SBOM shipped with releases",
|
|
367
|
+
"x": 260,
|
|
368
|
+
"y": 1430,
|
|
369
|
+
"ears_type": "event-driven",
|
|
370
|
+
"trigger": "a version is released",
|
|
371
|
+
"action": "publish with it a signed SBOM in CycloneDX or SPDX listing every component, transitive ones included, with version, package URL and licence, and VEX statements for known vulnerabilities that do not affect it",
|
|
372
|
+
"rationale": "Customers and regulators (US EO 14028, EU Cyber Resilience Act) expect an SBOM with each release; VEX saves them chasing findings that do not apply (NIST SSDF PS.3.2; CycloneDX; SPDX).",
|
|
373
|
+
"hubWhen": {
|
|
374
|
+
"SBOM": [
|
|
375
|
+
"shipped"
|
|
376
|
+
]
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"id": "req-base-minimal",
|
|
381
|
+
"type": "requirement",
|
|
382
|
+
"label": "No shell in images",
|
|
383
|
+
"x": 260,
|
|
384
|
+
"y": 1560,
|
|
385
|
+
"ears_type": "ubiquitous",
|
|
386
|
+
"action": "build the final stage of every image on a distroless or Chainguard base, with no shell or package manager, running as a non-root user",
|
|
387
|
+
"rationale": "Packages that are not there need no patching and cannot be used after a break-in; minimal images cut OS findings by an order of magnitude (NIST SP 800-190, 4.1; OWASP Docker Security Cheat Sheet).",
|
|
388
|
+
"hubWhen": {
|
|
389
|
+
"BASE": [
|
|
390
|
+
"minimal"
|
|
391
|
+
]
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"id": "req-base-official",
|
|
396
|
+
"type": "requirement",
|
|
397
|
+
"label": "Images rebuilt on schedule",
|
|
398
|
+
"x": 260,
|
|
399
|
+
"y": 1690,
|
|
400
|
+
"ears_type": "state-driven",
|
|
401
|
+
"precondition": "an image running in production was built more than {{REBUILD_DAYS}} days ago",
|
|
402
|
+
"action": "rebuild it on the current official slim base and redeploy it, failing the rebuild on fixable high or critical OS vulnerabilities",
|
|
403
|
+
"rationale": "Base images are patched upstream constantly; only a rebuild brings the fixes in (NIST SP 800-190, 4.1.1; OWASP Docker Security Cheat Sheet).",
|
|
404
|
+
"hubWhen": {
|
|
405
|
+
"BASE": [
|
|
406
|
+
"official"
|
|
407
|
+
]
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"id": "req-base-golden",
|
|
412
|
+
"type": "requirement",
|
|
413
|
+
"label": "Only golden base images",
|
|
414
|
+
"x": 260,
|
|
415
|
+
"y": 1820,
|
|
416
|
+
"ears_type": "unwanted-behaviour",
|
|
417
|
+
"unwanted_condition": "an image is built from, or the cluster is asked to run an image from, anything other than the internal registry's golden images",
|
|
418
|
+
"action": "fail the build or refuse the pod",
|
|
419
|
+
"rationale": "A golden image is a promise only if nothing else can be used; enforcement at build and at admission keeps it (CIS Docker Benchmark; NIST SP 800-190, 4.1).",
|
|
420
|
+
"hubWhen": {
|
|
421
|
+
"BASE": [
|
|
422
|
+
"golden"
|
|
423
|
+
]
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"id": "sc-vuln-sla",
|
|
428
|
+
"type": "scenario",
|
|
429
|
+
"label": "Critical fixed in time",
|
|
430
|
+
"x": 520,
|
|
431
|
+
"y": 0,
|
|
432
|
+
"given": "a deployed version with a dependency that gets a critical advisory",
|
|
433
|
+
"when": "{{CRITICAL_DAYS}} days have passed since disclosure",
|
|
434
|
+
"then": "the version running in production no longer contains it, or a reviewed not-affected statement is recorded"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"id": "sc-vuln-gate",
|
|
438
|
+
"type": "scenario",
|
|
439
|
+
"label": "Vulnerable upgrade blocked",
|
|
440
|
+
"x": 520,
|
|
441
|
+
"y": 130,
|
|
442
|
+
"given": "a pull request that pins a library to a version with a critical advisory and a fixed version available",
|
|
443
|
+
"when": "its checks run",
|
|
444
|
+
"then": "the dependency check fails and the pull request cannot merge",
|
|
445
|
+
"hubWhen": {
|
|
446
|
+
"SCA": [
|
|
447
|
+
"gate"
|
|
448
|
+
]
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"id": "sc-vuln-report",
|
|
453
|
+
"type": "scenario",
|
|
454
|
+
"label": "Finding tracked",
|
|
455
|
+
"x": 520,
|
|
456
|
+
"y": 260,
|
|
457
|
+
"given": "a pull request that adds a dependency with a high advisory",
|
|
458
|
+
"when": "it merges",
|
|
459
|
+
"then": "it carried a comment naming the advisory, and an issue with the {{HIGH_DAYS}}-day deadline is open",
|
|
460
|
+
"hubWhen": {
|
|
461
|
+
"SCA": [
|
|
462
|
+
"sla"
|
|
463
|
+
]
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"id": "sc-review",
|
|
468
|
+
"type": "scenario",
|
|
469
|
+
"label": "Direct push refused",
|
|
470
|
+
"x": 520,
|
|
471
|
+
"y": 390,
|
|
472
|
+
"given": "a maintainer with write access",
|
|
473
|
+
"when": "they push a commit directly to the default branch, and open a pull request they approve themselves",
|
|
474
|
+
"then": "the push is refused and the pull request cannot merge without a second person's approval"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"id": "sc-pin-lockfile",
|
|
478
|
+
"type": "scenario",
|
|
479
|
+
"label": "Drifted lockfile fails",
|
|
480
|
+
"x": 520,
|
|
481
|
+
"y": 520,
|
|
482
|
+
"given": "a manifest changed without updating the lockfile",
|
|
483
|
+
"when": "CI installs dependencies",
|
|
484
|
+
"then": "the install fails and names the package",
|
|
485
|
+
"hubWhen": {
|
|
486
|
+
"PINNING": [
|
|
487
|
+
"lockfile"
|
|
488
|
+
]
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"id": "sc-pin-hash",
|
|
493
|
+
"type": "scenario",
|
|
494
|
+
"label": "Unpinned action refused",
|
|
495
|
+
"x": 520,
|
|
496
|
+
"y": 650,
|
|
497
|
+
"given": "a pull request that adds a CI step using an action by its tag, and a Dockerfile FROM by tag",
|
|
498
|
+
"when": "its checks run",
|
|
499
|
+
"then": "the pinning check fails naming both",
|
|
500
|
+
"hubWhen": {
|
|
501
|
+
"PINNING": [
|
|
502
|
+
"hash"
|
|
503
|
+
]
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"id": "sc-pin-proxy",
|
|
508
|
+
"type": "scenario",
|
|
509
|
+
"label": "Fresh release held back",
|
|
510
|
+
"x": 520,
|
|
511
|
+
"y": 780,
|
|
512
|
+
"given": "a package version published 2 days ago",
|
|
513
|
+
"when": "a build asks for it",
|
|
514
|
+
"then": "the proxy does not serve it and the build fails, and the same build with a 10-day-old version succeeds",
|
|
515
|
+
"hubWhen": {
|
|
516
|
+
"PINNING": [
|
|
517
|
+
"proxy"
|
|
518
|
+
]
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"id": "sc-provenance-l1",
|
|
523
|
+
"type": "scenario",
|
|
524
|
+
"label": "Image carries provenance",
|
|
525
|
+
"x": 520,
|
|
526
|
+
"y": 910,
|
|
527
|
+
"given": "an image built by the release pipeline",
|
|
528
|
+
"when": "its attestations are inspected",
|
|
529
|
+
"then": "they hold SLSA provenance naming the repository, the commit and the builder",
|
|
530
|
+
"hubWhen": {
|
|
531
|
+
"SLSA": [
|
|
532
|
+
"l1"
|
|
533
|
+
]
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"id": "sc-provenance-l2",
|
|
538
|
+
"type": "scenario",
|
|
539
|
+
"label": "Laptop build refused",
|
|
540
|
+
"x": 520,
|
|
541
|
+
"y": 1040,
|
|
542
|
+
"given": "an image built and pushed from a developer's machine with the same tag",
|
|
543
|
+
"when": "the pipeline tries to deploy it",
|
|
544
|
+
"then": "verification fails and the deployment stops",
|
|
545
|
+
"hubWhen": {
|
|
546
|
+
"SLSA": [
|
|
547
|
+
"l2"
|
|
548
|
+
]
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"id": "sc-provenance-l3",
|
|
553
|
+
"type": "scenario",
|
|
554
|
+
"label": "Unverified image refused",
|
|
555
|
+
"x": 520,
|
|
556
|
+
"y": 1170,
|
|
557
|
+
"given": "a cluster with admission control",
|
|
558
|
+
"when": "a pod is created from an image built outside the isolated workflow",
|
|
559
|
+
"then": "the cluster refuses the pod and names the failed verification",
|
|
560
|
+
"hubWhen": {
|
|
561
|
+
"SLSA": [
|
|
562
|
+
"l3"
|
|
563
|
+
]
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"id": "sc-sbom-internal",
|
|
568
|
+
"type": "scenario",
|
|
569
|
+
"label": "Affected versions listed",
|
|
570
|
+
"x": 520,
|
|
571
|
+
"y": 1300,
|
|
572
|
+
"given": "SBOMs of the three versions deployed in production and staging",
|
|
573
|
+
"when": "an advisory is published for a component in two of them",
|
|
574
|
+
"then": "within 24 hours the two versions and their environments are listed",
|
|
575
|
+
"hubWhen": {
|
|
576
|
+
"SBOM": [
|
|
577
|
+
"internal"
|
|
578
|
+
]
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"id": "sc-sbom-shipped",
|
|
583
|
+
"type": "scenario",
|
|
584
|
+
"label": "Release carries SBOM",
|
|
585
|
+
"x": 520,
|
|
586
|
+
"y": 1430,
|
|
587
|
+
"given": "a release",
|
|
588
|
+
"when": "its assets are listed and the SBOM is validated against its schema",
|
|
589
|
+
"then": "a signed SBOM and VEX are attached, valid, and every component has a version and package URL",
|
|
590
|
+
"hubWhen": {
|
|
591
|
+
"SBOM": [
|
|
592
|
+
"shipped"
|
|
593
|
+
]
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"id": "sc-base-minimal",
|
|
598
|
+
"type": "scenario",
|
|
599
|
+
"label": "No shell to run",
|
|
600
|
+
"x": 520,
|
|
601
|
+
"y": 1560,
|
|
602
|
+
"given": "a released image",
|
|
603
|
+
"when": "someone tries to run /bin/sh in a container from it",
|
|
604
|
+
"then": "there is no shell, and the process runs as a non-root user",
|
|
605
|
+
"hubWhen": {
|
|
606
|
+
"BASE": [
|
|
607
|
+
"minimal"
|
|
608
|
+
]
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"id": "sc-base-official",
|
|
613
|
+
"type": "scenario",
|
|
614
|
+
"label": "Stale image rebuilt",
|
|
615
|
+
"x": 520,
|
|
616
|
+
"y": 1690,
|
|
617
|
+
"given": "a production image built {{REBUILD_DAYS}} days ago",
|
|
618
|
+
"when": "the scheduled rebuild runs",
|
|
619
|
+
"then": "a new image on the current base is deployed and the scan shows no fixable high or critical OS finding",
|
|
620
|
+
"hubWhen": {
|
|
621
|
+
"BASE": [
|
|
622
|
+
"official"
|
|
623
|
+
]
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"id": "sc-base-golden",
|
|
628
|
+
"type": "scenario",
|
|
629
|
+
"label": "Public base refused",
|
|
630
|
+
"x": 520,
|
|
631
|
+
"y": 1820,
|
|
632
|
+
"given": "a Dockerfile starting FROM a public Docker Hub image",
|
|
633
|
+
"when": "it is built, and an image from Docker Hub is deployed directly",
|
|
634
|
+
"then": "the build fails and the cluster refuses the pod",
|
|
635
|
+
"hubWhen": {
|
|
636
|
+
"BASE": [
|
|
637
|
+
"golden"
|
|
638
|
+
]
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"id": "adr-deps-gate",
|
|
643
|
+
"type": "adr",
|
|
644
|
+
"label": "Vulnerable dependencies blocked",
|
|
645
|
+
"x": 780,
|
|
646
|
+
"y": 0,
|
|
647
|
+
"concern": "supply-chain",
|
|
648
|
+
"status": "accepted",
|
|
649
|
+
"date": "",
|
|
650
|
+
"context": "This element is built by us from source code, open-source dependencies and a base image, and shipped as an artifact. The forces: most of what runs is code we did not write, and known vulnerabilities in it are exploited within days of disclosure; a dependency resolved fresh on every build can change under us, through a compromised maintainer, a typosquatted name or a malicious release; a build that anyone with CI access can alter, or whose output nobody can trace to a commit, ships whatever an attacker puts in it; base images carry hundreds of operating-system packages we never use; and when the next widespread vulnerability is announced, the first question is which of our running versions contain it.",
|
|
651
|
+
"decision": "Every pull request is checked for known vulnerabilities in the dependencies it adds or changes, and a high or critical one with a fixed version blocks the merge; existing findings are fixed within {{CRITICAL_DAYS}} days (critical) and {{HIGH_DAYS}} days (high). Dependencies are pinned: {{PINNING}}; Renovate or Dependabot open the update pull requests. Tools: OSV-Scanner or GitHub dependency review for the gate (free, OSV and GitHub Advisory data), Snyk or Mend when you also need reachability analysis and licence policy; judge by the ecosystems you use, the advisory database, and whether it can tell reachable from unreachable code.",
|
|
652
|
+
"consequences": "• New known vulnerabilities do not reach the main branch.\n• A finding with no fixed version does not block, but gets a deadline and, if unaffected, a reviewed statement.\n• Update pull requests become routine work: merge them weekly, grouped, with tests that make it safe.",
|
|
653
|
+
"alternatives": "1. Report and deadlines only: no blocked work, but the backlog grows.\n2. Scan only before release: findings arrive late, in bulk.\n3. Vendoring all dependencies: full control, all the patching is ours.",
|
|
654
|
+
"hubWhen": {
|
|
655
|
+
"SCA": [
|
|
656
|
+
"gate"
|
|
657
|
+
]
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"id": "adr-deps-sla",
|
|
662
|
+
"type": "adr",
|
|
663
|
+
"label": "Vulnerabilities fixed by deadline",
|
|
664
|
+
"x": 780,
|
|
665
|
+
"y": 130,
|
|
666
|
+
"concern": "supply-chain",
|
|
667
|
+
"status": "accepted",
|
|
668
|
+
"date": "",
|
|
669
|
+
"context": "This element is built by us from source code, open-source dependencies and a base image, and shipped as an artifact. The forces: most of what runs is code we did not write, and known vulnerabilities in it are exploited within days of disclosure; a dependency resolved fresh on every build can change under us, through a compromised maintainer, a typosquatted name or a malicious release; a build that anyone with CI access can alter, or whose output nobody can trace to a commit, ships whatever an attacker puts in it; base images carry hundreds of operating-system packages we never use; and when the next widespread vulnerability is announced, the first question is which of our running versions contain it.",
|
|
670
|
+
"decision": "Known vulnerabilities in dependencies are reported on every pull request and in a dashboard and do not block merging; each must be fixed within {{CRITICAL_DAYS}} days (critical) and {{HIGH_DAYS}} days (high) of disclosure, tracked as issues. Dependencies are pinned: {{PINNING}}; Renovate or Dependabot open the update pull requests. Tools: GitHub Dependabot alerts or OSV-Scanner for findings, OWASP Dependency-Track for the dashboard. Revisit this decision, towards blocking, once no high or critical finding is past its deadline.",
|
|
671
|
+
"consequences": "• No work blocked by findings nobody can fix yet.\n• Vulnerable versions can merge and ship until fixed; the deadlines carry the risk.\n• Needs someone to watch the deadlines, or the dashboard turns into wallpaper.",
|
|
672
|
+
"alternatives": "1. Block the merge on high and critical findings: stops new ones at the door.\n2. Scan only before release: late and in bulk.",
|
|
673
|
+
"hubWhen": {
|
|
674
|
+
"SCA": [
|
|
675
|
+
"sla"
|
|
676
|
+
]
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"id": "adr-slsa-l1",
|
|
681
|
+
"type": "adr",
|
|
682
|
+
"label": "Builds record provenance",
|
|
683
|
+
"x": 780,
|
|
684
|
+
"y": 260,
|
|
685
|
+
"concern": "supply-chain",
|
|
686
|
+
"status": "accepted",
|
|
687
|
+
"date": "",
|
|
688
|
+
"context": "This element is built by us from source code, open-source dependencies and a base image, and shipped as an artifact. The forces: most of what runs is code we did not write, and known vulnerabilities in it are exploited within days of disclosure; a dependency resolved fresh on every build can change under us, through a compromised maintainer, a typosquatted name or a malicious release; a build that anyone with CI access can alter, or whose output nobody can trace to a commit, ships whatever an attacker puts in it; base images carry hundreds of operating-system packages we never use; and when the next widespread vulnerability is announced, the first question is which of our running versions contain it.",
|
|
689
|
+
"decision": "Release builds run from a scripted pipeline and attach SLSA provenance to each artifact (Docker BuildKit with --provenance=mode=max, or the CI's provenance generator); unsigned for now. Changes reach the default branch only through reviewed pull requests. SBOM: {{SBOM}}. Base images: {{BASE}}. Moving to signed provenance on hosted CI (Build L2) is the next step, and supersedes this decision.",
|
|
690
|
+
"consequences": "• Each artifact says which commit and build made it, which catches mistakes and speeds investigations.\n• Unsigned provenance can be forged by anyone who can push an image: it is not a security control yet.\n• Little cost: a flag on the build.",
|
|
691
|
+
"alternatives": "1. Signed provenance from hosted CI (Build L2): a few lines more, and verifiable.\n2. No provenance: nothing to trace an artifact by.",
|
|
692
|
+
"hubWhen": {
|
|
693
|
+
"SLSA": [
|
|
694
|
+
"l1"
|
|
695
|
+
]
|
|
696
|
+
}
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"id": "adr-slsa-l2",
|
|
700
|
+
"type": "adr",
|
|
701
|
+
"label": "Signed provenance verified on deploy",
|
|
702
|
+
"x": 780,
|
|
703
|
+
"y": 390,
|
|
704
|
+
"concern": "supply-chain",
|
|
705
|
+
"status": "accepted",
|
|
706
|
+
"date": "",
|
|
707
|
+
"context": "This element is built by us from source code, open-source dependencies and a base image, and shipped as an artifact. The forces: most of what runs is code we did not write, and known vulnerabilities in it are exploited within days of disclosure; a dependency resolved fresh on every build can change under us, through a compromised maintainer, a typosquatted name or a malicious release; a build that anyone with CI access can alter, or whose output nobody can trace to a commit, ships whatever an attacker puts in it; base images carry hundreds of operating-system packages we never use; and when the next widespread vulnerability is announced, the first question is which of our running versions contain it.",
|
|
708
|
+
"decision": "Release artifacts are built only on hosted CI, which signs their SLSA provenance (GitHub artifact attestations with actions/attest-build-provenance, GitLab's SLSA provenance, or cosign keyless signing with Sigstore); the deployment pipeline verifies the provenance names this repository and a protected branch or tag, and stops otherwise. Changes reach the default branch only through reviewed pull requests. SBOM: {{SBOM}}. Base images: {{BASE}}. Choose by the CI in use; Sigstore keyless signing works across CIs and needs no keys to keep.",
|
|
709
|
+
"consequences": "• An artifact built on a laptop or a fork cannot be deployed.\n• Depends on the hosted CI's signing and on the transparency log being reachable at verification time.\n• Build steps can still influence their own provenance; that is what Build L3 adds.",
|
|
710
|
+
"alternatives": "1. Build L3 with isolated provenance generation and admission control: stronger, more to set up.\n2. Build L1, unsigned provenance: traceable, not verifiable.\n3. Signing with long-lived keys: works offline, but the key becomes a secret to protect and rotate.",
|
|
711
|
+
"hubWhen": {
|
|
712
|
+
"SLSA": [
|
|
713
|
+
"l2"
|
|
714
|
+
]
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"id": "adr-slsa-l3",
|
|
719
|
+
"type": "adr",
|
|
720
|
+
"label": "Hardened builds, admission verified",
|
|
721
|
+
"x": 780,
|
|
722
|
+
"y": 520,
|
|
723
|
+
"concern": "supply-chain",
|
|
724
|
+
"status": "accepted",
|
|
725
|
+
"date": "",
|
|
726
|
+
"context": "This element is built by us from source code, open-source dependencies and a base image, and shipped as an artifact. The forces: most of what runs is code we did not write, and known vulnerabilities in it are exploited within days of disclosure; a dependency resolved fresh on every build can change under us, through a compromised maintainer, a typosquatted name or a malicious release; a build that anyone with CI access can alter, or whose output nobody can trace to a commit, ships whatever an attacker puts in it; base images carry hundreds of operating-system packages we never use; and when the next widespread vulnerability is announced, the first question is which of our running versions contain it.",
|
|
727
|
+
"decision": "Release artifacts are built by isolated, ephemeral jobs whose provenance is generated and signed outside the build steps (slsa-framework/slsa-github-generator reusable workflows, or Tekton Chains), and the cluster admits only images whose provenance verifies for this repository (Sigstore policy-controller or Kyverno verifyImages). Changes reach the default branch only through reviewed pull requests. SBOM: {{SBOM}}. Base images: {{BASE}}.",
|
|
728
|
+
"consequences": "• Neither a developer nor a compromised build step can produce an artifact the cluster will run.\n• Admission control is on the path of every deployment: its outage blocks deploys, so it fails closed with a documented break-glass.\n• Builds take longer and must fit the generator's workflow.",
|
|
729
|
+
"alternatives": "1. Build L2 with verification in the pipeline: simpler, but a direct deploy bypasses it.\n2. Reproducible builds checked by a second builder: the strongest, and rarely practical yet.",
|
|
730
|
+
"hubWhen": {
|
|
731
|
+
"SLSA": [
|
|
732
|
+
"l3"
|
|
733
|
+
]
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"id": "ff-scorecard",
|
|
738
|
+
"type": "fitness-fn",
|
|
739
|
+
"label": "OpenSSF Scorecard",
|
|
740
|
+
"x": 1040,
|
|
741
|
+
"y": 0,
|
|
742
|
+
"category": "process",
|
|
743
|
+
"threshold": "Branch-Protection, Code-Review, Dangerous-Workflow and Token-Permissions each score 10; overall score at least 7.0",
|
|
744
|
+
"description": "OpenSSF Scorecard runs weekly and on every push to the default branch; a step fails the job when an enforced check scores below its threshold.\n\nTool: OpenSSF Scorecard (ossf/scorecard-action)\n\n```yaml\n# .github/workflows/scorecard.yml\nname: scorecard\non:\n push: { branches: [main] }\n schedule: [{ cron: '0 6 * * 1' }]\npermissions: read-all\njobs:\n scorecard:\n runs-on: ubuntu-latest\n permissions: { id-token: write, security-events: write }\n steps:\n - uses: actions/checkout@v4\n with: { persist-credentials: false }\n - uses: ossf/scorecard-action@v2.4.0\n with: { results_file: results.json, results_format: json, publish_results: true }\n - run: |\n jq -e '.score >= 7 and ([.checks[]\n | select(.name | IN(\"Branch-Protection\",\"Code-Review\",\"Dangerous-Workflow\",\"Token-Permissions\"))\n | select(.score < 10)] | length == 0)' results.json\n```"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"id": "ff-vuln-gate",
|
|
748
|
+
"type": "fitness-fn",
|
|
749
|
+
"label": "Vulnerable dependency check",
|
|
750
|
+
"x": 1040,
|
|
751
|
+
"y": 130,
|
|
752
|
+
"category": "structural",
|
|
753
|
+
"threshold": "0 high or critical vulnerabilities with a fixed version added by a pull request; the check is required for merging",
|
|
754
|
+
"description": "GitHub's dependency review action compares the pull request's dependencies with the base branch and fails on a newly added high or critical advisory; OSV-Scanner covers lockfiles the dependency graph does not.\n\nTool: GitHub dependency-review-action and OSV-Scanner\n\n```yaml\n# .github/workflows/dependencies.yml\nname: dependencies\non: [pull_request]\npermissions: { contents: read }\njobs:\n review:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4\n - uses: actions/dependency-review-action@v4\n with:\n fail-on-severity: high\n comment-summary-in-pr: on-failure\n - name: OSV-Scanner over every lockfile\n run: |\n go install github.com/google/osv-scanner/v2/cmd/osv-scanner@v2.0.0\n osv-scanner scan source --recursive .\n```",
|
|
755
|
+
"hubWhen": {
|
|
756
|
+
"SCA": [
|
|
757
|
+
"gate"
|
|
758
|
+
]
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"id": "ff-vuln-age",
|
|
763
|
+
"type": "fitness-fn",
|
|
764
|
+
"label": "No finding past its deadline",
|
|
765
|
+
"x": 1040,
|
|
766
|
+
"y": 260,
|
|
767
|
+
"category": "operational",
|
|
768
|
+
"threshold": "0 open critical alerts older than {{CRITICAL_DAYS}} days and 0 open high alerts older than {{HIGH_DAYS}} days",
|
|
769
|
+
"description": "A daily job reads the repository's open Dependabot alerts and fails on any past its deadline, naming the package and the advisory.\n\nTool: GitHub Dependabot alerts API through the GitHub CLI\n\n```bash\ngh api --paginate \"/repos/$REPO/dependabot/alerts?state=open&per_page=100\" | jq -e \\\n --argjson crit {{CRITICAL_DAYS}} --argjson high {{HIGH_DAYS}} '\n [.[] | {sev: .security_advisory.severity, age: ((now - (.created_at | fromdateiso8601)) / 86400),\n pkg: .dependency.package.name, ghsa: .security_advisory.ghsa_id}\n | select((.sev == \"critical\" and .age > $crit) or (.sev == \"high\" and .age > $high))]\n | if length > 0 then (map(\"\\(.pkg) \\(.ghsa) \\(.sev)\") | join(\"\\n\") | halt_error(1)) else true end'\n```"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"id": "ff-pin-lockfile",
|
|
773
|
+
"type": "fitness-fn",
|
|
774
|
+
"label": "Install refuses drift",
|
|
775
|
+
"x": 1040,
|
|
776
|
+
"y": 390,
|
|
777
|
+
"category": "structural",
|
|
778
|
+
"threshold": "0 builds that change the lockfile; every package manager in the repository has a committed lockfile",
|
|
779
|
+
"description": "CI installs with the lockfile-only command of each package manager and fails if the working tree changed afterwards or a manifest has no lockfile next to it.\n\nTool: npm ci (pip install --require-hashes, go mod verify, dotnet restore --locked-mode for other stacks)\n\n```bash\nfor manifest in $(git ls-files '*package.json' | grep -v node_modules); do\n dir=$(dirname \"$manifest\")\n [ -f \"$dir/package-lock.json\" ] || { echo \"$dir has no lockfile\"; exit 1; }\ndone\nnpm ci --ignore-scripts\ngit diff --exit-code -- '*package-lock.json'\n```",
|
|
780
|
+
"hubWhen": {
|
|
781
|
+
"PINNING": [
|
|
782
|
+
"lockfile",
|
|
783
|
+
"proxy"
|
|
784
|
+
]
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"id": "ff-pin-hash",
|
|
789
|
+
"type": "fitness-fn",
|
|
790
|
+
"label": "Actions and images pinned",
|
|
791
|
+
"x": 1040,
|
|
792
|
+
"y": 520,
|
|
793
|
+
"category": "structural",
|
|
794
|
+
"threshold": "0 workflow actions not pinned to a full commit SHA; 0 FROM lines without a sha256 digest",
|
|
795
|
+
"description": "zizmor audits the workflows and fails on an action used by tag; a check over the Dockerfiles fails on a FROM line without a digest.\n\nTool: zizmor (unpinned-uses audit) and grep\n\n```yaml\n# zizmor.yml, run as: zizmor --config zizmor.yml .github/workflows\nrules:\n unpinned-uses:\n config:\n policies:\n \"*\": hash-pin\n# and in the same job, for Dockerfiles:\n# ! grep -rnE '^FROM [^ @]+:[^ @]+( |$)' --include='Dockerfile*' .\n```",
|
|
796
|
+
"hubWhen": {
|
|
797
|
+
"PINNING": [
|
|
798
|
+
"hash"
|
|
799
|
+
]
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"id": "ff-pin-proxy",
|
|
804
|
+
"type": "fitness-fn",
|
|
805
|
+
"label": "Packages only from the proxy",
|
|
806
|
+
"x": 1040,
|
|
807
|
+
"y": 650,
|
|
808
|
+
"category": "structural",
|
|
809
|
+
"threshold": "0 lockfile entries resolved from anywhere but the internal registry",
|
|
810
|
+
"description": "A check over the lockfiles fails when any package was resolved from a public registry, which would mean the proxy was bypassed.\n\nTool: jq over package-lock.json\n\n```bash\nREGISTRY=\"https://artifacts.example.internal/api/npm/npm-remote/\"\njq -r --arg reg \"$REGISTRY\" '.packages | to_entries[]\n | select(.value.resolved != null and (.value.resolved | startswith($reg) | not))\n | \"\\(.key) from \\(.value.resolved)\"' package-lock.json > outside.txt\ntest ! -s outside.txt || { cat outside.txt; exit 1; }\n```",
|
|
811
|
+
"hubWhen": {
|
|
812
|
+
"PINNING": [
|
|
813
|
+
"proxy"
|
|
814
|
+
]
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"id": "ff-provenance-l1",
|
|
819
|
+
"type": "fitness-fn",
|
|
820
|
+
"label": "Images carry provenance",
|
|
821
|
+
"x": 1040,
|
|
822
|
+
"y": 780,
|
|
823
|
+
"category": "structural",
|
|
824
|
+
"threshold": "100 % of released images carry SLSA provenance naming the repository and commit",
|
|
825
|
+
"description": "After each release build, the pipeline inspects the pushed image and fails when it carries no SLSA provenance.\n\nTool: Docker Buildx (BuildKit provenance attestations)\n\n```bash\ndocker buildx build --provenance=mode=max --sbom=true -t \"$IMAGE\" --push .\ndocker buildx imagetools inspect \"$IMAGE\" --format '{{ json .Provenance }}' > provenance.json\njq -e '.SLSA.invocation.configSource.uri // .SLSA.buildDefinition.externalParameters' provenance.json\n```",
|
|
826
|
+
"hubWhen": {
|
|
827
|
+
"SLSA": [
|
|
828
|
+
"l1"
|
|
829
|
+
]
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"id": "ff-provenance-l2",
|
|
834
|
+
"type": "fitness-fn",
|
|
835
|
+
"label": "Provenance verified on deploy",
|
|
836
|
+
"x": 1040,
|
|
837
|
+
"y": 910,
|
|
838
|
+
"category": "structural",
|
|
839
|
+
"threshold": "0 deployments of an artifact whose signed provenance does not verify for this repository",
|
|
840
|
+
"description": "The build attests provenance with GitHub artifact attestations; the deploy job verifies it before anything is rolled out.\n\nTool: GitHub artifact attestations (actions/attest-build-provenance, gh attestation verify)\n\n```yaml\n# in the build job (permissions: id-token: write, attestations: write)\n- uses: actions/attest-build-provenance@v2\n with:\n subject-name: ghcr.io/${{ github.repository }}\n subject-digest: ${{ steps.push.outputs.digest }}\n push-to-registry: true\n# in the deploy job, before rolling out\n- run: gh attestation verify \"oci://$IMAGE@$DIGEST\" --repo \"${{ github.repository }}\"\n env: { GH_TOKEN: \"${{ github.token }}\" }\n```",
|
|
841
|
+
"hubWhen": {
|
|
842
|
+
"SLSA": [
|
|
843
|
+
"l2"
|
|
844
|
+
]
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"id": "ff-provenance-l3",
|
|
849
|
+
"type": "fitness-fn",
|
|
850
|
+
"label": "Admission verifies provenance",
|
|
851
|
+
"x": 1040,
|
|
852
|
+
"y": 1040,
|
|
853
|
+
"category": "structural",
|
|
854
|
+
"threshold": "0 pods admitted from our registry without SLSA provenance signed by the isolated generator workflow",
|
|
855
|
+
"description": "A Kyverno policy in enforce mode verifies, for every pod from our registry, that the image has an SLSA provenance attestation signed keylessly by the slsa-github-generator workflow for our repository.\n\nTool: Kyverno (verifyImages)\n\n```yaml\napiVersion: kyverno.io/v1\nkind: ClusterPolicy\nmetadata: { name: require-slsa-provenance }\nspec:\n validationFailureAction: Enforce\n webhookTimeoutSeconds: 30\n rules:\n - name: slsa-provenance\n match: { any: [{ resources: { kinds: [Pod] } }] }\n verifyImages:\n - imageReferences: [\"ghcr.io/our-org/*\"]\n attestations:\n - type: https://slsa.dev/provenance/v0.2\n attestors:\n - entries:\n - keyless:\n issuer: https://token.actions.githubusercontent.com\n subjectRegExp: '^https://github.com/slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@refs/tags/v.*'\n rekor: { url: https://rekor.sigstore.dev }\n conditions:\n - all:\n - key: \"{{ invocation.configSource.uri }}\"\n operator: Equals\n value: \"git+https://github.com/our-org/shop@refs/heads/main\"\n```",
|
|
856
|
+
"hubWhen": {
|
|
857
|
+
"SLSA": [
|
|
858
|
+
"l3"
|
|
859
|
+
]
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"id": "ff-sbom-track",
|
|
864
|
+
"type": "fitness-fn",
|
|
865
|
+
"label": "SBOM of every deployed version",
|
|
866
|
+
"x": 1040,
|
|
867
|
+
"y": 1170,
|
|
868
|
+
"category": "operational",
|
|
869
|
+
"threshold": "100 % of deployed versions have an SBOM in Dependency-Track; 0 critical policy violations in versions running in production",
|
|
870
|
+
"description": "The release pipeline generates a CycloneDX SBOM of the image with Syft and uploads it to OWASP Dependency-Track under the element and version, where new advisories are matched against it continuously.\n\nTool: Syft and OWASP Dependency-Track\n\n```bash\nsyft \"$IMAGE\" -o cyclonedx-json > sbom.cdx.json\ncurl -sf -X POST \"$DTRACK_URL/api/v1/bom\" \\\n -H \"X-Api-Key: $DTRACK_API_KEY\" \\\n -F \"autoCreate=true\" -F \"projectName=$ELEMENT\" -F \"projectVersion=$VERSION\" \\\n -F \"bom=@sbom.cdx.json\"\n```",
|
|
871
|
+
"hubWhen": {
|
|
872
|
+
"SBOM": [
|
|
873
|
+
"internal"
|
|
874
|
+
]
|
|
875
|
+
}
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"id": "ff-sbom-release",
|
|
879
|
+
"type": "fitness-fn",
|
|
880
|
+
"label": "Releases carry a valid SBOM",
|
|
881
|
+
"x": 1040,
|
|
882
|
+
"y": 1300,
|
|
883
|
+
"category": "structural",
|
|
884
|
+
"threshold": "100 % of releases carry a signed SBOM that validates against its schema, with a version and package URL on 100 % of components",
|
|
885
|
+
"description": "The release job generates the SBOM, validates it against the CycloneDX schema, checks that every component has a version and purl, attests it to the image with cosign and attaches it to the release.\n\nTool: Syft, CycloneDX CLI and cosign\n\n```bash\nsyft \"$IMAGE\" -o cyclonedx-json > sbom.cdx.json\ncyclonedx validate --input-file sbom.cdx.json --fail-on-errors\njq -e '[.components[] | select(.version == null or .purl == null)] | length == 0' sbom.cdx.json\ncosign attest --yes --type cyclonedx --predicate sbom.cdx.json \"$IMAGE@$DIGEST\"\ngh release upload \"$TAG\" sbom.cdx.json vex.openvex.json\n```",
|
|
886
|
+
"hubWhen": {
|
|
887
|
+
"SBOM": [
|
|
888
|
+
"shipped"
|
|
889
|
+
]
|
|
890
|
+
}
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"id": "ff-base-minimal",
|
|
894
|
+
"type": "fitness-fn",
|
|
895
|
+
"label": "Final stage on a minimal base",
|
|
896
|
+
"x": 1040,
|
|
897
|
+
"y": 1430,
|
|
898
|
+
"category": "structural",
|
|
899
|
+
"threshold": "0 Dockerfiles whose final stage is not on gcr.io/distroless or cgr.dev/chainguard, or runs as root",
|
|
900
|
+
"description": "A Conftest policy over each Dockerfile fails when the final stage starts from anything but a minimal base, or sets no non-root user.\n\nTool: Conftest (Open Policy Agent) Dockerfile parser\n\n```rego\npackage main\n\nimport rego.v1\n\nfroms := [i | some i in input; i.Cmd == \"from\"]\nfinal := froms[count(froms) - 1]\n\ndeny contains msg if {\n not startswith(final.Value[0], \"gcr.io/distroless/\")\n not startswith(final.Value[0], \"cgr.dev/chainguard/\")\n msg := sprintf(\"final stage FROM %s is not a minimal base\", [final.Value[0]])\n}\n\ndeny contains msg if {\n users := [i | some i in input; i.Cmd == \"user\"; i.Stage == final.Stage]\n count(users) == 0\n msg := \"final stage sets no USER: it would run as root\"\n}\n```",
|
|
901
|
+
"hubWhen": {
|
|
902
|
+
"BASE": [
|
|
903
|
+
"minimal"
|
|
904
|
+
]
|
|
905
|
+
}
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"id": "ff-base-official",
|
|
909
|
+
"type": "fitness-fn",
|
|
910
|
+
"label": "Fresh, patched images",
|
|
911
|
+
"x": 1040,
|
|
912
|
+
"y": 1560,
|
|
913
|
+
"category": "operational",
|
|
914
|
+
"threshold": "0 fixable high or critical OS vulnerabilities in released images; 0 production images older than {{REBUILD_DAYS}} days",
|
|
915
|
+
"description": "A scheduled pipeline rebuilds each image on its current base, scans it with Trivy and fails on fixable high or critical findings; a check fails when a running image was built more than {{REBUILD_DAYS}} days ago.\n\nTool: Trivy\n\n```bash\ndocker build --pull --no-cache -t \"$IMAGE\" .\ntrivy image --scanners vuln --pkg-types os --severity HIGH,CRITICAL --ignore-unfixed --exit-code 1 \"$IMAGE\"\ncreated=$(docker image inspect \"$RUNNING_IMAGE\" --format '{{ .Created }}')\nage_days=$(( ( $(date +%s) - $(date -d \"$created\" +%s) ) / 86400 ))\n[ \"$age_days\" -le {{REBUILD_DAYS}} ] || { echo \"running image is $age_days days old\"; exit 1; }\n```",
|
|
916
|
+
"hubWhen": {
|
|
917
|
+
"BASE": [
|
|
918
|
+
"official"
|
|
919
|
+
]
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"id": "ff-base-golden",
|
|
924
|
+
"type": "fitness-fn",
|
|
925
|
+
"label": "Only golden images run",
|
|
926
|
+
"x": 1040,
|
|
927
|
+
"y": 1690,
|
|
928
|
+
"category": "structural",
|
|
929
|
+
"threshold": "0 pods admitted with an image outside the internal registry",
|
|
930
|
+
"description": "A Kyverno policy in enforce mode refuses pods whose images come from anywhere but the internal registry, where only golden-image-based builds are published.\n\nTool: Kyverno\n\n```yaml\napiVersion: kyverno.io/v1\nkind: ClusterPolicy\nmetadata: { name: restrict-image-registries }\nspec:\n validationFailureAction: Enforce\n rules:\n - name: internal-registry-only\n match: { any: [{ resources: { kinds: [Pod] } }] }\n validate:\n message: \"Images must come from registry.example.internal, built on a golden image.\"\n pattern:\n spec:\n =(initContainers): [{ image: \"registry.example.internal/*\" }]\n containers: [{ image: \"registry.example.internal/*\" }]\n```",
|
|
931
|
+
"hubWhen": {
|
|
932
|
+
"BASE": [
|
|
933
|
+
"golden"
|
|
934
|
+
]
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
],
|
|
938
|
+
"relations": [
|
|
939
|
+
{
|
|
940
|
+
"id": "req-vuln-sla--derives--need",
|
|
941
|
+
"sourceId": "req-vuln-sla",
|
|
942
|
+
"targetId": "need",
|
|
943
|
+
"relationType": "derives"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"id": "req-vuln-gate--derives--need",
|
|
947
|
+
"sourceId": "req-vuln-gate",
|
|
948
|
+
"targetId": "need",
|
|
949
|
+
"relationType": "derives"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"id": "req-vuln-report--derives--need",
|
|
953
|
+
"sourceId": "req-vuln-report",
|
|
954
|
+
"targetId": "need",
|
|
955
|
+
"relationType": "derives"
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"id": "req-review--derives--need",
|
|
959
|
+
"sourceId": "req-review",
|
|
960
|
+
"targetId": "need",
|
|
961
|
+
"relationType": "derives"
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"id": "req-pin-lockfile--derives--need",
|
|
965
|
+
"sourceId": "req-pin-lockfile",
|
|
966
|
+
"targetId": "need",
|
|
967
|
+
"relationType": "derives"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"id": "req-pin-hash--derives--need",
|
|
971
|
+
"sourceId": "req-pin-hash",
|
|
972
|
+
"targetId": "need",
|
|
973
|
+
"relationType": "derives"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"id": "req-pin-proxy--derives--need",
|
|
977
|
+
"sourceId": "req-pin-proxy",
|
|
978
|
+
"targetId": "need",
|
|
979
|
+
"relationType": "derives"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"id": "req-provenance-l1--derives--need",
|
|
983
|
+
"sourceId": "req-provenance-l1",
|
|
984
|
+
"targetId": "need",
|
|
985
|
+
"relationType": "derives"
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"id": "req-provenance-l2--derives--need",
|
|
989
|
+
"sourceId": "req-provenance-l2",
|
|
990
|
+
"targetId": "need",
|
|
991
|
+
"relationType": "derives"
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"id": "req-provenance-l3--derives--need",
|
|
995
|
+
"sourceId": "req-provenance-l3",
|
|
996
|
+
"targetId": "need",
|
|
997
|
+
"relationType": "derives"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"id": "req-sbom-internal--derives--need",
|
|
1001
|
+
"sourceId": "req-sbom-internal",
|
|
1002
|
+
"targetId": "need",
|
|
1003
|
+
"relationType": "derives"
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
"id": "req-sbom-shipped--derives--need",
|
|
1007
|
+
"sourceId": "req-sbom-shipped",
|
|
1008
|
+
"targetId": "need",
|
|
1009
|
+
"relationType": "derives"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"id": "req-base-minimal--derives--need",
|
|
1013
|
+
"sourceId": "req-base-minimal",
|
|
1014
|
+
"targetId": "need",
|
|
1015
|
+
"relationType": "derives"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"id": "req-base-official--derives--need",
|
|
1019
|
+
"sourceId": "req-base-official",
|
|
1020
|
+
"targetId": "need",
|
|
1021
|
+
"relationType": "derives"
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"id": "req-base-golden--derives--need",
|
|
1025
|
+
"sourceId": "req-base-golden",
|
|
1026
|
+
"targetId": "need",
|
|
1027
|
+
"relationType": "derives"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"id": "sc-vuln-sla--verifies--req-vuln-sla",
|
|
1031
|
+
"sourceId": "sc-vuln-sla",
|
|
1032
|
+
"targetId": "req-vuln-sla",
|
|
1033
|
+
"relationType": "verifies"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"id": "sc-vuln-gate--verifies--req-vuln-gate",
|
|
1037
|
+
"sourceId": "sc-vuln-gate",
|
|
1038
|
+
"targetId": "req-vuln-gate",
|
|
1039
|
+
"relationType": "verifies"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"id": "sc-vuln-report--verifies--req-vuln-report",
|
|
1043
|
+
"sourceId": "sc-vuln-report",
|
|
1044
|
+
"targetId": "req-vuln-report",
|
|
1045
|
+
"relationType": "verifies"
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"id": "sc-review--verifies--req-review",
|
|
1049
|
+
"sourceId": "sc-review",
|
|
1050
|
+
"targetId": "req-review",
|
|
1051
|
+
"relationType": "verifies"
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"id": "sc-pin-lockfile--verifies--req-pin-lockfile",
|
|
1055
|
+
"sourceId": "sc-pin-lockfile",
|
|
1056
|
+
"targetId": "req-pin-lockfile",
|
|
1057
|
+
"relationType": "verifies"
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"id": "sc-pin-hash--verifies--req-pin-hash",
|
|
1061
|
+
"sourceId": "sc-pin-hash",
|
|
1062
|
+
"targetId": "req-pin-hash",
|
|
1063
|
+
"relationType": "verifies"
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"id": "sc-pin-proxy--verifies--req-pin-proxy",
|
|
1067
|
+
"sourceId": "sc-pin-proxy",
|
|
1068
|
+
"targetId": "req-pin-proxy",
|
|
1069
|
+
"relationType": "verifies"
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"id": "sc-provenance-l1--verifies--req-provenance-l1",
|
|
1073
|
+
"sourceId": "sc-provenance-l1",
|
|
1074
|
+
"targetId": "req-provenance-l1",
|
|
1075
|
+
"relationType": "verifies"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"id": "sc-provenance-l2--verifies--req-provenance-l2",
|
|
1079
|
+
"sourceId": "sc-provenance-l2",
|
|
1080
|
+
"targetId": "req-provenance-l2",
|
|
1081
|
+
"relationType": "verifies"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"id": "sc-provenance-l3--verifies--req-provenance-l3",
|
|
1085
|
+
"sourceId": "sc-provenance-l3",
|
|
1086
|
+
"targetId": "req-provenance-l3",
|
|
1087
|
+
"relationType": "verifies"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"id": "sc-sbom-internal--verifies--req-sbom-internal",
|
|
1091
|
+
"sourceId": "sc-sbom-internal",
|
|
1092
|
+
"targetId": "req-sbom-internal",
|
|
1093
|
+
"relationType": "verifies"
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
"id": "sc-sbom-shipped--verifies--req-sbom-shipped",
|
|
1097
|
+
"sourceId": "sc-sbom-shipped",
|
|
1098
|
+
"targetId": "req-sbom-shipped",
|
|
1099
|
+
"relationType": "verifies"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"id": "sc-base-minimal--verifies--req-base-minimal",
|
|
1103
|
+
"sourceId": "sc-base-minimal",
|
|
1104
|
+
"targetId": "req-base-minimal",
|
|
1105
|
+
"relationType": "verifies"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"id": "sc-base-official--verifies--req-base-official",
|
|
1109
|
+
"sourceId": "sc-base-official",
|
|
1110
|
+
"targetId": "req-base-official",
|
|
1111
|
+
"relationType": "verifies"
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"id": "sc-base-golden--verifies--req-base-golden",
|
|
1115
|
+
"sourceId": "sc-base-golden",
|
|
1116
|
+
"targetId": "req-base-golden",
|
|
1117
|
+
"relationType": "verifies"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"id": "ff-scorecard--implements--adr-slsa-l1",
|
|
1121
|
+
"sourceId": "ff-scorecard",
|
|
1122
|
+
"targetId": "adr-slsa-l1",
|
|
1123
|
+
"relationType": "implements"
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"id": "ff-scorecard--implements--adr-slsa-l2",
|
|
1127
|
+
"sourceId": "ff-scorecard",
|
|
1128
|
+
"targetId": "adr-slsa-l2",
|
|
1129
|
+
"relationType": "implements"
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"id": "ff-scorecard--implements--adr-slsa-l3",
|
|
1133
|
+
"sourceId": "ff-scorecard",
|
|
1134
|
+
"targetId": "adr-slsa-l3",
|
|
1135
|
+
"relationType": "implements"
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"id": "ff-scorecard--implements--adr-deps-gate",
|
|
1139
|
+
"sourceId": "ff-scorecard",
|
|
1140
|
+
"targetId": "adr-deps-gate",
|
|
1141
|
+
"relationType": "implements"
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"id": "ff-scorecard--implements--adr-deps-sla",
|
|
1145
|
+
"sourceId": "ff-scorecard",
|
|
1146
|
+
"targetId": "adr-deps-sla",
|
|
1147
|
+
"relationType": "implements"
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"id": "ff-vuln-gate--implements--adr-deps-gate",
|
|
1151
|
+
"sourceId": "ff-vuln-gate",
|
|
1152
|
+
"targetId": "adr-deps-gate",
|
|
1153
|
+
"relationType": "implements"
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
"id": "ff-vuln-age--implements--adr-deps-gate",
|
|
1157
|
+
"sourceId": "ff-vuln-age",
|
|
1158
|
+
"targetId": "adr-deps-gate",
|
|
1159
|
+
"relationType": "implements"
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
"id": "ff-vuln-age--implements--adr-deps-sla",
|
|
1163
|
+
"sourceId": "ff-vuln-age",
|
|
1164
|
+
"targetId": "adr-deps-sla",
|
|
1165
|
+
"relationType": "implements"
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
"id": "ff-pin-lockfile--implements--adr-deps-gate",
|
|
1169
|
+
"sourceId": "ff-pin-lockfile",
|
|
1170
|
+
"targetId": "adr-deps-gate",
|
|
1171
|
+
"relationType": "implements"
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"id": "ff-pin-lockfile--implements--adr-deps-sla",
|
|
1175
|
+
"sourceId": "ff-pin-lockfile",
|
|
1176
|
+
"targetId": "adr-deps-sla",
|
|
1177
|
+
"relationType": "implements"
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
"id": "ff-pin-hash--implements--adr-deps-gate",
|
|
1181
|
+
"sourceId": "ff-pin-hash",
|
|
1182
|
+
"targetId": "adr-deps-gate",
|
|
1183
|
+
"relationType": "implements"
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"id": "ff-pin-hash--implements--adr-deps-sla",
|
|
1187
|
+
"sourceId": "ff-pin-hash",
|
|
1188
|
+
"targetId": "adr-deps-sla",
|
|
1189
|
+
"relationType": "implements"
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
"id": "ff-pin-proxy--implements--adr-deps-gate",
|
|
1193
|
+
"sourceId": "ff-pin-proxy",
|
|
1194
|
+
"targetId": "adr-deps-gate",
|
|
1195
|
+
"relationType": "implements"
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
"id": "ff-pin-proxy--implements--adr-deps-sla",
|
|
1199
|
+
"sourceId": "ff-pin-proxy",
|
|
1200
|
+
"targetId": "adr-deps-sla",
|
|
1201
|
+
"relationType": "implements"
|
|
1202
|
+
},
|
|
1203
|
+
{
|
|
1204
|
+
"id": "ff-provenance-l1--implements--adr-slsa-l1",
|
|
1205
|
+
"sourceId": "ff-provenance-l1",
|
|
1206
|
+
"targetId": "adr-slsa-l1",
|
|
1207
|
+
"relationType": "implements"
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"id": "ff-provenance-l2--implements--adr-slsa-l2",
|
|
1211
|
+
"sourceId": "ff-provenance-l2",
|
|
1212
|
+
"targetId": "adr-slsa-l2",
|
|
1213
|
+
"relationType": "implements"
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
"id": "ff-provenance-l3--implements--adr-slsa-l3",
|
|
1217
|
+
"sourceId": "ff-provenance-l3",
|
|
1218
|
+
"targetId": "adr-slsa-l3",
|
|
1219
|
+
"relationType": "implements"
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"id": "ff-sbom-track--implements--adr-slsa-l1",
|
|
1223
|
+
"sourceId": "ff-sbom-track",
|
|
1224
|
+
"targetId": "adr-slsa-l1",
|
|
1225
|
+
"relationType": "implements"
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
"id": "ff-sbom-track--implements--adr-slsa-l2",
|
|
1229
|
+
"sourceId": "ff-sbom-track",
|
|
1230
|
+
"targetId": "adr-slsa-l2",
|
|
1231
|
+
"relationType": "implements"
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"id": "ff-sbom-track--implements--adr-slsa-l3",
|
|
1235
|
+
"sourceId": "ff-sbom-track",
|
|
1236
|
+
"targetId": "adr-slsa-l3",
|
|
1237
|
+
"relationType": "implements"
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"id": "ff-sbom-release--implements--adr-slsa-l1",
|
|
1241
|
+
"sourceId": "ff-sbom-release",
|
|
1242
|
+
"targetId": "adr-slsa-l1",
|
|
1243
|
+
"relationType": "implements"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"id": "ff-sbom-release--implements--adr-slsa-l2",
|
|
1247
|
+
"sourceId": "ff-sbom-release",
|
|
1248
|
+
"targetId": "adr-slsa-l2",
|
|
1249
|
+
"relationType": "implements"
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"id": "ff-sbom-release--implements--adr-slsa-l3",
|
|
1253
|
+
"sourceId": "ff-sbom-release",
|
|
1254
|
+
"targetId": "adr-slsa-l3",
|
|
1255
|
+
"relationType": "implements"
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
"id": "ff-base-minimal--implements--adr-slsa-l1",
|
|
1259
|
+
"sourceId": "ff-base-minimal",
|
|
1260
|
+
"targetId": "adr-slsa-l1",
|
|
1261
|
+
"relationType": "implements"
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
"id": "ff-base-minimal--implements--adr-slsa-l2",
|
|
1265
|
+
"sourceId": "ff-base-minimal",
|
|
1266
|
+
"targetId": "adr-slsa-l2",
|
|
1267
|
+
"relationType": "implements"
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"id": "ff-base-minimal--implements--adr-slsa-l3",
|
|
1271
|
+
"sourceId": "ff-base-minimal",
|
|
1272
|
+
"targetId": "adr-slsa-l3",
|
|
1273
|
+
"relationType": "implements"
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"id": "ff-base-official--implements--adr-slsa-l1",
|
|
1277
|
+
"sourceId": "ff-base-official",
|
|
1278
|
+
"targetId": "adr-slsa-l1",
|
|
1279
|
+
"relationType": "implements"
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"id": "ff-base-official--implements--adr-slsa-l2",
|
|
1283
|
+
"sourceId": "ff-base-official",
|
|
1284
|
+
"targetId": "adr-slsa-l2",
|
|
1285
|
+
"relationType": "implements"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"id": "ff-base-official--implements--adr-slsa-l3",
|
|
1289
|
+
"sourceId": "ff-base-official",
|
|
1290
|
+
"targetId": "adr-slsa-l3",
|
|
1291
|
+
"relationType": "implements"
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"id": "ff-base-golden--implements--adr-slsa-l1",
|
|
1295
|
+
"sourceId": "ff-base-golden",
|
|
1296
|
+
"targetId": "adr-slsa-l1",
|
|
1297
|
+
"relationType": "implements"
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"id": "ff-base-golden--implements--adr-slsa-l2",
|
|
1301
|
+
"sourceId": "ff-base-golden",
|
|
1302
|
+
"targetId": "adr-slsa-l2",
|
|
1303
|
+
"relationType": "implements"
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"id": "ff-base-golden--implements--adr-slsa-l3",
|
|
1307
|
+
"sourceId": "ff-base-golden",
|
|
1308
|
+
"targetId": "adr-slsa-l3",
|
|
1309
|
+
"relationType": "implements"
|
|
1310
|
+
}
|
|
1311
|
+
]
|
|
1312
|
+
}
|