Skip to content

Commit 5381785

Browse files
committed
feat: Cease using Trivy in the SDLC Workflow
A compromise of the Trivy build was handled imprefectly, leading to a second compromise and severe security impact on its users. Trust in the tool will need to be regained before we will use it in our workflows.
1 parent 068b5d3 commit 5381785

File tree

6 files changed

+9
-42
lines changed

6 files changed

+9
-42
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ your repository.
9898
| github<br>features<br>squash_merge `boolean` |true| Allow squash-merging pull requests.|
9999
| github<br>features<br>merge_commit `boolean` |true| Allow merging pull requests with merge commit.|
100100
| github<br>features<br>rebase_merge `boolean` |true| Allow rebase-merging pull requests.|
101-
| github<br>features<br>sdlc_workflows `boolean` |false| **EXPERIMENTAL** Software Development Lifecycle Workflows. Property will likely be removed in the future, and enabled by default, when workflows have been stabilized.|
101+
| github<br>features<br>sdlc_workflows `boolean` |false| **EXPERIMENTAL** Software Development Lifecycle Workflows: release and cleanup. Security scanning (trivy) has been removed due to supply chain compromise.|
102102
| github<br>features<br>wiki `boolean` |false| Enable Wiki tab.|
103103
| github<br>features<br>issues `boolean` |false| Enable issues tab.|
104104
| github<br>features<br>projects `boolean` |false| Enable projects tab.|

docs/partials/readme.configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
| github<br>features<br>squash_merge `boolean` |true| Allow squash-merging pull requests.|
2626
| github<br>features<br>merge_commit `boolean` |true| Allow merging pull requests with merge commit.|
2727
| github<br>features<br>rebase_merge `boolean` |true| Allow rebase-merging pull requests.|
28-
| github<br>features<br>sdlc_workflows `boolean` |false| **EXPERIMENTAL** Software Development Lifecycle Workflows. Property will likely be removed in the future, and enabled by default, when workflows have been stabilized.|
28+
| github<br>features<br>sdlc_workflows `boolean` |false| **EXPERIMENTAL** Software Development Lifecycle Workflows: release and cleanup. Security scanning (trivy) has been removed due to supply chain compromise.|
2929
| github<br>features<br>wiki `boolean` |false| Enable Wiki tab.|
3030
| github<br>features<br>issues `boolean` |false| Enable issues tab.|
3131
| github<br>features<br>projects `boolean` |false| Enable projects tab.|

repo.schema.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ properties:
176176

177177
sdlc_workflows:
178178
description: >
179-
**EXPERIMENTAL** Software Development Lifecycle Workflows. Property will likely be removed in
180-
the future, and enabled by default, when workflows have been stabilized.
179+
**EXPERIMENTAL** Software Development Lifecycle Workflows: release and cleanup.
180+
Security scanning (trivy) has been removed due to supply chain compromise.
181181
type: boolean
182182
default: false
183183

tasks/generate-files.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
path: "{{ repo_path }}/.github/workflows"
2424
state: directory
2525

26+
- name: Remove compromised 50-security workflow (trivy supply chain attack)
27+
ansible.builtin.file:
28+
path: "{{ repo_path }}/.github/workflows/50-security.yaml"
29+
state: absent
30+
2631
- name: Generate repo-ansible workflow
2732
ansible.builtin.template:
2833
src: ./templates/.github/workflows/auto-run-repo-ansible.yaml.j2

tasks/other-dev-generated-files.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333
workflow_group: "10"
3434
- target: 30-release-and-build.yaml
3535
workflow_group: "30"
36-
- target: 50-security.yaml
37-
workflow_group: "50"
3836
- target: 90-cleanup.yaml
3937
workflow_group: "90"
4038

templates/.github/workflows/50-security.yaml.j2

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)