attack-datasources icon indicating copy to clipboard operation
attack-datasources copied to clipboard

Removed deprecated function from attackcti library used in notebook.

Open Cyb3rWard0g opened this issue 3 years ago • 0 comments

The notebooks_function.py (https://github.com/mitre-attack/attack-datasources/blob/main/docs/scripts/notebook_functions.py#L11) script in this repo uses the attackcti library (https://github.com/OTRF/ATTACK-Python-Client).

The following function is used in the python script in this repo:

https://github.com/mitre-attack/attack-datasources/blob/main/docs/scripts/notebook_functions.py#L38-L40

The remove_revoked reference does not exist in the attackcti library anymore. Therefore, I removed that from the script. Removing deprecated STIX objects is done by default in the attackcti library:

https://github.com/OTRF/ATTACK-Python-Client/blob/master/attackcti/attack_api.py#L364

Issue initially opened in the attackcti GitHub repository: https://github.com/OTRF/ATTACK-Python-Client/issues/53

Cyb3rWard0g avatar Mar 29 '22 05:03 Cyb3rWard0g