Skip to content

Add update ATT&CK coverage step in lock versions #4772

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/lock-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,22 @@ jobs:
pip cache purge
pip install .[dev]

- name: Build release package
- name: Build release package with navigator files
run: |
python -m detection_rules dev build-release
python -m detection_rules dev build-release --generate-navigator
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥


- name: Set github config
run: |
git config --global user.email "[email protected]"
git config --global user.name "protectionsmachine"

- name: Update navigator gist files and docs-dev/ATT&CK-coverage.md file.
env:
GITHUB_TOKEN: "${{ secrets.WRITE_TRADEBOT_GIST_TOKEN }}"
run: |
python -m detection_rules dev update-navigator-gists --update-coverage
git add docs-dev/"ATT\&CK-coverage.md"

- name: Lock the versions
env:
BRANCHES: "${{github.event.inputs.branches}}"
Expand All @@ -65,7 +72,8 @@ jobs:
title: 'Lock versions for releases: ${{github.event.inputs.branches}}'
body: |
Lock versions for releases: ${{github.event.inputs.branches}}.

Update ATT&CK coverage URL(s) in docs-dev/ATT&CK-coverage.md

- Autogenerated from job `lock-versions: pr`.
labels: "backport: auto"

Expand Down
Loading