Skip to content

Commit

Permalink
Update to V1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyb3rWard0g committed Nov 6, 2018
1 parent 64321f8 commit 6a286aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions attackcti/attack_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def parse_stix_objects(self, stix_objects, stix_object_type):
'matrix': technique['external_references'][0]['source_name'],
'technique': technique['name'],
'technique_description': self.try_except(technique, 'description'),
#'tactic': self.handle_list(technique,'kill_chain_phases'),
'tactic': self.try_except(technique,'kill_chain_phases'),
'technique_id': technique['external_references'][0]['external_id'],
'platform': self.try_except(technique,'x_mitre_platforms'),
Expand Down Expand Up @@ -97,12 +96,12 @@ def parse_stix_objects(self, stix_objects, stix_object_type):
software_dict = {
'type': software['type'],
'id': software['id'],
'created_by_ref': software['created_by_ref'],
'created_by_ref': self.try_except(software, 'created_by_ref'),
'created': str(software['created']),
'modified': str(software['modified']),
'matrix': software['external_references'][0]['source_name'],
'software': software['name'],
'software_description': software['description'],
'software_description': self.try_except(software, 'description'),
'software_labels': self.try_except(software, 'labels'),
'software_id': software['external_references'][0]['external_id'],
'url': software['external_references'][0]['url'],
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setuptools.setup(
name="attackcti",
version="0.1.6",
version="0.1.7",
author="Roberto Rodriguez",
author_email="rrodriguezops@gmail.com",
description="ATTACK CTI Libary",
Expand Down

0 comments on commit 6a286aa

Please sign in to comment.