Skip to content

Commit 72e26ad

Browse files
committed
feat: add dependsOn for new patching activities
1 parent 11dafa2 commit 72e26ad

File tree

4 files changed

+104
-10
lines changed

4 files changed

+104
-10
lines changed

src/assets/YAML/default/BuildAndDeployment/PatchManagement.yaml

+22-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Build and Deployment:
213213
comments: ""
214214
tags:
215215
- patching
216-
Automated merge of automated PRs:
216+
Automated merge of automated PRs: &automerge-PR
217217
uuid: f2594f8f-1cd6-45f9-af29-eaf3315698eb
218218
description: |-
219219
Automated merges of automated created PRs for outdated dependencies.
@@ -229,6 +229,8 @@ Build and Deployment:
229229
resources: 1
230230
usefulness: 3
231231
level: 2
232+
dependsOn:
233+
- Automated PRs for patches
232234
implementation:
233235
- $ref: src/assets/YAML/default/implementations.yaml#/implementations/dependabot
234236
- $ref: src/assets/YAML/default/implementations.yaml#/implementations/renovate
@@ -242,3 +244,22 @@ Build and Deployment:
242244
comments: ""
243245
tags:
244246
- patching
247+
Automated deployment of automated PRs:
248+
uuid: 08f27c26-2c6a-47fe-9458-5e88f188085d
249+
<<: *automerge-PR
250+
risk:
251+
Even if automated dependencies PRs are merged, they might not be deployed. This results in vulnerabilities in running artifacts stay for too long and might get exploited.
252+
measure: |
253+
After merging of an automated dependency PR, automated deployment is needed,
254+
difficultyOfImplementation:
255+
knowledge: 3
256+
time: 3
257+
resources: 1
258+
usefulness: 3
259+
level: 3
260+
dependsOn:
261+
- Automated merge of automated PRs
262+
implementation:
263+
- $ref: src/assets/YAML/default/implementations.yaml#/implementations/terraform
264+
- $ref: src/assets/YAML/default/implementations.yaml#/implementations/argocd
265+
references:

src/assets/YAML/default/TestAndVerification/StaticDepthForApplications.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Test and Verification:
5555
This activity is not repeated in the Sub-Dimension "Static depth for infrastructure", but it applies to infrastructure as well.
5656
usefulness: 3
5757
level: 2
58+
dependsOn:
59+
- Automated PRs for patches
5860
difficultyOfImplementation:
5961
knowledge: 1
6062
time: 1
@@ -71,6 +73,9 @@ Test and Verification:
7173
Test for Patch Deployment Time:
7274
<<: *Exclusion-of-source-code-duplicates
7375
risk: Automatic PRs for dependencies are overlooked resulting in known vulnerabilities in production artifacts.
76+
dependsOn:
77+
- Automated PRs for patches
78+
- Defined build process
7479
measure: |
7580
Test of the Patch Deployment Time.
7681
This activity is not repeated in the Sub-Dimension "Static depth for infrastructure", but it applies to infrastructure as well.

src/assets/YAML/default/implementations.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# yaml-language-server: $schema=../schemas/dsomm-implementations-schema.json
22
implementations:
3+
argocd:
4+
uuid: fdb0e7cc-d3dd-4a2b-9f45-7d403001294f
5+
name: argoCD
6+
tags: [deployment]
7+
url: https://argo-cd.readthedocs.io/en/stable/
38
signing-of-commits-protection:
49
uuid: 86c6bdba-73c0-4c99-bbda-81b85c9fe2a4
510
name: Enforcement of commit signing

src/assets/YAML/generated/generated.yaml

+72-9
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,13 @@ Build and Deployment:
380380
usefulness: 4
381381
level: 2
382382
implementation:
383-
- signing-of-commits-protection:
383+
- argocd:
384+
uuid: fdb0e7cc-d3dd-4a2b-9f45-7d403001294f
385+
name: argoCD
386+
tags:
387+
- deployment
388+
url: https://argo-cd.readthedocs.io/en/stable/
389+
signing-of-commits-protection:
384390
uuid: 86c6bdba-73c0-4c99-bbda-81b85c9fe2a4
385391
name: Enforcement of commit signing
386392
tags:
@@ -1828,6 +1834,42 @@ Build and Deployment:
18281834
comments: ""
18291835
tags:
18301836
- patching
1837+
Automated deployment of automated PRs:
1838+
uuid: 08f27c26-2c6a-47fe-9458-5e88f188085d
1839+
description: Automated merges of automated created PRs for outdated dependencies.
1840+
risk: Even if automated dependencies PRs are merged, they might not be deployed.
1841+
This results in vulnerabilities in running artifacts stay for too long and
1842+
might get exploited.
1843+
measure: |
1844+
After merging of an automated dependency PR, automated deployment is needed,
1845+
difficultyOfImplementation:
1846+
knowledge: 3
1847+
time: 3
1848+
resources: 1
1849+
usefulness: 3
1850+
level: 3
1851+
dependsOn:
1852+
- Automated merge of automated PRs
1853+
implementation:
1854+
- uuid: 0d63f907-37fe-4375-88a5-a5e252732618
1855+
name: terraform
1856+
tags:
1857+
- IaC
1858+
url: https://www.terraform.io/
1859+
description: |
1860+
Terraform enables infrastructure automation for provisioning, compliance, and management of any cloud, datacenter, and service.
1861+
- uuid: fdb0e7cc-d3dd-4a2b-9f45-7d403001294f
1862+
name: argoCD
1863+
tags:
1864+
- deployment
1865+
url: https://argo-cd.readthedocs.io/en/stable/
1866+
references:
1867+
samm2: []
1868+
iso27001-2017: []
1869+
iso27001-2022: []
1870+
comments: ""
1871+
tags:
1872+
- patching
18311873
Automated merge of automated PRs:
18321874
uuid: f2594f8f-1cd6-45f9-af29-eaf3315698eb
18331875
description: Automated merges of automated created PRs for outdated dependencies.
@@ -1842,6 +1884,8 @@ Build and Deployment:
18421884
resources: 1
18431885
usefulness: 3
18441886
level: 2
1887+
dependsOn:
1888+
- Automated PRs for patches
18451889
implementation:
18461890
- uuid: d6292c7d-aab7-43d3-a7c6-1e443b5c1aa4
18471891
name: dependabot
@@ -6040,7 +6084,13 @@ Test and Verification:
60406084
- 8.32
60416085
- 8.29
60426086
implementation:
6043-
- signing-of-commits-protection:
6087+
- argocd:
6088+
uuid: fdb0e7cc-d3dd-4a2b-9f45-7d403001294f
6089+
name: argoCD
6090+
tags:
6091+
- deployment
6092+
url: https://argo-cd.readthedocs.io/en/stable/
6093+
signing-of-commits-protection:
60446094
uuid: 86c6bdba-73c0-4c99-bbda-81b85c9fe2a4
60456095
name: Enforcement of commit signing
60466096
tags:
@@ -7112,7 +7162,13 @@ Test and Verification:
71127162
url: https://thehackernews.com/2022/11/top-5-api-security-myths-that-are.html
71137163
description: |
71147164
There are several myths and misconceptions about API security. These myths about securing APIs are crushing your business
7115-
- signing-of-commits-protection:
7165+
- argocd:
7166+
uuid: fdb0e7cc-d3dd-4a2b-9f45-7d403001294f
7167+
name: argoCD
7168+
tags:
7169+
- deployment
7170+
url: https://argo-cd.readthedocs.io/en/stable/
7171+
signing-of-commits-protection:
71167172
uuid: 86c6bdba-73c0-4c99-bbda-81b85c9fe2a4
71177173
name: Enforcement of commit signing
71187174
tags:
@@ -8702,7 +8758,13 @@ Test and Verification:
87028758
tags:
87038759
- ide
87048760
- sast
8705-
- signing-of-commits-protection:
8761+
- argocd:
8762+
uuid: fdb0e7cc-d3dd-4a2b-9f45-7d403001294f
8763+
name: argoCD
8764+
tags:
8765+
- deployment
8766+
url: https://argo-cd.readthedocs.io/en/stable/
8767+
signing-of-commits-protection:
87068768
uuid: 86c6bdba-73c0-4c99-bbda-81b85c9fe2a4
87078769
name: Enforcement of commit signing
87088770
tags:
@@ -9860,10 +9922,10 @@ Test and Verification:
98609922
are performed.
98619923
difficultyOfImplementation:
98629924
knowledge: 1
9863-
time: 2
9925+
time: 3
98649926
resources: 1
98659927
usefulness: 5
9866-
level: 1
9928+
level: 2
98679929
dependsOn:
98689930
- Defined build process
98699931
implementation:
@@ -10067,10 +10129,10 @@ Test and Verification:
1006710129
dataflow analysis.
1006810130
difficultyOfImplementation:
1006910131
knowledge: 2
10070-
time: 3
10132+
time: 2
1007110133
resources: 1
1007210134
usefulness: 4
10073-
level: 2
10135+
level: 3
1007410136
implementation:
1007510137
- uuid: 6a0948a7-4781-4858-9766-f4303971b28b
1007610138
name: eslint
@@ -10184,6 +10246,7 @@ Test and Verification:
1018410246
name: PMD
1018510247
tags: []
1018610248
dependsOn:
10249+
- Automated PRs for patches
1018710250
- Defined build process
1018810251
references:
1018910252
samm2:
@@ -10230,7 +10293,7 @@ Test and Verification:
1023010293
- patching
1023110294
url: https://github.com/renovatebot/renovate
1023210295
dependsOn:
10233-
- Defined build process
10296+
- Automated PRs for patches
1023410297
references:
1023510298
samm2:
1023610299
- V-ST-2-A

0 commit comments

Comments
 (0)