crimson-falcon 0.1.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -12
  3. data/crimson-falcon.gemspec +3 -0
  4. data/lib/crimson-falcon/api/alerts_api.rb +4 -4
  5. data/lib/crimson-falcon/api/cloud_connect_aws_api.rb +6 -6
  6. data/lib/crimson-falcon/api/cspm_registration_api.rb +18 -18
  7. data/lib/crimson-falcon/api/custom_ioa_api.rb +10 -10
  8. data/lib/crimson-falcon/api/d4c_registration_api.rb +8 -8
  9. data/lib/crimson-falcon/api/device_control_policies_api.rb +10 -10
  10. data/lib/crimson-falcon/api/falcon_complete_dashboard_api.rb +14 -14
  11. data/lib/crimson-falcon/api/falcon_container_cli_api.rb +2 -2
  12. data/lib/crimson-falcon/api/falcon_container_image_api.rb +4 -4
  13. data/lib/crimson-falcon/api/firewall_management_api.rb +34 -34
  14. data/lib/crimson-falcon/api/firewall_policies_api.rb +8 -8
  15. data/lib/crimson-falcon/api/host_group_api.rb +6 -6
  16. data/lib/crimson-falcon/api/hosts_api.rb +10 -10
  17. data/lib/crimson-falcon/api/incidents_api.rb +4 -4
  18. data/lib/crimson-falcon/api/installation_tokens_api.rb +4 -4
  19. data/lib/crimson-falcon/api/installation_tokens_settings_api.rb +2 -2
  20. data/lib/crimson-falcon/api/intel_api.rb +6 -6
  21. data/lib/crimson-falcon/api/ioa_exclusions_api.rb +4 -4
  22. data/lib/crimson-falcon/api/ioc_api.rb +8 -8
  23. data/lib/crimson-falcon/api/iocs_api.rb +6 -6
  24. data/lib/crimson-falcon/api/kubernetes_protection_api.rb +4 -4
  25. data/lib/crimson-falcon/api/message_center_api.rb +12 -12
  26. data/lib/crimson-falcon/api/ml_exclusions_api.rb +4 -4
  27. data/lib/crimson-falcon/api/mobile_enrollment_api.rb +2 -2
  28. data/lib/crimson-falcon/api/mssp_api.rb +4 -4
  29. data/lib/crimson-falcon/api/ods_api.rb +12 -12
  30. data/lib/crimson-falcon/api/overwatch_dashboard_api.rb +4 -4
  31. data/lib/crimson-falcon/api/prevention_policies_api.rb +8 -8
  32. data/lib/crimson-falcon/api/quarantine_api.rb +8 -8
  33. data/lib/crimson-falcon/api/quick_scan_api.rb +2 -2
  34. data/lib/crimson-falcon/api/real_time_response_admin_api.rb +2 -2
  35. data/lib/crimson-falcon/api/recon_api.rb +18 -18
  36. data/lib/crimson-falcon/api/report_executions_api.rb +2 -2
  37. data/lib/crimson-falcon/api/response_policies_api.rb +8 -8
  38. data/lib/crimson-falcon/api/sample_uploads_api.rb +2 -2
  39. data/lib/crimson-falcon/api/scheduled_reports_api.rb +2 -2
  40. data/lib/crimson-falcon/api/sensor_update_policies_api.rb +14 -14
  41. data/lib/crimson-falcon/api/sensor_visibility_exclusions_api.rb +4 -4
  42. data/lib/crimson-falcon/api/tailored_intelligence_api.rb +4 -4
  43. data/lib/crimson-falcon/api_client.rb +10 -2
  44. data/lib/crimson-falcon/version.rb +1 -1
  45. data/spec/api/alerts_api_spec.rb +2 -2
  46. data/spec/api/cloud_connect_aws_api_spec.rb +3 -3
  47. data/spec/api/cspm_registration_api_spec.rb +9 -9
  48. data/spec/api/custom_ioa_api_spec.rb +5 -5
  49. data/spec/api/d4c_registration_api_spec.rb +4 -4
  50. data/spec/api/device_control_policies_api_spec.rb +5 -5
  51. data/spec/api/falcon_complete_dashboard_api_spec.rb +7 -7
  52. data/spec/api/falcon_container_cli_api_spec.rb +1 -1
  53. data/spec/api/falcon_container_image_api_spec.rb +2 -2
  54. data/spec/api/firewall_management_api_spec.rb +17 -17
  55. data/spec/api/firewall_policies_api_spec.rb +4 -4
  56. data/spec/api/host_group_api_spec.rb +3 -3
  57. data/spec/api/hosts_api_spec.rb +5 -5
  58. data/spec/api/incidents_api_spec.rb +2 -2
  59. data/spec/api/installation_tokens_api_spec.rb +2 -2
  60. data/spec/api/installation_tokens_settings_api_spec.rb +1 -1
  61. data/spec/api/intel_api_spec.rb +3 -3
  62. data/spec/api/ioa_exclusions_api_spec.rb +2 -2
  63. data/spec/api/ioc_api_spec.rb +4 -4
  64. data/spec/api/iocs_api_spec.rb +3 -3
  65. data/spec/api/kubernetes_protection_api_spec.rb +2 -2
  66. data/spec/api/message_center_api_spec.rb +6 -6
  67. data/spec/api/ml_exclusions_api_spec.rb +2 -2
  68. data/spec/api/mobile_enrollment_api_spec.rb +1 -1
  69. data/spec/api/mssp_api_spec.rb +2 -2
  70. data/spec/api/ods_api_spec.rb +6 -6
  71. data/spec/api/overwatch_dashboard_api_spec.rb +2 -2
  72. data/spec/api/prevention_policies_api_spec.rb +4 -4
  73. data/spec/api/quarantine_api_spec.rb +4 -4
  74. data/spec/api/quick_scan_api_spec.rb +1 -1
  75. data/spec/api/real_time_response_admin_api_spec.rb +2 -2
  76. data/spec/api/real_time_response_api_spec.rb +4 -4
  77. data/spec/api/recon_api_spec.rb +9 -9
  78. data/spec/api/report_executions_api_spec.rb +1 -1
  79. data/spec/api/response_policies_api_spec.rb +4 -4
  80. data/spec/api/sample_uploads_api_spec.rb +1 -1
  81. data/spec/api/scheduled_reports_api_spec.rb +1 -1
  82. data/spec/api/sensor_update_policies_api_spec.rb +7 -7
  83. data/spec/api/sensor_visibility_exclusions_api_spec.rb +2 -2
  84. data/spec/api/tailored_intelligence_api_spec.rb +2 -2
  85. metadata +4 -3
@@ -42,7 +42,7 @@ module Falcon
42
42
  @api_client = api_client
43
43
  end
44
44
  # Create Sensor Update Policies by specifying details about the policy to create
45
- # @param body [SensorUpdateCreatePoliciesReqV1]
45
+ # @param body [SensorUpdateCreatePoliciesReqV1]
46
46
  # @param [Hash] opts the optional parameters
47
47
  # @return [SensorUpdateRespV1]
48
48
  def create_sensor_update_policies(body, opts = {})
@@ -51,7 +51,7 @@ module Falcon
51
51
  end
52
52
 
53
53
  # Create Sensor Update Policies by specifying details about the policy to create
54
- # @param body [SensorUpdateCreatePoliciesReqV1]
54
+ # @param body [SensorUpdateCreatePoliciesReqV1]
55
55
  # @param [Hash] opts the optional parameters
56
56
  # @return [Array<(SensorUpdateRespV1, Integer, Hash)>] SensorUpdateRespV1 data, response status code and response headers
57
57
  def create_sensor_update_policies_with_http_info(body, opts = {})
@@ -108,7 +108,7 @@ module Falcon
108
108
  end
109
109
 
110
110
  # Create Sensor Update Policies by specifying details about the policy to create with additional support for uninstall protection
111
- # @param body [SensorUpdateCreatePoliciesReqV2]
111
+ # @param body [SensorUpdateCreatePoliciesReqV2]
112
112
  # @param [Hash] opts the optional parameters
113
113
  # @return [SensorUpdateRespV2]
114
114
  def create_sensor_update_policies_v2(body, opts = {})
@@ -117,7 +117,7 @@ module Falcon
117
117
  end
118
118
 
119
119
  # Create Sensor Update Policies by specifying details about the policy to create with additional support for uninstall protection
120
- # @param body [SensorUpdateCreatePoliciesReqV2]
120
+ # @param body [SensorUpdateCreatePoliciesReqV2]
121
121
  # @param [Hash] opts the optional parameters
122
122
  # @return [Array<(SensorUpdateRespV2, Integer, Hash)>] SensorUpdateRespV2 data, response status code and response headers
123
123
  def create_sensor_update_policies_v2_with_http_info(body, opts = {})
@@ -361,7 +361,7 @@ module Falcon
361
361
 
362
362
  # Perform the specified action on the Sensor Update Policies specified in the request
363
363
  # @param action_name [String] The action to perform
364
- # @param body [MsaEntityActionRequestV2]
364
+ # @param body [MsaEntityActionRequestV2]
365
365
  # @param [Hash] opts the optional parameters
366
366
  # @return [SensorUpdateRespV1]
367
367
  def perform_sensor_update_policies_action(action_name, body, opts = {})
@@ -371,7 +371,7 @@ module Falcon
371
371
 
372
372
  # Perform the specified action on the Sensor Update Policies specified in the request
373
373
  # @param action_name [String] The action to perform
374
- # @param body [MsaEntityActionRequestV2]
374
+ # @param body [MsaEntityActionRequestV2]
375
375
  # @param [Hash] opts the optional parameters
376
376
  # @return [Array<(SensorUpdateRespV1, Integer, Hash)>] SensorUpdateRespV1 data, response status code and response headers
377
377
  def perform_sensor_update_policies_action_with_http_info(action_name, body, opts = {})
@@ -1078,7 +1078,7 @@ module Falcon
1078
1078
  end
1079
1079
 
1080
1080
  # Reveals an uninstall token for a specific device. To retrieve the bulk maintenance token pass the value 'MAINTENANCE' as the value for 'device_id'
1081
- # @param body [UninstallTokenRevealUninstallTokenReqV1]
1081
+ # @param body [UninstallTokenRevealUninstallTokenReqV1]
1082
1082
  # @param [Hash] opts the optional parameters
1083
1083
  # @return [UninstallTokenRespV1]
1084
1084
  def reveal_uninstall_token(body, opts = {})
@@ -1087,7 +1087,7 @@ module Falcon
1087
1087
  end
1088
1088
 
1089
1089
  # Reveals an uninstall token for a specific device. To retrieve the bulk maintenance token pass the value &#39;MAINTENANCE&#39; as the value for &#39;device_id&#39;
1090
- # @param body [UninstallTokenRevealUninstallTokenReqV1]
1090
+ # @param body [UninstallTokenRevealUninstallTokenReqV1]
1091
1091
  # @param [Hash] opts the optional parameters
1092
1092
  # @return [Array<(UninstallTokenRespV1, Integer, Hash)>] UninstallTokenRespV1 data, response status code and response headers
1093
1093
  def reveal_uninstall_token_with_http_info(body, opts = {})
@@ -1144,7 +1144,7 @@ module Falcon
1144
1144
  end
1145
1145
 
1146
1146
  # Sets the precedence of Sensor Update 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
1147
- # @param body [BaseSetPolicyPrecedenceReqV1]
1147
+ # @param body [BaseSetPolicyPrecedenceReqV1]
1148
1148
  # @param [Hash] opts the optional parameters
1149
1149
  # @return [MsaQueryResponse]
1150
1150
  def set_sensor_update_policies_precedence(body, opts = {})
@@ -1153,7 +1153,7 @@ module Falcon
1153
1153
  end
1154
1154
 
1155
1155
  # Sets the precedence of Sensor Update 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
1156
- # @param body [BaseSetPolicyPrecedenceReqV1]
1156
+ # @param body [BaseSetPolicyPrecedenceReqV1]
1157
1157
  # @param [Hash] opts the optional parameters
1158
1158
  # @return [Array<(MsaQueryResponse, Integer, Hash)>] MsaQueryResponse data, response status code and response headers
1159
1159
  def set_sensor_update_policies_precedence_with_http_info(body, opts = {})
@@ -1210,7 +1210,7 @@ module Falcon
1210
1210
  end
1211
1211
 
1212
1212
  # Update Sensor Update Policies by specifying the ID of the policy and details to update
1213
- # @param body [SensorUpdateUpdatePoliciesReqV1]
1213
+ # @param body [SensorUpdateUpdatePoliciesReqV1]
1214
1214
  # @param [Hash] opts the optional parameters
1215
1215
  # @return [SensorUpdateRespV1]
1216
1216
  def update_sensor_update_policies(body, opts = {})
@@ -1219,7 +1219,7 @@ module Falcon
1219
1219
  end
1220
1220
 
1221
1221
  # Update Sensor Update Policies by specifying the ID of the policy and details to update
1222
- # @param body [SensorUpdateUpdatePoliciesReqV1]
1222
+ # @param body [SensorUpdateUpdatePoliciesReqV1]
1223
1223
  # @param [Hash] opts the optional parameters
1224
1224
  # @return [Array<(SensorUpdateRespV1, Integer, Hash)>] SensorUpdateRespV1 data, response status code and response headers
1225
1225
  def update_sensor_update_policies_with_http_info(body, opts = {})
@@ -1276,7 +1276,7 @@ module Falcon
1276
1276
  end
1277
1277
 
1278
1278
  # Update Sensor Update Policies by specifying the ID of the policy and details to update with additional support for uninstall protection
1279
- # @param body [SensorUpdateUpdatePoliciesReqV2]
1279
+ # @param body [SensorUpdateUpdatePoliciesReqV2]
1280
1280
  # @param [Hash] opts the optional parameters
1281
1281
  # @return [SensorUpdateRespV2]
1282
1282
  def update_sensor_update_policies_v2(body, opts = {})
@@ -1285,7 +1285,7 @@ module Falcon
1285
1285
  end
1286
1286
 
1287
1287
  # Update Sensor Update Policies by specifying the ID of the policy and details to update with additional support for uninstall protection
1288
- # @param body [SensorUpdateUpdatePoliciesReqV2]
1288
+ # @param body [SensorUpdateUpdatePoliciesReqV2]
1289
1289
  # @param [Hash] opts the optional parameters
1290
1290
  # @return [Array<(SensorUpdateRespV2, Integer, Hash)>] SensorUpdateRespV2 data, response status code and response headers
1291
1291
  def update_sensor_update_policies_v2_with_http_info(body, opts = {})
@@ -42,7 +42,7 @@ module Falcon
42
42
  @api_client = api_client
43
43
  end
44
44
  # Create the sensor visibility exclusions
45
- # @param body [SvExclusionsCreateReqV1]
45
+ # @param body [SvExclusionsCreateReqV1]
46
46
  # @param [Hash] opts the optional parameters
47
47
  # @return [ExclusionsRespV1]
48
48
  def create_sv_exclusions_v1(body, opts = {})
@@ -51,7 +51,7 @@ module Falcon
51
51
  end
52
52
 
53
53
  # Create the sensor visibility exclusions
54
- # @param body [SvExclusionsCreateReqV1]
54
+ # @param body [SvExclusionsCreateReqV1]
55
55
  # @param [Hash] opts the optional parameters
56
56
  # @return [Array<(ExclusionsRespV1, Integer, Hash)>] ExclusionsRespV1 data, response status code and response headers
57
57
  def create_sv_exclusions_v1_with_http_info(body, opts = {})
@@ -306,7 +306,7 @@ module Falcon
306
306
  end
307
307
 
308
308
  # Update the sensor visibility exclusions
309
- # @param body [SvExclusionsUpdateReqV1]
309
+ # @param body [SvExclusionsUpdateReqV1]
310
310
  # @param [Hash] opts the optional parameters
311
311
  # @return [SvExclusionsRespV1]
312
312
  def update_sensor_visibility_exclusions_v1(body, opts = {})
@@ -315,7 +315,7 @@ module Falcon
315
315
  end
316
316
 
317
317
  # Update the sensor visibility exclusions
318
- # @param body [SvExclusionsUpdateReqV1]
318
+ # @param body [SvExclusionsUpdateReqV1]
319
319
  # @param [Hash] opts the optional parameters
320
320
  # @return [Array<(SvExclusionsRespV1, Integer, Hash)>] SvExclusionsRespV1 data, response status code and response headers
321
321
  def update_sensor_visibility_exclusions_v1_with_http_info(body, opts = {})
@@ -104,7 +104,7 @@ module Falcon
104
104
  end
105
105
 
106
106
  # Get events entities for specified ids.
107
- # @param body [MsaIdsRequest]
107
+ # @param body [MsaIdsRequest]
108
108
  # @param [Hash] opts the optional parameters
109
109
  # @return [DomainEventEntitiesResponse]
110
110
  def get_events_entities(body, opts = {})
@@ -113,7 +113,7 @@ module Falcon
113
113
  end
114
114
 
115
115
  # Get events entities for specified ids.
116
- # @param body [MsaIdsRequest]
116
+ # @param body [MsaIdsRequest]
117
117
  # @param [Hash] opts the optional parameters
118
118
  # @return [Array<(DomainEventEntitiesResponse, Integer, Hash)>] DomainEventEntitiesResponse data, response status code and response headers
119
119
  def get_events_entities_with_http_info(body, opts = {})
@@ -170,7 +170,7 @@ module Falcon
170
170
  end
171
171
 
172
172
  # Get rules entities for specified ids.
173
- # @param body [MsaIdsRequest]
173
+ # @param body [MsaIdsRequest]
174
174
  # @param [Hash] opts the optional parameters
175
175
  # @return [DomainRuleEntitiesResponse]
176
176
  def get_rules_entities(body, opts = {})
@@ -179,7 +179,7 @@ module Falcon
179
179
  end
180
180
 
181
181
  # Get rules entities for specified ids.
182
- # @param body [MsaIdsRequest]
182
+ # @param body [MsaIdsRequest]
183
183
  # @param [Hash] opts the optional parameters
184
184
  # @return [Array<(DomainRuleEntitiesResponse, Integer, Hash)>] DomainRuleEntitiesResponse data, response status code and response headers
185
185
  def get_rules_entities_with_http_info(body, opts = {})
@@ -359,9 +359,17 @@ module Falcon
359
359
  # @param [String] mime MIME
360
360
  # @return [Boolean] True if the MIME is application/json
361
361
  def json_mime?(mime)
362
- (mime == "*/*") || !(mime =~ /Application\/.*json(?!p)(;.*)?/i).nil?
362
+ mime = mime.downcase
363
+ return true if mime == '*/*'
364
+
365
+ mime_type, subtype = mime.split('/')
366
+ return false unless mime_type == 'application'
367
+
368
+ subtype_main = subtype.split(';').first
369
+ subtype_main == 'json' || subtype_main == 'jsonp'
363
370
  end
364
371
 
372
+
365
373
  # Deserialize the response to the given return type.
366
374
  #
367
375
  # @param [Response] response HTTP response
@@ -443,7 +451,7 @@ module Falcon
443
451
  # @param [String] filename the filename to be sanitized
444
452
  # @return [String] the sanitized filename
445
453
  def sanitize_filename(filename)
446
- filename.gsub(/.*[\/\\]/, "")
454
+ File.basename(filename.gsub("\\", "/")) unless filename.nil?
447
455
  end
448
456
 
449
457
  def build_request_url(path, opts = {})
@@ -33,5 +33,5 @@ CrowdStrike Swagger API Version: 2023-05-30T23:10:32Z
33
33
  =end
34
34
 
35
35
  module Falcon
36
- VERSION = '0.1.2'.freeze
36
+ VERSION = '0.2.1'.freeze
37
37
  end
@@ -70,7 +70,7 @@ describe 'AlertsApi' do
70
70
  end
71
71
 
72
72
  # unit tests for patch_entities_alerts_v2
73
- # Perform actions on detections identified by detection ID(s) in request. Each action has a name and a description which describes what the action does. If a request adds and removes tag in a single request, the order of processing would be to remove tags before adding new ones in.
73
+ # Perform actions on detections identified by detection ID(s) in request. Each action has a name and a description which describes what the action does. If a request adds and removes tag in a single request, the order of processing would be to remove tags before adding new ones in.
74
74
  # @param body request body takes a list of action parameter request that is applied against all \&quot;ids\&quot; provided
75
75
  # @param [Hash] opts the optional parameters
76
76
  # @return [MsaspecResponseFields]
@@ -93,7 +93,7 @@ describe 'AlertsApi' do
93
93
 
94
94
  # unit tests for post_entities_alerts_v1
95
95
  # retrieves all Alerts given their ids
96
- # @param body
96
+ # @param body
97
97
  # @param [Hash] opts the optional parameters
98
98
  # @return [DetectsapiPostEntitiesAlertsV1Response]
99
99
  describe 'post_entities_alerts_v1 test' do
@@ -56,7 +56,7 @@ describe 'CloudConnectAwsApi' do
56
56
 
57
57
  # unit tests for create_or_update_aws_settings
58
58
  # Create or update Global Settings which are applicable to all provisioned AWS accounts
59
- # @param body
59
+ # @param body
60
60
  # @param [Hash] opts the optional parameters
61
61
  # @return [ModelsCustomerConfigurationsV1]
62
62
  describe 'create_or_update_aws_settings test' do
@@ -99,7 +99,7 @@ describe 'CloudConnectAwsApi' do
99
99
 
100
100
  # unit tests for provision_aws_accounts
101
101
  # Provision AWS Accounts by specifying details about the accounts to provision
102
- # @param body
102
+ # @param body
103
103
  # @param [Hash] opts the optional parameters
104
104
  # @option opts [String] :mode Mode for provisioning. Allowed values are &#x60;manual&#x60; or &#x60;cloudformation&#x60;. Defaults to manual if not defined.
105
105
  # @return [ModelsAWSAccountsV1]
@@ -139,7 +139,7 @@ describe 'CloudConnectAwsApi' do
139
139
 
140
140
  # unit tests for update_aws_accounts
141
141
  # Update AWS Accounts by specifying the ID of the account and details to update
142
- # @param body
142
+ # @param body
143
143
  # @param [Hash] opts the optional parameters
144
144
  # @return [ModelsAWSAccountsV1]
145
145
  describe 'update_aws_accounts test' do
@@ -69,7 +69,7 @@ describe 'CspmRegistrationApi' do
69
69
 
70
70
  # unit tests for create_cspm_aws_account
71
71
  # Creates a new account in our system for a customer and generates a script for them to run in their AWS cloud environment to grant us access.
72
- # @param body
72
+ # @param body
73
73
  # @param [Hash] opts the optional parameters
74
74
  # @return [RegistrationAWSAccountResponseV2]
75
75
  describe 'create_cspm_aws_account test' do
@@ -80,7 +80,7 @@ describe 'CspmRegistrationApi' do
80
80
 
81
81
  # unit tests for create_cspm_azure_account
82
82
  # Creates a new account in our system for a customer and generates a script for them to run in their cloud environment to grant us access.
83
- # @param body
83
+ # @param body
84
84
  # @param [Hash] opts the optional parameters
85
85
  # @return [RegistrationAzureAccountResponseV1]
86
86
  describe 'create_cspm_azure_account test' do
@@ -106,7 +106,7 @@ describe 'CspmRegistrationApi' do
106
106
  # @param [Hash] opts the optional parameters
107
107
  # @option opts [Array<String>] :ids Azure subscription IDs to remove
108
108
  # @option opts [Array<String>] :tenant_ids Tenant ids to remove
109
- # @option opts [String] :retain_tenant
109
+ # @option opts [String] :retain_tenant
110
110
  # @return [MsaBaseEntitiesResponse]
111
111
  describe 'delete_cspm_azure_account test' do
112
112
  it 'should work' do
@@ -152,7 +152,7 @@ describe 'CspmRegistrationApi' do
152
152
  # unit tests for get_configuration_detection_ids_v2
153
153
  # Get list of active misconfiguration ids - including custom policy detections in addition to default policy detections.
154
154
  # @param [Hash] opts the optional parameters
155
- # @option opts [String] :filter use_current_scan_ids - *use this to get records for latest scans* account_name account_id agent_id attack_types azure_subscription_id cloud_provider cloud_service_keyword custom_policy_id is_managed policy_id policy_type resource_id region status scan_time severity severity_string
155
+ # @option opts [String] :filter use_current_scan_ids - *use this to get records for latest scans* account_name account_id agent_id attack_types azure_subscription_id cloud_provider cloud_service_keyword custom_policy_id is_managed policy_id policy_type resource_id region status scan_time severity severity_string
156
156
  # @option opts [String] :sort account_name account_id attack_types azure_subscription_id cloud_provider cloud_service_keyword status is_managed policy_id policy_type resource_id region scan_time severity severity_string timestamp
157
157
  # @option opts [Integer] :limit The max number of detections to return
158
158
  # @option opts [Integer] :offset Offset returned detections
@@ -217,7 +217,7 @@ describe 'CspmRegistrationApi' do
217
217
  # Return a URL for customer to visit in their cloud environment to grant us access to their AWS environment.
218
218
  # @param [Hash] opts the optional parameters
219
219
  # @option opts [Array<String>] :ids AWS account IDs
220
- # @option opts [String] :use_existing_cloudtrail
220
+ # @option opts [String] :use_existing_cloudtrail
221
221
  # @option opts [String] :region Region
222
222
  # @return [RegistrationAWSAccountConsoleURL]
223
223
  describe 'get_cspm_aws_console_setup_urls test' do
@@ -247,7 +247,7 @@ describe 'CspmRegistrationApi' do
247
247
  # @param [Hash] opts the optional parameters
248
248
  # @option opts [String] :tenant_id Tenant ID to generate script for. Defaults to most recently registered tenant.
249
249
  # @option opts [Array<String>] :subscription_ids Subscription IDs to generate script for. Defaults to all.
250
- # @option opts [String] :account_type
250
+ # @option opts [String] :account_type
251
251
  # @option opts [String] :template Template to be rendered
252
252
  # @return [RegistrationAzureProvisionGetUserScriptResponseV1]
253
253
  describe 'get_cspm_azure_user_scripts_attachment test' do
@@ -304,7 +304,7 @@ describe 'CspmRegistrationApi' do
304
304
 
305
305
  # unit tests for patch_cspm_aws_account
306
306
  # Patches a existing account in our system for a customer.
307
- # @param body
307
+ # @param body
308
308
  # @param [Hash] opts the optional parameters
309
309
  # @return [RegistrationAWSAccountResponseV2]
310
310
  describe 'patch_cspm_aws_account test' do
@@ -339,7 +339,7 @@ describe 'CspmRegistrationApi' do
339
339
 
340
340
  # unit tests for update_cspm_policy_settings
341
341
  # Updates a policy setting - can be used to override policy severity or to disable a policy entirely.
342
- # @param body
342
+ # @param body
343
343
  # @param [Hash] opts the optional parameters
344
344
  # @return [RegistrationPolicySettingsResponseV1]
345
345
  describe 'update_cspm_policy_settings test' do
@@ -350,7 +350,7 @@ describe 'CspmRegistrationApi' do
350
350
 
351
351
  # unit tests for update_cspm_scan_schedule
352
352
  # Updates scan schedule configuration for one or more cloud platforms.
353
- # @param body
353
+ # @param body
354
354
  # @param [Hash] opts the optional parameters
355
355
  # @return [RegistrationScanScheduleResponseV1]
356
356
  describe 'update_cspm_scan_schedule test' do
@@ -56,7 +56,7 @@ describe 'CustomIoaApi' do
56
56
 
57
57
  # unit tests for create_rule
58
58
  # Create a rule within a rule group. Returns the rule.
59
- # @param body
59
+ # @param body
60
60
  # @param [Hash] opts the optional parameters
61
61
  # @return [ApiRulesResponse]
62
62
  describe 'create_rule test' do
@@ -67,7 +67,7 @@ describe 'CustomIoaApi' do
67
67
 
68
68
  # unit tests for create_rule_group_mixin0
69
69
  # Create a rule group for a platform with a name and an optional description. Returns the rule group.
70
- # @param body
70
+ # @param body
71
71
  # @param [Hash] opts the optional parameters
72
72
  # @return [ApiRuleGroupsResponse]
73
73
  describe 'create_rule_group_mixin0 test' do
@@ -250,7 +250,7 @@ describe 'CustomIoaApi' do
250
250
 
251
251
  # unit tests for update_rule_group_mixin0
252
252
  # Update a rule group. The following properties can be modified: name, description, enabled.
253
- # @param body
253
+ # @param body
254
254
  # @param [Hash] opts the optional parameters
255
255
  # @return [ApiRuleGroupsResponse]
256
256
  describe 'update_rule_group_mixin0 test' do
@@ -261,7 +261,7 @@ describe 'CustomIoaApi' do
261
261
 
262
262
  # unit tests for update_rules
263
263
  # Update rules within a rule group. Return the updated rules.
264
- # @param body
264
+ # @param body
265
265
  # @param [Hash] opts the optional parameters
266
266
  # @return [ApiRulesResponse]
267
267
  describe 'update_rules test' do
@@ -272,7 +272,7 @@ describe 'CustomIoaApi' do
272
272
 
273
273
  # unit tests for validate
274
274
  # Validates field values and checks for matches if a test string is provided.
275
- # @param body
275
+ # @param body
276
276
  # @param [Hash] opts the optional parameters
277
277
  # @return [ApiValidationResponseV1]
278
278
  describe 'validate test' do
@@ -56,7 +56,7 @@ describe 'D4cRegistrationApi' do
56
56
 
57
57
  # unit tests for create_d4_c_aws_account
58
58
  # Creates a new account in our system for a customer and generates a script for them to run in their AWS cloud environment to grant us access.
59
- # @param body
59
+ # @param body
60
60
  # @param [Hash] opts the optional parameters
61
61
  # @return [RegistrationAWSAccountResponseV2]
62
62
  describe 'create_d4_c_aws_account test' do
@@ -67,7 +67,7 @@ describe 'D4cRegistrationApi' do
67
67
 
68
68
  # unit tests for create_d4_cgcp_account
69
69
  # Creates a new account in our system for a customer and generates a new service account for them to add access to in their GCP environment to grant us access.
70
- # @param body
70
+ # @param body
71
71
  # @param [Hash] opts the optional parameters
72
72
  # @return [RegistrationGCPAccountResponseV1]
73
73
  describe 'create_d4_cgcp_account test' do
@@ -78,7 +78,7 @@ describe 'D4cRegistrationApi' do
78
78
 
79
79
  # unit tests for create_discover_cloud_azure_account
80
80
  # Creates a new account in our system for a customer and generates a script for them to run in their cloud environment to grant us access.
81
- # @param body
81
+ # @param body
82
82
  # @param [Hash] opts the optional parameters
83
83
  # @return [RegistrationAzureAccountResponseV1]
84
84
  describe 'create_discover_cloud_azure_account test' do
@@ -233,7 +233,7 @@ describe 'D4cRegistrationApi' do
233
233
  # @param [Hash] opts the optional parameters
234
234
  # @option opts [String] :single_account Get static script for single account
235
235
  # @option opts [String] :organization_id AWS organization ID
236
- # @option opts [String] :delete
236
+ # @option opts [String] :delete
237
237
  # @option opts [String] :account_type Account type (e.g.: commercial,gov) Only applicable when registering AWS commercial account in a Gov environment
238
238
  # @return [RegistrationStaticScriptsResponse]
239
239
  describe 'get_horizon_d4_c_scripts test' do
@@ -56,7 +56,7 @@ describe 'DeviceControlPoliciesApi' do
56
56
 
57
57
  # unit tests for create_device_control_policies
58
58
  # Create Device Control 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 [DeviceControlRespV2]
62
62
  describe 'create_device_control_policies test' do
@@ -100,7 +100,7 @@ describe 'DeviceControlPoliciesApi' do
100
100
  # unit tests for perform_device_control_policies_action
101
101
  # Perform the specified action on the Device Control Policies specified in the request
102
102
  # @param action_name The action to perform
103
- # @param body
103
+ # @param body
104
104
  # @param [Hash] opts the optional parameters
105
105
  # @return [DeviceControlRespV1]
106
106
  describe 'perform_device_control_policies_action test' do
@@ -169,7 +169,7 @@ describe 'DeviceControlPoliciesApi' do
169
169
 
170
170
  # unit tests for set_device_control_policies_precedence
171
171
  # Sets the precedence of Device Control 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
172
- # @param body
172
+ # @param body
173
173
  # @param [Hash] opts the optional parameters
174
174
  # @return [MsaQueryResponse]
175
175
  describe 'set_device_control_policies_precedence test' do
@@ -180,7 +180,7 @@ describe 'DeviceControlPoliciesApi' do
180
180
 
181
181
  # unit tests for update_default_device_control_policies
182
182
  # Update the configuration for a Default Device Control Policy
183
- # @param body
183
+ # @param body
184
184
  # @param [Hash] opts the optional parameters
185
185
  # @return [DeviceControlRespV1]
186
186
  describe 'update_default_device_control_policies test' do
@@ -191,7 +191,7 @@ describe 'DeviceControlPoliciesApi' do
191
191
 
192
192
  # unit tests for update_device_control_policies
193
193
  # Update Device Control Policies by specifying the ID of the policy and details to update
194
- # @param body
194
+ # @param body
195
195
  # @param [Hash] opts the optional parameters
196
196
  # @return [DeviceControlRespV1]
197
197
  describe 'update_device_control_policies test' do
@@ -56,7 +56,7 @@ describe 'FalconCompleteDashboardApi' do
56
56
 
57
57
  # unit tests for aggregate_allow_list
58
58
  # Retrieve aggregate allowlist ticket 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_allow_list test' do
@@ -67,7 +67,7 @@ describe 'FalconCompleteDashboardApi' do
67
67
 
68
68
  # unit tests for aggregate_block_list
69
69
  # Retrieve aggregate blocklist ticket values based on the matched filter
70
- # @param body
70
+ # @param body
71
71
  # @param [Hash] opts the optional parameters
72
72
  # @return [MsaAggregatesResponse]
73
73
  describe 'aggregate_block_list test' do
@@ -79,7 +79,7 @@ describe 'FalconCompleteDashboardApi' do
79
79
  # unit tests for aggregate_detections
80
80
  # Retrieve aggregate detection values based on the matched filter
81
81
  # Fields allowed to aggregate on: - indexed_time - created_time - detect_time - ldt - cid - aid - platform_name - os_version - device_tags - host_name - status - severity - adversary_ids - behavior_ids - behavior_names - num_blocked_processes - num_quarantined_files - pattern_ids - first_behavior_time - last_behavior_time - show_in_ui - seconds_to_triaged - seconds_to_resolved - assigned_to_uid - public_tags - vertical_tags
82
- # @param body
82
+ # @param body
83
83
  # @param [Hash] opts the optional parameters
84
84
  # @return [MsaAggregatesResponse]
85
85
  describe 'aggregate_detections test' do
@@ -90,7 +90,7 @@ describe 'FalconCompleteDashboardApi' do
90
90
 
91
91
  # unit tests for aggregate_device_count_collection
92
92
  # Retrieve aggregate host/devices count based on the matched filter
93
- # @param body
93
+ # @param body
94
94
  # @param [Hash] opts the optional parameters
95
95
  # @return [MsaAggregatesResponse]
96
96
  describe 'aggregate_device_count_collection test' do
@@ -101,7 +101,7 @@ describe 'FalconCompleteDashboardApi' do
101
101
 
102
102
  # unit tests for aggregate_escalations
103
103
  # Retrieve aggregate escalation ticket values based on the matched filter
104
- # @param body
104
+ # @param body
105
105
  # @param [Hash] opts the optional parameters
106
106
  # @return [MsaAggregatesResponse]
107
107
  describe 'aggregate_escalations test' do
@@ -112,7 +112,7 @@ describe 'FalconCompleteDashboardApi' do
112
112
 
113
113
  # unit tests for aggregate_fc_incidents
114
114
  # Retrieve aggregate incident values based on the matched filter
115
- # @param body
115
+ # @param body
116
116
  # @param [Hash] opts the optional parameters
117
117
  # @return [MsaAggregatesResponse]
118
118
  describe 'aggregate_fc_incidents test' do
@@ -123,7 +123,7 @@ describe 'FalconCompleteDashboardApi' do
123
123
 
124
124
  # unit tests for aggregate_remediations
125
125
  # Retrieve aggregate remediation ticket values based on the matched filter
126
- # @param body
126
+ # @param body
127
127
  # @param [Hash] opts the optional parameters
128
128
  # @return [MsaAggregatesResponse]
129
129
  describe 'aggregate_remediations test' do
@@ -56,7 +56,7 @@ describe 'FalconContainerCliApi' do
56
56
 
57
57
  # unit tests for read_image_vulnerabilities
58
58
  # Retrieve known vulnerabilities for the provided image
59
- # @param body
59
+ # @param body
60
60
  # @param [Hash] opts the optional parameters
61
61
  # @return [CoreEntitiesResponse]
62
62
  describe 'read_image_vulnerabilities test' do
@@ -56,7 +56,7 @@ describe 'FalconContainerImageApi' do
56
56
 
57
57
  # unit tests for create_registry_entities
58
58
  # Create a registry entity using the provided details
59
- # @param body
59
+ # @param body
60
60
  # @param [Hash] opts the optional parameters
61
61
  # @return [DomainExternalRegistryResponse]
62
62
  describe 'create_registry_entities test' do
@@ -103,7 +103,7 @@ describe 'FalconContainerImageApi' do
103
103
  # unit tests for update_registry_entities
104
104
  # Update the registry entity, as identified by the entity UUID, using the provided details
105
105
  # @param id Registry entity UUID
106
- # @param body
106
+ # @param body
107
107
  # @param [Hash] opts the optional parameters
108
108
  # @return [DomainExternalRegistryResponse]
109
109
  describe 'update_registry_entities test' do