Skip to content

Commit

Permalink
Merge pull request #76 from Cyb3rWard0g/master
Browse files Browse the repository at this point in the history
Removed double query method from COMPOSITE_DS.query, fix #67
  • Loading branch information
Cyb3rWard0g committed Apr 1, 2024
2 parents 127a8eb + 2929b55 commit 0ccccbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attackcti/attack_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1909,7 +1909,7 @@ def get_techniques_used_by_group_software(self, stix_object: Any = None, stix_fo
Filter('relationship_type', '=', 'uses'),
Filter('source_ref', 'in', [r.target_ref for r in software_relationships])
]
software_uses = self.COMPOSITE_DS.query.query(filter_objects)
software_uses = self.COMPOSITE_DS.query(filter_objects)
# Get all techniques used by the software that is used by group
filter_techniques = [
Filter('type', '=', 'attack-pattern'),
Expand Down

0 comments on commit 0ccccbf

Please sign in to comment.