diff --git a/Packs/ReversingLabs_A1000/Integrations/ReversingLabsA1000v2/ReversingLabsA1000v2.yml b/Packs/ReversingLabs_A1000/Integrations/ReversingLabsA1000v2/ReversingLabsA1000v2.yml index 6735918c9c47..bf5b3934c1e7 100644 --- a/Packs/ReversingLabs_A1000/Integrations/ReversingLabsA1000v2/ReversingLabsA1000v2.yml +++ b/Packs/ReversingLabs_A1000/Integrations/ReversingLabsA1000v2/ReversingLabsA1000v2.yml @@ -401,7 +401,7 @@ script: description: Perform user tag actions for a sample - Get existing tags, create new tags or delete existing tags. arguments: - name: action - description: Which tag action to perform - GET, CREATE or DELETE + description: Which tag action to perform - GET, CREATE or DELETE. required: true auto: PREDEFINED predefined: @@ -439,7 +439,7 @@ script: default: true required: true - name: action - description: Which PDF report action to perform - CREATE REPORT, CHECK STATUS or DOWNLOAD REPORT + description: Which PDF report action to perform - CREATE REPORT, CHECK STATUS or DOWNLOAD REPORT. required: true auto: PREDEFINED predefined: @@ -493,7 +493,7 @@ script: default: true required: true - name: action - description: Which dynamic analysis report action to perform - CREATE REPORT, CHECK STATUS or DOWNLOAD REPORT + description: Which dynamic analysis report action to perform - CREATE REPORT, CHECK STATUS or DOWNLOAD REPORT. required: true auto: PREDEFINED predefined: @@ -520,7 +520,7 @@ script: default: true required: true - name: action - description: Which classification action to perform - GET CLASSIFICATION, SET CLASSIFICATION or DELETE CLASSIFICATION + description: Which classification action to perform - GET CLASSIFICATION, SET CLASSIFICATION or DELETE CLASSIFICATION. required: true auto: PREDEFINED predefined: @@ -553,7 +553,7 @@ script: - 'suspicious' - 'malicious' - name: risk_score - description: 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 + description: 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. - name: threat_platform description: If specified, it must be on the supported list (platforms and subplatforms - see official API docs). If not specified, the default value is 'Win32'. - name: threat_type diff --git a/Packs/ReversingLabs_Titanium_Cloud/Integrations/ReversingLabsTitaniumCloudv2/README.md b/Packs/ReversingLabs_Titanium_Cloud/Integrations/ReversingLabsTitaniumCloudv2/README.md index e4cac685fa65..f6e07e3541a0 100644 --- a/Packs/ReversingLabs_Titanium_Cloud/Integrations/ReversingLabsTitaniumCloudv2/README.md +++ b/Packs/ReversingLabs_Titanium_Cloud/Integrations/ReversingLabsTitaniumCloudv2/README.md @@ -92942,7 +92942,6 @@ Retrieve dynamic analysis results for a URL. > ### Full report is returned as JSON in a downloadable file > - ### reversinglabs-titaniumcloud-customer-usage-data *** @@ -92956,17 +92955,56 @@ Check API usage data for a single user or the whole company. | **Argument Name** | **Description** | **Required** | | --- | --- | --- | -| data_type | Select the type of API usage data that will be returned. Options are DAILY USAGE, MONTHLY USAGE, DATE RANGE USAGE and QUOTA LIMITS. Possible values are: DAILY USAGE, MONTHLY USAGE, DATE RANGE USAGE, QUOTA LIMITS. | Required | -| whole_company | Return usage data for the whole company. Possible values are: true, false. | Optional | -| from | Starting day/month. Used only with DAILY USAGE and MONTHLY USAGE. In case of DAILY USAGE, the format is yyyy-MM-dd. In case of MONTHLY USAGE, the format is yyyy-MM. Mutually exclusive with single_time_unit. | Optional | -| to | Ending day/month. Used only with DAILY USAGE and MONTHLY USAGE. In case of DAILY USAGE, the format is yyyy-MM-dd. In case of MONTHLY USAGE, the format is yyyy-MM. Mutually exclusive with single_time_unit. | Optional | -| single_time_unit | Return usage data only for this day/month. Used only with DAILY USAGE and MONTHLY USAGE. In case of DAILY USAGE, the format is yyyy-MM-dd. In case of MONTHLY USAGE, the format is yyyy-MM. Mutually exclusive with from and to. | Optional | +| data_type | Select the type of API usage data that will be returned. Options are DAILY USAGE, MONTHLY USAGE, DATE RANGE USAGE and QUOTA LIMITS. Possible values are: DAILY USAGE, MONTHLY USAGE, DATE RANGE USAGE, QUOTA LIMITS. | Required | +| whole_company | Return usage data for the whole company. Possible values are: true, false. | Optional | +| from | Starting day/month. Used only with DAILY USAGE and MONTHLY USAGE. In case of DAILY USAGE, the format is yyyy-MM-dd. In case of MONTHLY USAGE, the format is yyyy-MM. Mutually exclusive with single_time_unit. | Optional | +| to | Ending day/month. Used only with DAILY USAGE and MONTHLY USAGE. In case of DAILY USAGE, the format is yyyy-MM-dd. In case of MONTHLY USAGE, the format is yyyy-MM. Mutually exclusive with single_time_unit. | Optional | +| single_time_unit | Return usage data only for this day/month. Used only with DAILY USAGE and MONTHLY USAGE. In case of DAILY USAGE, the format is yyyy-MM-dd. In case of MONTHLY USAGE, the format is yyyy-MM. Mutually exclusive with from and to. | Optional | #### Context Output | **Path** | **Type** | **Description** | | --- | --- | --- | -| ReversingLabs.customer_usage_data | Unknown | API usage data. | +| ReversingLabs.customer_usage_data | Unknown | API usage data. | + +#### Command example +```!reversinglabs-titaniumcloud-customer-usage-data data_type="MONTHLY USAGE" whole_company="false"``` +#### Context Example +```json +{ + "ReversingLabs": { + "customer_usage_data": { + "rl": { + "month": "2024-06", + "usage_report": [ + { + "number_of_queries": 22, + "product": "TCA-0101 File Reputation" + }, + { + "number_of_queries": 11, + "product": "TCA-0104 File Analysis - Hash" + }, + { + "number_of_queries": 3, + "product": "TCA-9999" + } + ] + } + } + } +} +``` + +#### Human Readable Output + +>## ReversingLabs MONTHLY USAGE data for u/user +> Results for the whole company: False +> ### Usage data +>|month|usage_report| +>|---|---| +>| 2024-06 | {'product': 'TCA-0101 File Reputation', 'number_of_queries': 22},
{'product': 'TCA-0104 File Analysis - Hash', 'number_of_queries': 11},
{'product': 'TCA-9999', 'number_of_queries': 3} | + ### reversinglabs-titaniumcloud-customer-usage-yara @@ -92985,7 +93023,7 @@ There are no input arguments for this command. | **Path** | **Type** | **Description** | | --- | --- | --- | -| ReversingLabs.customer_usage_yara | Unknown | Number of active YARA rulesets. | +| ReversingLabs.customer_usage_yara | Unknown | Number of active YARA rulesets. | #### Command example ```!reversinglabs-titaniumcloud-customer-usage-yara``` @@ -92995,7 +93033,7 @@ There are no input arguments for this command. "ReversingLabs": { "customer_usage_yara": { "rl": { - "number_of_active_rulesets": 6, + "number_of_active_rulesets": 3, "product": "TCA-0303 Yara Hunting" } } @@ -93005,8 +93043,8 @@ There are no input arguments for this command. #### Human Readable Output ->## ReversingLabs active YARA rulesets for rl/msever +>## ReversingLabs active YARA rulesets for rl/msever > ### Results >|number_of_active_rulesets|product| >|---|---| ->| 6 | TCA-0303 Yara Hunting | \ No newline at end of file +>| 3 | TCA-0303 Yara Hunting | diff --git a/Packs/ReversingLabs_Titanium_Cloud/Integrations/ReversingLabsTitaniumCloudv2/ReversingLabsTitaniumCloudv2.yml b/Packs/ReversingLabs_Titanium_Cloud/Integrations/ReversingLabsTitaniumCloudv2/ReversingLabsTitaniumCloudv2.yml index 5d8c6e18e6ad..ffd9bfd0c151 100644 --- a/Packs/ReversingLabs_Titanium_Cloud/Integrations/ReversingLabsTitaniumCloudv2/ReversingLabsTitaniumCloudv2.yml +++ b/Packs/ReversingLabs_Titanium_Cloud/Integrations/ReversingLabsTitaniumCloudv2/ReversingLabsTitaniumCloudv2.yml @@ -833,7 +833,7 @@ script: - contextPath: ReversingLabs.customer_usage_yara description: Number of active YARA rulesets. type: Unknown - dockerimage: demisto/reversinglabs-sdk-py3:2.0.0.96712 + dockerimage: demisto/reversinglabs-sdk-py3:2.0.0.97533 runonce: false script: "-" subtype: python3 diff --git a/Packs/ReversingLabs_Titanium_Cloud/Integrations/ReversingLabsTitaniumCloudv2/command_examples.txt b/Packs/ReversingLabs_Titanium_Cloud/Integrations/ReversingLabsTitaniumCloudv2/command_examples.txt index 4ac07a117744..107ef7c226d3 100644 --- a/Packs/ReversingLabs_Titanium_Cloud/Integrations/ReversingLabsTitaniumCloudv2/command_examples.txt +++ b/Packs/ReversingLabs_Titanium_Cloud/Integrations/ReversingLabsTitaniumCloudv2/command_examples.txt @@ -37,5 +37,5 @@ !reversinglabs-titaniumcloud-submit-sample-for-dynamic-analysis sha1=21841b32c6165b27dddbd4d6eb3a672defe54271 platform=windows10 !reversinglabs-titaniumcloud-get-url-dynamic-analysis-results url=http://classicairjordanshoes.com/classic-air-jordan-9-c-7.html?zenid=egbmmbi039iqms5ho5dt2qnunm0mettt analysis_id=0f57134a-ecb8-4f8f-ad60-903b63bf8bc4 latest_analysis=false !reversinglabs-titaniumcloud-submit-url-for-dynamic-analysis url=http://classicairjordanshoes.com/classic-air-jordan-9-c-7.html?zenid=egbmmbi039iqms5ho5dt2qnunm0mettt platform=windows10 -!reversinglabs-titaniumcloud-customer-usage-data data_type=MONTHLY USAGE whole_company=true +!reversinglabs-titaniumcloud-customer-usage-data data_type="MONTHLY USAGE" whole_company="false" !reversinglabs-titaniumcloud-customer-usage-yara