- a1000 module:
- Deprecated the
get_results
,upload_sample_and_get_results
,get_classification
,reanalyze_samples
,get_extracted_files
,advanced_search
andadvanced_search_aggregated
methods.
- Deprecated the
- Dropped support for Python 2.7
- From this version on, the Python 2 version of the SDK (https://pypi.org/project/reversinglabs-sdk-py2/) will no longer be maintained.
- a1000 module:
- Added the
get_summary_report_v2
,upload_sample_and_get_summary_report_v2
,get_detailed_report_v2
,get_classification_v3
,reanalyze_samples_v2
,list_extracted_files_v2
,list_extracted_files_v2_aggregated
,check_sample_removal_status_v2
,advanced_search_v2
andadvanced_search_v2_aggregated
methods. - The added methods correspond to the new v2 and v3 versions of A1000 API-s.
- Added the
- helper module:
- Catching the
binascii.Error
in thevalidate_hashes
function.
- Catching the
- ticloud module:
- Added the
DeleteFile
,ReanalyzeFile
,CertificateIndex
,CertificateThumbprintSearch
,NewMalwareFilesFeed
,MWPChangeEventsFeed
andNewMalwareURIFeed
classes. - Several feed classes now extend the new
ContinuousFeed
parent class.
- Added the
- a1000 module:
- Added the
upload_sample_from_url
,check_submitted_url_status
,get_submitted_url_report
,upload_sample_from_url_and_get_report
,get_summary_report_v2
,get_user_tags_for_a_sample
,post_user_tags
,delete_user_tags
,create_pdf_report
,check_pdf_report_creation
,download_pdf_report
,get_titanium_core_report_for_a_sample_v2
,create_dynamic_analysis_report
,check_dynamic_analysis_report_status
,download_dynamic_analysis_report, set_classification
,delete_classification
,get_yara_rulesets_on_the_appliance_v2
,get_yara_ruleset_contents
,get_yara_ruleset_matches_v2
,create_or_update_yara_ruleset
,delete_yara_ruleset
,enable_or_disable_yara_ruleset
,get_yara_ruleset_synchronization_time
,update_yara_ruleset_synchronization_time
,start_or_stop_yara_local_retro_scan
,get_yara_local_retro_scan_status
,start_or_stop_yara_cloud_retro_scan
,get_yara_cloud_retro_scan_status
andlist_containers_for_hashes
methods. - Added the
archive_password
andrl_cloud_sandbox_platform
parameters into theupload_sample_from_path
andupload_sample_from_file
methods.
- Added the
- helper module:
- Added the
BadGatewayError
exception class. - Adjusted the message of the
TooManyRequestsError
exception class to reflect quota limit breached situations.
- Added the
- ticloud module:
- Added the
ImpHashSimilarity
,YARAHunting
andYARARetroHunting
classes.
- Added the
- a1000 module:
- Added the
network_url_report
,network_domain_report
,network_ip_addr_report
,network_ip_to_domain
,network_urls_from_ip
andnetwork_files_from_ip
methods. - Added the
ticloud
parameter into theadvanced_search_v2
andadvanced_search_v2_aggregated
methods.
- Added the
- Added a new module for using the ReversingLabs Cloud Deep Scan service called clouddeepscan.
- clouddeepscan module:
- Class
CloudDeepScan
methods:upload_sample
,fetch_submission
,fetch_submission_history
,download_report
- Class
- ticloud module:
- Deprecated the
ranalyze_samples
method of theReanalyzeFile
class. This method will be removed from the SDK in the future September 2023. release. A new method calledreanalyze_samples
of the sameReanalyzeFile
class should be used instead.
- Deprecated the
- ticloud module:
- Added the
FileReputationUserOverride
,DomainThreatIntelligence
andIPThreatIntelligence
classes. - Included an adjustable
results_per_page
parameter into several methods that perform paging automatically. - The
detonate_sample
method of theDynamicAnalysis
class now also accepts"macos11"
as theplatform
parameter. - The
detonate_sample
method of theDynamicAnalysis
class now accepts theinternet_simulation
parameter.
- Added the
- a1000 module:
- All sample submission methods now also accept
"macos_11"
as therl_cloud_sandbox_platform
parameter.
- All sample submission methods now also accept
- tiscale module:
- Added the
list_processing_tasks
,get_processing_task_info
,delete_processing_task
,delete_multiple_tasks
andget_yara_id
methods. - Added support for the
custom_token
,user_data
andcustom_data
parameters in existing sample upload methods.
- Added the
- a1000 module:
- Leaving the
fields
parameter in theget_titanium_core_report_v2
method as None now results in requesting all the available fields instead of throwing an exception.
- Leaving the
- ticloud module:
- Added the
FileAnalysisNonMalicious
andDataChangeSubscription
classes. - The
FileUpload
class methods now also usesubscribe
,archive_type
andarchive_passoword
parameters.
- Added the
- a1000 module:
- Added paging parameters to the Network Threat Intelligence methods:
network_ip_to_domain
,network_urls_from_ip
andnetwork_files_from_ip
- Added auto paging versions of the same methods:
network_ip_to_domain_aggregated
,network_urls_from_ip_aggregated
andnetwork_files_from_ip_aggregated
- Added paging parameters to the Network Threat Intelligence methods:
- ticloud module:
- Added the
NewMalwarePlatformFiltered
class.
- Added the
- ticloud module:
- Added the
CustomerUsage
,NetworkReputation
,NetworkReputationUserOverride
andTAXIIRansomwareFeed
classes. - The
DynamicAnalysis
class methods now also supportwindows11
andlinux
as a platform. - The
DynamicAnalysis
class methods now also support detonating .zip file archives and fetching the analysis results for the same.
- Added the
- a1000 module:
- Added the
advanced_search_v3
andadvanced_search_v3_aggregated
methods.
- Added the
- a1000 module:
- Deprecated the
advanced_search_v2
andadvanced_search_v2_aggregated
methods.
- Deprecated the
- ticloud module:
- Removed the
ReanalyzeFile.ranalyze_samples
method.
- Removed the
- a1000 module:
- Removed the
get_results
,upload_sample_and_get_results
,get_classification
,reanalyze_samples
,get_extracted_files
,advanced_search
andadvanced_search_aggregated
methods.
- Removed the
Note: Contains breaking changes in the ExpressionSearch
class. We recommend using v2.4.2
-
ticloud module:
- Added the
NewFilesFirstScan
,NewFilesFirstAndRescan
,FilesWithDetectionChanges
,CvesExploitedInTheWild
,NewExploitOrCveSamplesFoundInWildHourly
,NewExploitAndCveSamplesFoundInWildDaily
,NewWhitelistedFiles
,ChangesWhitelistedFiles
,MalwareFamilyDetection
,ExpressionSearch
,VerticalFeedStatistics
andVerticalFeedSearch
classes. - The following changes were made to the
DynamicAnalysis
class:- Added
windows11
andlinux
to available Dynamic Analysis platforms. - Added the
detonate_url
method. - The
get_dynamic_analysis_results
method now supportsurl
analysis results.
- Added
- Added the
-
Added TitaniumCloud API codes to the README for better correspondence and orientation.
Note: Contains breaking changes in the ExpressionSearch
class. We recommend using v2.4.2
-
ticloud module:
- The
get_dynamic_analysis_results
method of theDynamicAnalysis
class now also supports using a URL-s SHA-1 hash for fetching the URL dynamic analysis results.
- The
-
Error handling: Custom error classes now also carry the original response object. Users can now reach the original status code, error message and all other response properties using the caught error's
response_object
property.
All changes are calculated against v2.3.0
-
ticloud module:
- Added the
NewFilesFirstScan
,NewFilesFirstAndRescan
,FilesWithDetectionChanges
,CvesExploitedInTheWild
,NewExploitOrCveSamplesFoundInWildHourly
,NewExploitAndCveSamplesFoundInWildDaily
,NewWhitelistedFiles
,ChangesWhitelistedFiles
,MalwareFamilyDetection
,ExpressionSearch
,VerticalFeedStatistics
andVerticalFeedSearch
classes. - The following changes were made to the
DynamicAnalysis
class:- Added
windows11
andlinux
to available Dynamic Analysis platforms. - Added the
detonate_url
method. - The
get_dynamic_analysis_results
method now supports fetching the URL dynamic analysis results using the URL string or its SHA-1 hash as a parameter.
- Added
- Added the
-
Added TitaniumCloud API codes to the README for better correspondence and orientation.
-
Error handling: Custom error classes now also carry the original response object. Users can now reach the original status code, error message and all other response properties using the caught error's
response_object
property.
- Python package dependencies are now set to the following values:
requests>=2.28.2
urllib3>=1.26.14
- a1000 module:
- Removed the
a1000.A1000.advanced_search_v2
method.
- Removed the
- Added unit tests.
- Added CI/CD (Actions) workflows for running unit tests and publishing the package to PyPI.
- ticloud module:
md5
andsha256
can now be used inDynamicAnalysis.get_dynamic_analysis_results
for fetching sample analysis results.
- Updated the README with an example of error handling.
- a1000 module:
- The function for checking file analysis status is now public. It is called
file_analysis_status
.
- The function for checking file analysis status is now public. It is called
- ticloud module:
- The classification override parameter in the
override_classification
method of theFileReputationUserOverride
now works as expected due to a payload fix.
- The classification override parameter in the
- clouddeepscan module:
- Dropped support for the clouddeepscan module. As of this version, the module is removed from the SDK.
- Updated the Python package dependencies to:
requests>=2.31.0
urllib3>=2.0.7
- a1000 module:
- Changed the
risk_score
parameter's type hint fromstr
toint
inset_classification
method's docstring.
- Changed the
- a1000 module:
- 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 ofa1000.A1000.advanced_search_v3
is highly advised.
- Reintroduced the
-
ticloud module:
- Added the following text to the docstrings for the
ticloud.URLThreatIntelligence.get_url_analysis_feed_from_date
andticloud.URLThreatIntelligence.get_url_analysis_feed_from_date_aggregated
methods: "It is possible to list analyses up to 90 days into the past." - Added the
get_objects_aggregated
method to theTAXIIRansomwareFeed
class. - The
ticloud.DynamicAnalysis.detonate_sample
method now has asample_hash
parameter that accepts SHA-1, SHA-256 and MD5 hashes. See the Deprecations section for more info. - The
ticloud.DynamicAnalysis.detonate_sample
method now has asample_name
parameter that enable the user to define a custom sample name. - 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.
- Added the following text to the docstrings for the
-
a1000 module:
- The
get_yara_ruleset_matches_v2
method now also accepts a list u of multiple ruleset names as theruleset_name
parameter. - Added the
upload_sample_and_get_detailed_report_v2
method. - 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.
- The
- ticloud module:
- The
sample_sha1
parameter of theticloud.DynamicAnalysis.detonate_sample
method is deprecated and will be removed in 6 months. Use thesample_hash
parameter instead.
- The
- Added more unit tests for all currently available modules.
- Added more unit tests for all currently available modules.
- a1000 module:
- Changed the
upload_sample_from_url
method's name tosubmit_url_for_analysis
.
- Changed the
- ticloud module:
- Implemented the default user agent string in embedded
FileAnalysis
calls.
- Implemented the default user agent string in embedded
- ticloud module:
rha1_type
is now an optional parameter in theRHA1FunctionalSimilarity
andRHA1Analitics
class methods. The user can decide if it should be passed in manually or calculated automatically.detonate_url
anddetonate_sample
methods of theDynamicAnalysis
class now accept optional parameters through**optional_parameters
. Optional parameters should be passed in as key-value pairs (kwargs). Named parametersinternet_simulation
andsample_name
are now deprecated and should be used through**optional_parameters
.- Added the
AdvancedActions
class containing theenriched_file_analysis
method which returns a File Analysis report enriched with Dynamic Analysis.
- ticloud module:
- Parameters
internet_simulation
andsample_name
of theDynamicAnalysis.detonate_sample
method are now deprecated. Use**optional_parameters
instead.
- Parameters
- fie module:
- Introduced a new module called fie which corresponds to the ReversingLabs File Investigation Engine (FIE) service.
- The module currently has one class with four methods for sending files to FIE for analysis and fetching the short classification or more detailed analysis reports.
- ticloud module:
- Corrected a typo in the docstrings and the README.
- ticloud module:
- Removed the deprecated
sample_sha1
parameter from theticloud.DynamicAnalysis.detonate_sample
method.
- Removed the deprecated
- ticloud module:
- Parameters
internet_simulation
andsample_name
from theticloud.DynamicAnalysis.detonate_sample
method are now used through the**optiona_parameters
key-value parameter instead of as individual named parameters.
- Parameters
- Defined the latest version (2.32.3) of the requests library as a dependency. urllib3 was removed as an explicit dependency for this project.
- Python 3.9 is now defined as the oldest version of Python supported by this project.
- Defined the latest version (2.32.3) of the requests library as a dependency. urllib3 was removed as an explicit dependency for this project.
- Python 3.9 is now defined as the oldest version of Python supported by this project.
- Added the Spectra Assure badge to the Readme file.
-
Scenarios and Workflows notebooks:
- Added the
download_advanced_search_matches_a1000.ipynb
,download_advanced_search_matches_titaniumcloud.ipynb
,download_yara_retro_matches_a1000.ipynb
anddownload_yara_retro_matches_titaniumcloud.ipynb
notebooks.
- Added the
-
Command line tools and scripts:
- Added the
cyber_defense_alliance.py
command line tool.
- Added the
-
advanced module:
- Created a new module called
advanced
. This module will hold various actions and scenarios that include multiple platforms and APIs. - The
AdvancedActions
class was moved from theticloud
module intoadvanced
. - The
SpectraAssureScenarios
andSpectraAssureClient
enable the user to perform actions that combine the ReversingLabs Spectra Assure platform with TitaniumCloud and A1000.
- Created a new module called
-
The user agent string now also carries the class and method name.
-
TitaniumCloud notebooks:
- The
taxii_ransomware_feed.ipynb
notebook was replaced withtaxii_feed.ipynb
.
- The
-
Scenarios and Workflows notebooks:
- Added the
advanced_search_using_network_indicators.ipynb
notebook.
- Added the
Starting with ReversingLabs SDK version 2.8.0, the ReversingLabs SDK Cookbook project's release cycle and versioning are closely tied to this project.
This changelog will also be keeping track of changes made to the ReversingLabs SDK Cookbook project.