Skip to content

Commit

Permalink
Merge pull request atc-project#227 from atc-project/develop
Browse files Browse the repository at this point in the history
update stix req; resolves atc-project#226; thanks to @wbnod and @xofolowski πŸ™
  • Loading branch information
yugoslavskiy authored Oct 24, 2021
2 parents fed1a80 + 6e545c0 commit 89a48db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requests
jinja2
elasticsearch
pytest
stix2
stix2<3.0
mkdocs
mkdocs-awesome-pages-plugin
mkdocs-exclude
Expand Down
2 changes: 1 addition & 1 deletion response/atc_react
4 changes: 2 additions & 2 deletions scripts/detectionrule.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def render_template(self, template_type):
triggers = []

for trigger in technique:
if trigger is "None":
if trigger == "None":
continue
trigger_name, trigger_id = trigger
# Check if a directory for a technique exists in atomic red team repo
Expand Down Expand Up @@ -343,7 +343,7 @@ def render_template(self, template_type):
triggers = []

for trigger_name, trigger_id in technique:
if trigger_id is "None":
if trigger_id == "None":
continue


Expand Down

0 comments on commit 89a48db

Please sign in to comment.