Skip to content

Commit

Permalink
Merge branch 'develop' into ben/deprecate-snowflake-public-grant-rule
Browse files Browse the repository at this point in the history
  • Loading branch information
arielkr256 authored Oct 15, 2024
2 parents d34e3e5 + 139d405 commit 60e527c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-packs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
panther_analysis_tool check-packs || echo "errors=`cat errors.txt`" >> $GITHUB_OUTPUT
- name: Comment PR
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6
uses: thollander/actions-comment-pull-request@e2c37e53a7d2227b61585343765f73a9ca57eda9
if: ${{ steps.check-packs.outputs.errors }}
with:
mode: upsert
Expand All @@ -54,7 +54,7 @@ jobs:
```
comment_tag: check-packs
- name: Delete comment
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6
uses: thollander/actions-comment-pull-request@e2c37e53a7d2227b61585343765f73a9ca57eda9
if: ${{ !steps.check-packs.outputs.errors }}
with:
mode: delete
Expand Down
7 changes: 6 additions & 1 deletion .scripts/mitre_mapping_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@


def main(path: Path) -> bool:
# Ignore any schema test files
# Schema tests can't be loaded by panther_analysis_tool because each file contains multiple
# YAML documents.
ignore_files = list(path.glob("**/*_tests.y*ml"))

# Load Repo
analysis_items = load_analysis_specs([path], ignore_files=[])
analysis_items = load_analysis_specs([path], ignore_files=ignore_files)

items_with_invalid_mappings = [] # Record all items with bad tags
for analysis_item in analysis_items:
Expand Down

0 comments on commit 60e527c

Please sign in to comment.