Skip to content

Version 0.8.0

Latest
Compare
Choose a tag to compare
@alhumaw alhumaw released this 16 Jul 18:47

Version 0.8.0

This update provides some much needed updates to the misp_import.py script:

  • Introduced new classes: ConfigHandler, ImportHandler, and Loggers 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
    • ImportHandler
      • Created the ImportHandler class to manage the import/deletion process
      • Moved the retrieve_tags() function into the ImportHandler class
      • Moved perform_local_cleanup() function into the ImportHandler class
    • Loggers
      • Utilized a dataclass handler for the two log streams (main/splash)
  • 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()
  • 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