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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f3687cfcf6757911d841c6e46de04d7271029eb88c6a2f37ca811287ddc6d88
|
4
|
+
data.tar.gz: 342736c69fef8789af32fe21ea9a3ea945c24d6d166481891c8c0460e25731fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ea1cb88447ba4d7e3260d9c7e077be2f5cc91a7da6aca24ed5d4395af6303ff992d3af1486266422bb22ce7255b45dc74af5495063ef4bc2ef1cc20fba27ce0
|
7
|
+
data.tar.gz: 67fac6ce0051bdb7000c20cf620661285cc3d66bdfb09e3aae306a7c9bc10e03eeede5d3aa889e20eca243f5389397e47cb39b341a6dce9afa9b7a1f053919c2
|
data/README.md
CHANGED
@@ -19,10 +19,9 @@ gem install crimson-falcon
|
|
19
19
|
Add this to the Gemfile:
|
20
20
|
<!-- x-release-please-start-version -->
|
21
21
|
```ruby
|
22
|
-
gem 'crimson-falcon', '~> 0.
|
22
|
+
gem 'crimson-falcon', '~> 0.2.0'
|
23
23
|
```
|
24
24
|
<!-- x-release-please-end -->
|
25
|
-
|
26
25
|
### From Source to Gem: Building the Ruby Code
|
27
26
|
|
28
27
|
To build the Ruby code into a gem:
|
@@ -34,13 +33,13 @@ gem build crimson-falcon.gemspec
|
|
34
33
|
Then install the gem locally:
|
35
34
|
<!-- x-release-please-start-version -->
|
36
35
|
```shell
|
37
|
-
gem install ./crimson-falcon-0.
|
36
|
+
gem install ./crimson-falcon-0.2.0.gem
|
38
37
|
```
|
39
38
|
<!-- x-release-please-end -->
|
40
39
|
Finally, add this to the Gemfile:
|
41
40
|
<!-- x-release-please-start-version -->
|
42
41
|
```ruby
|
43
|
-
gem 'crimson-falcon', '~> 0.
|
42
|
+
gem 'crimson-falcon', '~> 0.2.0'
|
44
43
|
```
|
45
44
|
<!-- x-release-please-end -->
|
46
45
|
### Install from Git
|
@@ -115,7 +114,7 @@ Welcome aboard the Crimson Falcon! Fly high, code with grace.
|
|
115
114
|
|
116
115
|
- **Operation**: [**patch_entities_alerts_v2**](docs/AlertsApi.md#patch_entities_alerts_v2)
|
117
116
|
- **PATCH**: /alerts/entities/alerts/v2
|
118
|
-
- **Description**: 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.
|
117
|
+
- **Description**: 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.
|
119
118
|
|
120
119
|
---
|
121
120
|
|
@@ -2595,7 +2594,7 @@ Welcome aboard the Crimson Falcon! Fly high, code with grace.
|
|
2595
2594
|
|
2596
2595
|
- **Operation**: [**add_role**](docs/MsspApi.md#add_role)
|
2597
2596
|
- **POST**: /mssp/entities/mssp-roles/v1
|
2598
|
-
- **Description**: 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.
|
2597
|
+
- **Description**: 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.
|
2599
2598
|
|
2600
2599
|
---
|
2601
2600
|
|
data/crimson-falcon.gemspec
CHANGED
@@ -48,6 +48,9 @@ Gem::Specification.new do |s|
|
|
48
48
|
s.description = "Use CrowdStrike Falcon APIs to interact with Falcon platform."
|
49
49
|
s.license = "Unlicense"
|
50
50
|
s.required_ruby_version = ">= 2.7"
|
51
|
+
s.metadata = {
|
52
|
+
"documentation_uri" => "https://github.com/CrowdStrike/crimson-falcon/blob/main/README.md#crimson-falcon-api-docs"
|
53
|
+
}
|
51
54
|
|
52
55
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
53
56
|
s.add_runtime_dependency 'jwt', '~> 2.2', '>= 2.2.2'
|
@@ -119,7 +119,7 @@ module Falcon
|
|
119
119
|
return data, status_code, headers
|
120
120
|
end
|
121
121
|
|
122
|
-
# 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.
|
122
|
+
# 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.
|
123
123
|
# @param body [DetectsapiPatchEntitiesAlertsV2Request] request body takes a list of action parameter request that is applied against all \"ids\" provided
|
124
124
|
# @param [Hash] opts the optional parameters
|
125
125
|
# @return [MsaspecResponseFields]
|
@@ -128,7 +128,7 @@ module Falcon
|
|
128
128
|
data
|
129
129
|
end
|
130
130
|
|
131
|
-
# 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.
|
131
|
+
# 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.
|
132
132
|
# @param body [DetectsapiPatchEntitiesAlertsV2Request] request body takes a list of action parameter request that is applied against all \"ids\" provided
|
133
133
|
# @param [Hash] opts the optional parameters
|
134
134
|
# @return [Array<(MsaspecResponseFields, Integer, Hash)>] MsaspecResponseFields data, response status code and response headers
|
@@ -252,7 +252,7 @@ module Falcon
|
|
252
252
|
end
|
253
253
|
|
254
254
|
# retrieves all Alerts given their ids
|
255
|
-
# @param body [DetectsapiPostEntitiesAlertsV1Request]
|
255
|
+
# @param body [DetectsapiPostEntitiesAlertsV1Request]
|
256
256
|
# @param [Hash] opts the optional parameters
|
257
257
|
# @return [DetectsapiPostEntitiesAlertsV1Response]
|
258
258
|
def post_entities_alerts_v1(body, opts = {})
|
@@ -261,7 +261,7 @@ module Falcon
|
|
261
261
|
end
|
262
262
|
|
263
263
|
# retrieves all Alerts given their ids
|
264
|
-
# @param body [DetectsapiPostEntitiesAlertsV1Request]
|
264
|
+
# @param body [DetectsapiPostEntitiesAlertsV1Request]
|
265
265
|
# @param [Hash] opts the optional parameters
|
266
266
|
# @return [Array<(DetectsapiPostEntitiesAlertsV1Response, Integer, Hash)>] DetectsapiPostEntitiesAlertsV1Response data, response status code and response headers
|
267
267
|
def post_entities_alerts_v1_with_http_info(body, opts = {})
|
@@ -42,7 +42,7 @@ module Falcon
|
|
42
42
|
@api_client = api_client
|
43
43
|
end
|
44
44
|
# Create or update Global Settings which are applicable to all provisioned AWS accounts
|
45
|
-
# @param body [ModelsModifyAWSCustomerSettingsV1]
|
45
|
+
# @param body [ModelsModifyAWSCustomerSettingsV1]
|
46
46
|
# @param [Hash] opts the optional parameters
|
47
47
|
# @return [ModelsCustomerConfigurationsV1]
|
48
48
|
def create_or_update_aws_settings(body, opts = {})
|
@@ -51,7 +51,7 @@ module Falcon
|
|
51
51
|
end
|
52
52
|
|
53
53
|
# Create or update Global Settings which are applicable to all provisioned AWS accounts
|
54
|
-
# @param body [ModelsModifyAWSCustomerSettingsV1]
|
54
|
+
# @param body [ModelsModifyAWSCustomerSettingsV1]
|
55
55
|
# @param [Hash] opts the optional parameters
|
56
56
|
# @return [Array<(ModelsCustomerConfigurationsV1, Integer, Hash)>] ModelsCustomerConfigurationsV1 data, response status code and response headers
|
57
57
|
def create_or_update_aws_settings_with_http_info(body, opts = {})
|
@@ -291,7 +291,7 @@ module Falcon
|
|
291
291
|
end
|
292
292
|
|
293
293
|
# Provision AWS Accounts by specifying details about the accounts to provision
|
294
|
-
# @param body [ModelsCreateAWSAccountsV1]
|
294
|
+
# @param body [ModelsCreateAWSAccountsV1]
|
295
295
|
# @param [Hash] opts the optional parameters
|
296
296
|
# @option opts [String] :mode Mode for provisioning. Allowed values are `manual` or `cloudformation`. Defaults to manual if not defined. (default to 'manual')
|
297
297
|
# @return [ModelsAWSAccountsV1]
|
@@ -301,7 +301,7 @@ module Falcon
|
|
301
301
|
end
|
302
302
|
|
303
303
|
# Provision AWS Accounts by specifying details about the accounts to provision
|
304
|
-
# @param body [ModelsCreateAWSAccountsV1]
|
304
|
+
# @param body [ModelsCreateAWSAccountsV1]
|
305
305
|
# @param [Hash] opts the optional parameters
|
306
306
|
# @option opts [String] :mode Mode for provisioning. Allowed values are `manual` or `cloudformation`. Defaults to manual if not defined. (default to 'manual')
|
307
307
|
# @return [Array<(ModelsAWSAccountsV1, Integer, Hash)>] ModelsAWSAccountsV1 data, response status code and response headers
|
@@ -498,7 +498,7 @@ module Falcon
|
|
498
498
|
end
|
499
499
|
|
500
500
|
# Update AWS Accounts by specifying the ID of the account and details to update
|
501
|
-
# @param body [ModelsUpdateAWSAccountsV1]
|
501
|
+
# @param body [ModelsUpdateAWSAccountsV1]
|
502
502
|
# @param [Hash] opts the optional parameters
|
503
503
|
# @return [ModelsAWSAccountsV1]
|
504
504
|
def update_aws_accounts(body, opts = {})
|
@@ -507,7 +507,7 @@ module Falcon
|
|
507
507
|
end
|
508
508
|
|
509
509
|
# Update AWS Accounts by specifying the ID of the account and details to update
|
510
|
-
# @param body [ModelsUpdateAWSAccountsV1]
|
510
|
+
# @param body [ModelsUpdateAWSAccountsV1]
|
511
511
|
# @param [Hash] opts the optional parameters
|
512
512
|
# @return [Array<(ModelsAWSAccountsV1, Integer, Hash)>] ModelsAWSAccountsV1 data, response status code and response headers
|
513
513
|
def update_aws_accounts_with_http_info(body, opts = {})
|
@@ -123,7 +123,7 @@ module Falcon
|
|
123
123
|
end
|
124
124
|
|
125
125
|
# 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.
|
126
|
-
# @param body [RegistrationAWSAccountCreateRequestExtV2]
|
126
|
+
# @param body [RegistrationAWSAccountCreateRequestExtV2]
|
127
127
|
# @param [Hash] opts the optional parameters
|
128
128
|
# @return [RegistrationAWSAccountResponseV2]
|
129
129
|
def create_cspm_aws_account(body, opts = {})
|
@@ -132,7 +132,7 @@ module Falcon
|
|
132
132
|
end
|
133
133
|
|
134
134
|
# 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.
|
135
|
-
# @param body [RegistrationAWSAccountCreateRequestExtV2]
|
135
|
+
# @param body [RegistrationAWSAccountCreateRequestExtV2]
|
136
136
|
# @param [Hash] opts the optional parameters
|
137
137
|
# @return [Array<(RegistrationAWSAccountResponseV2, Integer, Hash)>] RegistrationAWSAccountResponseV2 data, response status code and response headers
|
138
138
|
def create_cspm_aws_account_with_http_info(body, opts = {})
|
@@ -189,7 +189,7 @@ module Falcon
|
|
189
189
|
end
|
190
190
|
|
191
191
|
# 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.
|
192
|
-
# @param body [RegistrationAzureAccountCreateRequestExternalV1]
|
192
|
+
# @param body [RegistrationAzureAccountCreateRequestExternalV1]
|
193
193
|
# @param [Hash] opts the optional parameters
|
194
194
|
# @return [RegistrationAzureAccountResponseV1]
|
195
195
|
def create_cspm_azure_account(body, opts = {})
|
@@ -198,7 +198,7 @@ module Falcon
|
|
198
198
|
end
|
199
199
|
|
200
200
|
# 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.
|
201
|
-
# @param body [RegistrationAzureAccountCreateRequestExternalV1]
|
201
|
+
# @param body [RegistrationAzureAccountCreateRequestExternalV1]
|
202
202
|
# @param [Hash] opts the optional parameters
|
203
203
|
# @return [Array<(RegistrationAzureAccountResponseV1, Integer, Hash)>] RegistrationAzureAccountResponseV1 data, response status code and response headers
|
204
204
|
def create_cspm_azure_account_with_http_info(body, opts = {})
|
@@ -319,7 +319,7 @@ module Falcon
|
|
319
319
|
# @param [Hash] opts the optional parameters
|
320
320
|
# @option opts [Array<String>] :ids Azure subscription IDs to remove
|
321
321
|
# @option opts [Array<String>] :tenant_ids Tenant ids to remove
|
322
|
-
# @option opts [String] :retain_tenant
|
322
|
+
# @option opts [String] :retain_tenant
|
323
323
|
# @return [MsaBaseEntitiesResponse]
|
324
324
|
def delete_cspm_azure_account(opts = {})
|
325
325
|
data, _status_code, _headers = delete_cspm_azure_account_with_http_info(opts)
|
@@ -330,7 +330,7 @@ module Falcon
|
|
330
330
|
# @param [Hash] opts the optional parameters
|
331
331
|
# @option opts [Array<String>] :ids Azure subscription IDs to remove
|
332
332
|
# @option opts [Array<String>] :tenant_ids Tenant ids to remove
|
333
|
-
# @option opts [String] :retain_tenant
|
333
|
+
# @option opts [String] :retain_tenant
|
334
334
|
# @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
|
335
335
|
def delete_cspm_azure_account_with_http_info(opts = {})
|
336
336
|
if @api_client.config.debugging
|
@@ -579,7 +579,7 @@ module Falcon
|
|
579
579
|
|
580
580
|
# Get list of active misconfiguration ids - including custom policy detections in addition to default policy detections.
|
581
581
|
# @param [Hash] opts the optional parameters
|
582
|
-
# @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
|
582
|
+
# @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
|
583
583
|
# @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 (default to 'timestamp|desc')
|
584
584
|
# @option opts [Integer] :limit The max number of detections to return (default to 500)
|
585
585
|
# @option opts [Integer] :offset Offset returned detections
|
@@ -591,7 +591,7 @@ module Falcon
|
|
591
591
|
|
592
592
|
# Get list of active misconfiguration ids - including custom policy detections in addition to default policy detections.
|
593
593
|
# @param [Hash] opts the optional parameters
|
594
|
-
# @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
|
594
|
+
# @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
|
595
595
|
# @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 (default to 'timestamp|desc')
|
596
596
|
# @option opts [Integer] :limit The max number of detections to return (default to 500)
|
597
597
|
# @option opts [Integer] :offset Offset returned detections
|
@@ -941,7 +941,7 @@ module Falcon
|
|
941
941
|
# Return a URL for customer to visit in their cloud environment to grant us access to their AWS environment.
|
942
942
|
# @param [Hash] opts the optional parameters
|
943
943
|
# @option opts [Array<String>] :ids AWS account IDs
|
944
|
-
# @option opts [String] :use_existing_cloudtrail
|
944
|
+
# @option opts [String] :use_existing_cloudtrail
|
945
945
|
# @option opts [String] :region Region
|
946
946
|
# @return [RegistrationAWSAccountConsoleURL]
|
947
947
|
def get_cspm_aws_console_setup_urls(opts = {})
|
@@ -952,7 +952,7 @@ module Falcon
|
|
952
952
|
# Return a URL for customer to visit in their cloud environment to grant us access to their AWS environment.
|
953
953
|
# @param [Hash] opts the optional parameters
|
954
954
|
# @option opts [Array<String>] :ids AWS account IDs
|
955
|
-
# @option opts [String] :use_existing_cloudtrail
|
955
|
+
# @option opts [String] :use_existing_cloudtrail
|
956
956
|
# @option opts [String] :region Region
|
957
957
|
# @return [Array<(RegistrationAWSAccountConsoleURL, Integer, Hash)>] RegistrationAWSAccountConsoleURL data, response status code and response headers
|
958
958
|
def get_cspm_aws_console_setup_urls_with_http_info(opts = {})
|
@@ -1111,7 +1111,7 @@ module Falcon
|
|
1111
1111
|
# @param [Hash] opts the optional parameters
|
1112
1112
|
# @option opts [String] :tenant_id Tenant ID to generate script for. Defaults to most recently registered tenant.
|
1113
1113
|
# @option opts [Array<String>] :subscription_ids Subscription IDs to generate script for. Defaults to all.
|
1114
|
-
# @option opts [String] :account_type
|
1114
|
+
# @option opts [String] :account_type
|
1115
1115
|
# @option opts [String] :template Template to be rendered
|
1116
1116
|
# @return [RegistrationAzureProvisionGetUserScriptResponseV1]
|
1117
1117
|
def get_cspm_azure_user_scripts_attachment(opts = {})
|
@@ -1123,7 +1123,7 @@ module Falcon
|
|
1123
1123
|
# @param [Hash] opts the optional parameters
|
1124
1124
|
# @option opts [String] :tenant_id Tenant ID to generate script for. Defaults to most recently registered tenant.
|
1125
1125
|
# @option opts [Array<String>] :subscription_ids Subscription IDs to generate script for. Defaults to all.
|
1126
|
-
# @option opts [String] :account_type
|
1126
|
+
# @option opts [String] :account_type
|
1127
1127
|
# @option opts [String] :template Template to be rendered
|
1128
1128
|
# @return [Array<(RegistrationAzureProvisionGetUserScriptResponseV1, Integer, Hash)>] RegistrationAzureProvisionGetUserScriptResponseV1 data, response status code and response headers
|
1129
1129
|
def get_cspm_azure_user_scripts_attachment_with_http_info(opts = {})
|
@@ -1466,7 +1466,7 @@ module Falcon
|
|
1466
1466
|
end
|
1467
1467
|
|
1468
1468
|
# Patches a existing account in our system for a customer.
|
1469
|
-
# @param body [RegistrationAWSAccountPatchRequest]
|
1469
|
+
# @param body [RegistrationAWSAccountPatchRequest]
|
1470
1470
|
# @param [Hash] opts the optional parameters
|
1471
1471
|
# @return [RegistrationAWSAccountResponseV2]
|
1472
1472
|
def patch_cspm_aws_account(body, opts = {})
|
@@ -1475,7 +1475,7 @@ module Falcon
|
|
1475
1475
|
end
|
1476
1476
|
|
1477
1477
|
# Patches a existing account in our system for a customer.
|
1478
|
-
# @param body [RegistrationAWSAccountPatchRequest]
|
1478
|
+
# @param body [RegistrationAWSAccountPatchRequest]
|
1479
1479
|
# @param [Hash] opts the optional parameters
|
1480
1480
|
# @return [Array<(RegistrationAWSAccountResponseV2, Integer, Hash)>] RegistrationAWSAccountResponseV2 data, response status code and response headers
|
1481
1481
|
def patch_cspm_aws_account_with_http_info(body, opts = {})
|
@@ -1714,7 +1714,7 @@ module Falcon
|
|
1714
1714
|
end
|
1715
1715
|
|
1716
1716
|
# Updates a policy setting - can be used to override policy severity or to disable a policy entirely.
|
1717
|
-
# @param body [RegistrationPolicyRequestExtV1]
|
1717
|
+
# @param body [RegistrationPolicyRequestExtV1]
|
1718
1718
|
# @param [Hash] opts the optional parameters
|
1719
1719
|
# @return [RegistrationPolicySettingsResponseV1]
|
1720
1720
|
def update_cspm_policy_settings(body, opts = {})
|
@@ -1723,7 +1723,7 @@ module Falcon
|
|
1723
1723
|
end
|
1724
1724
|
|
1725
1725
|
# Updates a policy setting - can be used to override policy severity or to disable a policy entirely.
|
1726
|
-
# @param body [RegistrationPolicyRequestExtV1]
|
1726
|
+
# @param body [RegistrationPolicyRequestExtV1]
|
1727
1727
|
# @param [Hash] opts the optional parameters
|
1728
1728
|
# @return [Array<(RegistrationPolicySettingsResponseV1, Integer, Hash)>] RegistrationPolicySettingsResponseV1 data, response status code and response headers
|
1729
1729
|
def update_cspm_policy_settings_with_http_info(body, opts = {})
|
@@ -1780,7 +1780,7 @@ module Falcon
|
|
1780
1780
|
end
|
1781
1781
|
|
1782
1782
|
# Updates scan schedule configuration for one or more cloud platforms.
|
1783
|
-
# @param body [RegistrationScanScheduleUpdateRequestV1]
|
1783
|
+
# @param body [RegistrationScanScheduleUpdateRequestV1]
|
1784
1784
|
# @param [Hash] opts the optional parameters
|
1785
1785
|
# @return [RegistrationScanScheduleResponseV1]
|
1786
1786
|
def update_cspm_scan_schedule(body, opts = {})
|
@@ -1789,7 +1789,7 @@ module Falcon
|
|
1789
1789
|
end
|
1790
1790
|
|
1791
1791
|
# Updates scan schedule configuration for one or more cloud platforms.
|
1792
|
-
# @param body [RegistrationScanScheduleUpdateRequestV1]
|
1792
|
+
# @param body [RegistrationScanScheduleUpdateRequestV1]
|
1793
1793
|
# @param [Hash] opts the optional parameters
|
1794
1794
|
# @return [Array<(RegistrationScanScheduleResponseV1, Integer, Hash)>] RegistrationScanScheduleResponseV1 data, response status code and response headers
|
1795
1795
|
def update_cspm_scan_schedule_with_http_info(body, opts = {})
|
@@ -42,7 +42,7 @@ module Falcon
|
|
42
42
|
@api_client = api_client
|
43
43
|
end
|
44
44
|
# Create a rule within a rule group. Returns the rule.
|
45
|
-
# @param body [ApiRuleCreateV1]
|
45
|
+
# @param body [ApiRuleCreateV1]
|
46
46
|
# @param [Hash] opts the optional parameters
|
47
47
|
# @return [ApiRulesResponse]
|
48
48
|
def create_rule(body, opts = {})
|
@@ -51,7 +51,7 @@ module Falcon
|
|
51
51
|
end
|
52
52
|
|
53
53
|
# Create a rule within a rule group. Returns the rule.
|
54
|
-
# @param body [ApiRuleCreateV1]
|
54
|
+
# @param body [ApiRuleCreateV1]
|
55
55
|
# @param [Hash] opts the optional parameters
|
56
56
|
# @return [Array<(ApiRulesResponse, Integer, Hash)>] ApiRulesResponse data, response status code and response headers
|
57
57
|
def create_rule_with_http_info(body, opts = {})
|
@@ -108,7 +108,7 @@ module Falcon
|
|
108
108
|
end
|
109
109
|
|
110
110
|
# Create a rule group for a platform with a name and an optional description. Returns the rule group.
|
111
|
-
# @param body [ApiRuleGroupCreateRequestV1]
|
111
|
+
# @param body [ApiRuleGroupCreateRequestV1]
|
112
112
|
# @param [Hash] opts the optional parameters
|
113
113
|
# @return [ApiRuleGroupsResponse]
|
114
114
|
def create_rule_group_mixin0(body, opts = {})
|
@@ -117,7 +117,7 @@ module Falcon
|
|
117
117
|
end
|
118
118
|
|
119
119
|
# Create a rule group for a platform with a name and an optional description. Returns the rule group.
|
120
|
-
# @param body [ApiRuleGroupCreateRequestV1]
|
120
|
+
# @param body [ApiRuleGroupCreateRequestV1]
|
121
121
|
# @param [Hash] opts the optional parameters
|
122
122
|
# @return [Array<(ApiRuleGroupsResponse, Integer, Hash)>] ApiRuleGroupsResponse data, response status code and response headers
|
123
123
|
def create_rule_group_mixin0_with_http_info(body, opts = {})
|
@@ -1092,7 +1092,7 @@ module Falcon
|
|
1092
1092
|
end
|
1093
1093
|
|
1094
1094
|
# Update a rule group. The following properties can be modified: name, description, enabled.
|
1095
|
-
# @param body [ApiRuleGroupModifyRequestV1]
|
1095
|
+
# @param body [ApiRuleGroupModifyRequestV1]
|
1096
1096
|
# @param [Hash] opts the optional parameters
|
1097
1097
|
# @return [ApiRuleGroupsResponse]
|
1098
1098
|
def update_rule_group_mixin0(body, opts = {})
|
@@ -1101,7 +1101,7 @@ module Falcon
|
|
1101
1101
|
end
|
1102
1102
|
|
1103
1103
|
# Update a rule group. The following properties can be modified: name, description, enabled.
|
1104
|
-
# @param body [ApiRuleGroupModifyRequestV1]
|
1104
|
+
# @param body [ApiRuleGroupModifyRequestV1]
|
1105
1105
|
# @param [Hash] opts the optional parameters
|
1106
1106
|
# @return [Array<(ApiRuleGroupsResponse, Integer, Hash)>] ApiRuleGroupsResponse data, response status code and response headers
|
1107
1107
|
def update_rule_group_mixin0_with_http_info(body, opts = {})
|
@@ -1158,7 +1158,7 @@ module Falcon
|
|
1158
1158
|
end
|
1159
1159
|
|
1160
1160
|
# Update rules within a rule group. Return the updated rules.
|
1161
|
-
# @param body [ApiRuleUpdatesRequestV1]
|
1161
|
+
# @param body [ApiRuleUpdatesRequestV1]
|
1162
1162
|
# @param [Hash] opts the optional parameters
|
1163
1163
|
# @return [ApiRulesResponse]
|
1164
1164
|
def update_rules(body, opts = {})
|
@@ -1167,7 +1167,7 @@ module Falcon
|
|
1167
1167
|
end
|
1168
1168
|
|
1169
1169
|
# Update rules within a rule group. Return the updated rules.
|
1170
|
-
# @param body [ApiRuleUpdatesRequestV1]
|
1170
|
+
# @param body [ApiRuleUpdatesRequestV1]
|
1171
1171
|
# @param [Hash] opts the optional parameters
|
1172
1172
|
# @return [Array<(ApiRulesResponse, Integer, Hash)>] ApiRulesResponse data, response status code and response headers
|
1173
1173
|
def update_rules_with_http_info(body, opts = {})
|
@@ -1224,7 +1224,7 @@ module Falcon
|
|
1224
1224
|
end
|
1225
1225
|
|
1226
1226
|
# Validates field values and checks for matches if a test string is provided.
|
1227
|
-
# @param body [ApiValidationRequestV1]
|
1227
|
+
# @param body [ApiValidationRequestV1]
|
1228
1228
|
# @param [Hash] opts the optional parameters
|
1229
1229
|
# @return [ApiValidationResponseV1]
|
1230
1230
|
def validate(body, opts = {})
|
@@ -1233,7 +1233,7 @@ module Falcon
|
|
1233
1233
|
end
|
1234
1234
|
|
1235
1235
|
# Validates field values and checks for matches if a test string is provided.
|
1236
|
-
# @param body [ApiValidationRequestV1]
|
1236
|
+
# @param body [ApiValidationRequestV1]
|
1237
1237
|
# @param [Hash] opts the optional parameters
|
1238
1238
|
# @return [Array<(ApiValidationResponseV1, Integer, Hash)>] ApiValidationResponseV1 data, response status code and response headers
|
1239
1239
|
def validate_with_http_info(body, opts = {})
|
@@ -42,7 +42,7 @@ module Falcon
|
|
42
42
|
@api_client = api_client
|
43
43
|
end
|
44
44
|
# 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.
|
45
|
-
# @param body [RegistrationAWSAccountCreateRequestD4CExtV2]
|
45
|
+
# @param body [RegistrationAWSAccountCreateRequestD4CExtV2]
|
46
46
|
# @param [Hash] opts the optional parameters
|
47
47
|
# @return [RegistrationAWSAccountResponseV2]
|
48
48
|
def create_d4_c_aws_account(body, opts = {})
|
@@ -51,7 +51,7 @@ module Falcon
|
|
51
51
|
end
|
52
52
|
|
53
53
|
# 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.
|
54
|
-
# @param body [RegistrationAWSAccountCreateRequestD4CExtV2]
|
54
|
+
# @param body [RegistrationAWSAccountCreateRequestD4CExtV2]
|
55
55
|
# @param [Hash] opts the optional parameters
|
56
56
|
# @return [Array<(RegistrationAWSAccountResponseV2, Integer, Hash)>] RegistrationAWSAccountResponseV2 data, response status code and response headers
|
57
57
|
def create_d4_c_aws_account_with_http_info(body, opts = {})
|
@@ -108,7 +108,7 @@ module Falcon
|
|
108
108
|
end
|
109
109
|
|
110
110
|
# 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.
|
111
|
-
# @param body [RegistrationGCPAccountCreateRequestExtV1]
|
111
|
+
# @param body [RegistrationGCPAccountCreateRequestExtV1]
|
112
112
|
# @param [Hash] opts the optional parameters
|
113
113
|
# @return [RegistrationGCPAccountResponseV1]
|
114
114
|
def create_d4_cgcp_account(body, opts = {})
|
@@ -117,7 +117,7 @@ module Falcon
|
|
117
117
|
end
|
118
118
|
|
119
119
|
# 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.
|
120
|
-
# @param body [RegistrationGCPAccountCreateRequestExtV1]
|
120
|
+
# @param body [RegistrationGCPAccountCreateRequestExtV1]
|
121
121
|
# @param [Hash] opts the optional parameters
|
122
122
|
# @return [Array<(RegistrationGCPAccountResponseV1, Integer, Hash)>] RegistrationGCPAccountResponseV1 data, response status code and response headers
|
123
123
|
def create_d4_cgcp_account_with_http_info(body, opts = {})
|
@@ -174,7 +174,7 @@ module Falcon
|
|
174
174
|
end
|
175
175
|
|
176
176
|
# 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.
|
177
|
-
# @param body [RegistrationAzureAccountCreateRequestExternalV1]
|
177
|
+
# @param body [RegistrationAzureAccountCreateRequestExternalV1]
|
178
178
|
# @param [Hash] opts the optional parameters
|
179
179
|
# @return [RegistrationAzureAccountResponseV1]
|
180
180
|
def create_discover_cloud_azure_account(body, opts = {})
|
@@ -183,7 +183,7 @@ module Falcon
|
|
183
183
|
end
|
184
184
|
|
185
185
|
# 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.
|
186
|
-
# @param body [RegistrationAzureAccountCreateRequestExternalV1]
|
186
|
+
# @param body [RegistrationAzureAccountCreateRequestExternalV1]
|
187
187
|
# @param [Hash] opts the optional parameters
|
188
188
|
# @return [Array<(RegistrationAzureAccountResponseV1, Integer, Hash)>] RegistrationAzureAccountResponseV1 data, response status code and response headers
|
189
189
|
def create_discover_cloud_azure_account_with_http_info(body, opts = {})
|
@@ -1028,7 +1028,7 @@ module Falcon
|
|
1028
1028
|
# @param [Hash] opts the optional parameters
|
1029
1029
|
# @option opts [String] :single_account Get static script for single account
|
1030
1030
|
# @option opts [String] :organization_id AWS organization ID
|
1031
|
-
# @option opts [String] :delete
|
1031
|
+
# @option opts [String] :delete
|
1032
1032
|
# @option opts [String] :account_type Account type (e.g.: commercial,gov) Only applicable when registering AWS commercial account in a Gov environment
|
1033
1033
|
# @return [RegistrationStaticScriptsResponse]
|
1034
1034
|
def get_horizon_d4_c_scripts(opts = {})
|
@@ -1040,7 +1040,7 @@ module Falcon
|
|
1040
1040
|
# @param [Hash] opts the optional parameters
|
1041
1041
|
# @option opts [String] :single_account Get static script for single account
|
1042
1042
|
# @option opts [String] :organization_id AWS organization ID
|
1043
|
-
# @option opts [String] :delete
|
1043
|
+
# @option opts [String] :delete
|
1044
1044
|
# @option opts [String] :account_type Account type (e.g.: commercial,gov) Only applicable when registering AWS commercial account in a Gov environment
|
1045
1045
|
# @return [Array<(RegistrationStaticScriptsResponse, Integer, Hash)>] RegistrationStaticScriptsResponse data, response status code and response headers
|
1046
1046
|
def get_horizon_d4_c_scripts_with_http_info(opts = {})
|
@@ -42,7 +42,7 @@ module Falcon
|
|
42
42
|
@api_client = api_client
|
43
43
|
end
|
44
44
|
# Create Device Control Policies by specifying details about the policy to create
|
45
|
-
# @param body [DeviceControlCreatePoliciesV1]
|
45
|
+
# @param body [DeviceControlCreatePoliciesV1]
|
46
46
|
# @param [Hash] opts the optional parameters
|
47
47
|
# @return [DeviceControlRespV2]
|
48
48
|
def create_device_control_policies(body, opts = {})
|
@@ -51,7 +51,7 @@ module Falcon
|
|
51
51
|
end
|
52
52
|
|
53
53
|
# Create Device Control Policies by specifying details about the policy to create
|
54
|
-
# @param body [DeviceControlCreatePoliciesV1]
|
54
|
+
# @param body [DeviceControlCreatePoliciesV1]
|
55
55
|
# @param [Hash] opts the optional parameters
|
56
56
|
# @return [Array<(DeviceControlRespV2, Integer, Hash)>] DeviceControlRespV2 data, response status code and response headers
|
57
57
|
def create_device_control_policies_with_http_info(body, opts = {})
|
@@ -288,7 +288,7 @@ module Falcon
|
|
288
288
|
|
289
289
|
# Perform the specified action on the Device Control Policies specified in the request
|
290
290
|
# @param action_name [String] The action to perform
|
291
|
-
# @param body [MsaEntityActionRequestV2]
|
291
|
+
# @param body [MsaEntityActionRequestV2]
|
292
292
|
# @param [Hash] opts the optional parameters
|
293
293
|
# @return [DeviceControlRespV1]
|
294
294
|
def perform_device_control_policies_action(action_name, body, opts = {})
|
@@ -298,7 +298,7 @@ module Falcon
|
|
298
298
|
|
299
299
|
# Perform the specified action on the Device Control Policies specified in the request
|
300
300
|
# @param action_name [String] The action to perform
|
301
|
-
# @param body [MsaEntityActionRequestV2]
|
301
|
+
# @param body [MsaEntityActionRequestV2]
|
302
302
|
# @param [Hash] opts the optional parameters
|
303
303
|
# @return [Array<(DeviceControlRespV1, Integer, Hash)>] DeviceControlRespV1 data, response status code and response headers
|
304
304
|
def perform_device_control_policies_action_with_http_info(action_name, body, opts = {})
|
@@ -695,7 +695,7 @@ module Falcon
|
|
695
695
|
end
|
696
696
|
|
697
697
|
# 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
|
698
|
-
# @param body [BaseSetPolicyPrecedenceReqV1]
|
698
|
+
# @param body [BaseSetPolicyPrecedenceReqV1]
|
699
699
|
# @param [Hash] opts the optional parameters
|
700
700
|
# @return [MsaQueryResponse]
|
701
701
|
def set_device_control_policies_precedence(body, opts = {})
|
@@ -704,7 +704,7 @@ module Falcon
|
|
704
704
|
end
|
705
705
|
|
706
706
|
# 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
|
707
|
-
# @param body [BaseSetPolicyPrecedenceReqV1]
|
707
|
+
# @param body [BaseSetPolicyPrecedenceReqV1]
|
708
708
|
# @param [Hash] opts the optional parameters
|
709
709
|
# @return [Array<(MsaQueryResponse, Integer, Hash)>] MsaQueryResponse data, response status code and response headers
|
710
710
|
def set_device_control_policies_precedence_with_http_info(body, opts = {})
|
@@ -761,7 +761,7 @@ module Falcon
|
|
761
761
|
end
|
762
762
|
|
763
763
|
# Update the configuration for a Default Device Control Policy
|
764
|
-
# @param body [DeviceControlReqUpdateDefaultDCPolicyV1]
|
764
|
+
# @param body [DeviceControlReqUpdateDefaultDCPolicyV1]
|
765
765
|
# @param [Hash] opts the optional parameters
|
766
766
|
# @return [DeviceControlRespV1]
|
767
767
|
def update_default_device_control_policies(body, opts = {})
|
@@ -770,7 +770,7 @@ module Falcon
|
|
770
770
|
end
|
771
771
|
|
772
772
|
# Update the configuration for a Default Device Control Policy
|
773
|
-
# @param body [DeviceControlReqUpdateDefaultDCPolicyV1]
|
773
|
+
# @param body [DeviceControlReqUpdateDefaultDCPolicyV1]
|
774
774
|
# @param [Hash] opts the optional parameters
|
775
775
|
# @return [Array<(DeviceControlRespV1, Integer, Hash)>] DeviceControlRespV1 data, response status code and response headers
|
776
776
|
def update_default_device_control_policies_with_http_info(body, opts = {})
|
@@ -827,7 +827,7 @@ module Falcon
|
|
827
827
|
end
|
828
828
|
|
829
829
|
# Update Device Control Policies by specifying the ID of the policy and details to update
|
830
|
-
# @param body [DeviceControlUpdatePoliciesReqV1]
|
830
|
+
# @param body [DeviceControlUpdatePoliciesReqV1]
|
831
831
|
# @param [Hash] opts the optional parameters
|
832
832
|
# @return [DeviceControlRespV1]
|
833
833
|
def update_device_control_policies(body, opts = {})
|
@@ -836,7 +836,7 @@ module Falcon
|
|
836
836
|
end
|
837
837
|
|
838
838
|
# Update Device Control Policies by specifying the ID of the policy and details to update
|
839
|
-
# @param body [DeviceControlUpdatePoliciesReqV1]
|
839
|
+
# @param body [DeviceControlUpdatePoliciesReqV1]
|
840
840
|
# @param [Hash] opts the optional parameters
|
841
841
|
# @return [Array<(DeviceControlRespV1, Integer, Hash)>] DeviceControlRespV1 data, response status code and response headers
|
842
842
|
def update_device_control_policies_with_http_info(body, opts = {})
|