crimson-falcon 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -6
- data/crimson-falcon.gemspec +3 -0
- data/lib/crimson-falcon/api/alerts_api.rb +4 -4
- data/lib/crimson-falcon/api/cloud_connect_aws_api.rb +6 -6
- data/lib/crimson-falcon/api/cspm_registration_api.rb +18 -18
- data/lib/crimson-falcon/api/custom_ioa_api.rb +10 -10
- data/lib/crimson-falcon/api/d4c_registration_api.rb +8 -8
- data/lib/crimson-falcon/api/device_control_policies_api.rb +10 -10
- data/lib/crimson-falcon/api/falcon_complete_dashboard_api.rb +14 -14
- data/lib/crimson-falcon/api/falcon_container_cli_api.rb +2 -2
- data/lib/crimson-falcon/api/falcon_container_image_api.rb +4 -4
- data/lib/crimson-falcon/api/firewall_management_api.rb +34 -34
- data/lib/crimson-falcon/api/firewall_policies_api.rb +8 -8
- data/lib/crimson-falcon/api/host_group_api.rb +6 -6
- data/lib/crimson-falcon/api/hosts_api.rb +10 -10
- data/lib/crimson-falcon/api/incidents_api.rb +4 -4
- data/lib/crimson-falcon/api/installation_tokens_api.rb +4 -4
- data/lib/crimson-falcon/api/installation_tokens_settings_api.rb +2 -2
- data/lib/crimson-falcon/api/intel_api.rb +6 -6
- data/lib/crimson-falcon/api/ioa_exclusions_api.rb +4 -4
- data/lib/crimson-falcon/api/ioc_api.rb +8 -8
- data/lib/crimson-falcon/api/iocs_api.rb +6 -6
- data/lib/crimson-falcon/api/kubernetes_protection_api.rb +4 -4
- data/lib/crimson-falcon/api/message_center_api.rb +12 -12
- data/lib/crimson-falcon/api/ml_exclusions_api.rb +4 -4
- data/lib/crimson-falcon/api/mobile_enrollment_api.rb +2 -2
- data/lib/crimson-falcon/api/mssp_api.rb +4 -4
- data/lib/crimson-falcon/api/ods_api.rb +12 -12
- data/lib/crimson-falcon/api/overwatch_dashboard_api.rb +4 -4
- data/lib/crimson-falcon/api/prevention_policies_api.rb +8 -8
- data/lib/crimson-falcon/api/quarantine_api.rb +8 -8
- data/lib/crimson-falcon/api/quick_scan_api.rb +2 -2
- data/lib/crimson-falcon/api/real_time_response_admin_api.rb +2 -2
- data/lib/crimson-falcon/api/recon_api.rb +18 -18
- data/lib/crimson-falcon/api/report_executions_api.rb +2 -2
- data/lib/crimson-falcon/api/response_policies_api.rb +8 -8
- data/lib/crimson-falcon/api/sample_uploads_api.rb +2 -2
- data/lib/crimson-falcon/api/scheduled_reports_api.rb +2 -2
- data/lib/crimson-falcon/api/sensor_update_policies_api.rb +14 -14
- data/lib/crimson-falcon/api/sensor_visibility_exclusions_api.rb +4 -4
- data/lib/crimson-falcon/api/tailored_intelligence_api.rb +4 -4
- data/lib/crimson-falcon/version.rb +1 -1
- data/spec/api/alerts_api_spec.rb +2 -2
- data/spec/api/cloud_connect_aws_api_spec.rb +3 -3
- data/spec/api/cspm_registration_api_spec.rb +9 -9
- data/spec/api/custom_ioa_api_spec.rb +5 -5
- data/spec/api/d4c_registration_api_spec.rb +4 -4
- data/spec/api/device_control_policies_api_spec.rb +5 -5
- data/spec/api/falcon_complete_dashboard_api_spec.rb +7 -7
- data/spec/api/falcon_container_cli_api_spec.rb +1 -1
- data/spec/api/falcon_container_image_api_spec.rb +2 -2
- data/spec/api/firewall_management_api_spec.rb +17 -17
- data/spec/api/firewall_policies_api_spec.rb +4 -4
- data/spec/api/host_group_api_spec.rb +3 -3
- data/spec/api/hosts_api_spec.rb +5 -5
- data/spec/api/incidents_api_spec.rb +2 -2
- data/spec/api/installation_tokens_api_spec.rb +2 -2
- data/spec/api/installation_tokens_settings_api_spec.rb +1 -1
- data/spec/api/intel_api_spec.rb +3 -3
- data/spec/api/ioa_exclusions_api_spec.rb +2 -2
- data/spec/api/ioc_api_spec.rb +4 -4
- data/spec/api/iocs_api_spec.rb +3 -3
- data/spec/api/kubernetes_protection_api_spec.rb +2 -2
- data/spec/api/message_center_api_spec.rb +6 -6
- data/spec/api/ml_exclusions_api_spec.rb +2 -2
- data/spec/api/mobile_enrollment_api_spec.rb +1 -1
- data/spec/api/mssp_api_spec.rb +2 -2
- data/spec/api/ods_api_spec.rb +6 -6
- data/spec/api/overwatch_dashboard_api_spec.rb +2 -2
- data/spec/api/prevention_policies_api_spec.rb +4 -4
- data/spec/api/quarantine_api_spec.rb +4 -4
- data/spec/api/quick_scan_api_spec.rb +1 -1
- data/spec/api/real_time_response_admin_api_spec.rb +2 -2
- data/spec/api/real_time_response_api_spec.rb +4 -4
- data/spec/api/recon_api_spec.rb +9 -9
- data/spec/api/report_executions_api_spec.rb +1 -1
- data/spec/api/response_policies_api_spec.rb +4 -4
- data/spec/api/sample_uploads_api_spec.rb +1 -1
- data/spec/api/scheduled_reports_api_spec.rb +1 -1
- data/spec/api/sensor_update_policies_api_spec.rb +7 -7
- data/spec/api/sensor_visibility_exclusions_api_spec.rb +2 -2
- data/spec/api/tailored_intelligence_api_spec.rb +2 -2
- metadata +4 -3
@@ -100,7 +100,7 @@ describe 'FirewallManagementApi' do
|
|
100
100
|
|
101
101
|
# unit tests for create_network_locations
|
102
102
|
# Create new network locations provided, and return the ID.
|
103
|
-
# @param body
|
103
|
+
# @param body
|
104
104
|
# @param [Hash] opts the optional parameters
|
105
105
|
# @option opts [String] :clone_id A network location ID from which to copy location. If this is provided then the body of the request is ignored.
|
106
106
|
# @option opts [Boolean] :add_fw_rules A boolean to determine whether the cloned location needs to be added to the same firewall rules that original location is added to.
|
@@ -114,7 +114,7 @@ describe 'FirewallManagementApi' do
|
|
114
114
|
|
115
115
|
# unit tests for create_rule_group
|
116
116
|
# Create new rule group on a platform for a customer with a name and description, and return the ID
|
117
|
-
# @param body
|
117
|
+
# @param body
|
118
118
|
# @param [Hash] opts the optional parameters
|
119
119
|
# @option opts [String] :clone_id A rule group ID from which to copy rules. If this is provided then the 'rules' property of the body is ignored.
|
120
120
|
# @option opts [String] :library If this flag is set to true then the rules will be cloned from the clone_id from the CrowdStrike Firewal Rule Groups Library.
|
@@ -128,7 +128,7 @@ describe 'FirewallManagementApi' do
|
|
128
128
|
|
129
129
|
# unit tests for create_rule_group_validation
|
130
130
|
# Validates the request of creating a new rule group on a platform for a customer with a name and description
|
131
|
-
# @param body
|
131
|
+
# @param body
|
132
132
|
# @param [Hash] opts the optional parameters
|
133
133
|
# @option opts [String] :clone_id A rule group ID from which to copy rules. If this is provided then the 'rules' property of the body is ignored.
|
134
134
|
# @option opts [String] :library If this flag is set to true then the rules will be cloned from the clone_id from the CrowdStrike Firewall Rule Groups Library.
|
@@ -256,7 +256,7 @@ describe 'FirewallManagementApi' do
|
|
256
256
|
# unit tests for query_events
|
257
257
|
# Find all event IDs matching the query with filter
|
258
258
|
# @param [Hash] opts the optional parameters
|
259
|
-
# @option opts [String] :sort Possible order by fields:
|
259
|
+
# @option opts [String] :sort Possible order by fields:
|
260
260
|
# @option opts [String] :filter FQL query specifying the filter parameters. Filter term criteria: enabled, platform, name, description, etc TODO. Filter range criteria: created_on, modified_on; use any common date format, such as '2010-05-15T14:55:21.892315096Z'.
|
261
261
|
# @option opts [String] :q Match query criteria, which includes all the filter string fields, plus TODO
|
262
262
|
# @option opts [String] :offset Starting index of overall result set from which to return ids.
|
@@ -286,7 +286,7 @@ describe 'FirewallManagementApi' do
|
|
286
286
|
# Get a list of network location IDs
|
287
287
|
# This endpoint returns a list of network location IDs based of query parameter.
|
288
288
|
# @param [Hash] opts the optional parameters
|
289
|
-
# @option opts [String] :sort Possible order by fields:
|
289
|
+
# @option opts [String] :sort Possible order by fields:
|
290
290
|
# @option opts [String] :filter FQL query specifying the filter parameters. Filter term criteria: name
|
291
291
|
# @option opts [String] :q Match query criteria, which includes all the filter string fields
|
292
292
|
# @option opts [String] :offset Starting index of overall result set from which to return ids.
|
@@ -315,7 +315,7 @@ describe 'FirewallManagementApi' do
|
|
315
315
|
# Find all firewall rule IDs matching the query with filter, and return them in precedence order
|
316
316
|
# @param [Hash] opts the optional parameters
|
317
317
|
# @option opts [String] :id The ID of the policy container within which to query
|
318
|
-
# @option opts [String] :sort Possible order by fields:
|
318
|
+
# @option opts [String] :sort Possible order by fields:
|
319
319
|
# @option opts [String] :filter FQL query specifying the filter parameters. Filter term criteria: enabled, platform, name, description, etc TODO. Filter range criteria: created_on, modified_on; use any common date format, such as '2010-05-15T14:55:21.892315096Z'.
|
320
320
|
# @option opts [String] :q Match query criteria, which includes all the filter string fields, plus TODO
|
321
321
|
# @option opts [String] :offset Starting index of overall result set from which to return ids.
|
@@ -330,7 +330,7 @@ describe 'FirewallManagementApi' do
|
|
330
330
|
# unit tests for query_rule_groups
|
331
331
|
# Find all rule group IDs matching the query with filter
|
332
332
|
# @param [Hash] opts the optional parameters
|
333
|
-
# @option opts [String] :sort Possible order by fields:
|
333
|
+
# @option opts [String] :sort Possible order by fields:
|
334
334
|
# @option opts [String] :filter FQL query specifying the filter parameters. Filter term criteria: enabled, platform, name, description, etc TODO. Filter range criteria: created_on, modified_on; use any common date format, such as '2010-05-15T14:55:21.892315096Z'.
|
335
335
|
# @option opts [String] :q Match query criteria, which includes all the filter string fields, plus TODO
|
336
336
|
# @option opts [String] :offset Starting index of overall result set from which to return ids.
|
@@ -346,7 +346,7 @@ describe 'FirewallManagementApi' do
|
|
346
346
|
# unit tests for query_rules
|
347
347
|
# Find all rule IDs matching the query with filter
|
348
348
|
# @param [Hash] opts the optional parameters
|
349
|
-
# @option opts [String] :sort Possible order by fields:
|
349
|
+
# @option opts [String] :sort Possible order by fields:
|
350
350
|
# @option opts [String] :filter FQL query specifying the filter parameters. Filter term criteria: enabled, platform, name, description, etc TODO. Filter range criteria: created_on, modified_on; use any common date format, such as '2010-05-15T14:55:21.892315096Z'.
|
351
351
|
# @option opts [String] :q Match query criteria, which includes all the filter string fields, plus TODO
|
352
352
|
# @option opts [String] :offset Starting index of overall result set from which to return ids.
|
@@ -361,7 +361,7 @@ describe 'FirewallManagementApi' do
|
|
361
361
|
|
362
362
|
# unit tests for update_network_locations
|
363
363
|
# Updates the network locations provided, and return the ID.
|
364
|
-
# @param body
|
364
|
+
# @param body
|
365
365
|
# @param [Hash] opts the optional parameters
|
366
366
|
# @option opts [String] :comment Audit log comment for this action
|
367
367
|
# @return [FwmgrMsaspecQueryResponse]
|
@@ -373,7 +373,7 @@ describe 'FirewallManagementApi' do
|
|
373
373
|
|
374
374
|
# unit tests for update_network_locations_metadata
|
375
375
|
# Updates the network locations metadata such as polling_intervals for the cid
|
376
|
-
# @param body
|
376
|
+
# @param body
|
377
377
|
# @param [Hash] opts the optional parameters
|
378
378
|
# @option opts [String] :comment Audit log comment for this action
|
379
379
|
# @return [FwmgrMsaspecQueryResponse]
|
@@ -385,7 +385,7 @@ describe 'FirewallManagementApi' do
|
|
385
385
|
|
386
386
|
# unit tests for update_network_locations_precedence
|
387
387
|
# Updates the network locations precedence according to the list of ids provided.
|
388
|
-
# @param body
|
388
|
+
# @param body
|
389
389
|
# @param [Hash] opts the optional parameters
|
390
390
|
# @option opts [String] :comment Audit log comment for this action
|
391
391
|
# @return [FwmgrMsaspecQueryResponse]
|
@@ -397,7 +397,7 @@ describe 'FirewallManagementApi' do
|
|
397
397
|
|
398
398
|
# unit tests for update_policy_container
|
399
399
|
# Update an identified policy container, including local logging functionality.
|
400
|
-
# @param body
|
400
|
+
# @param body
|
401
401
|
# @param [Hash] opts the optional parameters
|
402
402
|
# @return [FwmgrMsaspecResponseFields]
|
403
403
|
describe 'update_policy_container test' do
|
@@ -408,7 +408,7 @@ describe 'FirewallManagementApi' do
|
|
408
408
|
|
409
409
|
# unit tests for update_policy_container_v1
|
410
410
|
# Update an identified policy container. WARNING: This endpoint is deprecated in favor of v2, using this endpoint could disable your local logging setting.
|
411
|
-
# @param body
|
411
|
+
# @param body
|
412
412
|
# @param [Hash] opts the optional parameters
|
413
413
|
# @return [FwmgrMsaspecResponseFields]
|
414
414
|
describe 'update_policy_container_v1 test' do
|
@@ -419,7 +419,7 @@ describe 'FirewallManagementApi' do
|
|
419
419
|
|
420
420
|
# unit tests for update_rule_group
|
421
421
|
# Update name, description, or enabled status of a rule group, or create, edit, delete, or reorder rules
|
422
|
-
# @param body
|
422
|
+
# @param body
|
423
423
|
# @param [Hash] opts the optional parameters
|
424
424
|
# @option opts [String] :comment Audit log comment for this action
|
425
425
|
# @return [FwmgrApiQueryResponse]
|
@@ -431,7 +431,7 @@ describe 'FirewallManagementApi' do
|
|
431
431
|
|
432
432
|
# unit tests for update_rule_group_validation
|
433
433
|
# Validates the request of updating name, description, or enabled status of a rule group, or create, edit, delete, or reorder rules
|
434
|
-
# @param body
|
434
|
+
# @param body
|
435
435
|
# @param [Hash] opts the optional parameters
|
436
436
|
# @option opts [String] :comment Audit log comment for this action
|
437
437
|
# @return [FwmgrMsaspecQueryResponse]
|
@@ -443,7 +443,7 @@ describe 'FirewallManagementApi' do
|
|
443
443
|
|
444
444
|
# unit tests for upsert_network_locations
|
445
445
|
# Updates the network locations provided, and return the ID.
|
446
|
-
# @param body
|
446
|
+
# @param body
|
447
447
|
# @param [Hash] opts the optional parameters
|
448
448
|
# @option opts [String] :comment Audit log comment for this action
|
449
449
|
# @return [FwmgrMsaspecQueryResponse]
|
@@ -455,7 +455,7 @@ describe 'FirewallManagementApi' do
|
|
455
455
|
|
456
456
|
# unit tests for validate_filepath_pattern
|
457
457
|
# Validates that the test pattern matches the executable filepath glob pattern.
|
458
|
-
# @param body
|
458
|
+
# @param body
|
459
459
|
# @param [Hash] opts the optional parameters
|
460
460
|
# @return [FwmgrApiValidateFilepathResponse]
|
461
461
|
describe 'validate_filepath_pattern test' do
|
@@ -56,7 +56,7 @@ describe 'FirewallPoliciesApi' do
|
|
56
56
|
|
57
57
|
# unit tests for create_firewall_policies
|
58
58
|
# Create Firewall Policies by specifying details about the policy to create
|
59
|
-
# @param body
|
59
|
+
# @param body
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
61
|
# @option opts [String] :clone_id The policy ID to be cloned from
|
62
62
|
# @return [FirewallRespV1]
|
@@ -91,7 +91,7 @@ describe 'FirewallPoliciesApi' do
|
|
91
91
|
# unit tests for perform_firewall_policies_action
|
92
92
|
# Perform the specified action on the Firewall Policies specified in the request
|
93
93
|
# @param action_name The action to perform
|
94
|
-
# @param body
|
94
|
+
# @param body
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
96
|
# @return [FirewallRespV1]
|
97
97
|
describe 'perform_firewall_policies_action test' do
|
@@ -160,7 +160,7 @@ describe 'FirewallPoliciesApi' do
|
|
160
160
|
|
161
161
|
# unit tests for set_firewall_policies_precedence
|
162
162
|
# Sets the precedence of Firewall Policies based on the order of IDs specified in the request. The first ID specified will have the highest precedence and the last ID specified will have the lowest. You must specify all non-Default Policies for a platform when updating precedence
|
163
|
-
# @param body
|
163
|
+
# @param body
|
164
164
|
# @param [Hash] opts the optional parameters
|
165
165
|
# @return [MsaQueryResponse]
|
166
166
|
describe 'set_firewall_policies_precedence test' do
|
@@ -171,7 +171,7 @@ describe 'FirewallPoliciesApi' do
|
|
171
171
|
|
172
172
|
# unit tests for update_firewall_policies
|
173
173
|
# Update Firewall Policies by specifying the ID of the policy and details to update
|
174
|
-
# @param body
|
174
|
+
# @param body
|
175
175
|
# @param [Hash] opts the optional parameters
|
176
176
|
# @return [FirewallRespV1]
|
177
177
|
describe 'update_firewall_policies test' do
|
@@ -56,7 +56,7 @@ describe 'HostGroupApi' do
|
|
56
56
|
|
57
57
|
# unit tests for create_host_groups
|
58
58
|
# Create Host Groups by specifying details about the group to create
|
59
|
-
# @param body
|
59
|
+
# @param body
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
61
|
# @return [HostGroupsRespV1]
|
62
62
|
describe 'create_host_groups test' do
|
@@ -90,7 +90,7 @@ describe 'HostGroupApi' do
|
|
90
90
|
# unit tests for perform_group_action
|
91
91
|
# Perform the specified action on the Host Groups specified in the request
|
92
92
|
# @param action_name The action to perform
|
93
|
-
# @param body
|
93
|
+
# @param body
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
95
|
# @option opts [Boolean] :disable_hostname_check Bool to disable hostname check on add-member
|
96
96
|
# @return [HostGroupsRespV1]
|
@@ -160,7 +160,7 @@ describe 'HostGroupApi' do
|
|
160
160
|
|
161
161
|
# unit tests for update_host_groups
|
162
162
|
# Update Host Groups by specifying the ID of the group and details to update
|
163
|
-
# @param body
|
163
|
+
# @param body
|
164
164
|
# @param [Hash] opts the optional parameters
|
165
165
|
# @return [HostGroupsRespV1]
|
166
166
|
describe 'update_host_groups test' do
|
data/spec/api/hosts_api_spec.rb
CHANGED
@@ -58,7 +58,7 @@ describe 'HostsApi' do
|
|
58
58
|
# Performs the specified action on the provided prevention policy IDs.
|
59
59
|
# @param ids The group ids to act on
|
60
60
|
# @param action_name The action to perform.
|
61
|
-
# @param body
|
61
|
+
# @param body
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Boolean] :disable_hostname_check Bool to disable hostname check on add-member
|
64
64
|
# @return [DeviceapiGroupsResponseV1]
|
@@ -115,7 +115,7 @@ describe 'HostsApi' do
|
|
115
115
|
|
116
116
|
# unit tests for post_device_details_v2
|
117
117
|
# Get details on one or more hosts by providing host IDs in a POST body. Supports up to a maximum 5000 IDs.
|
118
|
-
# @param body
|
118
|
+
# @param body
|
119
119
|
# @param [Hash] opts the optional parameters
|
120
120
|
# @return [DeviceapiDeviceDetailsResponseSwagger]
|
121
121
|
describe 'post_device_details_v2 test' do
|
@@ -126,7 +126,7 @@ describe 'HostsApi' do
|
|
126
126
|
|
127
127
|
# unit tests for query_device_login_history
|
128
128
|
# Retrieve details about recent login sessions for a set of devices.
|
129
|
-
# @param body
|
129
|
+
# @param body
|
130
130
|
# @param [Hash] opts the optional parameters
|
131
131
|
# @return [DeviceapiLoginHistoryResponseV1]
|
132
132
|
describe 'query_device_login_history test' do
|
@@ -165,7 +165,7 @@ describe 'HostsApi' do
|
|
165
165
|
|
166
166
|
# unit tests for query_get_network_address_history_v1
|
167
167
|
# Retrieve history of IP and MAC addresses of devices.
|
168
|
-
# @param body
|
168
|
+
# @param body
|
169
169
|
# @param [Hash] opts the optional parameters
|
170
170
|
# @return [DeviceapiNetworkAddressHistoryResponseV1]
|
171
171
|
describe 'query_get_network_address_history_v1 test' do
|
@@ -190,7 +190,7 @@ describe 'HostsApi' do
|
|
190
190
|
|
191
191
|
# unit tests for update_device_tags
|
192
192
|
# Append or remove one or more Falcon Grouping Tags on one or more hosts. Tags must be of the form FalconGroupingTags/
|
193
|
-
# @param body
|
193
|
+
# @param body
|
194
194
|
# @param [Hash] opts the optional parameters
|
195
195
|
# @return [DeviceapiUpdateDeviceTagsSwaggerV1]
|
196
196
|
describe 'update_device_tags test' do
|
@@ -70,7 +70,7 @@ describe 'IncidentsApi' do
|
|
70
70
|
|
71
71
|
# unit tests for get_behaviors
|
72
72
|
# Get details on behaviors by providing behavior IDs
|
73
|
-
# @param body
|
73
|
+
# @param body
|
74
74
|
# @param [Hash] opts the optional parameters
|
75
75
|
# @return [DomainMsaExternalBehaviorResponse]
|
76
76
|
describe 'get_behaviors test' do
|
@@ -81,7 +81,7 @@ describe 'IncidentsApi' do
|
|
81
81
|
|
82
82
|
# unit tests for get_incidents
|
83
83
|
# Get details on incidents by providing incident IDs
|
84
|
-
# @param body
|
84
|
+
# @param body
|
85
85
|
# @param [Hash] opts the optional parameters
|
86
86
|
# @return [DomainMsaExternalIncidentResponse]
|
87
87
|
describe 'get_incidents test' do
|
@@ -91,7 +91,7 @@ describe 'InstallationTokensApi' do
|
|
91
91
|
|
92
92
|
# unit tests for tokens_create
|
93
93
|
# Creates a token.
|
94
|
-
# @param body
|
94
|
+
# @param body
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
96
|
# @return [ApiTokenDetailsResponseV1]
|
97
97
|
describe 'tokens_create test' do
|
@@ -139,7 +139,7 @@ describe 'InstallationTokensApi' do
|
|
139
139
|
# unit tests for tokens_update
|
140
140
|
# Updates one or more tokens. Use this endpoint to edit labels, change expiration, revoke, or restore.
|
141
141
|
# @param ids The token ids to update.
|
142
|
-
# @param body
|
142
|
+
# @param body
|
143
143
|
# @param [Hash] opts the optional parameters
|
144
144
|
# @return [MsaQueryResponse]
|
145
145
|
describe 'tokens_update test' do
|
@@ -56,7 +56,7 @@ describe 'InstallationTokensSettingsApi' do
|
|
56
56
|
|
57
57
|
# unit tests for customer_settings_update
|
58
58
|
# Update installation token settings.
|
59
|
-
# @param body
|
59
|
+
# @param body
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
61
|
# @return [MsaQueryResponse]
|
62
62
|
describe 'customer_settings_update test' do
|
data/spec/api/intel_api_spec.rb
CHANGED
@@ -68,7 +68,7 @@ describe 'IntelApi' do
|
|
68
68
|
|
69
69
|
# unit tests for get_intel_indicator_entities
|
70
70
|
# Retrieve specific indicators using their indicator IDs.
|
71
|
-
# @param body
|
71
|
+
# @param body
|
72
72
|
# @param [Hash] opts the optional parameters
|
73
73
|
# @return [DomainPublicIndicatorsV3Response]
|
74
74
|
describe 'get_intel_indicator_entities test' do
|
@@ -154,7 +154,7 @@ describe 'IntelApi' do
|
|
154
154
|
|
155
155
|
# unit tests for get_vulnerabilities
|
156
156
|
# Get vulnerabilities
|
157
|
-
# @param body
|
157
|
+
# @param body
|
158
158
|
# @param [Hash] opts the optional parameters
|
159
159
|
# @return [DomainVulnerabilityResponse]
|
160
160
|
describe 'get_vulnerabilities test' do
|
@@ -165,7 +165,7 @@ describe 'IntelApi' do
|
|
165
165
|
|
166
166
|
# unit tests for post_mitre_attacks
|
167
167
|
# Retrieves report and observable IDs associated with the given actor and attacks
|
168
|
-
# @param body
|
168
|
+
# @param body
|
169
169
|
# @param [Hash] opts the optional parameters
|
170
170
|
# @return [nil]
|
171
171
|
describe 'post_mitre_attacks test' do
|
@@ -56,7 +56,7 @@ describe 'IoaExclusionsApi' do
|
|
56
56
|
|
57
57
|
# unit tests for create_ioa_exclusions_v1
|
58
58
|
# Create the IOA exclusions
|
59
|
-
# @param body
|
59
|
+
# @param body
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
61
|
# @return [IoaExclusionsIoaExclusionsRespV1]
|
62
62
|
describe 'create_ioa_exclusions_v1 test' do
|
@@ -104,7 +104,7 @@ describe 'IoaExclusionsApi' do
|
|
104
104
|
|
105
105
|
# unit tests for update_ioa_exclusions_v1
|
106
106
|
# Update the IOA exclusions
|
107
|
-
# @param body
|
107
|
+
# @param body
|
108
108
|
# @param [Hash] opts the optional parameters
|
109
109
|
# @return [IoaExclusionsIoaExclusionsRespV1]
|
110
110
|
describe 'update_ioa_exclusions_v1 test' do
|
data/spec/api/ioc_api_spec.rb
CHANGED
@@ -79,7 +79,7 @@ describe 'IocApi' do
|
|
79
79
|
|
80
80
|
# unit tests for get_indicators_report
|
81
81
|
# Launch an indicators report creation job
|
82
|
-
# @param body
|
82
|
+
# @param body
|
83
83
|
# @param [Hash] opts the optional parameters
|
84
84
|
# @return [MsaEntitiesResponse]
|
85
85
|
describe 'get_indicators_report test' do
|
@@ -90,7 +90,7 @@ describe 'IocApi' do
|
|
90
90
|
|
91
91
|
# unit tests for indicator_aggregate_v1
|
92
92
|
# Get Indicators aggregates as specified via json in the request body.
|
93
|
-
# @param body
|
93
|
+
# @param body
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
95
|
# @option opts [String] :filter The filter to narrow down the aggregation data
|
96
96
|
# @option opts [Boolean] :from_parent The filter for returning either only indicators for the request customer or its MSSP parents
|
@@ -119,7 +119,7 @@ describe 'IocApi' do
|
|
119
119
|
|
120
120
|
# unit tests for indicator_create_v1
|
121
121
|
# Create Indicators.
|
122
|
-
# @param body
|
122
|
+
# @param body
|
123
123
|
# @param [Hash] opts the optional parameters
|
124
124
|
# @option opts [Boolean] :retrodetects Whether to submit to retrodetects
|
125
125
|
# @option opts [Boolean] :ignore_warnings Set to true to ignore warnings and add all IOCs
|
@@ -173,7 +173,7 @@ describe 'IocApi' do
|
|
173
173
|
|
174
174
|
# unit tests for indicator_update_v1
|
175
175
|
# Update Indicators.
|
176
|
-
# @param body
|
176
|
+
# @param body
|
177
177
|
# @param [Hash] opts the optional parameters
|
178
178
|
# @option opts [Boolean] :retrodetects Whether to submit to retrodetects
|
179
179
|
# @option opts [Boolean] :ignore_warnings Set to true to ignore warnings and add all IOCs
|
data/spec/api/iocs_api_spec.rb
CHANGED
@@ -56,7 +56,7 @@ describe 'IocsApi' do
|
|
56
56
|
|
57
57
|
# unit tests for devices_count
|
58
58
|
# Number of hosts in your customer account that have observed a given custom IOC
|
59
|
-
# @param type The type of the indicator. Valid types include: sha256: A hex-encoded sha256 hash string. Length - min: 64, max: 64. md5: A hex-encoded md5 hash string. Length - min 32, max: 32. domain: A domain name. Length - min: 1, max: 200. ipv4: An IPv4 address. Must be a valid IP address. ipv6: An IPv6 address. Must be a valid IP address.
|
59
|
+
# @param type The type of the indicator. Valid types include: sha256: A hex-encoded sha256 hash string. Length - min: 64, max: 64. md5: A hex-encoded md5 hash string. Length - min 32, max: 32. domain: A domain name. Length - min: 1, max: 200. ipv4: An IPv4 address. Must be a valid IP address. ipv6: An IPv6 address. Must be a valid IP address.
|
60
60
|
# @param value The string representation of the indicator
|
61
61
|
# @param [Hash] opts the optional parameters
|
62
62
|
# @return [IocapiMsaReplyIOCDevicesCount]
|
@@ -68,7 +68,7 @@ describe 'IocsApi' do
|
|
68
68
|
|
69
69
|
# unit tests for devices_ran_on
|
70
70
|
# Find hosts that have observed a given custom IOC. For details about those hosts, use GET /devices/entities/devices/v1
|
71
|
-
# @param type The type of the indicator. Valid types include: sha256: A hex-encoded sha256 hash string. Length - min: 64, max: 64. md5: A hex-encoded md5 hash string. Length - min 32, max: 32. domain: A domain name. Length - min: 1, max: 200. ipv4: An IPv4 address. Must be a valid IP address. ipv6: An IPv6 address. Must be a valid IP address.
|
71
|
+
# @param type The type of the indicator. Valid types include: sha256: A hex-encoded sha256 hash string. Length - min: 64, max: 64. md5: A hex-encoded md5 hash string. Length - min 32, max: 32. domain: A domain name. Length - min: 1, max: 200. ipv4: An IPv4 address. Must be a valid IP address. ipv6: An IPv6 address. Must be a valid IP address.
|
72
72
|
# @param value The string representation of the indicator
|
73
73
|
# @param [Hash] opts the optional parameters
|
74
74
|
# @option opts [String] :limit The first process to return, where 0 is the latest offset. Use with the offset parameter to manage pagination of results.
|
@@ -93,7 +93,7 @@ describe 'IocsApi' do
|
|
93
93
|
|
94
94
|
# unit tests for processes_ran_on
|
95
95
|
# Search for processes associated with a custom IOC
|
96
|
-
# @param type The type of the indicator. Valid types include: sha256: A hex-encoded sha256 hash string. Length - min: 64, max: 64. md5: A hex-encoded md5 hash string. Length - min 32, max: 32. domain: A domain name. Length - min: 1, max: 200. ipv4: An IPv4 address. Must be a valid IP address. ipv6: An IPv6 address. Must be a valid IP address.
|
96
|
+
# @param type The type of the indicator. Valid types include: sha256: A hex-encoded sha256 hash string. Length - min: 64, max: 64. md5: A hex-encoded md5 hash string. Length - min 32, max: 32. domain: A domain name. Length - min: 1, max: 200. ipv4: An IPv4 address. Must be a valid IP address. ipv6: An IPv6 address. Must be a valid IP address.
|
97
97
|
# @param value The string representation of the indicator
|
98
98
|
# @param device_id Specify a host's ID to return only processes from that host. Get a host's ID from GET /devices/queries/devices/v1, the Falcon console, or the Streaming API.
|
99
99
|
# @param [Hash] opts the optional parameters
|
@@ -56,7 +56,7 @@ describe 'KubernetesProtectionApi' do
|
|
56
56
|
|
57
57
|
# unit tests for create_aws_account
|
58
58
|
# Creates a new AWS account in our system for a customer and generates the installation script
|
59
|
-
# @param body
|
59
|
+
# @param body
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
61
|
# @return [K8sregCreateAWSAccResp]
|
62
62
|
describe 'create_aws_account test' do
|
@@ -67,7 +67,7 @@ describe 'KubernetesProtectionApi' do
|
|
67
67
|
|
68
68
|
# unit tests for create_azure_subscription
|
69
69
|
# Creates a new Azure Subscription in our system
|
70
|
-
# @param body
|
70
|
+
# @param body
|
71
71
|
# @param [Hash] opts the optional parameters
|
72
72
|
# @return [MsaBaseEntitiesResponse]
|
73
73
|
describe 'create_azure_subscription test' do
|
@@ -56,7 +56,7 @@ describe 'MessageCenterApi' do
|
|
56
56
|
|
57
57
|
# unit tests for aggregate_cases
|
58
58
|
# Retrieve aggregate case values based on the matched filter
|
59
|
-
# @param body
|
59
|
+
# @param body
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
61
|
# @return [MsaAggregatesResponse]
|
62
62
|
describe 'aggregate_cases test' do
|
@@ -67,7 +67,7 @@ describe 'MessageCenterApi' do
|
|
67
67
|
|
68
68
|
# unit tests for case_add_activity
|
69
69
|
# Add an activity to case. Only activities of type comment are allowed via API
|
70
|
-
# @param body
|
70
|
+
# @param body
|
71
71
|
# @param [Hash] opts the optional parameters
|
72
72
|
# @return [MsaReplyMetaOnly]
|
73
73
|
describe 'case_add_activity test' do
|
@@ -103,7 +103,7 @@ describe 'MessageCenterApi' do
|
|
103
103
|
|
104
104
|
# unit tests for create_case
|
105
105
|
# create a new case
|
106
|
-
# @param body
|
106
|
+
# @param body
|
107
107
|
# @param [Hash] opts the optional parameters
|
108
108
|
# @return [MsaReplyAffectedEntities]
|
109
109
|
describe 'create_case test' do
|
@@ -114,7 +114,7 @@ describe 'MessageCenterApi' do
|
|
114
114
|
|
115
115
|
# unit tests for create_case_v2
|
116
116
|
# create a new case
|
117
|
-
# @param body
|
117
|
+
# @param body
|
118
118
|
# @param [Hash] opts the optional parameters
|
119
119
|
# @return [MsaReplyAffectedEntities]
|
120
120
|
describe 'create_case_v2 test' do
|
@@ -125,7 +125,7 @@ describe 'MessageCenterApi' do
|
|
125
125
|
|
126
126
|
# unit tests for get_case_activity_by_ids
|
127
127
|
# Retrieve activities for given id's
|
128
|
-
# @param body
|
128
|
+
# @param body
|
129
129
|
# @param [Hash] opts the optional parameters
|
130
130
|
# @return [ApiMessageCenterActivityResponse]
|
131
131
|
describe 'get_case_activity_by_ids test' do
|
@@ -136,7 +136,7 @@ describe 'MessageCenterApi' do
|
|
136
136
|
|
137
137
|
# unit tests for get_case_entities_by_ids
|
138
138
|
# Retrieve message center cases
|
139
|
-
# @param body
|
139
|
+
# @param body
|
140
140
|
# @param [Hash] opts the optional parameters
|
141
141
|
# @return [ApiMessageCenterCasesResponse]
|
142
142
|
describe 'get_case_entities_by_ids test' do
|
@@ -56,7 +56,7 @@ describe 'MlExclusionsApi' do
|
|
56
56
|
|
57
57
|
# unit tests for create_ml_exclusions_v1
|
58
58
|
# Create the ML exclusions
|
59
|
-
# @param body
|
59
|
+
# @param body
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
61
|
# @return [ExclusionsRespV1]
|
62
62
|
describe 'create_ml_exclusions_v1 test' do
|
@@ -104,7 +104,7 @@ describe 'MlExclusionsApi' do
|
|
104
104
|
|
105
105
|
# unit tests for update_ml_exclusions_v1
|
106
106
|
# Update the ML exclusions
|
107
|
-
# @param body
|
107
|
+
# @param body
|
108
108
|
# @param [Hash] opts the optional parameters
|
109
109
|
# @return [ExclusionsRespV1]
|
110
110
|
describe 'update_ml_exclusions_v1 test' do
|
@@ -56,7 +56,7 @@ describe 'MobileEnrollmentApi' do
|
|
56
56
|
|
57
57
|
# unit tests for request_device_enrollment_v3
|
58
58
|
# Trigger on-boarding process for a mobile device
|
59
|
-
# @param body
|
59
|
+
# @param body
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
61
|
# @option opts [String] :action_name Action to perform
|
62
62
|
# @option opts [String] :filter FQL filter
|
data/spec/api/mssp_api_spec.rb
CHANGED
@@ -66,7 +66,7 @@ describe 'MsspApi' do
|
|
66
66
|
end
|
67
67
|
|
68
68
|
# unit tests for add_role
|
69
|
-
# Create a link between user group and CID group, with zero or more additional roles. The call does not replace any existing link between them. User group ID and CID group ID have to be specified in request.
|
69
|
+
# Create a link between user group and CID group, with zero or more additional roles. The call does not replace any existing link between them. User group ID and CID group ID have to be specified in request.
|
70
70
|
# @param body 'user_group_id', 'cid_group_id' and 'role_ids' fields are required. Remaining are populated by system.
|
71
71
|
# @param [Hash] opts the optional parameters
|
72
72
|
# @return [DomainMSSPRoleResponseV1]
|
@@ -177,7 +177,7 @@ describe 'MsspApi' do
|
|
177
177
|
|
178
178
|
# unit tests for get_children_v2
|
179
179
|
# Get link to child customer by child CID(s)
|
180
|
-
# @param body
|
180
|
+
# @param body
|
181
181
|
# @param [Hash] opts the optional parameters
|
182
182
|
# @return [DomainChildrenResponseV1]
|
183
183
|
describe 'get_children_v2 test' do
|
data/spec/api/ods_api_spec.rb
CHANGED
@@ -56,7 +56,7 @@ describe 'OdsApi' do
|
|
56
56
|
|
57
57
|
# unit tests for aggregate_query_scan_host_metadata
|
58
58
|
# Get aggregates on ODS scan-hosts data.
|
59
|
-
# @param body
|
59
|
+
# @param body
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
61
|
# @return [MsaAggregatesResponse]
|
62
62
|
describe 'aggregate_query_scan_host_metadata test' do
|
@@ -67,7 +67,7 @@ describe 'OdsApi' do
|
|
67
67
|
|
68
68
|
# unit tests for aggregate_scans
|
69
69
|
# Get aggregates on ODS scan data.
|
70
|
-
# @param body
|
70
|
+
# @param body
|
71
71
|
# @param [Hash] opts the optional parameters
|
72
72
|
# @return [MsaAggregatesResponse]
|
73
73
|
describe 'aggregate_scans test' do
|
@@ -78,7 +78,7 @@ describe 'OdsApi' do
|
|
78
78
|
|
79
79
|
# unit tests for aggregate_scheduled_scans
|
80
80
|
# Get aggregates on ODS scheduled-scan data.
|
81
|
-
# @param body
|
81
|
+
# @param body
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
83
|
# @return [MsaAggregatesResponse]
|
84
84
|
describe 'aggregate_scheduled_scans test' do
|
@@ -89,7 +89,7 @@ describe 'OdsApi' do
|
|
89
89
|
|
90
90
|
# unit tests for cancel_scans
|
91
91
|
# Cancel ODS scans for the given scan ids.
|
92
|
-
# @param body
|
92
|
+
# @param body
|
93
93
|
# @param [Hash] opts the optional parameters
|
94
94
|
# @return [MsaspecQueryResponse]
|
95
95
|
describe 'cancel_scans test' do
|
@@ -100,7 +100,7 @@ describe 'OdsApi' do
|
|
100
100
|
|
101
101
|
# unit tests for create_scan
|
102
102
|
# Create ODS scan and start or schedule scan for the given scan request.
|
103
|
-
# @param body
|
103
|
+
# @param body
|
104
104
|
# @param [Hash] opts the optional parameters
|
105
105
|
# @return [EntitiesODSScanResponse]
|
106
106
|
describe 'create_scan test' do
|
@@ -223,7 +223,7 @@ describe 'OdsApi' do
|
|
223
223
|
|
224
224
|
# unit tests for schedule_scan
|
225
225
|
# Create ODS scan and start or schedule scan for the given scan request.
|
226
|
-
# @param body
|
226
|
+
# @param body
|
227
227
|
# @param [Hash] opts the optional parameters
|
228
228
|
# @return [EntitiesODSScheduleScanResponse]
|
229
229
|
describe 'schedule_scan test' do
|
@@ -67,7 +67,7 @@ describe 'OverwatchDashboardApi' do
|
|
67
67
|
|
68
68
|
# unit tests for aggregates_events
|
69
69
|
# Get aggregate OverWatch detection event info by providing an aggregate query
|
70
|
-
# @param body
|
70
|
+
# @param body
|
71
71
|
# @param [Hash] opts the optional parameters
|
72
72
|
# @return [MsaAggregatesResponse]
|
73
73
|
describe 'aggregates_events test' do
|
@@ -78,7 +78,7 @@ describe 'OverwatchDashboardApi' do
|
|
78
78
|
|
79
79
|
# unit tests for aggregates_events_collections
|
80
80
|
# Get OverWatch detection event collection info by providing an aggregate query
|
81
|
-
# @param body
|
81
|
+
# @param body
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
83
|
# @return [MsaAggregatesResponse]
|
84
84
|
describe 'aggregates_events_collections test' do
|
@@ -56,7 +56,7 @@ describe 'PreventionPoliciesApi' do
|
|
56
56
|
|
57
57
|
# unit tests for create_prevention_policies
|
58
58
|
# Create Prevention Policies by specifying details about the policy to create
|
59
|
-
# @param body
|
59
|
+
# @param body
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
61
|
# @return [PreventionRespV1]
|
62
62
|
describe 'create_prevention_policies test' do
|
@@ -90,7 +90,7 @@ describe 'PreventionPoliciesApi' do
|
|
90
90
|
# unit tests for perform_prevention_policies_action
|
91
91
|
# Perform the specified action on the Prevention Policies specified in the request
|
92
92
|
# @param action_name The action to perform
|
93
|
-
# @param body
|
93
|
+
# @param body
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
95
|
# @return [PreventionRespV1]
|
96
96
|
describe 'perform_prevention_policies_action test' do
|
@@ -159,7 +159,7 @@ describe 'PreventionPoliciesApi' do
|
|
159
159
|
|
160
160
|
# unit tests for set_prevention_policies_precedence
|
161
161
|
# Sets the precedence of Prevention Policies based on the order of IDs specified in the request. The first ID specified will have the highest precedence and the last ID specified will have the lowest. You must specify all non-Default Policies for a platform when updating precedence
|
162
|
-
# @param body
|
162
|
+
# @param body
|
163
163
|
# @param [Hash] opts the optional parameters
|
164
164
|
# @return [MsaQueryResponse]
|
165
165
|
describe 'set_prevention_policies_precedence test' do
|
@@ -170,7 +170,7 @@ describe 'PreventionPoliciesApi' do
|
|
170
170
|
|
171
171
|
# unit tests for update_prevention_policies
|
172
172
|
# Update Prevention Policies by specifying the ID of the policy and details to update
|
173
|
-
# @param body
|
173
|
+
# @param body
|
174
174
|
# @param [Hash] opts the optional parameters
|
175
175
|
# @return [PreventionRespV1]
|
176
176
|
describe 'update_prevention_policies test' do
|