Skip to content

Commit

Permalink
Revert pipfile changes; keep logic
Browse files Browse the repository at this point in the history
  • Loading branch information
egibs committed Feb 8, 2024
1 parent cadf848 commit 1188350
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions panther_analysis_tool/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1316,6 +1316,10 @@ def check_packs(args: argparse.Namespace) -> Tuple[int, str]:
if is_simple_pack != is_simple_rule:
# simple rules should be in simple packs
continue
requires_configuration = [x for x in detection.analysis_spec.get("Tags", []) if "Configuration Required" in x]
if requires_configuration:
# skip detections that require configuration
continue
# remove leading ./
# ./some-dir -> some-dir
dir_name = detection.dir_name.strip("./")
Expand Down

0 comments on commit 1188350

Please sign in to comment.