Skip to content

Commit eea710a

Browse files
Merge pull request #48 from MislavReversingLabs/main
2.6.0
2 parents a634118 + 9798fc8 commit eea710a

File tree

5 files changed

+483
-275
lines changed

5 files changed

+483
-275
lines changed

CHANGELOG.md

+27-1
Original file line numberDiff line numberDiff line change
@@ -278,4 +278,30 @@ v2.5.1 (2024-04-02)
278278

279279
#### Improvements
280280
- **a1000** module:
281-
- Reintroduced the `a1000.A1000.advanced_search_v2` method. This method will remain in the DEPRECATED state until its permanent removal from the SDK. The permanent removal date will be announced in the CHANGELOG's "Scheduled removals" section. In the meantime, the use of `a1000.A1000.advanced_search_v3` is highly advised.
281+
- Reintroduced the `a1000.A1000.advanced_search_v2` method. This method will remain in the DEPRECATED state until its permanent removal from the SDK. The permanent removal date will be announced in the CHANGELOG's "Scheduled removals" section. In the meantime, the use of `a1000.A1000.advanced_search_v3` is highly advised.
282+
283+
284+
2.6.0 (2024-06-28)
285+
-------------------
286+
287+
#### Improvements
288+
- **ticloud** module:
289+
- Added the following text to the docstrings for the `ticloud.URLThreatIntelligence.get_url_analysis_feed_from_date` and `ticloud.URLThreatIntelligence.get_url_analysis_feed_from_date_aggregated` methods: "It is possible to list analyses up to 90 days into the past."
290+
- Added the `get_objects_aggregated` method to the `TAXIIRansomwareFeed` class.
291+
- The `ticloud.DynamicAnalysis.detonate_sample` method now has a `sample_hash` parameter that accepts SHA-1, SHA-256 and MD5 hashes. See the Deprecations section for more info.
292+
- The `ticloud.DynamicAnalysis.detonate_sample` method now has a `sample_name` parameter that enable the user to define a custom sample name.
293+
- Added the option to fetch all results in auto paging (aggregating) methods. From now on, in such methods, setting the `max_results` parameter to None returns all results.
294+
295+
- **a1000** module:
296+
- The `get_yara_ruleset_matches_v2` method now also accepts a list u of multiple ruleset names as the `ruleset_name` parameter.
297+
- Added the `upload_sample_and_get_detailed_report_v2` method.
298+
- Added the option to fetch all results in auto paging (aggregating) methods. From now on, in such methods, setting the `max_results` parameter to None returns all results.
299+
300+
#### Deprecations
301+
- **ticloud** module:
302+
- The `sample_sha1` parameter of the `ticloud.DynamicAnalysis.detonate_sample` method is deprecated and will be removed in 6 months. Use the `sample_hash` parameter instead.
303+
304+
305+
### Scheduled removals
306+
- **December 2024.**:
307+
- In the `ticloud.DynamicAnalysis.detonate_sample` method the `sample_sha1` parameter will be removed.

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ If username and password are used instead, a token fetching request will be done
7575
- Accepts a single hash or a list of hashes and returns a detailed analysis report for the selected samples
7676
- This method utilizes the set number of retries and wait time in seconds and times out if the
7777
analysis results are not ready
78+
- `upload_sample_and_get_detailed_report_v2`
79+
- Accepts either a file path string or an open file in 'rb' mode for file upload and returns a detailed
80+
analysis report response.
81+
- This method combines uploading a sample and obtaining the detailed analysis report.
82+
- Additional fields can be provided.
83+
- The result fetching action of this method utilizes the set number of retries and wait time in seconds to time
84+
out if the analysis results are not ready.
7885
- `get_classification_v3`
7986
- Get classification for one sample
8087
- `reanalyze_samples_v2`
@@ -363,9 +370,11 @@ _TCA-0403_
363370
- Returns a list of results aggregated through multiple paginated requests
364371
- `get_url_analysis_feed_from_date`
365372
- Accepts time format and a start time and returns URL analysis reports from that defined time onward
373+
- It is possible to list analyses up to 90 days into the past
366374
- Returns only one defined page of results using one request
367375
- `get_url_analysis_feed_from_date_aggregated`
368376
- Accepts time format and a start time and returns URL analysis reports from that defined time onward
377+
- It is possible to list analyses up to 90 days into the past
369378
- Returns a list of results aggregated through multiple paginated requests
370379

371380
#### Class:
@@ -866,6 +875,9 @@ class TAXIIRansomwareFeed(TiCloudAPI)
866875
- `get_objects`
867876
- Returns objects from a TAXII collection.
868877
- Results can be filtered using several parameters.
878+
- `get_objects_aggregated`
879+
- Returns objects from a TAXII collection.
880+
- This method does the paging automatically and returns a defined number of objects as a list in the end.
869881

870882

871883
***

ReversingLabs/SDK/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
A Python SDK for communicating with ReversingLabs services.
66
"""
77

8-
__version__ = "2.5.6"
8+
__version__ = "2.6.0"

0 commit comments

Comments
 (0)