Skip to content

Commit

Permalink
Removed double query method from COMPOSITE_DS.query, fix #67
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyb3rWard0g committed Apr 1, 2024
1 parent 127a8eb commit 2929b55
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 2929b55

Please sign in to comment.