Releases: CERT-Polska/mwdblib
Releases · CERT-Polska/mwdblib
v4.5.0
New features:
recent_*
andsearch_*
methods acceptchunk_size
argument that allows to set size of requested entries while iterating over results (default is 10). Requires MWDB Core v2.9.0 (#94)- Classes representing MWDB objects have meaningful
__repr__
that prints basic object attributes (#95) - CLI:
mwdb login
accepts--use-keyring/--no-keyring
flag that allows you to choose whether you want to use keyring for storing credentials or not. It's useful especially on platforms that doesn't support keyring at all (#85) MWDB
constructor acceptsautologin
argument (default: True). You can set it to False if you don't want to automatically fetch stored credentials and login during object construction (#85)
Bugfixes:
mwdb login
/mwdb logout
no longer try to login using previously stored credentials (#85)
v4.4.0
v4.3.1
v4.3.0
v4.2.1
v4.2.0
v4.1.0
New features and improvements:
add_attribute
method andattributes
attribute inMWDBObject
are backwards compatible and automatically fallback to older API if server version is < 2.6.0. Use them instead ofadd_metakey
andmetakeys
(#65)- Exposed and documented
APIClientOptions
(#67). - Added
APIClient.support_version
for semver-aware server version check (#67). - Support for
karton_id
andkarton_arguments
parameters in upload methods to assign Karton analysis to uploaded objects. - Basic support for new attribute API in CLI (#62)
v4.0.0
Breaking changes:
- Dropped compatibility with Python 2. Recommended minimal Python version is 3.7
- Dropped legacy Malwarecage-named object aliases (use
MWDB
instead ofMalwarecage
) MWDB
uses~/.mwdb
configuration as a defaults. Useconfig_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:
v3.4.1
v3.4.0
New features:
Improvements and bugfixes: