Skip to content

v4.0.0

Compare
Choose a tag to compare
@psrok1 psrok1 released this 17 Jan 16:28
· 24 commits to master since this release
63734a3

Breaking changes:

  • Dropped compatibility with Python 2. Recommended minimal Python version is 3.7
  • Dropped legacy Malwarecage-named object aliases (use MWDB instead of Malwarecage)
  • MWDB uses ~/.mwdb configuration as a defaults. Use config_path argument if you want to use another file or don't load configuration at all (None)
  • ~/.mwdb configuration is scoped and allows to specify different options for each MWDB Core instance
[mwdb]
api_url = https://mwdb.cert.pl/api/

[mwdb:https://mwdb.cert.pl/api/]
...

[mwdb:http://127.0.0.1/api/]
...

mwdb login --api-url <API_URL> sets the default API endpoint used by further CLI invocations and api_url default in MWDB() constructor.

New features and improvements:

  • CLI: -o json option to use JSON output for commands (#43)
  • Support for Karton API (#52)
  • Support for tagging an object along with upload (supported by MWDB Core >=2.6.0, #58)
  • Support for new Attribute API introduced in MWDB Core 2.6.0 (#59)
  • MWDBObject.remove() to remove current object from MWDB (#55)