diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b81344..a79dcf0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -262,4 +262,12 @@ v2.5.1 (2024-04-02) #### Improvements - Updated the Python package dependencies to: - `requests>=2.31.0` - - `urllib3>=2.0.7` \ No newline at end of file + - `urllib3>=2.0.7` + + +2.5.5 (2024-05-15) +------------------- + +#### Bugfixes +- **a1000** module: + - Changed the `risk_score` parameter's type hint from `str` to `int` in `set_classification` method's docstring. diff --git a/ReversingLabs/SDK/__init__.py b/ReversingLabs/SDK/__init__.py index b2d3312..3055f94 100644 --- a/ReversingLabs/SDK/__init__.py +++ b/ReversingLabs/SDK/__init__.py @@ -5,4 +5,4 @@ A Python SDK for communicating with ReversingLabs services. """ -__version__ = "2.5.4" +__version__ = "2.5.5" diff --git a/ReversingLabs/SDK/a1000.py b/ReversingLabs/SDK/a1000.py index c8ef715..f2d917f 100644 --- a/ReversingLabs/SDK/a1000.py +++ b/ReversingLabs/SDK/a1000.py @@ -1124,7 +1124,7 @@ def set_classification(self, sample_hash, classification, system, risk_score=Non :type classification: str :param risk_score: If specified, it must be within range for the specified classification. If not specified, a default value is used: Goodware: 0, Suspicious: 6, Malicious: 10 - :type risk_score: str + :type risk_score: int :param threat_platform: if specified, it must be on the supported list (platforms and subplatforms - see official API docs). If not specified, the default value is 'Win32'. :type threat_platform: str @@ -2114,7 +2114,7 @@ def __create_post_payload(custom_filename=None, file_url=None, crawler=None, ar :type classification: str :param risk_score: If specified, it must be within range for the specified classification. If not specified, a default value is used: Goodware: 0, Suspicious: 6, Malicious: 10 - :type risk_score: str + :type risk_score: int :param threat_platform: if specified, it must be on the supported list (platforms and subplatforms - see official API docs). If not specified, the default value is 'Win32'. :type threat_platform: str