Skip to content

Commit

Permalink
Merge pull request #44 from niaid/f/fix-rule-pack-info-generator
Browse files Browse the repository at this point in the history
Fix rule pack info generation
  • Loading branch information
bensonce authored Jun 6, 2024
2 parents 13c7ed6 + 19a2628 commit b4177db
Show file tree
Hide file tree
Showing 10 changed files with 519 additions and 544 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/update-rule-pack-info.yaml

This file was deleted.

11 changes: 8 additions & 3 deletions .github/workflows/update-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@ jobs:
run: |
cd scripts
pip install -r requirements.txt
python index.py
python index.py update-config-rules
python index.py update-rule-packs
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
with:
files: "*.tf"
files: |
"*.tf"
"files/*"
- name: List all changed files
run: echo '${{ steps.changed-files.outputs.all_changed_files }}'
Expand Down Expand Up @@ -64,7 +67,9 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
base: main
branch: auto-update-aws-config-rules
add-paths: managed_rules_*.tf
add-paths: |
managed_rules_*.tf
files/*
commit-message: Automatic updates to AWS managed Config Rules
delete-branch: true
title: '[Auto] Update AWS Config Rules'
Expand Down
2 changes: 1 addition & 1 deletion files/pack-rules-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ Security-Best-Practices-for-Network-Firewall
Security-Best-Practices-for-RDS
Security-Best-Practices-for-Redshift
Security-Best-Practices-for-SageMaker
Security-Best-Practices-for-Secrets-Manager
Security-Best-Practices-for-Secrets-Manager
Loading

0 comments on commit b4177db

Please sign in to comment.