datadog_api_client 2.22.0 → 2.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/schemas/v1/openapi.yaml +130 -60
- data/.generator/schemas/v2/openapi.yaml +149 -152
- data/CHANGELOG.md +18 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +9 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest_960766374.rb +8 -0
- data/examples/v1/synthetics/UpdateAPITest.rb +8 -0
- data/examples/v2/{cloud-workload-security → csm-threats}/CreateCSMThreatsAgentRule.rb +2 -2
- data/examples/v2/{cloud-workload-security → csm-threats}/CreateCloudWorkloadSecurityAgentRule.rb +2 -2
- data/examples/v2/{cloud-workload-security → csm-threats}/DeleteCSMThreatsAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/DeleteCloudWorkloadSecurityAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/DownloadCSMThreatsPolicy.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/DownloadCloudWorkloadPolicyFile.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/GetCSMThreatsAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/GetCloudWorkloadSecurityAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/ListCSMThreatsAgentRules.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/ListCloudWorkloadSecurityAgentRules.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/UpdateCSMThreatsAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/UpdateCloudWorkloadSecurityAgentRule.rb +1 -1
- data/examples/v2/roles/CreateRole.rb +14 -2
- data/examples/v2/roles/CreateRole_3862893229.rb +27 -0
- data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb +1 -1
- data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression_3192265332.rb +1 -1
- data/lib/datadog_api_client/inflector.rb +6 -1
- data/lib/datadog_api_client/v1/api/authentication_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/aws_integration_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/logs_indexes_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/logs_pipelines_api.rb +3 -3
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +11 -7
- data/lib/datadog_api_client/v1/api/users_api.rb +1 -1
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -1
- data/lib/datadog_api_client/v1/models/service_level_objective.rb +2 -1
- data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +2 -1
- data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +7 -1
- data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +8 -1
- data/lib/datadog_api_client/v1/models/slo_overall_statuses.rb +2 -1
- data/lib/datadog_api_client/v1/models/slo_response_data.rb +2 -1
- data/lib/datadog_api_client/v1/models/slo_threshold.rb +2 -1
- data/lib/datadog_api_client/v1/models/slo_timeframe.rb +2 -1
- data/lib/datadog_api_client/v1/models/synthetics_api_test_config.rb +14 -4
- data/lib/datadog_api_client/v1/models/synthetics_assertion.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_meta_schema.rb +27 -0
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_operator.rb +26 -0
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_target.rb +129 -0
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_target_target.rb +90 -0
- data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +11 -1
- data/lib/datadog_api_client/v2/api/apm_retention_filters_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/case_management_api.rb +17 -16
- data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +10 -10
- data/lib/datadog_api_client/v2/api/{cloud_workload_security_api.rb → csm_threats_api.rb} +35 -35
- data/lib/datadog_api_client/v2/api/events_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/ip_allowlist_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/logs_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/logs_archives_api.rb +4 -4
- data/lib/datadog_api_client/v2/api/logs_metrics_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/metrics_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +2 -1
- data/lib/datadog_api_client/v2/api/spans_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +10 -1
- data/lib/datadog_api_client/v2/models/logs_query_filter.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_storage_tier.rb +2 -1
- data/lib/datadog_api_client/v2/models/retention_filter_create_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/retention_filter_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +13 -1
- data/lib/datadog_api_client/v2/models/user_team_included.rb +2 -1
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +21 -15
|
@@ -75,7 +75,7 @@ module DatadogAPIClient::V2
|
|
|
75
75
|
return_type = opts[:debug_return_type] || 'CaseResponse'
|
|
76
76
|
|
|
77
77
|
# auth_names
|
|
78
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
78
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
79
79
|
|
|
80
80
|
new_options = opts.merge(
|
|
81
81
|
:operation => :archive_case,
|
|
@@ -147,7 +147,7 @@ module DatadogAPIClient::V2
|
|
|
147
147
|
return_type = opts[:debug_return_type] || 'CaseResponse'
|
|
148
148
|
|
|
149
149
|
# auth_names
|
|
150
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
150
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
151
151
|
|
|
152
152
|
new_options = opts.merge(
|
|
153
153
|
:operation => :assign_case,
|
|
@@ -214,7 +214,7 @@ module DatadogAPIClient::V2
|
|
|
214
214
|
return_type = opts[:debug_return_type] || 'CaseResponse'
|
|
215
215
|
|
|
216
216
|
# auth_names
|
|
217
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
217
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
218
218
|
|
|
219
219
|
new_options = opts.merge(
|
|
220
220
|
:operation => :create_case,
|
|
@@ -281,7 +281,7 @@ module DatadogAPIClient::V2
|
|
|
281
281
|
return_type = opts[:debug_return_type] || 'ProjectResponse'
|
|
282
282
|
|
|
283
283
|
# auth_names
|
|
284
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
284
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
285
285
|
|
|
286
286
|
new_options = opts.merge(
|
|
287
287
|
:operation => :create_project,
|
|
@@ -346,7 +346,7 @@ module DatadogAPIClient::V2
|
|
|
346
346
|
return_type = opts[:debug_return_type]
|
|
347
347
|
|
|
348
348
|
# auth_names
|
|
349
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
349
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
350
350
|
|
|
351
351
|
new_options = opts.merge(
|
|
352
352
|
:operation => :delete_project,
|
|
@@ -411,7 +411,7 @@ module DatadogAPIClient::V2
|
|
|
411
411
|
return_type = opts[:debug_return_type] || 'CaseResponse'
|
|
412
412
|
|
|
413
413
|
# auth_names
|
|
414
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
414
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
415
415
|
|
|
416
416
|
new_options = opts.merge(
|
|
417
417
|
:operation => :get_case,
|
|
@@ -476,7 +476,7 @@ module DatadogAPIClient::V2
|
|
|
476
476
|
return_type = opts[:debug_return_type] || 'ProjectResponse'
|
|
477
477
|
|
|
478
478
|
# auth_names
|
|
479
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
479
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
480
480
|
|
|
481
481
|
new_options = opts.merge(
|
|
482
482
|
:operation => :get_project,
|
|
@@ -536,7 +536,7 @@ module DatadogAPIClient::V2
|
|
|
536
536
|
return_type = opts[:debug_return_type] || 'ProjectsResponse'
|
|
537
537
|
|
|
538
538
|
# auth_names
|
|
539
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
539
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
540
540
|
|
|
541
541
|
new_options = opts.merge(
|
|
542
542
|
:operation => :get_projects,
|
|
@@ -570,7 +570,7 @@ module DatadogAPIClient::V2
|
|
|
570
570
|
#
|
|
571
571
|
# @param opts [Hash] the optional parameters
|
|
572
572
|
# @option opts [Integer] :page_size Size for a given page. The maximum allowed value is 100.
|
|
573
|
-
# @option opts [Integer] :
|
|
573
|
+
# @option opts [Integer] :page_number Specific page number to return.
|
|
574
574
|
# @option opts [CaseSortableField] :sort_field Specify which field to sort
|
|
575
575
|
# @option opts [String] :filter Search query
|
|
576
576
|
# @option opts [Boolean] :sort_asc Specify if order is ascending or not
|
|
@@ -590,7 +590,7 @@ module DatadogAPIClient::V2
|
|
|
590
590
|
# query parameters
|
|
591
591
|
query_params = opts[:query_params] || {}
|
|
592
592
|
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
593
|
-
query_params[:'page[
|
|
593
|
+
query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
|
|
594
594
|
query_params[:'sort[field]'] = opts[:'sort_field'] if !opts[:'sort_field'].nil?
|
|
595
595
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
596
596
|
query_params[:'sort[asc]'] = opts[:'sort_asc'] if !opts[:'sort_asc'].nil?
|
|
@@ -610,7 +610,7 @@ module DatadogAPIClient::V2
|
|
|
610
610
|
return_type = opts[:debug_return_type] || 'CasesResponse'
|
|
611
611
|
|
|
612
612
|
# auth_names
|
|
613
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
613
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
614
614
|
|
|
615
615
|
new_options = opts.merge(
|
|
616
616
|
:operation => :search_cases,
|
|
@@ -641,13 +641,14 @@ module DatadogAPIClient::V2
|
|
|
641
641
|
api_version = "V2"
|
|
642
642
|
page_size = @api_client.get_attribute_from_path(opts, "page_size", 10)
|
|
643
643
|
@api_client.set_attribute_from_path(api_version, opts, "page_size", Integer, page_size)
|
|
644
|
+
@api_client.set_attribute_from_path(api_version, opts, "page_number", Integer, 0)
|
|
644
645
|
while true do
|
|
645
646
|
response = search_cases(opts)
|
|
646
647
|
@api_client.get_attribute_from_path(response, "data").each { |item| yield(item) }
|
|
647
648
|
if @api_client.get_attribute_from_path(response, "data").length < page_size
|
|
648
649
|
break
|
|
649
650
|
end
|
|
650
|
-
@api_client.set_attribute_from_path(api_version, opts, "
|
|
651
|
+
@api_client.set_attribute_from_path(api_version, opts, "page_number", Integer, @api_client.get_attribute_from_path(opts, "page_number", 0) + 1)
|
|
651
652
|
end
|
|
652
653
|
end
|
|
653
654
|
|
|
@@ -703,7 +704,7 @@ module DatadogAPIClient::V2
|
|
|
703
704
|
return_type = opts[:debug_return_type] || 'CaseResponse'
|
|
704
705
|
|
|
705
706
|
# auth_names
|
|
706
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
707
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
707
708
|
|
|
708
709
|
new_options = opts.merge(
|
|
709
710
|
:operation => :unarchive_case,
|
|
@@ -775,7 +776,7 @@ module DatadogAPIClient::V2
|
|
|
775
776
|
return_type = opts[:debug_return_type] || 'CaseResponse'
|
|
776
777
|
|
|
777
778
|
# auth_names
|
|
778
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
779
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
779
780
|
|
|
780
781
|
new_options = opts.merge(
|
|
781
782
|
:operation => :unassign_case,
|
|
@@ -847,7 +848,7 @@ module DatadogAPIClient::V2
|
|
|
847
848
|
return_type = opts[:debug_return_type] || 'CaseResponse'
|
|
848
849
|
|
|
849
850
|
# auth_names
|
|
850
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
851
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
851
852
|
|
|
852
853
|
new_options = opts.merge(
|
|
853
854
|
:operation => :update_priority,
|
|
@@ -919,7 +920,7 @@ module DatadogAPIClient::V2
|
|
|
919
920
|
return_type = opts[:debug_return_type] || 'CaseResponse'
|
|
920
921
|
|
|
921
922
|
# auth_names
|
|
922
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
923
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
923
924
|
|
|
924
925
|
new_options = opts.merge(
|
|
925
926
|
:operation => :update_status,
|
|
@@ -70,7 +70,7 @@ module DatadogAPIClient::V2
|
|
|
70
70
|
return_type = opts[:debug_return_type] || 'AwsCURConfigResponse'
|
|
71
71
|
|
|
72
72
|
# auth_names
|
|
73
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
73
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
74
74
|
|
|
75
75
|
new_options = opts.merge(
|
|
76
76
|
:operation => :create_cost_awscur_config,
|
|
@@ -137,7 +137,7 @@ module DatadogAPIClient::V2
|
|
|
137
137
|
return_type = opts[:debug_return_type] || 'AzureUCConfigPairsResponse'
|
|
138
138
|
|
|
139
139
|
# auth_names
|
|
140
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
140
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
141
141
|
|
|
142
142
|
new_options = opts.merge(
|
|
143
143
|
:operation => :create_cost_azure_uc_configs,
|
|
@@ -202,7 +202,7 @@ module DatadogAPIClient::V2
|
|
|
202
202
|
return_type = opts[:debug_return_type]
|
|
203
203
|
|
|
204
204
|
# auth_names
|
|
205
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
205
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
206
206
|
|
|
207
207
|
new_options = opts.merge(
|
|
208
208
|
:operation => :delete_cost_awscur_config,
|
|
@@ -267,7 +267,7 @@ module DatadogAPIClient::V2
|
|
|
267
267
|
return_type = opts[:debug_return_type]
|
|
268
268
|
|
|
269
269
|
# auth_names
|
|
270
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
270
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
271
271
|
|
|
272
272
|
new_options = opts.merge(
|
|
273
273
|
:operation => :delete_cost_azure_uc_config,
|
|
@@ -327,7 +327,7 @@ module DatadogAPIClient::V2
|
|
|
327
327
|
return_type = opts[:debug_return_type] || 'CloudCostActivityResponse'
|
|
328
328
|
|
|
329
329
|
# auth_names
|
|
330
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
330
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
331
331
|
|
|
332
332
|
new_options = opts.merge(
|
|
333
333
|
:operation => :get_cloud_cost_activity,
|
|
@@ -393,7 +393,7 @@ module DatadogAPIClient::V2
|
|
|
393
393
|
return_type = opts[:debug_return_type] || 'AWSRelatedAccountsResponse'
|
|
394
394
|
|
|
395
395
|
# auth_names
|
|
396
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
396
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
397
397
|
|
|
398
398
|
new_options = opts.merge(
|
|
399
399
|
:operation => :list_aws_related_accounts,
|
|
@@ -453,7 +453,7 @@ module DatadogAPIClient::V2
|
|
|
453
453
|
return_type = opts[:debug_return_type] || 'AwsCURConfigsResponse'
|
|
454
454
|
|
|
455
455
|
# auth_names
|
|
456
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
456
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
457
457
|
|
|
458
458
|
new_options = opts.merge(
|
|
459
459
|
:operation => :list_cost_awscur_configs,
|
|
@@ -513,7 +513,7 @@ module DatadogAPIClient::V2
|
|
|
513
513
|
return_type = opts[:debug_return_type] || 'AzureUCConfigsResponse'
|
|
514
514
|
|
|
515
515
|
# auth_names
|
|
516
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
516
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
517
517
|
|
|
518
518
|
new_options = opts.merge(
|
|
519
519
|
:operation => :list_cost_azure_uc_configs,
|
|
@@ -585,7 +585,7 @@ module DatadogAPIClient::V2
|
|
|
585
585
|
return_type = opts[:debug_return_type] || 'AwsCURConfigsResponse'
|
|
586
586
|
|
|
587
587
|
# auth_names
|
|
588
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
588
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
589
589
|
|
|
590
590
|
new_options = opts.merge(
|
|
591
591
|
:operation => :update_cost_awscur_config,
|
|
@@ -657,7 +657,7 @@ module DatadogAPIClient::V2
|
|
|
657
657
|
return_type = opts[:debug_return_type] || 'AzureUCConfigPairsResponse'
|
|
658
658
|
|
|
659
659
|
# auth_names
|
|
660
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
660
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
661
661
|
|
|
662
662
|
new_options = opts.merge(
|
|
663
663
|
:operation => :update_cost_azure_uc_configs,
|
|
@@ -16,7 +16,7 @@ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.ge
|
|
|
16
16
|
require 'cgi'
|
|
17
17
|
|
|
18
18
|
module DatadogAPIClient::V2
|
|
19
|
-
class
|
|
19
|
+
class CSMThreatsAPI
|
|
20
20
|
attr_accessor :api_client
|
|
21
21
|
|
|
22
22
|
def initialize(api_client = DatadogAPIClient::APIClient.default)
|
|
@@ -41,11 +41,11 @@ module DatadogAPIClient::V2
|
|
|
41
41
|
def create_cloud_workload_security_agent_rule_with_http_info(body, opts = {})
|
|
42
42
|
|
|
43
43
|
if @api_client.config.debugging
|
|
44
|
-
@api_client.config.logger.debug 'Calling API:
|
|
44
|
+
@api_client.config.logger.debug 'Calling API: CSMThreatsAPI.create_cloud_workload_security_agent_rule ...'
|
|
45
45
|
end
|
|
46
46
|
# verify the required parameter 'body' is set
|
|
47
47
|
if @api_client.config.client_side_validation && body.nil?
|
|
48
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
48
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CSMThreatsAPI.create_cloud_workload_security_agent_rule"
|
|
49
49
|
end
|
|
50
50
|
# resource path
|
|
51
51
|
local_var_path = '/api/v2/security_monitoring/cloud_workload_security/agent_rules'
|
|
@@ -85,7 +85,7 @@ module DatadogAPIClient::V2
|
|
|
85
85
|
|
|
86
86
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
87
87
|
if @api_client.config.debugging
|
|
88
|
-
@api_client.config.logger.debug "API called:
|
|
88
|
+
@api_client.config.logger.debug "API called: CSMThreatsAPI#create_cloud_workload_security_agent_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
89
89
|
end
|
|
90
90
|
return data, status_code, headers
|
|
91
91
|
end
|
|
@@ -108,11 +108,11 @@ module DatadogAPIClient::V2
|
|
|
108
108
|
def create_csm_threats_agent_rule_with_http_info(body, opts = {})
|
|
109
109
|
|
|
110
110
|
if @api_client.config.debugging
|
|
111
|
-
@api_client.config.logger.debug 'Calling API:
|
|
111
|
+
@api_client.config.logger.debug 'Calling API: CSMThreatsAPI.create_csm_threats_agent_rule ...'
|
|
112
112
|
end
|
|
113
113
|
# verify the required parameter 'body' is set
|
|
114
114
|
if @api_client.config.client_side_validation && body.nil?
|
|
115
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
115
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CSMThreatsAPI.create_csm_threats_agent_rule"
|
|
116
116
|
end
|
|
117
117
|
# resource path
|
|
118
118
|
local_var_path = '/api/v2/remote_config/products/cws/agent_rules'
|
|
@@ -152,7 +152,7 @@ module DatadogAPIClient::V2
|
|
|
152
152
|
|
|
153
153
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
154
154
|
if @api_client.config.debugging
|
|
155
|
-
@api_client.config.logger.debug "API called:
|
|
155
|
+
@api_client.config.logger.debug "API called: CSMThreatsAPI#create_csm_threats_agent_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
156
156
|
end
|
|
157
157
|
return data, status_code, headers
|
|
158
158
|
end
|
|
@@ -175,11 +175,11 @@ module DatadogAPIClient::V2
|
|
|
175
175
|
def delete_cloud_workload_security_agent_rule_with_http_info(agent_rule_id, opts = {})
|
|
176
176
|
|
|
177
177
|
if @api_client.config.debugging
|
|
178
|
-
@api_client.config.logger.debug 'Calling API:
|
|
178
|
+
@api_client.config.logger.debug 'Calling API: CSMThreatsAPI.delete_cloud_workload_security_agent_rule ...'
|
|
179
179
|
end
|
|
180
180
|
# verify the required parameter 'agent_rule_id' is set
|
|
181
181
|
if @api_client.config.client_side_validation && agent_rule_id.nil?
|
|
182
|
-
fail ArgumentError, "Missing the required parameter 'agent_rule_id' when calling
|
|
182
|
+
fail ArgumentError, "Missing the required parameter 'agent_rule_id' when calling CSMThreatsAPI.delete_cloud_workload_security_agent_rule"
|
|
183
183
|
end
|
|
184
184
|
# resource path
|
|
185
185
|
local_var_path = '/api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}'.sub('{agent_rule_id}', CGI.escape(agent_rule_id.to_s).gsub('%2F', '/'))
|
|
@@ -217,7 +217,7 @@ module DatadogAPIClient::V2
|
|
|
217
217
|
|
|
218
218
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
|
219
219
|
if @api_client.config.debugging
|
|
220
|
-
@api_client.config.logger.debug "API called:
|
|
220
|
+
@api_client.config.logger.debug "API called: CSMThreatsAPI#delete_cloud_workload_security_agent_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
221
221
|
end
|
|
222
222
|
return data, status_code, headers
|
|
223
223
|
end
|
|
@@ -240,11 +240,11 @@ module DatadogAPIClient::V2
|
|
|
240
240
|
def delete_csm_threats_agent_rule_with_http_info(agent_rule_id, opts = {})
|
|
241
241
|
|
|
242
242
|
if @api_client.config.debugging
|
|
243
|
-
@api_client.config.logger.debug 'Calling API:
|
|
243
|
+
@api_client.config.logger.debug 'Calling API: CSMThreatsAPI.delete_csm_threats_agent_rule ...'
|
|
244
244
|
end
|
|
245
245
|
# verify the required parameter 'agent_rule_id' is set
|
|
246
246
|
if @api_client.config.client_side_validation && agent_rule_id.nil?
|
|
247
|
-
fail ArgumentError, "Missing the required parameter 'agent_rule_id' when calling
|
|
247
|
+
fail ArgumentError, "Missing the required parameter 'agent_rule_id' when calling CSMThreatsAPI.delete_csm_threats_agent_rule"
|
|
248
248
|
end
|
|
249
249
|
# resource path
|
|
250
250
|
local_var_path = '/api/v2/remote_config/products/cws/agent_rules/{agent_rule_id}'.sub('{agent_rule_id}', CGI.escape(agent_rule_id.to_s).gsub('%2F', '/'))
|
|
@@ -282,7 +282,7 @@ module DatadogAPIClient::V2
|
|
|
282
282
|
|
|
283
283
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
|
284
284
|
if @api_client.config.debugging
|
|
285
|
-
@api_client.config.logger.debug "API called:
|
|
285
|
+
@api_client.config.logger.debug "API called: CSMThreatsAPI#delete_csm_threats_agent_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
286
286
|
end
|
|
287
287
|
return data, status_code, headers
|
|
288
288
|
end
|
|
@@ -306,7 +306,7 @@ module DatadogAPIClient::V2
|
|
|
306
306
|
def download_cloud_workload_policy_file_with_http_info(opts = {})
|
|
307
307
|
|
|
308
308
|
if @api_client.config.debugging
|
|
309
|
-
@api_client.config.logger.debug 'Calling API:
|
|
309
|
+
@api_client.config.logger.debug 'Calling API: CSMThreatsAPI.download_cloud_workload_policy_file ...'
|
|
310
310
|
end
|
|
311
311
|
# resource path
|
|
312
312
|
local_var_path = '/api/v2/security/cloud_workload/policy/download'
|
|
@@ -344,7 +344,7 @@ module DatadogAPIClient::V2
|
|
|
344
344
|
|
|
345
345
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
346
346
|
if @api_client.config.debugging
|
|
347
|
-
@api_client.config.logger.debug "API called:
|
|
347
|
+
@api_client.config.logger.debug "API called: CSMThreatsAPI#download_cloud_workload_policy_file\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
348
348
|
end
|
|
349
349
|
return data, status_code, headers
|
|
350
350
|
end
|
|
@@ -368,7 +368,7 @@ module DatadogAPIClient::V2
|
|
|
368
368
|
def download_csm_threats_policy_with_http_info(opts = {})
|
|
369
369
|
|
|
370
370
|
if @api_client.config.debugging
|
|
371
|
-
@api_client.config.logger.debug 'Calling API:
|
|
371
|
+
@api_client.config.logger.debug 'Calling API: CSMThreatsAPI.download_csm_threats_policy ...'
|
|
372
372
|
end
|
|
373
373
|
# resource path
|
|
374
374
|
local_var_path = '/api/v2/remote_config/products/cws/policy/download'
|
|
@@ -406,7 +406,7 @@ module DatadogAPIClient::V2
|
|
|
406
406
|
|
|
407
407
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
408
408
|
if @api_client.config.debugging
|
|
409
|
-
@api_client.config.logger.debug "API called:
|
|
409
|
+
@api_client.config.logger.debug "API called: CSMThreatsAPI#download_csm_threats_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
410
410
|
end
|
|
411
411
|
return data, status_code, headers
|
|
412
412
|
end
|
|
@@ -429,11 +429,11 @@ module DatadogAPIClient::V2
|
|
|
429
429
|
def get_cloud_workload_security_agent_rule_with_http_info(agent_rule_id, opts = {})
|
|
430
430
|
|
|
431
431
|
if @api_client.config.debugging
|
|
432
|
-
@api_client.config.logger.debug 'Calling API:
|
|
432
|
+
@api_client.config.logger.debug 'Calling API: CSMThreatsAPI.get_cloud_workload_security_agent_rule ...'
|
|
433
433
|
end
|
|
434
434
|
# verify the required parameter 'agent_rule_id' is set
|
|
435
435
|
if @api_client.config.client_side_validation && agent_rule_id.nil?
|
|
436
|
-
fail ArgumentError, "Missing the required parameter 'agent_rule_id' when calling
|
|
436
|
+
fail ArgumentError, "Missing the required parameter 'agent_rule_id' when calling CSMThreatsAPI.get_cloud_workload_security_agent_rule"
|
|
437
437
|
end
|
|
438
438
|
# resource path
|
|
439
439
|
local_var_path = '/api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}'.sub('{agent_rule_id}', CGI.escape(agent_rule_id.to_s).gsub('%2F', '/'))
|
|
@@ -471,7 +471,7 @@ module DatadogAPIClient::V2
|
|
|
471
471
|
|
|
472
472
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
473
473
|
if @api_client.config.debugging
|
|
474
|
-
@api_client.config.logger.debug "API called:
|
|
474
|
+
@api_client.config.logger.debug "API called: CSMThreatsAPI#get_cloud_workload_security_agent_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
475
475
|
end
|
|
476
476
|
return data, status_code, headers
|
|
477
477
|
end
|
|
@@ -494,11 +494,11 @@ module DatadogAPIClient::V2
|
|
|
494
494
|
def get_csm_threats_agent_rule_with_http_info(agent_rule_id, opts = {})
|
|
495
495
|
|
|
496
496
|
if @api_client.config.debugging
|
|
497
|
-
@api_client.config.logger.debug 'Calling API:
|
|
497
|
+
@api_client.config.logger.debug 'Calling API: CSMThreatsAPI.get_csm_threats_agent_rule ...'
|
|
498
498
|
end
|
|
499
499
|
# verify the required parameter 'agent_rule_id' is set
|
|
500
500
|
if @api_client.config.client_side_validation && agent_rule_id.nil?
|
|
501
|
-
fail ArgumentError, "Missing the required parameter 'agent_rule_id' when calling
|
|
501
|
+
fail ArgumentError, "Missing the required parameter 'agent_rule_id' when calling CSMThreatsAPI.get_csm_threats_agent_rule"
|
|
502
502
|
end
|
|
503
503
|
# resource path
|
|
504
504
|
local_var_path = '/api/v2/remote_config/products/cws/agent_rules/{agent_rule_id}'.sub('{agent_rule_id}', CGI.escape(agent_rule_id.to_s).gsub('%2F', '/'))
|
|
@@ -536,7 +536,7 @@ module DatadogAPIClient::V2
|
|
|
536
536
|
|
|
537
537
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
538
538
|
if @api_client.config.debugging
|
|
539
|
-
@api_client.config.logger.debug "API called:
|
|
539
|
+
@api_client.config.logger.debug "API called: CSMThreatsAPI#get_csm_threats_agent_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
540
540
|
end
|
|
541
541
|
return data, status_code, headers
|
|
542
542
|
end
|
|
@@ -558,7 +558,7 @@ module DatadogAPIClient::V2
|
|
|
558
558
|
def list_cloud_workload_security_agent_rules_with_http_info(opts = {})
|
|
559
559
|
|
|
560
560
|
if @api_client.config.debugging
|
|
561
|
-
@api_client.config.logger.debug 'Calling API:
|
|
561
|
+
@api_client.config.logger.debug 'Calling API: CSMThreatsAPI.list_cloud_workload_security_agent_rules ...'
|
|
562
562
|
end
|
|
563
563
|
# resource path
|
|
564
564
|
local_var_path = '/api/v2/security_monitoring/cloud_workload_security/agent_rules'
|
|
@@ -596,7 +596,7 @@ module DatadogAPIClient::V2
|
|
|
596
596
|
|
|
597
597
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
598
598
|
if @api_client.config.debugging
|
|
599
|
-
@api_client.config.logger.debug "API called:
|
|
599
|
+
@api_client.config.logger.debug "API called: CSMThreatsAPI#list_cloud_workload_security_agent_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
600
600
|
end
|
|
601
601
|
return data, status_code, headers
|
|
602
602
|
end
|
|
@@ -618,7 +618,7 @@ module DatadogAPIClient::V2
|
|
|
618
618
|
def list_csm_threats_agent_rules_with_http_info(opts = {})
|
|
619
619
|
|
|
620
620
|
if @api_client.config.debugging
|
|
621
|
-
@api_client.config.logger.debug 'Calling API:
|
|
621
|
+
@api_client.config.logger.debug 'Calling API: CSMThreatsAPI.list_csm_threats_agent_rules ...'
|
|
622
622
|
end
|
|
623
623
|
# resource path
|
|
624
624
|
local_var_path = '/api/v2/remote_config/products/cws/agent_rules'
|
|
@@ -656,7 +656,7 @@ module DatadogAPIClient::V2
|
|
|
656
656
|
|
|
657
657
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
658
658
|
if @api_client.config.debugging
|
|
659
|
-
@api_client.config.logger.debug "API called:
|
|
659
|
+
@api_client.config.logger.debug "API called: CSMThreatsAPI#list_csm_threats_agent_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
660
660
|
end
|
|
661
661
|
return data, status_code, headers
|
|
662
662
|
end
|
|
@@ -681,15 +681,15 @@ module DatadogAPIClient::V2
|
|
|
681
681
|
def update_cloud_workload_security_agent_rule_with_http_info(agent_rule_id, body, opts = {})
|
|
682
682
|
|
|
683
683
|
if @api_client.config.debugging
|
|
684
|
-
@api_client.config.logger.debug 'Calling API:
|
|
684
|
+
@api_client.config.logger.debug 'Calling API: CSMThreatsAPI.update_cloud_workload_security_agent_rule ...'
|
|
685
685
|
end
|
|
686
686
|
# verify the required parameter 'agent_rule_id' is set
|
|
687
687
|
if @api_client.config.client_side_validation && agent_rule_id.nil?
|
|
688
|
-
fail ArgumentError, "Missing the required parameter 'agent_rule_id' when calling
|
|
688
|
+
fail ArgumentError, "Missing the required parameter 'agent_rule_id' when calling CSMThreatsAPI.update_cloud_workload_security_agent_rule"
|
|
689
689
|
end
|
|
690
690
|
# verify the required parameter 'body' is set
|
|
691
691
|
if @api_client.config.client_side_validation && body.nil?
|
|
692
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
692
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CSMThreatsAPI.update_cloud_workload_security_agent_rule"
|
|
693
693
|
end
|
|
694
694
|
# resource path
|
|
695
695
|
local_var_path = '/api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}'.sub('{agent_rule_id}', CGI.escape(agent_rule_id.to_s).gsub('%2F', '/'))
|
|
@@ -729,7 +729,7 @@ module DatadogAPIClient::V2
|
|
|
729
729
|
|
|
730
730
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
|
731
731
|
if @api_client.config.debugging
|
|
732
|
-
@api_client.config.logger.debug "API called:
|
|
732
|
+
@api_client.config.logger.debug "API called: CSMThreatsAPI#update_cloud_workload_security_agent_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
733
733
|
end
|
|
734
734
|
return data, status_code, headers
|
|
735
735
|
end
|
|
@@ -754,15 +754,15 @@ module DatadogAPIClient::V2
|
|
|
754
754
|
def update_csm_threats_agent_rule_with_http_info(agent_rule_id, body, opts = {})
|
|
755
755
|
|
|
756
756
|
if @api_client.config.debugging
|
|
757
|
-
@api_client.config.logger.debug 'Calling API:
|
|
757
|
+
@api_client.config.logger.debug 'Calling API: CSMThreatsAPI.update_csm_threats_agent_rule ...'
|
|
758
758
|
end
|
|
759
759
|
# verify the required parameter 'agent_rule_id' is set
|
|
760
760
|
if @api_client.config.client_side_validation && agent_rule_id.nil?
|
|
761
|
-
fail ArgumentError, "Missing the required parameter 'agent_rule_id' when calling
|
|
761
|
+
fail ArgumentError, "Missing the required parameter 'agent_rule_id' when calling CSMThreatsAPI.update_csm_threats_agent_rule"
|
|
762
762
|
end
|
|
763
763
|
# verify the required parameter 'body' is set
|
|
764
764
|
if @api_client.config.client_side_validation && body.nil?
|
|
765
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
765
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CSMThreatsAPI.update_csm_threats_agent_rule"
|
|
766
766
|
end
|
|
767
767
|
# resource path
|
|
768
768
|
local_var_path = '/api/v2/remote_config/products/cws/agent_rules/{agent_rule_id}'.sub('{agent_rule_id}', CGI.escape(agent_rule_id.to_s).gsub('%2F', '/'))
|
|
@@ -802,7 +802,7 @@ module DatadogAPIClient::V2
|
|
|
802
802
|
|
|
803
803
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
|
804
804
|
if @api_client.config.debugging
|
|
805
|
-
@api_client.config.logger.debug "API called:
|
|
805
|
+
@api_client.config.logger.debug "API called: CSMThreatsAPI#update_csm_threats_agent_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
806
806
|
end
|
|
807
807
|
return data, status_code, headers
|
|
808
808
|
end
|
|
@@ -172,7 +172,7 @@ module DatadogAPIClient::V2
|
|
|
172
172
|
return_type = opts[:debug_return_type] || 'EventsListResponse'
|
|
173
173
|
|
|
174
174
|
# auth_names
|
|
175
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
175
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
176
176
|
|
|
177
177
|
new_options = opts.merge(
|
|
178
178
|
:operation => :search_events,
|
|
@@ -63,7 +63,7 @@ module DatadogAPIClient::V2
|
|
|
63
63
|
return_type = opts[:debug_return_type] || 'IPAllowlistResponse'
|
|
64
64
|
|
|
65
65
|
# auth_names
|
|
66
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
66
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
67
67
|
|
|
68
68
|
new_options = opts.merge(
|
|
69
69
|
:operation => :get_ip_allowlist,
|
|
@@ -130,7 +130,7 @@ module DatadogAPIClient::V2
|
|
|
130
130
|
return_type = opts[:debug_return_type] || 'IPAllowlistResponse'
|
|
131
131
|
|
|
132
132
|
# auth_names
|
|
133
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
133
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
134
134
|
|
|
135
135
|
new_options = opts.merge(
|
|
136
136
|
:operation => :update_ip_allowlist,
|
|
@@ -221,7 +221,7 @@ module DatadogAPIClient::V2
|
|
|
221
221
|
if @api_client.config.debugging
|
|
222
222
|
@api_client.config.logger.debug 'Calling API: LogsAPI.list_logs_get ...'
|
|
223
223
|
end
|
|
224
|
-
allowable_values = ['indexes', 'online-archives']
|
|
224
|
+
allowable_values = ['indexes', 'online-archives', 'flex']
|
|
225
225
|
if @api_client.config.client_side_validation && opts[:'filter_storage_tier'] && !allowable_values.include?(opts[:'filter_storage_tier'])
|
|
226
226
|
fail ArgumentError, "invalid value for \"filter_storage_tier\", must be one of #{allowable_values}"
|
|
227
227
|
end
|
|
@@ -272,7 +272,7 @@ module DatadogAPIClient::V2
|
|
|
272
272
|
return_type = opts[:debug_return_type] || 'LogsArchive'
|
|
273
273
|
|
|
274
274
|
# auth_names
|
|
275
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
275
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
276
276
|
|
|
277
277
|
new_options = opts.merge(
|
|
278
278
|
:operation => :get_logs_archive,
|
|
@@ -333,7 +333,7 @@ module DatadogAPIClient::V2
|
|
|
333
333
|
return_type = opts[:debug_return_type] || 'LogsArchiveOrder'
|
|
334
334
|
|
|
335
335
|
# auth_names
|
|
336
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
336
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
337
337
|
|
|
338
338
|
new_options = opts.merge(
|
|
339
339
|
:operation => :get_logs_archive_order,
|
|
@@ -398,7 +398,7 @@ module DatadogAPIClient::V2
|
|
|
398
398
|
return_type = opts[:debug_return_type] || 'RolesResponse'
|
|
399
399
|
|
|
400
400
|
# auth_names
|
|
401
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
401
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
402
402
|
|
|
403
403
|
new_options = opts.merge(
|
|
404
404
|
:operation => :list_archive_read_roles,
|
|
@@ -458,7 +458,7 @@ module DatadogAPIClient::V2
|
|
|
458
458
|
return_type = opts[:debug_return_type] || 'LogsArchives'
|
|
459
459
|
|
|
460
460
|
# auth_names
|
|
461
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
461
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
462
462
|
|
|
463
463
|
new_options = opts.merge(
|
|
464
464
|
:operation => :list_logs_archives,
|
|
@@ -201,7 +201,7 @@ module DatadogAPIClient::V2
|
|
|
201
201
|
return_type = opts[:debug_return_type] || 'LogsMetricResponse'
|
|
202
202
|
|
|
203
203
|
# auth_names
|
|
204
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
204
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
205
205
|
|
|
206
206
|
new_options = opts.merge(
|
|
207
207
|
:operation => :get_logs_metric,
|
|
@@ -261,7 +261,7 @@ module DatadogAPIClient::V2
|
|
|
261
261
|
return_type = opts[:debug_return_type] || 'LogsMetricsResponse'
|
|
262
262
|
|
|
263
263
|
# auth_names
|
|
264
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
264
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
265
265
|
|
|
266
266
|
new_options = opts.merge(
|
|
267
267
|
:operation => :list_logs_metrics,
|
|
@@ -375,7 +375,7 @@ module DatadogAPIClient::V2
|
|
|
375
375
|
return_type = opts[:debug_return_type] || 'MetricEstimateResponse'
|
|
376
376
|
|
|
377
377
|
# auth_names
|
|
378
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
378
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
379
379
|
|
|
380
380
|
new_options = opts.merge(
|
|
381
381
|
:operation => :estimate_metrics_output_series,
|
|
@@ -442,7 +442,7 @@ module DatadogAPIClient::V2
|
|
|
442
442
|
return_type = opts[:debug_return_type] || 'MetricSuggestedTagsAndAggregationsResponse'
|
|
443
443
|
|
|
444
444
|
# auth_names
|
|
445
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
445
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
446
446
|
|
|
447
447
|
new_options = opts.merge(
|
|
448
448
|
:operation => :list_active_metric_configurations,
|
|
@@ -782,7 +782,7 @@ module DatadogAPIClient::V2
|
|
|
782
782
|
return_type = opts[:debug_return_type] || 'MetricVolumesResponse'
|
|
783
783
|
|
|
784
784
|
# auth_names
|
|
785
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth
|
|
785
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
786
786
|
|
|
787
787
|
new_options = opts.merge(
|
|
788
788
|
:operation => :list_volumes_by_metric_name,
|
|
@@ -167,18 +167,18 @@ module DatadogAPIClient::V2
|
|
|
167
167
|
#
|
|
168
168
|
# #### Supported resources
|
|
169
169
|
# Restriction policies can be applied to the following resources:
|
|
170
|
-
# - Connections: `connection`
|
|
171
170
|
# - Dashboards: `dashboard`
|
|
172
171
|
# - Notebooks: `notebook`
|
|
172
|
+
# - Powerpacks: `powerpack`
|
|
173
173
|
# - Security Rules: `security-rule`
|
|
174
174
|
# - Service Level Objectives: `slo`
|
|
175
175
|
#
|
|
176
176
|
# #### Supported relations for resources
|
|
177
177
|
# Resource Type | Supported Relations
|
|
178
178
|
# -------------------------|--------------------------
|
|
179
|
-
# Connections | `viewer`, `editor`, `resolver`
|
|
180
179
|
# Dashboards | `viewer`, `editor`
|
|
181
180
|
# Notebooks | `viewer`, `editor`
|
|
181
|
+
# Powerpacks | `viewer`, `editor`
|
|
182
182
|
# Security Rules | `viewer`, `editor`
|
|
183
183
|
# Service Level Objectives | `viewer`, `editor`
|
|
184
184
|
#
|