We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'PRE' matrix is already deprecated. Function get_stix_objects() runs get_pre() function. It needs to be removed.
get_stix_objects()
get_pre()
The text was updated successfully, but these errors were encountered:
I ended up keeping it simple with the following function:
def get_stix_objects(self, stix_format=True): attack_stix_objects = dict() attack_stix_objects['enterprise'] = self.get_enterprise() attack_stix_objects['mobile'] = self.get_mobile() attack_stix_objects['ics'] = self.get_ics() if not stix_format: for matrix in attack_stix_objects.keys(): for resource_type in attack_stix_objects[matrix].keys(): attack_stix_objects[matrix][resource_type] = self.translate_stix_objects(attack_stix_objects[matrix][resource_type]) return attack_stix_objects
Sorry, something went wrong.
0bd53b7
No branches or pull requests
'PRE' matrix is already deprecated.
Function
get_stix_objects()
runsget_pre()
function. It needs to be removed.The text was updated successfully, but these errors were encountered: