@radicaltools/cli 0.3.0 → 0.3.1
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 +121 -16
- package/dist/hub-catalogue/concern/concern-api-collections.radical +1136 -0
- package/dist/hub-catalogue/concern/concern-api-errors.radical +1180 -0
- package/dist/hub-catalogue/concern/concern-api-evolution.radical +449 -210
- package/dist/hub-catalogue/concern/concern-api-idempotency.radical +1218 -0
- package/dist/hub-catalogue/concern/concern-api-resource-design.radical +1102 -0
- package/dist/hub-catalogue/concern/concern-api-style-guide.radical +1210 -0
- package/dist/hub-catalogue/concern/concern-architecture-style.radical +287 -131
- package/dist/hub-catalogue/concern/concern-audit-trail.radical +1096 -0
- package/dist/hub-catalogue/concern/concern-authentication.radical +247 -37
- package/dist/hub-catalogue/concern/concern-authorization.radical +311 -89
- package/dist/hub-catalogue/concern/concern-availability.radical +287 -63
- package/dist/hub-catalogue/concern/concern-backend-stack.radical +300 -381
- package/dist/hub-catalogue/concern/concern-backup-recovery.radical +385 -129
- package/dist/hub-catalogue/concern/concern-caching.radical +1294 -0
- package/dist/hub-catalogue/concern/concern-capacity.radical +194 -81
- package/dist/hub-catalogue/concern/concern-code-documentation.radical +1397 -0
- package/dist/hub-catalogue/concern/concern-code-quality-gate.radical +1409 -0
- package/dist/hub-catalogue/concern/concern-code-review-branching.radical +1416 -0
- package/dist/hub-catalogue/concern/concern-code-style.radical +1058 -0
- package/dist/hub-catalogue/concern/concern-communication-style.radical +473 -167
- package/dist/hub-catalogue/concern/concern-data-classification.radical +970 -0
- package/dist/hub-catalogue/concern/concern-data-consistency.radical +339 -308
- package/dist/hub-catalogue/concern/concern-data-store.radical +480 -158
- package/dist/hub-catalogue/concern/concern-decomposition.radical +260 -85
- package/dist/hub-catalogue/concern/concern-definition-of-done.radical +1214 -0
- package/dist/hub-catalogue/concern/concern-delivery-metrics.radical +966 -0
- package/dist/hub-catalogue/concern/concern-dependency-hygiene.radical +1345 -0
- package/dist/hub-catalogue/concern/concern-deployment.radical +343 -92
- package/dist/hub-catalogue/concern/concern-encryption.radical +339 -76
- package/dist/hub-catalogue/concern/concern-error-handling-logging.radical +1197 -0
- package/dist/hub-catalogue/concern/concern-eu-dora.radical +1321 -0
- package/dist/hub-catalogue/concern/concern-frontend-stack.radical +467 -160
- package/dist/hub-catalogue/concern/concern-incident-management.radical +1204 -0
- package/dist/hub-catalogue/concern/concern-infrastructure.radical +1300 -268
- package/dist/hub-catalogue/concern/concern-integration-resilience.radical +88 -51
- package/dist/hub-catalogue/concern/concern-messaging.radical +173 -140
- package/dist/hub-catalogue/concern/concern-module-boundaries.radical +162 -159
- package/dist/hub-catalogue/concern/concern-observability.radical +224 -275
- package/dist/hub-catalogue/concern/concern-operational-readiness.radical +1249 -0
- package/dist/hub-catalogue/concern/concern-personal-data.radical +637 -122
- package/dist/hub-catalogue/concern/concern-quality-priorities.radical +1091 -0
- package/dist/hub-catalogue/concern/concern-rate-limiting.radical +433 -141
- package/dist/hub-catalogue/concern/concern-release-versioning.radical +1358 -0
- package/dist/hub-catalogue/concern/concern-retention.radical +1399 -0
- package/dist/hub-catalogue/concern/concern-secrets.radical +332 -74
- package/dist/hub-catalogue/concern/concern-secure-coding.radical +1379 -0
- package/dist/hub-catalogue/concern/concern-secure-development.radical +1245 -0
- package/dist/hub-catalogue/concern/concern-security-detection.radical +1153 -0
- package/dist/hub-catalogue/concern/concern-supply-chain.radical +257 -183
- package/dist/hub-catalogue/concern/concern-technical-debt.radical +1450 -0
- package/dist/hub-catalogue/concern/concern-technology-lifecycle.radical +1145 -0
- package/dist/hub-catalogue/concern/concern-tenant-isolation.radical +271 -137
- package/dist/hub-catalogue/concern/concern-test-strategy.radical +243 -224
- package/dist/hub-catalogue/concern/concern-threat-modelling.radical +1143 -0
- package/dist/index.js +3680 -2074
- package/package.json +1 -1
|
@@ -0,0 +1,1245 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hub": {
|
|
3
|
+
"id": "concern-secure-development",
|
|
4
|
+
"category": "concern",
|
|
5
|
+
"name": "Secure development process",
|
|
6
|
+
"description": "How the team that builds the element does security, measured against a framework: OWASP SAMM, NIST SSDF or the Microsoft SDL, who carries security in the team, how often an external tester attacks the element, and how the team is trained. The snippets are Node scripts and GitHub Actions over records kept under security/.",
|
|
7
|
+
"tags": [
|
|
8
|
+
"security",
|
|
9
|
+
"sdlc",
|
|
10
|
+
"owasp samm",
|
|
11
|
+
"nist ssdf",
|
|
12
|
+
"security champions",
|
|
13
|
+
"penetration testing"
|
|
14
|
+
],
|
|
15
|
+
"requiredMetamodel": "c4-ddd-governance-builtin",
|
|
16
|
+
"concern": {
|
|
17
|
+
"id": "secure-development",
|
|
18
|
+
"trigger": "LIST NODES WHERE (type = \"container\" OR type = \"webapp\") AND external != true",
|
|
19
|
+
"why": "a team builds these elements, so who does their security practices and how the team's maturity is measured has to be decided.",
|
|
20
|
+
"group": "security"
|
|
21
|
+
},
|
|
22
|
+
"sources": [
|
|
23
|
+
{
|
|
24
|
+
"title": "OWASP SAMM v2: the model (15 security practices in 5 business functions)",
|
|
25
|
+
"url": "https://owaspsamm.org/model/"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"title": "OWASP SAMM: assessment tools (SAMM Toolbox, SAMMwise)",
|
|
29
|
+
"url": "https://owaspsamm.org/assessment/"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"title": "NIST SP 800-218, Secure Software Development Framework (SSDF) Version 1.1",
|
|
33
|
+
"url": "https://csrc.nist.gov/pubs/sp/800/218/final"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"title": "NIST SP 800-218 Rev. 1 (SSDF 1.2), initial public draft, December 2025",
|
|
37
|
+
"url": "https://csrc.nist.gov/pubs/sp/800/218/r1/ipd"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"title": "CISA: Secure Software Development Attestation Form",
|
|
41
|
+
"url": "https://www.cisa.gov/secure-software-attestation-form"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"title": "OMB M-26-05: Adopting a Risk-based Approach to Software and Hardware Security (January 2026)",
|
|
45
|
+
"url": "https://www.whitehouse.gov/wp-content/uploads/2026/01/M-26-05-Adopting-a-Risk-based-Approach-to-Software-and-Hardware-Security.pdf"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"title": "Microsoft Security Development Lifecycle: practices",
|
|
49
|
+
"url": "https://www.microsoft.com/en-us/securityengineering/sdl/practices"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"title": "OWASP Security Champions Guide",
|
|
53
|
+
"url": "https://securitychampions.owasp.org/"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"title": "OWASP Web Security Testing Guide",
|
|
57
|
+
"url": "https://owasp.org/www-project-web-security-testing-guide/"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"title": "PCI Security Standards Council: PCI DSS v4.0.1, Requirements 6.2.2 and 11.4",
|
|
61
|
+
"url": "https://www.pcisecuritystandards.org/standards/pci-dss/"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"title": "BSIMM16 (Black Duck)",
|
|
65
|
+
"url": "https://www.blackduck.com/resources/analyst-reports/bsimm.html"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"templateParams": [
|
|
69
|
+
{
|
|
70
|
+
"key": "FRAMEWORK",
|
|
71
|
+
"title": "Framework",
|
|
72
|
+
"label": "Which framework is the team's security practice measured against?",
|
|
73
|
+
"hint": "The framework says what a complete secure development process looks like and how far the team is from it. It picks no tools: the tools and gates come from the Secure coding, Software supply chain, Threat modelling and Definition of Done packs, and the framework counts them as evidence.",
|
|
74
|
+
"defaultValue": "samm",
|
|
75
|
+
"options": [
|
|
76
|
+
{
|
|
77
|
+
"value": "samm",
|
|
78
|
+
"label": "OWASP SAMM v2 with a target per practice",
|
|
79
|
+
"description": "The team scores itself on the 15 SAMM practices (0 to 3) with the SAMM Toolbox at least once a year, and sets a target score and a date for each practice. Pick it when the goal is to improve step by step and show the progress, and no customer or regulator asks for a particular framework."
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"value": "ssdf",
|
|
83
|
+
"label": "NIST SSDF practices mapped to evidence",
|
|
84
|
+
"description": "Each of the 19 practices of NIST SP 800-218 (SSDF 1.1, PO.1 to RV.3) is mapped to the evidence that the team follows it: a workflow, a policy, a report. Pick it when you sell software to US federal agencies, or to buyers who ask for SSDF conformance or the CISA attestation form."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"value": "sdl",
|
|
88
|
+
"label": "the Microsoft SDL as the team's checklist",
|
|
89
|
+
"description": "The ten practices of the Microsoft Security Development Lifecycle are the team's checklist, each marked done, partial or not applicable with its evidence, reviewed once a year. Pick it for a small team that wants a short, concrete list rather than a maturity model, when no buyer asks for a framework."
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"key": "CHAMPIONS",
|
|
95
|
+
"title": "Security role",
|
|
96
|
+
"label": "Who carries security in the team?",
|
|
97
|
+
"hint": "Someone has to know why each security gate is there, answer the security questions of a change and keep the framework's record. A champion in each team is close to the code; a central team brings depth but is a queue. Which changes need a security review is set by the Threat modelling and Definition of Done packs; this answer says who gives it.",
|
|
98
|
+
"defaultValue": "champions",
|
|
99
|
+
"options": [
|
|
100
|
+
{
|
|
101
|
+
"value": "champions",
|
|
102
|
+
"label": "a security champion in each team",
|
|
103
|
+
"description": "One developer in each team that owns code is its security champion, with hours set aside every week (4 by default), further training, and a place in a champions group with a GitHub team of its own. Pick it with two or more teams, or for one team without a security specialist nearby."
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"value": "appsec",
|
|
107
|
+
"label": "a central application security team",
|
|
108
|
+
"description": "A central application security team reviews the changes labelled for a security review, within a set number of days (5 by default), and runs the framework assessment with the team. Pick it when the organisation has such a team and the element has few but high-risk changes, or a regulator asks for review by a security function."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"value": "none",
|
|
112
|
+
"label": "no dedicated security role",
|
|
113
|
+
"description": "Nobody has security as a role: peer reviewers answer the security questions and the engineering lead keeps the framework record. Pick it only for one small team building internal software; the decision records it, so that the first external customer or audit supersedes it."
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"key": "PENTEST",
|
|
119
|
+
"title": "Penetration test",
|
|
120
|
+
"label": "How often does an external tester attack the element?",
|
|
121
|
+
"hint": "A penetration test finds what scanners do not: access across roles, business logic, chained flaws. Its findings enter the deadlines of the Secure coding pack, which also decides the scanners and the dynamic testing (ZAP).",
|
|
122
|
+
"defaultValue": "yearly",
|
|
123
|
+
"options": [
|
|
124
|
+
{
|
|
125
|
+
"value": "yearly",
|
|
126
|
+
"label": "an external penetration test every year and before each major release",
|
|
127
|
+
"description": "An external firm tests the element at least every 12 months and before each major release, following the OWASP Web Security Testing Guide, signed in as each role, with a retest of the high findings. Pick it for anything reached from the internet or holding personal or payment data; PCI DSS Requirement 11.4 asks for at least this."
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"value": "major",
|
|
131
|
+
"label": "an external penetration test before each major release",
|
|
132
|
+
"description": "An external firm tests each major release before it is published, and nothing in between. Pick it when major releases come at least once a year and the changes between them are small, or the budget covers one test per release."
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"value": "none",
|
|
136
|
+
"label": "no penetration test, with what replaces it recorded",
|
|
137
|
+
"description": "No external test; a record names what replaces it (the Secure coding pack's dynamic testing, a bug bounty programme, an internal red team) and is reviewed every year. Pick it for internal tools without personal data, or before a first release, while a test would only find what the scanners already report."
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"key": "TRAINING",
|
|
143
|
+
"title": "Training",
|
|
144
|
+
"label": "How is the team trained in secure coding?",
|
|
145
|
+
"hint": "Attacks and frameworks change; a course taken once covers the attacks of the year it was taken. The completion records are evidence for every framework above.",
|
|
146
|
+
"defaultValue": "yearly",
|
|
147
|
+
"options": [
|
|
148
|
+
{
|
|
149
|
+
"value": "yearly",
|
|
150
|
+
"label": "secure coding training every year, with a completion record",
|
|
151
|
+
"description": "Every engineer who commits to the element completes the secure coding course within their first 30 days (by default) and again every 12 months; completions come from the learning platform's export. Pick it by default, and whenever PCI DSS applies (Requirement 6.2.2 asks for training every 12 months)."
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"value": "onboarding",
|
|
155
|
+
"label": "secure coding training at onboarding only",
|
|
156
|
+
"description": "Every engineer completes the course within their first 30 days (by default), and not again; what is new reaches the team through champions and reviews. Pick it for a small, stable team with a security champion, where no standard asks for yearly training."
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"key": "ASSESSMENT_MONTHS",
|
|
162
|
+
"label": "At most how many months may pass between two reviews of the framework record?",
|
|
163
|
+
"defaultValue": "12",
|
|
164
|
+
"type": "number"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"key": "SAMM_FLOOR",
|
|
168
|
+
"label": "What is the lowest target score a SAMM practice may have (0 to 3)? (OWASP SAMM only)",
|
|
169
|
+
"defaultValue": "1",
|
|
170
|
+
"type": "number"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"key": "CHAMPION_HOURS",
|
|
174
|
+
"label": "How many hours a week does each champion spend on security? (security champions only)",
|
|
175
|
+
"defaultValue": "4",
|
|
176
|
+
"type": "number"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"key": "SECURITY_TEAM",
|
|
180
|
+
"label": "Which GitHub team (its slug) gives security reviews: the champions, or the central application security team? (not with no dedicated security role)",
|
|
181
|
+
"defaultValue": "security-reviewers"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"key": "APPSEC_REVIEW_DAYS",
|
|
185
|
+
"label": "Within how many days must the central team give a security review? (central team only)",
|
|
186
|
+
"defaultValue": "5",
|
|
187
|
+
"type": "number"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"key": "PENTEST_MONTHS",
|
|
191
|
+
"label": "At most how many months may pass between two penetration tests? (yearly tests only)",
|
|
192
|
+
"defaultValue": "12",
|
|
193
|
+
"type": "number"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"key": "PENTEST_TRIAGE_DAYS",
|
|
197
|
+
"label": "Within how many days of a penetration test report must its findings be filed? (with penetration tests)",
|
|
198
|
+
"defaultValue": "5",
|
|
199
|
+
"type": "number"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"key": "MAJOR_TAGS",
|
|
203
|
+
"label": "Which regular expression matches the git tag of a major release? (with penetration tests)",
|
|
204
|
+
"defaultValue": "^v[0-9]+\\.0\\.0$"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"key": "TRAINING_COURSE",
|
|
208
|
+
"label": "Which course in the learning platform counts as the secure coding training?",
|
|
209
|
+
"defaultValue": "Secure coding"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"key": "ONBOARDING_DAYS",
|
|
213
|
+
"label": "Within how many days of their first commit must an engineer complete the course?",
|
|
214
|
+
"defaultValue": "30",
|
|
215
|
+
"type": "number"
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
"nodes": [
|
|
220
|
+
{
|
|
221
|
+
"id": "need",
|
|
222
|
+
"type": "need",
|
|
223
|
+
"label": "The team builds security in, and can show it",
|
|
224
|
+
"x": 0,
|
|
225
|
+
"y": 0,
|
|
226
|
+
"kind": "brief",
|
|
227
|
+
"source": "Hub concern pack: Secure development process",
|
|
228
|
+
"description": "The element is built by a team, and its security rests on what that team does every week: who answers the security questions of a change, whether an attacker's view is ever taken, whether the people writing the code know today's attacks, and whether anyone measures how far the practice is from where it should be. Buyers, auditors and standards ask for that evidence. The snippets assume a GitHub repository with the records under security/ (samm/assessment.yaml, ssdf/evidence.yaml or sdl/checklist.yaml, champions.yaml, pentests.yaml), Node scripts under scripts/security/ run by a scheduled workflow with js-yaml installed and the GitHub CLI signed in with a token that can read the organisation's teams, CODEOWNERS (where used) naming teams as @org/team, and the learning platform's completions downloaded by the same job to training.csv (email,course,completed_on), never committed."
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "req-samm-current",
|
|
232
|
+
"type": "requirement",
|
|
233
|
+
"label": "SAMM assessment is current",
|
|
234
|
+
"x": 260,
|
|
235
|
+
"y": 0,
|
|
236
|
+
"ears_type": "ubiquitous",
|
|
237
|
+
"action": "assess the team that builds the element against the 15 practices of OWASP SAMM v2 at least every {{ASSESSMENT_MONTHS}} months, and record the date and the score of each practice (0 to 3) in security/samm/assessment.yaml",
|
|
238
|
+
"rationale": "SAMM is meant to be measured and measured again: a score per practice shows where the team stands, and an assessment older than a year describes a team that no longer exists (OWASP SAMM v2 model; SAMM assessment tools).",
|
|
239
|
+
"hubWhen": {
|
|
240
|
+
"FRAMEWORK": [
|
|
241
|
+
"samm"
|
|
242
|
+
]
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"id": "req-samm-targets",
|
|
247
|
+
"type": "requirement",
|
|
248
|
+
"label": "SAMM targets met on time",
|
|
249
|
+
"x": 260,
|
|
250
|
+
"y": 130,
|
|
251
|
+
"ears_type": "unwanted-behaviour",
|
|
252
|
+
"unwanted_condition": "a SAMM practice scores below its target after the date set for reaching it",
|
|
253
|
+
"action": "fail the scheduled check until a new assessment reaches the target or the date is moved in a reviewed pull request, and keep every practice's target at {{SAMM_FLOOR}} or above",
|
|
254
|
+
"rationale": "A target and a date per practice turn a maturity model into a plan; moving a date in a pull request leaves a record of who decided to wait (OWASP SAMM v2 model).",
|
|
255
|
+
"hubWhen": {
|
|
256
|
+
"FRAMEWORK": [
|
|
257
|
+
"samm"
|
|
258
|
+
]
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"id": "req-ssdf-evidence",
|
|
263
|
+
"type": "requirement",
|
|
264
|
+
"label": "Evidence for every SSDF practice",
|
|
265
|
+
"x": 260,
|
|
266
|
+
"y": 260,
|
|
267
|
+
"ears_type": "ubiquitous",
|
|
268
|
+
"action": "keep in security/ssdf/evidence.yaml, for each of the 19 practices of NIST SSDF 1.1 (PO.1 to PO.5, PS.1 to PS.3, PW.1, PW.2, PW.4 to PW.9, RV.1 to RV.3), at least one link to evidence that the practice is followed or a reason why it does not apply, with every repository path in it existing and the map reviewed at least every {{ASSESSMENT_MONTHS}} months",
|
|
269
|
+
"rationale": "The SSDF states outcomes, not tools; a buyer, an auditor or an agency using the CISA attestation form asks for evidence per practice, and a link to nothing is no evidence (NIST SP 800-218; CISA Secure Software Development Attestation Form).",
|
|
270
|
+
"hubWhen": {
|
|
271
|
+
"FRAMEWORK": [
|
|
272
|
+
"ssdf"
|
|
273
|
+
]
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"id": "req-sdl-checklist",
|
|
278
|
+
"type": "requirement",
|
|
279
|
+
"label": "SDL checklist kept",
|
|
280
|
+
"x": 260,
|
|
281
|
+
"y": 390,
|
|
282
|
+
"ears_type": "ubiquitous",
|
|
283
|
+
"action": "keep in security/sdl/checklist.yaml the ten practices of the Microsoft SDL, each marked done, partial or not-applicable, with a link to evidence when done or partial, what is missing when partial and a reason when not-applicable, reviewed at least every {{ASSESSMENT_MONTHS}} months",
|
|
284
|
+
"rationale": "A checklist is only as good as its last review; evidence per item makes \"done\" something another person can verify (Microsoft Security Development Lifecycle: practices).",
|
|
285
|
+
"hubWhen": {
|
|
286
|
+
"FRAMEWORK": [
|
|
287
|
+
"sdl"
|
|
288
|
+
]
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"id": "req-champion",
|
|
293
|
+
"type": "requirement",
|
|
294
|
+
"label": "A champion in each team",
|
|
295
|
+
"x": 260,
|
|
296
|
+
"y": 520,
|
|
297
|
+
"ears_type": "ubiquitous",
|
|
298
|
+
"action": "name in security/champions.yaml one security champion for each team that owns code of the element, who is a member of that team and of the {{SECURITY_TEAM}} GitHub team and has at least {{CHAMPION_HOURS}} hours a week set aside for security",
|
|
299
|
+
"rationale": "A champion in every team spreads security without a queue, and the role needs time and investment, or it exists only on paper (OWASP Security Champions Guide: invest in your champions, anticipate personnel changes).",
|
|
300
|
+
"hubWhen": {
|
|
301
|
+
"CHAMPIONS": [
|
|
302
|
+
"champions"
|
|
303
|
+
]
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"id": "req-champion-review",
|
|
308
|
+
"type": "requirement",
|
|
309
|
+
"label": "Security review by a champion",
|
|
310
|
+
"x": 260,
|
|
311
|
+
"y": 650,
|
|
312
|
+
"ears_type": "event-driven",
|
|
313
|
+
"trigger": "a pull request to the element carries the security-review label",
|
|
314
|
+
"action": "merge it only after an approving review from a member of {{SECURITY_TEAM}} who is not its author",
|
|
315
|
+
"rationale": "The security review that the Definition of Done or the threat model asks for is given by someone who knows both the code and the attacks (OWASP Security Champions Guide; NIST SP 800-218 PO.2 and PW.7).",
|
|
316
|
+
"hubWhen": {
|
|
317
|
+
"CHAMPIONS": [
|
|
318
|
+
"champions"
|
|
319
|
+
]
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"id": "req-appsec-review",
|
|
324
|
+
"type": "requirement",
|
|
325
|
+
"label": "Security review by the central team in time",
|
|
326
|
+
"x": 260,
|
|
327
|
+
"y": 780,
|
|
328
|
+
"ears_type": "event-driven",
|
|
329
|
+
"trigger": "a pull request to the element carries the security-review label",
|
|
330
|
+
"action": "merge it only after an approving review from a member of the {{SECURITY_TEAM}} team who is not its author, given within {{APPSEC_REVIEW_DAYS}} days of the label",
|
|
331
|
+
"rationale": "A central team gives depth, and a deadline keeps it from becoming the queue that teams learn to avoid (NIST SP 800-218 PO.2 and PW.7).",
|
|
332
|
+
"hubWhen": {
|
|
333
|
+
"CHAMPIONS": [
|
|
334
|
+
"appsec"
|
|
335
|
+
]
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"id": "req-one-team",
|
|
340
|
+
"type": "requirement",
|
|
341
|
+
"label": "One team while nobody owns security",
|
|
342
|
+
"x": 260,
|
|
343
|
+
"y": 910,
|
|
344
|
+
"ears_type": "state-driven",
|
|
345
|
+
"precondition": "no one in or around the team has security as a role",
|
|
346
|
+
"action": "have code of the element owned by at most one team in CODEOWNERS, so that a second team supersedes the decision before it owns code",
|
|
347
|
+
"rationale": "Without a security role, the peer reviewers of one small team carry the security questions; a second team brings code nobody reviews with the whole in mind, which is where a champion or a central team is needed (OWASP Security Champions Guide).",
|
|
348
|
+
"hubWhen": {
|
|
349
|
+
"CHAMPIONS": [
|
|
350
|
+
"none"
|
|
351
|
+
]
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"id": "req-pentest-yearly",
|
|
356
|
+
"type": "requirement",
|
|
357
|
+
"label": "Penetration test every year",
|
|
358
|
+
"x": 260,
|
|
359
|
+
"y": 1040,
|
|
360
|
+
"ears_type": "ubiquitous",
|
|
361
|
+
"action": "have the element tested by an external penetration tester at least every {{PENTEST_MONTHS}} months, record each test in security/pentests.yaml with its date, tester, scope and a link to the report, and file its findings as findings of the Secure coding pack within {{PENTEST_TRIAGE_DAYS}} days of the report",
|
|
362
|
+
"rationale": "Scanners miss access control across roles and business logic; a yearly external test is what PCI DSS Requirement 11.4 asks for, and its findings count only once they enter the deadlines (OWASP Web Security Testing Guide; OWASP SAMM v2, Security Testing).",
|
|
363
|
+
"hubWhen": {
|
|
364
|
+
"PENTEST": [
|
|
365
|
+
"yearly"
|
|
366
|
+
]
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"id": "req-pentest-major",
|
|
371
|
+
"type": "requirement",
|
|
372
|
+
"label": "Major releases tested first",
|
|
373
|
+
"x": 260,
|
|
374
|
+
"y": 1170,
|
|
375
|
+
"ears_type": "event-driven",
|
|
376
|
+
"trigger": "a major release (a tag matching {{MAJOR_TAGS}}) is published",
|
|
377
|
+
"action": "have an external penetration test of its release candidate recorded in security/pentests.yaml for that release, dated no later than the tag, with its findings filed as findings of the Secure coding pack within {{PENTEST_TRIAGE_DAYS}} days of the report",
|
|
378
|
+
"rationale": "A major release changes the attack surface the most; PCI DSS Requirement 11.4 asks for a test after any significant change, and SAMM's Security Testing practice puts manual testing where releases are largest (OWASP SAMM v2 model).",
|
|
379
|
+
"hubWhen": {
|
|
380
|
+
"PENTEST": [
|
|
381
|
+
"yearly",
|
|
382
|
+
"major"
|
|
383
|
+
]
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"id": "req-pentest-none",
|
|
388
|
+
"type": "requirement",
|
|
389
|
+
"label": "No test, and what replaces it",
|
|
390
|
+
"x": 260,
|
|
391
|
+
"y": 1300,
|
|
392
|
+
"ears_type": "ubiquitous",
|
|
393
|
+
"action": "record in security/pentests.yaml why the element has no penetration test and what replaces it, and review that record at least every {{ASSESSMENT_MONTHS}} months",
|
|
394
|
+
"rationale": "Leaving out manual testing is a decision with a reason and an expiry, not an omission nobody notices (OWASP SAMM v2, Security Testing).",
|
|
395
|
+
"hubWhen": {
|
|
396
|
+
"PENTEST": [
|
|
397
|
+
"none"
|
|
398
|
+
]
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"id": "req-training-onboarding",
|
|
403
|
+
"type": "requirement",
|
|
404
|
+
"label": "Course within the first days",
|
|
405
|
+
"x": 260,
|
|
406
|
+
"y": 1430,
|
|
407
|
+
"ears_type": "event-driven",
|
|
408
|
+
"trigger": "an engineer makes a first commit to the element",
|
|
409
|
+
"action": "have them complete the {{TRAINING_COURSE}} course within {{ONBOARDING_DAYS}} days, as recorded by the learning platform",
|
|
410
|
+
"rationale": "Training is a practice in every framework of this pack (SSDF PO.2.2, SAMM Education and Guidance, SDL practice 10); the first weeks are when habits form (NIST SP 800-218; Microsoft SDL practices)."
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"id": "req-training-yearly",
|
|
414
|
+
"type": "requirement",
|
|
415
|
+
"label": "Course every year",
|
|
416
|
+
"x": 260,
|
|
417
|
+
"y": 1560,
|
|
418
|
+
"ears_type": "ubiquitous",
|
|
419
|
+
"action": "have every engineer who committed to the element in the last 90 days complete the {{TRAINING_COURSE}} course within the last 12 months",
|
|
420
|
+
"rationale": "PCI DSS Requirement 6.2.2 asks that developers of custom software are trained at least every 12 months; attacks and frameworks change faster than that (PCI DSS v4.0.1).",
|
|
421
|
+
"hubWhen": {
|
|
422
|
+
"TRAINING": [
|
|
423
|
+
"yearly"
|
|
424
|
+
]
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"id": "sc-samm-current",
|
|
429
|
+
"type": "scenario",
|
|
430
|
+
"label": "Stale assessment found",
|
|
431
|
+
"x": 520,
|
|
432
|
+
"y": 0,
|
|
433
|
+
"given": "the SAMM record in security/samm/assessment.yaml",
|
|
434
|
+
"when": "its date is more than {{ASSESSMENT_MONTHS}} months ago, or one of the 15 practices has no score",
|
|
435
|
+
"then": "the scheduled check fails naming the date or the practice",
|
|
436
|
+
"hubWhen": {
|
|
437
|
+
"FRAMEWORK": [
|
|
438
|
+
"samm"
|
|
439
|
+
]
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"id": "sc-samm-targets",
|
|
444
|
+
"type": "scenario",
|
|
445
|
+
"label": "Missed target fails",
|
|
446
|
+
"x": 520,
|
|
447
|
+
"y": 130,
|
|
448
|
+
"given": "a practice with score 1, target 2 and a target date that has passed",
|
|
449
|
+
"when": "the scheduled check runs",
|
|
450
|
+
"then": "it fails naming the practice, and passes again once the score reaches 2 or the date is moved",
|
|
451
|
+
"hubWhen": {
|
|
452
|
+
"FRAMEWORK": [
|
|
453
|
+
"samm"
|
|
454
|
+
]
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"id": "sc-ssdf-evidence",
|
|
459
|
+
"type": "scenario",
|
|
460
|
+
"label": "Gap in the evidence map",
|
|
461
|
+
"x": 520,
|
|
462
|
+
"y": 260,
|
|
463
|
+
"given": "the evidence map",
|
|
464
|
+
"when": "a practice is missing, has neither evidence nor a reason, or names a file that was deleted",
|
|
465
|
+
"then": "the check fails naming the practice id",
|
|
466
|
+
"hubWhen": {
|
|
467
|
+
"FRAMEWORK": [
|
|
468
|
+
"ssdf"
|
|
469
|
+
]
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"id": "sc-sdl-checklist",
|
|
474
|
+
"type": "scenario",
|
|
475
|
+
"label": "Unsupported item found",
|
|
476
|
+
"x": 520,
|
|
477
|
+
"y": 390,
|
|
478
|
+
"given": "the SDL checklist",
|
|
479
|
+
"when": "an item is marked done without evidence, or the review date is more than {{ASSESSMENT_MONTHS}} months ago",
|
|
480
|
+
"then": "the check fails naming the item or the date",
|
|
481
|
+
"hubWhen": {
|
|
482
|
+
"FRAMEWORK": [
|
|
483
|
+
"sdl"
|
|
484
|
+
]
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"id": "sc-champion",
|
|
489
|
+
"type": "scenario",
|
|
490
|
+
"label": "Team without a champion",
|
|
491
|
+
"x": 520,
|
|
492
|
+
"y": 520,
|
|
493
|
+
"given": "a team named in CODEOWNERS",
|
|
494
|
+
"when": "it has no entry in security/champions.yaml, or its champion has left the team or has fewer than {{CHAMPION_HOURS}} hours",
|
|
495
|
+
"then": "the check fails naming the team",
|
|
496
|
+
"hubWhen": {
|
|
497
|
+
"CHAMPIONS": [
|
|
498
|
+
"champions"
|
|
499
|
+
]
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"id": "sc-champion-review",
|
|
504
|
+
"type": "scenario",
|
|
505
|
+
"label": "Labelled change waits for a champion",
|
|
506
|
+
"x": 520,
|
|
507
|
+
"y": 650,
|
|
508
|
+
"given": "a pull request with the security-review label, approved by a reviewer outside {{SECURITY_TEAM}}",
|
|
509
|
+
"when": "a champion who is not its author approves it",
|
|
510
|
+
"then": "the security-review check turns from failing to passing and the pull request can be merged",
|
|
511
|
+
"hubWhen": {
|
|
512
|
+
"CHAMPIONS": [
|
|
513
|
+
"champions"
|
|
514
|
+
]
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"id": "sc-appsec-review",
|
|
519
|
+
"type": "scenario",
|
|
520
|
+
"label": "Waiting review reported",
|
|
521
|
+
"x": 520,
|
|
522
|
+
"y": 780,
|
|
523
|
+
"given": "a pull request labelled security-review with no approval from {{SECURITY_TEAM}}",
|
|
524
|
+
"when": "{{APPSEC_REVIEW_DAYS}} days pass",
|
|
525
|
+
"then": "the security-review check still blocks the merge and the daily job fails naming the pull request",
|
|
526
|
+
"hubWhen": {
|
|
527
|
+
"CHAMPIONS": [
|
|
528
|
+
"appsec"
|
|
529
|
+
]
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"id": "sc-one-team",
|
|
534
|
+
"type": "scenario",
|
|
535
|
+
"label": "Second team noticed",
|
|
536
|
+
"x": 520,
|
|
537
|
+
"y": 910,
|
|
538
|
+
"given": "the decision that no one has security as a role",
|
|
539
|
+
"when": "a pull request adds a second team to CODEOWNERS",
|
|
540
|
+
"then": "the check fails and asks for the decision to be superseded",
|
|
541
|
+
"hubWhen": {
|
|
542
|
+
"CHAMPIONS": [
|
|
543
|
+
"none"
|
|
544
|
+
]
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"id": "sc-pentest-yearly",
|
|
549
|
+
"type": "scenario",
|
|
550
|
+
"label": "Overdue test found",
|
|
551
|
+
"x": 520,
|
|
552
|
+
"y": 1040,
|
|
553
|
+
"given": "security/pentests.yaml whose newest test is more than {{PENTEST_MONTHS}} months old, or whose findings were filed later than {{PENTEST_TRIAGE_DAYS}} days after it",
|
|
554
|
+
"when": "the scheduled check runs",
|
|
555
|
+
"then": "it fails naming the overdue test or the late filing",
|
|
556
|
+
"hubWhen": {
|
|
557
|
+
"PENTEST": [
|
|
558
|
+
"yearly"
|
|
559
|
+
]
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"id": "sc-pentest-major",
|
|
564
|
+
"type": "scenario",
|
|
565
|
+
"label": "Untested major release found",
|
|
566
|
+
"x": 520,
|
|
567
|
+
"y": 1170,
|
|
568
|
+
"given": "a tag matching {{MAJOR_TAGS}}",
|
|
569
|
+
"when": "security/pentests.yaml has no test for it, or only one dated after the tag",
|
|
570
|
+
"then": "the check fails naming the tag",
|
|
571
|
+
"hubWhen": {
|
|
572
|
+
"PENTEST": [
|
|
573
|
+
"yearly",
|
|
574
|
+
"major"
|
|
575
|
+
]
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"id": "sc-pentest-none",
|
|
580
|
+
"type": "scenario",
|
|
581
|
+
"label": "Stale waiver found",
|
|
582
|
+
"x": 520,
|
|
583
|
+
"y": 1300,
|
|
584
|
+
"given": "security/pentests.yaml with a waiver",
|
|
585
|
+
"when": "the waiver names no replacement, or was reviewed more than {{ASSESSMENT_MONTHS}} months ago",
|
|
586
|
+
"then": "the check fails",
|
|
587
|
+
"hubWhen": {
|
|
588
|
+
"PENTEST": [
|
|
589
|
+
"none"
|
|
590
|
+
]
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"id": "sc-training-onboarding",
|
|
595
|
+
"type": "scenario",
|
|
596
|
+
"label": "Untrained committer found",
|
|
597
|
+
"x": 520,
|
|
598
|
+
"y": 1430,
|
|
599
|
+
"given": "an engineer whose first commit is more than {{ONBOARDING_DAYS}} days old",
|
|
600
|
+
"when": "the learning platform export holds no completion of {{TRAINING_COURSE}} for them",
|
|
601
|
+
"then": "the scheduled check fails naming their commit e-mail"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"id": "sc-training-yearly",
|
|
605
|
+
"type": "scenario",
|
|
606
|
+
"label": "Lapsed training found",
|
|
607
|
+
"x": 520,
|
|
608
|
+
"y": 1560,
|
|
609
|
+
"given": "an engineer who committed last month",
|
|
610
|
+
"when": "their last completion of {{TRAINING_COURSE}} is 13 months old",
|
|
611
|
+
"then": "the scheduled check fails naming their commit e-mail",
|
|
612
|
+
"hubWhen": {
|
|
613
|
+
"TRAINING": [
|
|
614
|
+
"yearly"
|
|
615
|
+
]
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"id": "adr-samm",
|
|
620
|
+
"type": "adr",
|
|
621
|
+
"label": "Security practice measured with OWASP SAMM",
|
|
622
|
+
"x": 780,
|
|
623
|
+
"y": 0,
|
|
624
|
+
"concern": "secure-development",
|
|
625
|
+
"status": "accepted",
|
|
626
|
+
"date": "",
|
|
627
|
+
"context": "A team builds this element, and the element is only as secure as the team's habits. The forces: the tools and gates of the other security packs work only while someone in the team knows why they are there and looks after them; a security specialist outside the team is a queue, while one inside every team is time taken from features; maturity that is never measured is assumed, and the assumption is always higher than the truth; a framework adopted all at once turns into paperwork, while targets per practice with a date show what to improve next; a penetration test finds what scanners miss (access across roles, business logic, chained flaws) but covers a few days a year and costs money; training taken once at onboarding teaches the attacks of that year; and buyers, auditors and standards (PCI DSS, US federal buyers) ask for evidence of the process, not only of the product. This pack decides who does the security practices and how their maturity is measured. The tools and gates are decided by the Secure coding, Software supply chain, Threat modelling, Definition of Done and change approval, and Security event logging and detection packs; this pack never decides them again.",
|
|
628
|
+
"decision": "The security practice of the team that builds the element is measured with OWASP SAMM v2. At least every {{ASSESSMENT_MONTHS}} months the team scores the 15 practices with the SAMM Toolbox (the Excel or Google Sheets workbook from the owaspsamm/core releases; SAMMwise works too) and copies its Scorecard into security/samm/assessment.yaml: the date, and for each practice by its id (G-SM, G-PC, G-EG, D-TA, D-SR, D-SA, I-SB, I-SD, I-DM, V-AA, V-RT, V-ST, O-IM, O-EM, O-OM) the score, the target and the date to reach it; no target is below {{SAMM_FLOOR}}. Targets are set per practice, not one level for all, and someone outside the team (a champion of another team, the central security team) runs the interview. The evidence for a practice is what another pack decided: Threat Assessment the Threat modelling pack, Secure Build the Software supply chain pack, Security Testing and Defect Management the Secure coding pack, Incident Management the Security event logging and detection pack. Security role: {{CHAMPIONS}}. Penetration tests: {{PENTEST}}. Training: {{TRAINING}}.",
|
|
629
|
+
"consequences": "• One score per practice shows where the team stands and what to improve next; the next assessment shows whether it did.\n• A self-assessment flatters: the Toolbox's quality criteria help, but a score is only as honest as the people answering, which is why someone outside the team asks the questions.\n• An assessment takes a day or two of the team's and a facilitator's time each period.\n• SAMM is not a certification: no buyer or regulator takes a SAMM score as proof by itself.",
|
|
630
|
+
"alternatives": "1. NIST SSDF with evidence per practice: what US federal buyers know, but outcomes without levels, so it shows gaps, not progress.\n2. The Microsoft SDL as a checklist: shorter, but done or not done, with no levels.\n3. BSIMM: describes what more than a hundred firms do (BSIMM16), useful to compare against, but it is a study of organisations with a security group, not a target for one team.",
|
|
631
|
+
"hubWhen": {
|
|
632
|
+
"FRAMEWORK": [
|
|
633
|
+
"samm"
|
|
634
|
+
]
|
|
635
|
+
}
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"id": "adr-ssdf",
|
|
639
|
+
"type": "adr",
|
|
640
|
+
"label": "Security practice mapped to the NIST SSDF",
|
|
641
|
+
"x": 780,
|
|
642
|
+
"y": 130,
|
|
643
|
+
"concern": "secure-development",
|
|
644
|
+
"status": "accepted",
|
|
645
|
+
"date": "",
|
|
646
|
+
"context": "A team builds this element, and the element is only as secure as the team's habits. The forces: the tools and gates of the other security packs work only while someone in the team knows why they are there and looks after them; a security specialist outside the team is a queue, while one inside every team is time taken from features; maturity that is never measured is assumed, and the assumption is always higher than the truth; a framework adopted all at once turns into paperwork, while targets per practice with a date show what to improve next; a penetration test finds what scanners miss (access across roles, business logic, chained flaws) but covers a few days a year and costs money; training taken once at onboarding teaches the attacks of that year; and buyers, auditors and standards (PCI DSS, US federal buyers) ask for evidence of the process, not only of the product. This pack decides who does the security practices and how their maturity is measured. The tools and gates are decided by the Secure coding, Software supply chain, Threat modelling, Definition of Done and change approval, and Security event logging and detection packs; this pack never decides them again.",
|
|
647
|
+
"decision": "The security practice of the team that builds the element is measured against NIST SP 800-218, the Secure Software Development Framework 1.1. security/ssdf/evidence.yaml maps each of its 19 practices (PO.1 to PO.5, PS.1 to PS.3, PW.1, PW.2, PW.4 to PW.9, RV.1 to RV.3; version 1.1 merged PW.3 into PW.4) to the evidence that the team follows it, a repository path or a link, and is reviewed at least every {{ASSESSMENT_MONTHS}} months. Most evidence is a decision of another pack: PW.1 and PW.2 the Threat modelling pack, PS.1 to PS.3 and PW.4 the Software supply chain pack, PW.5, PW.7, PW.8 and RV.1 to RV.3 the Secure coding pack; PO.2 is this pack's security role and training. SSDF 1.2 (SP 800-218 Rev. 1, an initial public draft of December 2025) adds the practices PO.6 and PW.10; they join the map when it is final. When a US federal agency asks for the CISA Secure Software Development Attestation Form, it is filled from the map and signed by the chief executive or a designee who can bind the company; OMB M-26-05 (January 2026) rescinded the memoranda that made the form mandatory, so each agency now decides by its own risk-based policy whether to ask for it. Security role: {{CHAMPIONS}}. Penetration tests: {{PENTEST}}. Training: {{TRAINING}}.",
|
|
648
|
+
"consequences": "• Speaks the language of US federal buyers and of many enterprise questionnaires; the map answers them in hours instead of weeks.\n• The SSDF says which outcome to reach, not how well: the map shows gaps, not progress, so improvement needs goals of its own.\n• The map goes stale as workflows are renamed; the check catches a missing repository path, but a link outside the repository is checked only by the reviewer.\n• Version 1.2 will add practices; the map grows when it is final.",
|
|
649
|
+
"alternatives": "1. OWASP SAMM with targets: levels and progress, but buyers asking for the SSDF need a mapping on top.\n2. The Microsoft SDL as a checklist: shorter, and less known to buyers.\n3. The attestation form alone, without a map: a signature with nothing under it.",
|
|
650
|
+
"hubWhen": {
|
|
651
|
+
"FRAMEWORK": [
|
|
652
|
+
"ssdf"
|
|
653
|
+
]
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"id": "adr-sdl",
|
|
658
|
+
"type": "adr",
|
|
659
|
+
"label": "The Microsoft SDL as the team's checklist",
|
|
660
|
+
"x": 780,
|
|
661
|
+
"y": 260,
|
|
662
|
+
"concern": "secure-development",
|
|
663
|
+
"status": "accepted",
|
|
664
|
+
"date": "",
|
|
665
|
+
"context": "A team builds this element, and the element is only as secure as the team's habits. The forces: the tools and gates of the other security packs work only while someone in the team knows why they are there and looks after them; a security specialist outside the team is a queue, while one inside every team is time taken from features; maturity that is never measured is assumed, and the assumption is always higher than the truth; a framework adopted all at once turns into paperwork, while targets per practice with a date show what to improve next; a penetration test finds what scanners miss (access across roles, business logic, chained flaws) but covers a few days a year and costs money; training taken once at onboarding teaches the attacks of that year; and buyers, auditors and standards (PCI DSS, US federal buyers) ask for evidence of the process, not only of the product. This pack decides who does the security practices and how their maturity is measured. The tools and gates are decided by the Secure coding, Software supply chain, Threat modelling, Definition of Done and change approval, and Security event logging and detection packs; this pack never decides them again.",
|
|
666
|
+
"decision": "The security practice of the team that builds the element follows the Microsoft Security Development Lifecycle as a checklist. security/sdl/checklist.yaml lists the ten practices on Microsoft's SDL page (security standards, metrics and governance; proven security features, languages and frameworks; security design review and threat modelling; cryptography standards; the software supply chain; the engineering environment; security testing; operational platform security; security monitoring and response; security training), each marked done, partial or not-applicable with its evidence, what is missing or a reason, and is reviewed at least every {{ASSESSMENT_MONTHS}} months against the page as it stands. Each item points at the pack that decides it: threat modelling the Threat modelling pack, cryptography the Encryption in transit and at rest pack, the supply chain the Software supply chain pack, security testing the Secure coding pack, monitoring and response the Security event logging and detection pack. Security role: {{CHAMPIONS}}. Penetration tests: {{PENTEST}}. Training: {{TRAINING}}.",
|
|
667
|
+
"consequences": "• Ten items a small team can keep in mind and review in an hour.\n• Done or not done hides how well: partial with a note is the honest middle, and there are no levels to show progress.\n• Microsoft changes the SDL page without version numbers; the review compares the checklist with the page.\n• Few buyers ask for the SDL by name; a questionnaire still needs its own mapping.",
|
|
668
|
+
"alternatives": "1. OWASP SAMM: levels and targets per practice, for a day or two per assessment.\n2. NIST SSDF: what US federal buyers ask for, 19 practices with evidence.\n3. No framework: nobody can say which practices are missing.",
|
|
669
|
+
"hubWhen": {
|
|
670
|
+
"FRAMEWORK": [
|
|
671
|
+
"sdl"
|
|
672
|
+
]
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"id": "adr-champions",
|
|
677
|
+
"type": "adr",
|
|
678
|
+
"label": "A security champion in each team",
|
|
679
|
+
"x": 780,
|
|
680
|
+
"y": 390,
|
|
681
|
+
"concern": "secure-development",
|
|
682
|
+
"status": "accepted",
|
|
683
|
+
"date": "",
|
|
684
|
+
"context": "A team builds this element, and the element is only as secure as the team's habits. The forces: the tools and gates of the other security packs work only while someone in the team knows why they are there and looks after them; a security specialist outside the team is a queue, while one inside every team is time taken from features; maturity that is never measured is assumed, and the assumption is always higher than the truth; a framework adopted all at once turns into paperwork, while targets per practice with a date show what to improve next; a penetration test finds what scanners miss (access across roles, business logic, chained flaws) but covers a few days a year and costs money; training taken once at onboarding teaches the attacks of that year; and buyers, auditors and standards (PCI DSS, US federal buyers) ask for evidence of the process, not only of the product. This pack decides who does the security practices and how their maturity is measured. The tools and gates are decided by the Secure coding, Software supply chain, Threat modelling, Definition of Done and change approval, and Security event logging and detection packs; this pack never decides them again.",
|
|
685
|
+
"decision": "Each team that owns code of the element names one developer as its security champion in security/champions.yaml, with at least {{CHAMPION_HOURS}} hours a week set aside in the team's plan. The champions form the GitHub team {{SECURITY_TEAM}}, meet monthly as a group, get training beyond the course every engineer takes, and have the role in their goals. A champion facilitates the team's threat modelling (its method and timing are the Threat modelling pack's), keeps the framework record with the engineering lead, and gives the security review: a pull request with the security-review label, set by its author or a reviewer when the Definition of Done or the threat model asks for a security review, is merged only after a champion who is not its author approves it. The security-review check enforces this; it is added to the required checks of main in the ruleset the Code review and branching pack keeps. A champion who leaves is replaced before the team's next labelled pull request.",
|
|
686
|
+
"consequences": "• Security questions are answered inside the team, by someone who knows the code, without a queue.\n• {{CHAMPION_HOURS}} hours a week per team are not spent on features; without them the role exists only on paper.\n• A champion is not a specialist: hard questions still need outside help, budgeted separately.\n• The role rests on one person per team; a departure leaves a gap, which the check reports.",
|
|
687
|
+
"alternatives": "1. A central application security team: depth and consistent reviews, but a queue and distance from the code.\n2. No dedicated role: nothing to staff, and nobody accountable when a gate is switched off.",
|
|
688
|
+
"hubWhen": {
|
|
689
|
+
"CHAMPIONS": [
|
|
690
|
+
"champions"
|
|
691
|
+
]
|
|
692
|
+
}
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"id": "adr-appsec",
|
|
696
|
+
"type": "adr",
|
|
697
|
+
"label": "A central application security team reviews",
|
|
698
|
+
"x": 780,
|
|
699
|
+
"y": 520,
|
|
700
|
+
"concern": "secure-development",
|
|
701
|
+
"status": "accepted",
|
|
702
|
+
"date": "",
|
|
703
|
+
"context": "A team builds this element, and the element is only as secure as the team's habits. The forces: the tools and gates of the other security packs work only while someone in the team knows why they are there and looks after them; a security specialist outside the team is a queue, while one inside every team is time taken from features; maturity that is never measured is assumed, and the assumption is always higher than the truth; a framework adopted all at once turns into paperwork, while targets per practice with a date show what to improve next; a penetration test finds what scanners miss (access across roles, business logic, chained flaws) but covers a few days a year and costs money; training taken once at onboarding teaches the attacks of that year; and buyers, auditors and standards (PCI DSS, US federal buyers) ask for evidence of the process, not only of the product. This pack decides who does the security practices and how their maturity is measured. The tools and gates are decided by the Secure coding, Software supply chain, Threat modelling, Definition of Done and change approval, and Security event logging and detection packs; this pack never decides them again.",
|
|
704
|
+
"decision": "A central application security team, the GitHub team {{SECURITY_TEAM}}, gives the security review: a pull request with the security-review label, set by its author or a reviewer when the Definition of Done or the threat model asks for a security review, is merged only after a member of that team who is not its author approves it, and the team answers within {{APPSEC_REVIEW_DAYS}} days of the label; a daily job reports pull requests waiting longer. The security-review check is added to the required checks of main in the ruleset the Code review and branching pack keeps. The central team also facilitates threat modelling with the developers (the method is the Threat modelling pack's), runs the framework assessment with the engineering lead, and scopes the penetration tests.",
|
|
705
|
+
"consequences": "• Reviews by specialists, the same across teams.\n• A queue: a change may wait {{APPSEC_REVIEW_DAYS}} days, and teams learn to label less; watch how many reviews are asked for.\n• Knowledge stays with the central team; developers learn only what the reviews teach them.\n• Needs a central team with enough people to keep the deadline.",
|
|
706
|
+
"alternatives": "1. A security champion in each team: no queue, less depth.\n2. Champions with the central team behind them for the hard cases: often the next step, recorded by superseding this decision.",
|
|
707
|
+
"hubWhen": {
|
|
708
|
+
"CHAMPIONS": [
|
|
709
|
+
"appsec"
|
|
710
|
+
]
|
|
711
|
+
}
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"id": "adr-no-security-role",
|
|
715
|
+
"type": "adr",
|
|
716
|
+
"label": "No dedicated security role",
|
|
717
|
+
"x": 780,
|
|
718
|
+
"y": 650,
|
|
719
|
+
"concern": "secure-development",
|
|
720
|
+
"status": "accepted",
|
|
721
|
+
"date": "",
|
|
722
|
+
"context": "A team builds this element, and the element is only as secure as the team's habits. The forces: the tools and gates of the other security packs work only while someone in the team knows why they are there and looks after them; a security specialist outside the team is a queue, while one inside every team is time taken from features; maturity that is never measured is assumed, and the assumption is always higher than the truth; a framework adopted all at once turns into paperwork, while targets per practice with a date show what to improve next; a penetration test finds what scanners miss (access across roles, business logic, chained flaws) but covers a few days a year and costs money; training taken once at onboarding teaches the attacks of that year; and buyers, auditors and standards (PCI DSS, US federal buyers) ask for evidence of the process, not only of the product. This pack decides who does the security practices and how their maturity is measured. The tools and gates are decided by the Secure coding, Software supply chain, Threat modelling, Definition of Done and change approval, and Security event logging and detection packs; this pack never decides them again.",
|
|
723
|
+
"decision": "Nobody in or around the team has security as a role. The security questions of a change are part of the peer review the Code review and branching pack requires, the engineering lead keeps the framework record, and no change waits for a security specialist. This holds while one small team builds the element for internal use; the first external customer, audit or second team supersedes this decision.",
|
|
724
|
+
"consequences": "• Nothing to staff, no hours set aside, no queue.\n• Nobody is accountable when a security gate is switched off or a finding ages, and the framework's people practices (SAMM Education and Guidance, SSDF PO.2, the SDL's roles) score low.\n• The depth of a security review is whatever the reviewer happens to know.",
|
|
725
|
+
"alternatives": "1. A security champion in each team: a few hours a week, one person accountable.\n2. A central application security team: depth, at the cost of a queue.",
|
|
726
|
+
"hubWhen": {
|
|
727
|
+
"CHAMPIONS": [
|
|
728
|
+
"none"
|
|
729
|
+
]
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"id": "adr-pentest",
|
|
734
|
+
"type": "adr",
|
|
735
|
+
"label": "External penetration tests",
|
|
736
|
+
"x": 780,
|
|
737
|
+
"y": 780,
|
|
738
|
+
"concern": "secure-development",
|
|
739
|
+
"status": "accepted",
|
|
740
|
+
"date": "",
|
|
741
|
+
"context": "A team builds this element, and the element is only as secure as the team's habits. The forces: the tools and gates of the other security packs work only while someone in the team knows why they are there and looks after them; a security specialist outside the team is a queue, while one inside every team is time taken from features; maturity that is never measured is assumed, and the assumption is always higher than the truth; a framework adopted all at once turns into paperwork, while targets per practice with a date show what to improve next; a penetration test finds what scanners miss (access across roles, business logic, chained flaws) but covers a few days a year and costs money; training taken once at onboarding teaches the attacks of that year; and buyers, auditors and standards (PCI DSS, US federal buyers) ask for evidence of the process, not only of the product. This pack decides who does the security practices and how their maturity is measured. The tools and gates are decided by the Secure coding, Software supply chain, Threat modelling, Definition of Done and change approval, and Security event logging and detection packs; this pack never decides them again.",
|
|
742
|
+
"decision": "An external penetration testing firm attacks the element: {{PENTEST}}. Each test follows the OWASP Web Security Testing Guide, signs in as each role, covers the element's APIs and the business logic of its main journeys, and ends with a report and a retest of high and critical findings. Every test is recorded in security/pentests.yaml (date, tester, scope, the release it was for, a link to the report in a restricted store, never the report itself, and the date its findings were filed); its findings become findings of the Secure coding pack, with that pack's deadlines, within {{PENTEST_TRIAGE_DAYS}} days of the report. A major release is one whose tag matches {{MAJOR_TAGS}}.",
|
|
743
|
+
"consequences": "• Finds what scanners miss: access across roles, business logic, chained flaws.\n• Each test costs money and one to three weeks with the retest; it is budgeted with the releases.\n• A test is a snapshot: code merged the week after is untested until the next one, which is why the Secure coding pack's scanners keep running.\n• Before a major release the test is on the release's critical path; it is booked weeks ahead.",
|
|
744
|
+
"alternatives": "1. No external test, with dynamic scanning and a bug bounty instead: cheaper, but access control and business logic go untested by anyone thinking like an attacker.\n2. An internal red team: knows the system, shares its builders' blind spots, and few organisations have one.\n3. Penetration testing as a subscription: shorter cycles, worth it with many releases a year.",
|
|
745
|
+
"hubWhen": {
|
|
746
|
+
"PENTEST": [
|
|
747
|
+
"yearly",
|
|
748
|
+
"major"
|
|
749
|
+
]
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"id": "adr-no-pentest",
|
|
754
|
+
"type": "adr",
|
|
755
|
+
"label": "No penetration test, with a replacement recorded",
|
|
756
|
+
"x": 780,
|
|
757
|
+
"y": 910,
|
|
758
|
+
"concern": "secure-development",
|
|
759
|
+
"status": "accepted",
|
|
760
|
+
"date": "",
|
|
761
|
+
"context": "A team builds this element, and the element is only as secure as the team's habits. The forces: the tools and gates of the other security packs work only while someone in the team knows why they are there and looks after them; a security specialist outside the team is a queue, while one inside every team is time taken from features; maturity that is never measured is assumed, and the assumption is always higher than the truth; a framework adopted all at once turns into paperwork, while targets per practice with a date show what to improve next; a penetration test finds what scanners miss (access across roles, business logic, chained flaws) but covers a few days a year and costs money; training taken once at onboarding teaches the attacks of that year; and buyers, auditors and standards (PCI DSS, US federal buyers) ask for evidence of the process, not only of the product. This pack decides who does the security practices and how their maturity is measured. The tools and gates are decided by the Secure coding, Software supply chain, Threat modelling, Definition of Done and change approval, and Security event logging and detection packs; this pack never decides them again.",
|
|
762
|
+
"decision": "The element has no external penetration test. security/pentests.yaml records why and what replaces it (the dynamic testing decided in the Secure coding pack, a bug bounty programme, an internal red team exercise), and the record is reviewed at least every {{ASSESSMENT_MONTHS}} months. Payment data, the first external customer, or a contract or standard that asks for a penetration test (PCI DSS Requirement 11.4 does) supersedes this decision.",
|
|
763
|
+
"consequences": "• No test to buy, schedule or wait for.\n• Access control across roles and business logic are tested only by the team that wrote them.\n• The framework's testing practice (SAMM Security Testing, SSDF PW.8, SDL security testing) scores lower, and the record says so.",
|
|
764
|
+
"alternatives": "1. An external test every year and before each major release: what PCI DSS asks for.\n2. An external test before each major release only: one test per release, nothing between.",
|
|
765
|
+
"hubWhen": {
|
|
766
|
+
"PENTEST": [
|
|
767
|
+
"none"
|
|
768
|
+
]
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"id": "ff-samm",
|
|
773
|
+
"type": "fitness-fn",
|
|
774
|
+
"label": "SAMM assessment current and on target",
|
|
775
|
+
"x": 1040,
|
|
776
|
+
"y": 0,
|
|
777
|
+
"characteristic": "security",
|
|
778
|
+
"scope": "atomic",
|
|
779
|
+
"cadence": "temporal",
|
|
780
|
+
"every": "365d",
|
|
781
|
+
"invocation": "manual",
|
|
782
|
+
"description": "A scheduled job, and every pull request that changes security/samm/, reads the assessment copied from the SAMM Toolbox's Scorecard and fails on a stale date, a missing practice, a target below the floor, or a practice below its target after its date. The file is a format of this pack: the Toolbox is a workbook with no machine-readable export, so the Scorecard's practice scores are copied into it after each assessment.\n\nThreshold: The assessment is at most {{ASSESSMENT_MONTHS}} months old; all 15 practices have a score from 0 to 3 and a target from {{SAMM_FLOOR}} to 3; 0 practices below target after their date\n\nTool: Node.js with js-yaml (scripts/security/samm-check.mjs) in a scheduled GitHub Actions job\n\n```js\n// scripts/security/samm-check.mjs; security/samm/assessment.yaml looks like:\n// assessed: 2026-09-15\n// practices: { G-SM: { score: 1.5, target: 2, by: 2027-06-30 }, G-PC: { ... }, ... }\nimport { readFileSync } from 'node:fs'\nimport yaml from 'js-yaml'\n\nconst PRACTICES = ['G-SM', 'G-PC', 'G-EG', 'D-TA', 'D-SR', 'D-SA', 'I-SB', 'I-SD', 'I-DM', 'V-AA', 'V-RT', 'V-ST', 'O-IM', 'O-EM', 'O-OM']\nconst MONTHS = {{ASSESSMENT_MONTHS}}, FLOOR = {{SAMM_FLOOR}}\nconst a = yaml.load(readFileSync('security/samm/assessment.yaml', 'utf8'), { schema: yaml.JSON_SCHEMA })\nconst oldest = new Date(); oldest.setMonth(oldest.getMonth() - MONTHS)\nconst errors = []\nif (!(new Date(a.assessed) >= oldest)) errors.push(`assessment of ${a.assessed} is older than ${MONTHS} months`)\nfor (const id of PRACTICES) {\n const p = a.practices?.[id]\n if (!p) { errors.push(`${id}: no score`); continue }\n if (!(p.score >= 0 && p.score <= 3)) errors.push(`${id}: score ${p.score} is not from 0 to 3`)\n if (!(p.target >= FLOOR && p.target <= 3)) errors.push(`${id}: target ${p.target} is not from ${FLOOR} to 3`)\n if (p.score < p.target && !(new Date(p.by) > new Date())) errors.push(`${id}: ${p.score} is below its target ${p.target}, due ${p.by ?? 'on no date'}`)\n}\nif (errors.length) { console.error(errors.join('\\n')); process.exit(1) }\n```",
|
|
783
|
+
"hubWhen": {
|
|
784
|
+
"FRAMEWORK": [
|
|
785
|
+
"samm"
|
|
786
|
+
]
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"id": "ff-ssdf",
|
|
791
|
+
"type": "fitness-fn",
|
|
792
|
+
"label": "SSDF evidence map complete",
|
|
793
|
+
"x": 1040,
|
|
794
|
+
"y": 130,
|
|
795
|
+
"characteristic": "security",
|
|
796
|
+
"scope": "atomic",
|
|
797
|
+
"cadence": "triggered",
|
|
798
|
+
"trigger": "pull-request",
|
|
799
|
+
"invocation": "automated",
|
|
800
|
+
"description": "A scheduled job, and every pull request, reads security/ssdf/evidence.yaml and fails on a missing practice id, a practice with neither evidence nor a reason, a repository path that no longer exists (a renamed workflow), or a stale review date. Links outside the repository must be https links; whether they still show what they claim is the reviewer's part. When SSDF 1.2 is final, PO.6 and PW.10 are added to the list.\n\nThreshold: All 19 SSDF 1.1 practice ids have at least one piece of evidence or a reason; 0 repository paths in the map missing; the map reviewed within {{ASSESSMENT_MONTHS}} months\n\nTool: Node.js with js-yaml (scripts/security/ssdf-check.mjs) in a scheduled GitHub Actions job\n\n```js\n// scripts/security/ssdf-check.mjs; security/ssdf/evidence.yaml looks like:\n// reviewed: 2026-09-20\n// practices: { PO.1: [docs/security/requirements.md], PO.2: [security/champions.yaml], PW.6: { na: \"interpreted code, no compiler\" } }\nimport { existsSync, readFileSync } from 'node:fs'\nimport yaml from 'js-yaml'\n\nconst IDS = ['PO.1', 'PO.2', 'PO.3', 'PO.4', 'PO.5', 'PS.1', 'PS.2', 'PS.3', 'PW.1', 'PW.2', 'PW.4', 'PW.5', 'PW.6', 'PW.7', 'PW.8', 'PW.9', 'RV.1', 'RV.2', 'RV.3']\nconst MONTHS = {{ASSESSMENT_MONTHS}}\nconst map = yaml.load(readFileSync('security/ssdf/evidence.yaml', 'utf8'), { schema: yaml.JSON_SCHEMA })\nconst oldest = new Date(); oldest.setMonth(oldest.getMonth() - MONTHS)\nconst errors = []\nif (!(new Date(map.reviewed) >= oldest)) errors.push(`evidence map last reviewed ${map.reviewed}, more than ${MONTHS} months ago`)\nfor (const id of IDS) {\n const e = map.practices?.[id]\n if (e?.na) continue\n if (!Array.isArray(e) || !e.length) { errors.push(`${id}: no evidence and no reason`); continue }\n for (const link of e) {\n if (/^https?:/.test(link) ? !link.startsWith('https://') : !existsSync(link)) errors.push(`${id}: ${link} does not exist or is not https`)\n }\n}\nif (errors.length) { console.error(errors.join('\\n')); process.exit(1) }\n```",
|
|
801
|
+
"hubWhen": {
|
|
802
|
+
"FRAMEWORK": [
|
|
803
|
+
"ssdf"
|
|
804
|
+
]
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"id": "ff-sdl",
|
|
809
|
+
"type": "fitness-fn",
|
|
810
|
+
"label": "SDL checklist complete and reviewed",
|
|
811
|
+
"x": 1040,
|
|
812
|
+
"y": 260,
|
|
813
|
+
"characteristic": "security",
|
|
814
|
+
"scope": "atomic",
|
|
815
|
+
"cadence": "temporal",
|
|
816
|
+
"every": "365d",
|
|
817
|
+
"invocation": "manual",
|
|
818
|
+
"description": "A scheduled job, and every pull request, reads security/sdl/checklist.yaml, whose keys are this pack's short names for the ten practices on Microsoft's SDL page in the page's order, and fails on a missing practice, an unsupported status or a stale review date.\n\nThreshold: All 10 SDL practices present; each done or partial item has evidence, each partial item says what is missing, each not-applicable item a reason; reviewed within {{ASSESSMENT_MONTHS}} months\n\nTool: Node.js with js-yaml (scripts/security/sdl-check.mjs) in a scheduled GitHub Actions job\n\n```js\n// scripts/security/sdl-check.mjs; security/sdl/checklist.yaml looks like:\n// reviewed: 2026-09-20\n// practices: { threat-modeling: { status: partial, evidence: [docs/threat-model.md], missing: \"the admin UI\" }, ... }\nimport { existsSync, readFileSync } from 'node:fs'\nimport yaml from 'js-yaml'\n\nconst PRACTICES = ['standards-governance', 'proven-features', 'threat-modeling', 'cryptography', 'supply-chain',\n 'engineering-environment', 'security-testing', 'platform-security', 'monitoring-response', 'training']\nconst MONTHS = {{ASSESSMENT_MONTHS}}\nconst list = yaml.load(readFileSync('security/sdl/checklist.yaml', 'utf8'), { schema: yaml.JSON_SCHEMA })\nconst oldest = new Date(); oldest.setMonth(oldest.getMonth() - MONTHS)\nconst errors = []\nif (!(new Date(list.reviewed) >= oldest)) errors.push(`checklist last reviewed ${list.reviewed}`)\nfor (const id of PRACTICES) {\n const p = list.practices?.[id] ?? {}\n if (p.status === 'not-applicable') { if (!p.reason) errors.push(`${id}: not applicable without a reason`); continue }\n if (!['done', 'partial'].includes(p.status)) { errors.push(`${id}: status is ${p.status}`); continue }\n if (!p.evidence?.length || p.evidence.some((e) => !e.startsWith('https://') && !existsSync(e))) errors.push(`${id}: evidence missing`)\n if (p.status === 'partial' && !p.missing) errors.push(`${id}: partial without saying what is missing`)\n}\nif (errors.length) { console.error(errors.join('\\n')); process.exit(1) }\n```",
|
|
819
|
+
"hubWhen": {
|
|
820
|
+
"FRAMEWORK": [
|
|
821
|
+
"sdl"
|
|
822
|
+
]
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"id": "ff-champions",
|
|
827
|
+
"type": "fitness-fn",
|
|
828
|
+
"label": "A champion named for each team",
|
|
829
|
+
"x": 1040,
|
|
830
|
+
"y": 390,
|
|
831
|
+
"characteristic": "security",
|
|
832
|
+
"scope": "atomic",
|
|
833
|
+
"cadence": "triggered",
|
|
834
|
+
"trigger": "weekly",
|
|
835
|
+
"invocation": "automated",
|
|
836
|
+
"description": "A weekly job reads security/champions.yaml and the teams named in .github/CODEOWNERS, asks GitHub for the members of each team and of the champions' team, and fails naming a team without a champion, a champion who has left their team or the champions' team, or one with fewer hours than decided. With collective ownership (no CODEOWNERS), the teams listed in the file are checked.\n\nThreshold: 0 teams in CODEOWNERS without a champion in security/champions.yaml; every champion a member of their team and of {{SECURITY_TEAM}}, with at least {{CHAMPION_HOURS}} hours a week\n\nTool: Node.js with js-yaml and the GitHub CLI (gh api orgs/{org}/teams/{team_slug}/members, a token with read access to the organisation's members)\n\n```js\n// scripts/security/champions-check.mjs; security/champions.yaml: { teams: { order-team: { champion: alice, hours: 4 } } }\nimport { execFileSync } from 'node:child_process'\nimport { existsSync, readFileSync } from 'node:fs'\nimport yaml from 'js-yaml'\n\nconst ORG = process.env.GITHUB_REPOSITORY_OWNER, HOURS = {{CHAMPION_HOURS}}\nconst { teams = {} } = yaml.load(readFileSync('security/champions.yaml', 'utf8'), { schema: yaml.JSON_SCHEMA })\nconst members = (team) => JSON.parse(execFileSync('gh', ['api', '--paginate', '--slurp', `orgs/${ORG}/teams/${team}/members`], { encoding: 'utf8' })).flat().map((m) => m.login)\nconst owners = existsSync('.github/CODEOWNERS')\n ? [...readFileSync('.github/CODEOWNERS', 'utf8').matchAll(new RegExp(`@${ORG}/([\\\\w.-]+)`, 'gi'))].map((m) => m[1]) : []\nconst errors = []\nfor (const team of new Set(owners)) if (!teams[team]) errors.push(`${team} owns code but has no champion`)\nconst reviewers = members('{{SECURITY_TEAM}}')\nfor (const [team, c] of Object.entries(teams)) {\n if (!c?.champion) { errors.push(`${team}: no champion named`); continue }\n if (!members(team).includes(c.champion)) errors.push(`${team}: ${c.champion} is not in the team`)\n if (!reviewers.includes(c.champion)) errors.push(`${team}: ${c.champion} is not in {{SECURITY_TEAM}}`)\n if (!(c.hours >= HOURS)) errors.push(`${team}: ${c.hours ?? 0} hours a week, fewer than ${HOURS}`)\n}\nif (errors.length) { console.error(errors.join('\\n')); process.exit(1) }\n```",
|
|
837
|
+
"hubWhen": {
|
|
838
|
+
"CHAMPIONS": [
|
|
839
|
+
"champions"
|
|
840
|
+
]
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"id": "ff-security-review",
|
|
845
|
+
"type": "fitness-fn",
|
|
846
|
+
"label": "Labelled changes need a security approval",
|
|
847
|
+
"x": 1040,
|
|
848
|
+
"y": 520,
|
|
849
|
+
"characteristic": "security",
|
|
850
|
+
"scope": "atomic",
|
|
851
|
+
"cadence": "triggered",
|
|
852
|
+
"trigger": "pull-request",
|
|
853
|
+
"invocation": "manual",
|
|
854
|
+
"description": "A workflow runs on every change to a pull request's labels, commits and reviews; when the security-review label is set, it fails unless the latest review of some member of {{SECURITY_TEAM}} other than the author is an approval. The job is a required check of main, in the ruleset the Code review and branching pack keeps. GITHUB_TOKEN cannot list team members, so the workflow uses a token with read access to the organisation's members (a GitHub App installation token or a fine-grained token) stored as ORG_READ_TOKEN.\n\nThreshold: 0 pull requests with the security-review label merged without an approval, still standing, from a member of {{SECURITY_TEAM}} who is not the author\n\nTool: GitHub Actions with the GitHub CLI (pulls/{pull_number}/reviews and orgs/{org}/teams/{team_slug}/members)\n\n```yaml\n# .github/workflows/security-review.yml\nname: security-review\non:\n pull_request:\n types: [opened, reopened, synchronize, labeled, unlabeled]\n pull_request_review:\n types: [submitted, dismissed]\njobs:\n security-review:\n runs-on: ubuntu-latest\n steps:\n - name: Approved by a security reviewer\n if: contains(github.event.pull_request.labels.*.name, 'security-review')\n env:\n GH_TOKEN: ${{ secrets.ORG_READ_TOKEN }}\n PR: ${{ github.event.pull_request.number }}\n AUTHOR: ${{ github.event.pull_request.user.login }}\n run: |\n team=$(gh api --paginate \"orgs/$GITHUB_REPOSITORY_OWNER/teams/{{SECURITY_TEAM}}/members\" --jq '.[].login')\n approvers=$(gh api --paginate \"repos/$GITHUB_REPOSITORY/pulls/$PR/reviews\" --jq '.[] | select(.state != \"COMMENTED\") | \"\\(.user.login) \\(.state)\"' \\\n | awk '{ last[$1] = $2 } END { for (u in last) if (last[u] == \"APPROVED\") print u }')\n for u in $approvers; do\n if [ \"$u\" != \"$AUTHOR\" ] && grep -qxF \"$u\" <<< \"$team\"; then exit 0; fi\n done\n echo \"the security-review label needs an approval from {{SECURITY_TEAM}}\"; exit 1\n```",
|
|
855
|
+
"hubWhen": {
|
|
856
|
+
"CHAMPIONS": [
|
|
857
|
+
"champions",
|
|
858
|
+
"appsec"
|
|
859
|
+
]
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"id": "ff-one-team",
|
|
864
|
+
"type": "fitness-fn",
|
|
865
|
+
"label": "One team owns the code",
|
|
866
|
+
"x": 1040,
|
|
867
|
+
"y": 650,
|
|
868
|
+
"characteristic": "security",
|
|
869
|
+
"scope": "atomic",
|
|
870
|
+
"cadence": "triggered",
|
|
871
|
+
"trigger": "pull-request",
|
|
872
|
+
"invocation": "automated",
|
|
873
|
+
"description": "A check on every pull request counts the distinct teams that .github/CODEOWNERS names (written @org/team) and fails above one, so that a second team cannot own code while the decision that nobody has security as a role stands. Without a CODEOWNERS file (collective ownership) it passes.\n\nThreshold: At most 1 distinct team named in .github/CODEOWNERS\n\nTool: grep in a GitHub Actions step\n\n```bash\n# a step of the pull request workflow\nset -euo pipefail\n[ -f .github/CODEOWNERS ] || exit 0\nteams=$(grep -v '^[[:space:]]*#' .github/CODEOWNERS | grep -oE '@[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+' | tr '[:upper:]' '[:lower:]' | sort -u)\ncount=$(printf '%s' \"$teams\" | grep -c . || true)\nif [ \"$count\" -gt 1 ]; then\n echo \"CODEOWNERS names $count teams; supersede the decision that nobody has security as a role:\"\n echo \"$teams\"\n exit 1\nfi\n```",
|
|
874
|
+
"hubWhen": {
|
|
875
|
+
"CHAMPIONS": [
|
|
876
|
+
"none"
|
|
877
|
+
]
|
|
878
|
+
}
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
"id": "ff-appsec-wait",
|
|
882
|
+
"type": "fitness-fn",
|
|
883
|
+
"label": "Security reviews given in time",
|
|
884
|
+
"x": 1040,
|
|
885
|
+
"y": 780,
|
|
886
|
+
"characteristic": "security",
|
|
887
|
+
"scope": "atomic",
|
|
888
|
+
"cadence": "triggered",
|
|
889
|
+
"trigger": "nightly",
|
|
890
|
+
"invocation": "automated",
|
|
891
|
+
"description": "A daily job lists the open pull requests with the security-review label, skips those a member of {{SECURITY_TEAM}} has approved, finds when the label was last added from the issue's events, and fails naming each one that has waited longer than the deadline, so the wait shows up before the team learns to avoid the label.\n\nThreshold: 0 open pull requests labelled security-review for more than {{APPSEC_REVIEW_DAYS}} days without an approval from {{SECURITY_TEAM}}\n\nTool: GitHub CLI (gh pr list, gh pr view --json latestReviews, gh api issues/{issue_number}/events) in a scheduled GitHub Actions job\n\n```bash\n# scheduled daily, with GH_TOKEN able to read the organisation's teams\nset -euo pipefail\nteam=$(gh api --paginate \"orgs/{owner}/teams/{{SECURITY_TEAM}}/members\" --jq '.[].login')\nlate=0\nfor pr in $(gh pr list --label security-review --state open --json number --jq '.[].number'); do\n approved=$(gh pr view \"$pr\" --json latestReviews --jq '.latestReviews[] | select(.state == \"APPROVED\") | .author.login' \\\n | grep -cxF -f <(printf '%s\\n' \"$team\") || true)\n [ \"$approved\" -gt 0 ] && continue\n since=$(gh api --paginate \"repos/{owner}/{repo}/issues/$pr/events\" \\\n --jq '.[] | select(.event == \"labeled\" and .label.name == \"security-review\") | .created_at' | tail -1)\n days=$(( ( $(date +%s) - $(date -d \"$since\" +%s) ) / 86400 ))\n if [ \"$days\" -gt {{APPSEC_REVIEW_DAYS}} ]; then echo \"#$pr has waited $days days for a security review\"; late=1; fi\ndone\nexit \"$late\"\n```",
|
|
892
|
+
"hubWhen": {
|
|
893
|
+
"CHAMPIONS": [
|
|
894
|
+
"appsec"
|
|
895
|
+
]
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"id": "ff-pentest-age",
|
|
900
|
+
"type": "fitness-fn",
|
|
901
|
+
"label": "Penetration test not older than the limit",
|
|
902
|
+
"x": 1040,
|
|
903
|
+
"y": 910,
|
|
904
|
+
"characteristic": "security",
|
|
905
|
+
"scope": "holistic",
|
|
906
|
+
"cadence": "temporal",
|
|
907
|
+
"every": "365d",
|
|
908
|
+
"invocation": "manual",
|
|
909
|
+
"description": "A scheduled job reads the dates of the tests recorded in security/pentests.yaml and fails when the newest is older than the limit, a month before which the next test should already be booked.\n\nThreshold: The newest penetration test in security/pentests.yaml is at most {{PENTEST_MONTHS}} months old\n\nTool: Node.js with js-yaml (scripts/security/pentest-age.mjs) in a scheduled GitHub Actions job\n\n```js\n// scripts/security/pentest-age.mjs\nimport { readFileSync } from 'node:fs'\nimport yaml from 'js-yaml'\n\nconst MONTHS = {{PENTEST_MONTHS}}\nconst { tests = [] } = yaml.load(readFileSync('security/pentests.yaml', 'utf8'), { schema: yaml.JSON_SCHEMA })\nconst newest = tests.map((t) => new Date(t.date)).sort((a, b) => b - a)[0]\nconst oldest = new Date(); oldest.setMonth(oldest.getMonth() - MONTHS)\nif (!(newest >= oldest)) {\n console.error(`no penetration test in the last ${MONTHS} months (newest: ${newest?.toISOString().slice(0, 10) ?? 'none'})`)\n process.exit(1)\n}\n```",
|
|
910
|
+
"hubWhen": {
|
|
911
|
+
"PENTEST": [
|
|
912
|
+
"yearly"
|
|
913
|
+
]
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"id": "ff-pentest-record",
|
|
918
|
+
"type": "fitness-fn",
|
|
919
|
+
"label": "Tests recorded, findings filed, major releases tested",
|
|
920
|
+
"x": 1040,
|
|
921
|
+
"y": 1040,
|
|
922
|
+
"characteristic": "security",
|
|
923
|
+
"scope": "atomic",
|
|
924
|
+
"cadence": "triggered",
|
|
925
|
+
"trigger": "release",
|
|
926
|
+
"invocation": "automated",
|
|
927
|
+
"description": "A job on every pushed tag, and weekly, reads security/pentests.yaml and the repository's tags, and fails on a test without its tester, scope or report link, findings filed late, or a major release tag with no test, or only one dated after the tag. Tags created before the date in adopted: are not checked.\n\nThreshold: Every recorded test names its tester, scope and report and had its findings filed within {{PENTEST_TRIAGE_DAYS}} days; every tag matching {{MAJOR_TAGS}} since the decision has a test for it dated no later than the tag\n\nTool: Node.js with js-yaml and git for-each-ref (scripts/security/pentest-record.mjs) in GitHub Actions\n\n```js\n// scripts/security/pentest-record.mjs; security/pentests.yaml looks like:\n// adopted: 2026-11-01\n// tests: [{ date: 2027-03-10, tester: Example Security Ltd, scope: Order API and Storefront, release: v3.0.0, report: https://..., findings_filed: 2027-03-14 }]\nimport { execFileSync } from 'node:child_process'\nimport { readFileSync } from 'node:fs'\nimport yaml from 'js-yaml'\n\nconst MAJOR = /{{MAJOR_TAGS}}/, TRIAGE_DAYS = {{PENTEST_TRIAGE_DAYS}}\nconst { adopted, tests = [] } = yaml.load(readFileSync('security/pentests.yaml', 'utf8'), { schema: yaml.JSON_SCHEMA })\nconst errors = []\nfor (const t of tests) {\n if (!t.tester || !t.scope || !t.report) errors.push(`test of ${t.date}: tester, scope and report are required`)\n if (!((new Date(t.findings_filed) - new Date(t.date)) / 86_400_000 <= TRIAGE_DAYS)) errors.push(`test of ${t.date}: findings not filed within ${TRIAGE_DAYS} days`)\n}\nconst tags = execFileSync('git', ['for-each-ref', 'refs/tags', '--format=%(refname:short) %(creatordate:short)'], { encoding: 'utf8' })\n .split('\\n').filter(Boolean).map((line) => line.split(' '))\nfor (const [tag, date] of tags.filter(([tag, date]) => MAJOR.test(tag) && new Date(date) >= new Date(adopted))) {\n const t = tests.find((x) => x.release === tag)\n if (!t || new Date(t.date) > new Date(date)) errors.push(`${tag} (${date}): no penetration test before the release`)\n}\nif (errors.length) { console.error(errors.join('\\n')); process.exit(1) }\n```",
|
|
928
|
+
"hubWhen": {
|
|
929
|
+
"PENTEST": [
|
|
930
|
+
"yearly",
|
|
931
|
+
"major"
|
|
932
|
+
]
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"id": "ff-pentest-waiver",
|
|
937
|
+
"type": "fitness-fn",
|
|
938
|
+
"label": "No-test record current",
|
|
939
|
+
"x": 1040,
|
|
940
|
+
"y": 1170,
|
|
941
|
+
"characteristic": "security",
|
|
942
|
+
"scope": "atomic",
|
|
943
|
+
"cadence": "temporal",
|
|
944
|
+
"every": "365d",
|
|
945
|
+
"invocation": "manual",
|
|
946
|
+
"description": "A scheduled job reads the waiver in security/pentests.yaml and fails when it has no reason, names nothing that replaces the test, or was last reviewed too long ago.\n\nThreshold: security/pentests.yaml holds a waiver with a reason and a replacement, reviewed within {{ASSESSMENT_MONTHS}} months\n\nTool: Node.js with js-yaml (scripts/security/pentest-waiver.mjs) in a scheduled GitHub Actions job\n\n```js\n// scripts/security/pentest-waiver.mjs; security/pentests.yaml looks like:\n// waiver: { reason: internal tool, no personal data, replaced_by: [ZAP baseline scan per deploy (Secure coding)], reviewed: 2026-10-01 }\nimport { readFileSync } from 'node:fs'\nimport yaml from 'js-yaml'\n\nconst MONTHS = {{ASSESSMENT_MONTHS}}\nconst { waiver } = yaml.load(readFileSync('security/pentests.yaml', 'utf8'), { schema: yaml.JSON_SCHEMA })\nconst oldest = new Date(); oldest.setMonth(oldest.getMonth() - MONTHS)\nconst errors = []\nif (!waiver?.reason) errors.push('the waiver gives no reason')\nif (!waiver?.replaced_by?.length) errors.push('the waiver names nothing that replaces the test')\nif (!(new Date(waiver?.reviewed) >= oldest)) errors.push(`the waiver was last reviewed ${waiver?.reviewed}, more than ${MONTHS} months ago`)\nif (errors.length) { console.error(errors.join('\\n')); process.exit(1) }\n```",
|
|
947
|
+
"hubWhen": {
|
|
948
|
+
"PENTEST": [
|
|
949
|
+
"none"
|
|
950
|
+
]
|
|
951
|
+
}
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"id": "ff-training-onboarding",
|
|
955
|
+
"type": "fitness-fn",
|
|
956
|
+
"label": "New committers trained",
|
|
957
|
+
"x": 1040,
|
|
958
|
+
"y": 1300,
|
|
959
|
+
"characteristic": "security",
|
|
960
|
+
"scope": "atomic",
|
|
961
|
+
"cadence": "triggered",
|
|
962
|
+
"trigger": "weekly",
|
|
963
|
+
"invocation": "automated",
|
|
964
|
+
"description": "A weekly job downloads the completions from the learning platform (its export or API, reduced to email,course,completed_on in training.csv and never committed), takes each author's first commit date from git log, and fails naming everyone who committed recently and is past the onboarding window without a completion. Commits must use the work address the learning platform knows; bots are skipped.\n\nThreshold: 0 people who committed in the last 90 days, first committed more than {{ONBOARDING_DAYS}} days ago, and have no completion of {{TRAINING_COURSE}}\n\nTool: Node.js and git log (scripts/security/training-onboarding.mjs) in a scheduled GitHub Actions job\n\n```js\n// scripts/security/training-onboarding.mjs; training.csv: email,course,completed_on (downloaded by the job, never committed)\nimport { execFileSync } from 'node:child_process'\nimport { readFileSync } from 'node:fs'\n\nconst COURSE = '{{TRAINING_COURSE}}', DAYS = {{ONBOARDING_DAYS}}\nconst trained = new Set(readFileSync('training.csv', 'utf8').trim().split('\\n').slice(1)\n .map((l) => l.split(',')).filter(([, course]) => course === COURSE).map(([email]) => email.toLowerCase()))\nconst git = (...args) => execFileSync('git', ['log', '--no-merges', ...args], { encoding: 'utf8' }).split('\\n').filter(Boolean)\nconst first = new Map()\nfor (const line of git('--reverse', '--format=%ae %as')) {\n const [email, date] = line.split(' ')\n if (!first.has(email.toLowerCase())) first.set(email.toLowerCase(), new Date(date))\n}\nconst recent = new Set(git('--since=90 days ago', '--format=%ae').map((e) => e.toLowerCase()).filter((e) => !/\\[bot\\]/.test(e)))\nconst due = (email) => (Date.now() - first.get(email)) / 86_400_000 > DAYS\nconst missing = [...recent].filter((email) => due(email) && !trained.has(email))\nif (missing.length) { console.error(`no completion of ${COURSE}:\\n${missing.join('\\n')}`); process.exit(1) }\n```"
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"id": "ff-training-yearly",
|
|
968
|
+
"type": "fitness-fn",
|
|
969
|
+
"label": "Committers trained in the last 12 months",
|
|
970
|
+
"x": 1040,
|
|
971
|
+
"y": 1430,
|
|
972
|
+
"characteristic": "security",
|
|
973
|
+
"scope": "atomic",
|
|
974
|
+
"cadence": "temporal",
|
|
975
|
+
"every": "365d",
|
|
976
|
+
"invocation": "manual",
|
|
977
|
+
"description": "The same weekly job compares each recent author's latest completion of the course with today, and fails naming everyone whose latest completion is older than 12 months.\n\nThreshold: 0 people who committed in the last 90 days without a completion of {{TRAINING_COURSE}} in the last 12 months\n\nTool: Node.js and git log (scripts/security/training-yearly.mjs) in a scheduled GitHub Actions job\n\n```js\n// scripts/security/training-yearly.mjs; training.csv: email,course,completed_on (downloaded by the job, never committed)\nimport { execFileSync } from 'node:child_process'\nimport { readFileSync } from 'node:fs'\n\nconst COURSE = '{{TRAINING_COURSE}}'\nconst latest = new Map()\nfor (const [email, course, on] of readFileSync('training.csv', 'utf8').trim().split('\\n').slice(1).map((l) => l.split(','))) {\n const key = email.toLowerCase()\n if (course === COURSE && !(latest.get(key) > new Date(on))) latest.set(key, new Date(on))\n}\nconst year = new Date(); year.setFullYear(year.getFullYear() - 1)\nconst recent = new Set(execFileSync('git', ['log', '--no-merges', '--since=90 days ago', '--format=%ae'], { encoding: 'utf8' })\n .split('\\n').filter((e) => e && !/\\[bot\\]/.test(e)).map((e) => e.toLowerCase()))\nconst lapsed = [...recent].filter((email) => !(latest.get(email) >= year))\nif (lapsed.length) { console.error(`${COURSE} not completed in the last 12 months:\\n${lapsed.join('\\n')}`); process.exit(1) }\n```",
|
|
978
|
+
"hubWhen": {
|
|
979
|
+
"TRAINING": [
|
|
980
|
+
"yearly"
|
|
981
|
+
]
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
],
|
|
985
|
+
"relations": [
|
|
986
|
+
{
|
|
987
|
+
"id": "req-samm-current--derives--need",
|
|
988
|
+
"sourceId": "req-samm-current",
|
|
989
|
+
"targetId": "need",
|
|
990
|
+
"relationType": "derives"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"id": "req-samm-targets--derives--need",
|
|
994
|
+
"sourceId": "req-samm-targets",
|
|
995
|
+
"targetId": "need",
|
|
996
|
+
"relationType": "derives"
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"id": "req-ssdf-evidence--derives--need",
|
|
1000
|
+
"sourceId": "req-ssdf-evidence",
|
|
1001
|
+
"targetId": "need",
|
|
1002
|
+
"relationType": "derives"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"id": "req-sdl-checklist--derives--need",
|
|
1006
|
+
"sourceId": "req-sdl-checklist",
|
|
1007
|
+
"targetId": "need",
|
|
1008
|
+
"relationType": "derives"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"id": "req-champion--derives--need",
|
|
1012
|
+
"sourceId": "req-champion",
|
|
1013
|
+
"targetId": "need",
|
|
1014
|
+
"relationType": "derives"
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"id": "req-champion-review--derives--need",
|
|
1018
|
+
"sourceId": "req-champion-review",
|
|
1019
|
+
"targetId": "need",
|
|
1020
|
+
"relationType": "derives"
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"id": "req-appsec-review--derives--need",
|
|
1024
|
+
"sourceId": "req-appsec-review",
|
|
1025
|
+
"targetId": "need",
|
|
1026
|
+
"relationType": "derives"
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"id": "req-one-team--derives--need",
|
|
1030
|
+
"sourceId": "req-one-team",
|
|
1031
|
+
"targetId": "need",
|
|
1032
|
+
"relationType": "derives"
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"id": "req-pentest-yearly--derives--need",
|
|
1036
|
+
"sourceId": "req-pentest-yearly",
|
|
1037
|
+
"targetId": "need",
|
|
1038
|
+
"relationType": "derives"
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"id": "req-pentest-major--derives--need",
|
|
1042
|
+
"sourceId": "req-pentest-major",
|
|
1043
|
+
"targetId": "need",
|
|
1044
|
+
"relationType": "derives"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
"id": "req-pentest-none--derives--need",
|
|
1048
|
+
"sourceId": "req-pentest-none",
|
|
1049
|
+
"targetId": "need",
|
|
1050
|
+
"relationType": "derives"
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"id": "req-training-onboarding--derives--need",
|
|
1054
|
+
"sourceId": "req-training-onboarding",
|
|
1055
|
+
"targetId": "need",
|
|
1056
|
+
"relationType": "derives"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"id": "req-training-yearly--derives--need",
|
|
1060
|
+
"sourceId": "req-training-yearly",
|
|
1061
|
+
"targetId": "need",
|
|
1062
|
+
"relationType": "derives"
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"id": "sc-samm-current--verifies--req-samm-current",
|
|
1066
|
+
"sourceId": "sc-samm-current",
|
|
1067
|
+
"targetId": "req-samm-current",
|
|
1068
|
+
"relationType": "verifies"
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
"id": "sc-samm-targets--verifies--req-samm-targets",
|
|
1072
|
+
"sourceId": "sc-samm-targets",
|
|
1073
|
+
"targetId": "req-samm-targets",
|
|
1074
|
+
"relationType": "verifies"
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
"id": "sc-ssdf-evidence--verifies--req-ssdf-evidence",
|
|
1078
|
+
"sourceId": "sc-ssdf-evidence",
|
|
1079
|
+
"targetId": "req-ssdf-evidence",
|
|
1080
|
+
"relationType": "verifies"
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"id": "sc-sdl-checklist--verifies--req-sdl-checklist",
|
|
1084
|
+
"sourceId": "sc-sdl-checklist",
|
|
1085
|
+
"targetId": "req-sdl-checklist",
|
|
1086
|
+
"relationType": "verifies"
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
"id": "sc-champion--verifies--req-champion",
|
|
1090
|
+
"sourceId": "sc-champion",
|
|
1091
|
+
"targetId": "req-champion",
|
|
1092
|
+
"relationType": "verifies"
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"id": "sc-champion-review--verifies--req-champion-review",
|
|
1096
|
+
"sourceId": "sc-champion-review",
|
|
1097
|
+
"targetId": "req-champion-review",
|
|
1098
|
+
"relationType": "verifies"
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
"id": "sc-appsec-review--verifies--req-appsec-review",
|
|
1102
|
+
"sourceId": "sc-appsec-review",
|
|
1103
|
+
"targetId": "req-appsec-review",
|
|
1104
|
+
"relationType": "verifies"
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"id": "sc-one-team--verifies--req-one-team",
|
|
1108
|
+
"sourceId": "sc-one-team",
|
|
1109
|
+
"targetId": "req-one-team",
|
|
1110
|
+
"relationType": "verifies"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"id": "sc-pentest-yearly--verifies--req-pentest-yearly",
|
|
1114
|
+
"sourceId": "sc-pentest-yearly",
|
|
1115
|
+
"targetId": "req-pentest-yearly",
|
|
1116
|
+
"relationType": "verifies"
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"id": "sc-pentest-major--verifies--req-pentest-major",
|
|
1120
|
+
"sourceId": "sc-pentest-major",
|
|
1121
|
+
"targetId": "req-pentest-major",
|
|
1122
|
+
"relationType": "verifies"
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
"id": "sc-pentest-none--verifies--req-pentest-none",
|
|
1126
|
+
"sourceId": "sc-pentest-none",
|
|
1127
|
+
"targetId": "req-pentest-none",
|
|
1128
|
+
"relationType": "verifies"
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"id": "sc-training-onboarding--verifies--req-training-onboarding",
|
|
1132
|
+
"sourceId": "sc-training-onboarding",
|
|
1133
|
+
"targetId": "req-training-onboarding",
|
|
1134
|
+
"relationType": "verifies"
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
"id": "sc-training-yearly--verifies--req-training-yearly",
|
|
1138
|
+
"sourceId": "sc-training-yearly",
|
|
1139
|
+
"targetId": "req-training-yearly",
|
|
1140
|
+
"relationType": "verifies"
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"id": "ff-samm--implements--adr-samm",
|
|
1144
|
+
"sourceId": "ff-samm",
|
|
1145
|
+
"targetId": "adr-samm",
|
|
1146
|
+
"relationType": "implements"
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"id": "ff-ssdf--implements--adr-ssdf",
|
|
1150
|
+
"sourceId": "ff-ssdf",
|
|
1151
|
+
"targetId": "adr-ssdf",
|
|
1152
|
+
"relationType": "implements"
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
"id": "ff-sdl--implements--adr-sdl",
|
|
1156
|
+
"sourceId": "ff-sdl",
|
|
1157
|
+
"targetId": "adr-sdl",
|
|
1158
|
+
"relationType": "implements"
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"id": "ff-champions--implements--adr-champions",
|
|
1162
|
+
"sourceId": "ff-champions",
|
|
1163
|
+
"targetId": "adr-champions",
|
|
1164
|
+
"relationType": "implements"
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"id": "ff-security-review--implements--adr-champions",
|
|
1168
|
+
"sourceId": "ff-security-review",
|
|
1169
|
+
"targetId": "adr-champions",
|
|
1170
|
+
"relationType": "implements"
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"id": "ff-security-review--implements--adr-appsec",
|
|
1174
|
+
"sourceId": "ff-security-review",
|
|
1175
|
+
"targetId": "adr-appsec",
|
|
1176
|
+
"relationType": "implements"
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"id": "ff-one-team--implements--adr-no-security-role",
|
|
1180
|
+
"sourceId": "ff-one-team",
|
|
1181
|
+
"targetId": "adr-no-security-role",
|
|
1182
|
+
"relationType": "implements"
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"id": "ff-appsec-wait--implements--adr-appsec",
|
|
1186
|
+
"sourceId": "ff-appsec-wait",
|
|
1187
|
+
"targetId": "adr-appsec",
|
|
1188
|
+
"relationType": "implements"
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"id": "ff-pentest-age--implements--adr-pentest",
|
|
1192
|
+
"sourceId": "ff-pentest-age",
|
|
1193
|
+
"targetId": "adr-pentest",
|
|
1194
|
+
"relationType": "implements"
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
"id": "ff-pentest-record--implements--adr-pentest",
|
|
1198
|
+
"sourceId": "ff-pentest-record",
|
|
1199
|
+
"targetId": "adr-pentest",
|
|
1200
|
+
"relationType": "implements"
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"id": "ff-pentest-waiver--implements--adr-no-pentest",
|
|
1204
|
+
"sourceId": "ff-pentest-waiver",
|
|
1205
|
+
"targetId": "adr-no-pentest",
|
|
1206
|
+
"relationType": "implements"
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"id": "ff-training-onboarding--implements--adr-samm",
|
|
1210
|
+
"sourceId": "ff-training-onboarding",
|
|
1211
|
+
"targetId": "adr-samm",
|
|
1212
|
+
"relationType": "implements"
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"id": "ff-training-onboarding--implements--adr-ssdf",
|
|
1216
|
+
"sourceId": "ff-training-onboarding",
|
|
1217
|
+
"targetId": "adr-ssdf",
|
|
1218
|
+
"relationType": "implements"
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
"id": "ff-training-onboarding--implements--adr-sdl",
|
|
1222
|
+
"sourceId": "ff-training-onboarding",
|
|
1223
|
+
"targetId": "adr-sdl",
|
|
1224
|
+
"relationType": "implements"
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"id": "ff-training-yearly--implements--adr-samm",
|
|
1228
|
+
"sourceId": "ff-training-yearly",
|
|
1229
|
+
"targetId": "adr-samm",
|
|
1230
|
+
"relationType": "implements"
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"id": "ff-training-yearly--implements--adr-ssdf",
|
|
1234
|
+
"sourceId": "ff-training-yearly",
|
|
1235
|
+
"targetId": "adr-ssdf",
|
|
1236
|
+
"relationType": "implements"
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"id": "ff-training-yearly--implements--adr-sdl",
|
|
1240
|
+
"sourceId": "ff-training-yearly",
|
|
1241
|
+
"targetId": "adr-sdl",
|
|
1242
|
+
"relationType": "implements"
|
|
1243
|
+
}
|
|
1244
|
+
]
|
|
1245
|
+
}
|