Version 0.8.0
This update provides some much needed updates to the misp_import.py
script:
-
Introduced new classes:
ConfigHandler
,ImportHandler
, andLoggers
to better organize the code- ConfigHandler
- Moved configuration/galaxy parsing and handling into the
ConfigHandler
class - Consolidated import settings into a single dictionary in
ConfigHandler
- Simplified the proxy and extra headers configuration in
ConfigHandler
- Moved configuration/galaxy parsing and handling into the
- ImportHandler
- Created the
ImportHandler
class to manage the import/deletion process - Moved the
retrieve_tags()
function into theImportHandler
class - Moved
perform_local_cleanup()
function into theImportHandler
class
- Created the
- Loggers
- Utilized a dataclass handler for the two log streams (main/splash)
- ConfigHandler
-
Simplified main: Utilized the new classes and helper functions to streamline the
main
function- Separated logging setup into its own function
setup_logging()
- Created a separate function to initialize the CrowdStrike API client
create_intel_api_client()
- Moved conditional argument checks into
parse_command_line()
- Separated logging setup into its own function
-
Other
- Removed some commented-out code and unused imports
- Removed unused argument (-l, --logfile)
- Relocated banner printing operations into their own functions
New Contributors
Full Changelog: v0.7.4...v0.8.0