datadog_api_client 1.0.0 → 1.1.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 +6 -6
- data/.github/workflows/scripts/test_integration.js +24 -0
- data/.github/workflows/test.yml +4 -0
- data/.github/workflows/test_integration.yml +87 -0
- data/.openapi-generator/FILES +48 -0
- data/CHANGELOG.md +18 -0
- data/README.md +1 -1
- data/data/v1/openapi.yaml +1133 -99
- data/data/v2/openapi.yaml +420 -13
- data/docs/v1/Downtime.md +2 -0
- data/docs/v1/DowntimeChild.md +48 -0
- data/docs/v1/MetricsAPI.md +1 -1
- data/docs/v1/Monitor.md +3 -3
- data/docs/v1/MonitorGroupSearchResponse.md +22 -0
- data/docs/v1/MonitorGroupSearchResponseCounts.md +20 -0
- data/docs/v1/MonitorGroupSearchResult.md +30 -0
- data/docs/v1/MonitorOptions.md +1 -1
- data/docs/v1/MonitorSearchResponse.md +22 -0
- data/docs/v1/MonitorSearchResponseCounts.md +24 -0
- data/docs/v1/MonitorSearchResponseMetadata.md +24 -0
- data/docs/v1/MonitorSearchResult.md +40 -0
- data/docs/v1/MonitorSearchResultNotification.md +20 -0
- data/docs/v1/MonitorsAPI.md +155 -13
- data/docs/v1/NotebookCreateDataAttributes.md +1 -1
- data/docs/v1/NotebookResponseDataAttributes.md +3 -3
- data/docs/v1/NotebookUpdateDataAttributes.md +1 -1
- data/docs/v1/NotebooksResponse.md +1 -1
- data/docs/v1/NotebooksResponseData.md +22 -0
- data/docs/v1/NotebooksResponseDataAttributes.md +30 -0
- data/docs/v1/README.md +25 -4
- data/docs/v1/SyntheticsAPI.md +62 -2
- data/docs/v1/SyntheticsAPITest.md +2 -2
- data/docs/v1/SyntheticsAPITestConfig.md +1 -1
- data/docs/v1/SyntheticsBrowserTest.md +2 -2
- data/docs/v1/SyntheticsConfigVariable.md +3 -1
- data/docs/v1/SyntheticsGlobalVariableValue.md +1 -1
- data/docs/v1/SyntheticsListGlobalVariablesResponse.md +18 -0
- data/docs/v1/SyntheticsTestConfig.md +1 -1
- data/docs/v1/SyntheticsTestDetails.md +2 -2
- data/docs/v1/UsageAttributionBody.md +2 -0
- data/docs/v1/UsageAttributionPagination.md +3 -7
- data/docs/v1/UsageAttributionValues.md +8 -0
- data/docs/v1/UsageAuditLogsHour.md +20 -0
- data/docs/v1/UsageAuditLogsResponse.md +18 -0
- data/docs/v1/UsageCWSHour.md +22 -0
- data/docs/v1/UsageCWSResponse.md +18 -0
- data/docs/v1/UsageCloudSecurityPostureManagementHour.md +22 -0
- data/docs/v1/UsageCloudSecurityPostureManagementResponse.md +18 -0
- data/docs/v1/UsageMeteringAPI.md +157 -21
- data/docs/v1/UsageSummaryDate.md +12 -4
- data/docs/v1/UsageSummaryDateOrg.md +12 -4
- data/docs/v1/UsageSummaryResponse.md +12 -4
- data/docs/v1/UsageTopAvgMetricsMetadata.md +2 -2
- data/docs/v1/WidgetCustomLink.md +7 -3
- data/docs/v2/IncidentServicesAPI.md +2 -2
- data/docs/v2/IncidentTeamsAPI.md +2 -2
- data/docs/v2/IncidentsAPI.md +2 -2
- data/docs/v2/IncidentsResponse.md +1 -1
- data/docs/v2/KeyManagementAPI.md +6 -6
- data/docs/v2/README.md +21 -0
- data/docs/v2/RelationshipToIncidentIntegrationMetadataData.md +1 -1
- data/docs/v2/RelationshipToIncidentIntegrationMetadatas.md +1 -1
- data/docs/v2/RolesAPI.md +4 -4
- data/docs/v2/SecurityFilter.md +22 -0
- data/docs/v2/SecurityFilterAttributes.md +30 -0
- data/docs/v2/SecurityFilterCreateAttributes.md +26 -0
- data/docs/v2/SecurityFilterCreateData.md +20 -0
- data/docs/v2/SecurityFilterCreateRequest.md +18 -0
- data/docs/v2/SecurityFilterDeleteResponse.md +18 -0
- data/docs/v2/SecurityFilterExclusionFilter.md +20 -0
- data/docs/v2/SecurityFilterExclusionFilterResponse.md +20 -0
- data/docs/v2/SecurityFilterFilteredDataType.md +15 -0
- data/docs/v2/SecurityFilterMeta.md +18 -0
- data/docs/v2/SecurityFilterResponse.md +20 -0
- data/docs/v2/SecurityFilterType.md +15 -0
- data/docs/v2/SecurityFilterUpdateAttributes.md +28 -0
- data/docs/v2/SecurityFilterUpdateData.md +20 -0
- data/docs/v2/SecurityFilterUpdateRequest.md +18 -0
- data/docs/v2/SecurityFiltersResponse.md +20 -0
- data/docs/v2/SecurityMonitoringAPI.md +316 -2
- data/docs/v2/UsersAPI.md +10 -10
- data/lib/datadog_api_client/v1.rb +18 -2
- data/lib/datadog_api_client/v1/api/metrics_api.rb +2 -2
- data/lib/datadog_api_client/v1/api/monitors_api.rb +163 -5
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +67 -0
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +180 -23
- data/lib/datadog_api_client/v1/models/downtime.rb +11 -1
- data/lib/datadog_api_client/v1/models/downtime_child.rb +427 -0
- data/lib/datadog_api_client/v1/models/monitor.rb +10 -0
- data/lib/datadog_api_client/v1/models/monitor_group_search_response.rb +243 -0
- data/lib/datadog_api_client/v1/models/monitor_group_search_response_counts.rb +237 -0
- data/lib/datadog_api_client/v1/models/monitor_group_search_result.rb +285 -0
- data/lib/datadog_api_client/v1/models/monitor_options.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor_search_response.rb +243 -0
- data/lib/datadog_api_client/v1/models/monitor_search_response_counts.rb +261 -0
- data/lib/datadog_api_client/v1/models/monitor_search_response_metadata.rb +253 -0
- data/lib/datadog_api_client/v1/models/monitor_search_result.rb +339 -0
- data/lib/datadog_api_client/v1/models/monitor_search_result_notification.rb +233 -0
- data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_distribution_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_heat_map_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_markdown_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebook_timeseries_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_toplist_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebooks_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebooks_response_data.rb +258 -0
- data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +317 -0
- data/lib/datadog_api_client/v1/models/synthetics_api_test_config.rb +0 -5
- data/lib/datadog_api_client/v1/models/synthetics_config_variable.rb +11 -6
- data/lib/datadog_api_client/v1/models/synthetics_config_variable_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_value.rb +0 -5
- data/lib/datadog_api_client/v1/models/synthetics_list_global_variables_response.rb +225 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_config.rb +0 -5
- data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_attribution_pagination.rb +10 -30
- data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +41 -1
- data/lib/datadog_api_client/v1/models/usage_audit_logs_hour.rb +233 -0
- data/lib/datadog_api_client/v1/models/{usage_compliance_response.rb → usage_audit_logs_response.rb} +6 -6
- data/lib/datadog_api_client/v1/models/{usage_compliance_hour.rb → usage_cloud_security_posture_management_hour.rb} +19 -19
- data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_response.rb +225 -0
- data/lib/datadog_api_client/v1/models/usage_cws_hour.rb +243 -0
- data/lib/datadog_api_client/v1/models/usage_cws_response.rb +225 -0
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +61 -22
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +61 -22
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +61 -22
- data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_metadata.rb +2 -4
- data/lib/datadog_api_client/v1/models/widget_custom_link.rb +24 -14
- data/lib/datadog_api_client/v2.rb +16 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +369 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadata_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_filter.rb +243 -0
- data/lib/datadog_api_client/v2/models/security_filter_attributes.rb +299 -0
- data/lib/datadog_api_client/v2/models/security_filter_create_attributes.rb +289 -0
- data/lib/datadog_api_client/v2/models/security_filter_create_data.rb +243 -0
- data/lib/datadog_api_client/v2/models/security_filter_create_request.rb +227 -0
- data/lib/datadog_api_client/v2/models/security_filter_delete_response.rb +222 -0
- data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter.rb +243 -0
- data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter_response.rb +233 -0
- data/lib/datadog_api_client/v2/models/security_filter_filtered_data_type.rb +39 -0
- data/lib/datadog_api_client/v2/models/security_filter_meta.rb +223 -0
- data/lib/datadog_api_client/v2/models/security_filter_response.rb +231 -0
- data/lib/datadog_api_client/v2/models/security_filter_type.rb +39 -0
- data/lib/datadog_api_client/v2/models/security_filter_update_attributes.rb +289 -0
- data/lib/datadog_api_client/v2/models/security_filter_update_data.rb +243 -0
- data/lib/datadog_api_client/v2/models/security_filter_update_request.rb +227 -0
- data/lib/datadog_api_client/v2/models/security_filters_response.rb +234 -0
- data/lib/datadog_api_client/version.rb +1 -1
- data/spec/v1/models/downtime_child_spec.rb +127 -0
- data/spec/v1/models/monitor_group_search_response_counts_spec.rb +43 -0
- data/spec/v1/models/monitor_group_search_response_spec.rb +49 -0
- data/spec/v1/models/monitor_group_search_result_spec.rb +73 -0
- data/spec/v1/models/monitor_search_response_counts_spec.rb +55 -0
- data/spec/v1/models/monitor_search_response_metadata_spec.rb +55 -0
- data/spec/v1/models/monitor_search_response_spec.rb +49 -0
- data/spec/v1/models/monitor_search_result_notification_spec.rb +43 -0
- data/spec/v1/models/monitor_search_result_spec.rb +103 -0
- data/spec/v1/models/notebooks_response_data_attributes_spec.rb +73 -0
- data/spec/v1/models/notebooks_response_data_spec.rb +49 -0
- data/spec/v1/models/synthetics_list_global_variables_response_spec.rb +37 -0
- data/spec/v1/models/usage_audit_logs_hour_spec.rb +43 -0
- data/spec/v1/models/{usage_compliance_response_spec.rb → usage_audit_logs_response_spec.rb} +6 -6
- data/spec/v1/models/usage_cloud_security_posture_management_hour_spec.rb +49 -0
- data/spec/v1/models/usage_cloud_security_posture_management_response_spec.rb +37 -0
- data/spec/v1/models/{usage_compliance_hour_spec.rb → usage_cws_hour_spec.rb} +8 -8
- data/spec/v1/models/usage_cws_response_spec.rb +37 -0
- data/spec/v2/models/security_filter_attributes_spec.rb +73 -0
- data/spec/v2/models/security_filter_create_attributes_spec.rb +61 -0
- data/spec/v2/models/security_filter_create_data_spec.rb +43 -0
- data/spec/v2/models/security_filter_create_request_spec.rb +37 -0
- data/spec/v2/models/security_filter_delete_response_spec.rb +37 -0
- data/spec/v2/models/security_filter_exclusion_filter_response_spec.rb +43 -0
- data/spec/v2/models/security_filter_exclusion_filter_spec.rb +43 -0
- data/spec/v2/models/security_filter_filtered_data_type_spec.rb +31 -0
- data/spec/v2/models/security_filter_meta_spec.rb +37 -0
- data/spec/v2/models/security_filter_response_spec.rb +43 -0
- data/spec/v2/models/security_filter_spec.rb +49 -0
- data/spec/v2/models/security_filter_type_spec.rb +31 -0
- data/spec/v2/models/security_filter_update_attributes_spec.rb +67 -0
- data/spec/v2/models/security_filter_update_data_spec.rb +43 -0
- data/spec/v2/models/security_filter_update_request_spec.rb +37 -0
- data/spec/v2/models/security_filters_response_spec.rb +43 -0
- metadata +140 -11
- data/.azure-pipelines/all.yml +0 -50
- data/docs/v1/UsageComplianceHour.md +0 -22
- data/docs/v1/UsageComplianceResponse.md +0 -18
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V1 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'spec_helper'
|
|
17
|
+
require 'json'
|
|
18
|
+
require 'date'
|
|
19
|
+
|
|
20
|
+
# Unit tests for DatadogAPIClient::V1::NotebooksResponseData
|
|
21
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
22
|
+
# Please update as you see appropriate
|
|
23
|
+
describe DatadogAPIClient::V1::NotebooksResponseData do
|
|
24
|
+
let(:instance) { DatadogAPIClient::V1::NotebooksResponseData.new }
|
|
25
|
+
|
|
26
|
+
describe 'test an instance of NotebooksResponseData' do
|
|
27
|
+
it 'should create an instance of NotebooksResponseData' do
|
|
28
|
+
expect(instance).to be_instance_of(DatadogAPIClient::V1::NotebooksResponseData)
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
describe 'test attribute "attributes"' do
|
|
32
|
+
it 'should work' do
|
|
33
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
describe 'test attribute "id"' do
|
|
38
|
+
it 'should work' do
|
|
39
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
describe 'test attribute "type"' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V1 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'spec_helper'
|
|
17
|
+
require 'json'
|
|
18
|
+
require 'date'
|
|
19
|
+
|
|
20
|
+
# Unit tests for DatadogAPIClient::V1::SyntheticsListGlobalVariablesResponse
|
|
21
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
22
|
+
# Please update as you see appropriate
|
|
23
|
+
describe DatadogAPIClient::V1::SyntheticsListGlobalVariablesResponse do
|
|
24
|
+
let(:instance) { DatadogAPIClient::V1::SyntheticsListGlobalVariablesResponse.new }
|
|
25
|
+
|
|
26
|
+
describe 'test an instance of SyntheticsListGlobalVariablesResponse' do
|
|
27
|
+
it 'should create an instance of SyntheticsListGlobalVariablesResponse' do
|
|
28
|
+
expect(instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsListGlobalVariablesResponse)
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
describe 'test attribute "variables"' do
|
|
32
|
+
it 'should work' do
|
|
33
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V1 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'spec_helper'
|
|
17
|
+
require 'json'
|
|
18
|
+
require 'date'
|
|
19
|
+
|
|
20
|
+
# Unit tests for DatadogAPIClient::V1::UsageAuditLogsHour
|
|
21
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
22
|
+
# Please update as you see appropriate
|
|
23
|
+
describe DatadogAPIClient::V1::UsageAuditLogsHour do
|
|
24
|
+
let(:instance) { DatadogAPIClient::V1::UsageAuditLogsHour.new }
|
|
25
|
+
|
|
26
|
+
describe 'test an instance of UsageAuditLogsHour' do
|
|
27
|
+
it 'should create an instance of UsageAuditLogsHour' do
|
|
28
|
+
expect(instance).to be_instance_of(DatadogAPIClient::V1::UsageAuditLogsHour)
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
describe 'test attribute "hour"' do
|
|
32
|
+
it 'should work' do
|
|
33
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
describe 'test attribute "lines_indexed"' do
|
|
38
|
+
it 'should work' do
|
|
39
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
end
|
|
@@ -17,15 +17,15 @@ require 'spec_helper'
|
|
|
17
17
|
require 'json'
|
|
18
18
|
require 'date'
|
|
19
19
|
|
|
20
|
-
# Unit tests for DatadogAPIClient::V1::
|
|
20
|
+
# Unit tests for DatadogAPIClient::V1::UsageAuditLogsResponse
|
|
21
21
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
22
22
|
# Please update as you see appropriate
|
|
23
|
-
describe DatadogAPIClient::V1::
|
|
24
|
-
let(:instance) { DatadogAPIClient::V1::
|
|
23
|
+
describe DatadogAPIClient::V1::UsageAuditLogsResponse do
|
|
24
|
+
let(:instance) { DatadogAPIClient::V1::UsageAuditLogsResponse.new }
|
|
25
25
|
|
|
26
|
-
describe 'test an instance of
|
|
27
|
-
it 'should create an instance of
|
|
28
|
-
expect(instance).to be_instance_of(DatadogAPIClient::V1::
|
|
26
|
+
describe 'test an instance of UsageAuditLogsResponse' do
|
|
27
|
+
it 'should create an instance of UsageAuditLogsResponse' do
|
|
28
|
+
expect(instance).to be_instance_of(DatadogAPIClient::V1::UsageAuditLogsResponse)
|
|
29
29
|
end
|
|
30
30
|
end
|
|
31
31
|
describe 'test attribute "usage"' do
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V1 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'spec_helper'
|
|
17
|
+
require 'json'
|
|
18
|
+
require 'date'
|
|
19
|
+
|
|
20
|
+
# Unit tests for DatadogAPIClient::V1::UsageCloudSecurityPostureManagementHour
|
|
21
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
22
|
+
# Please update as you see appropriate
|
|
23
|
+
describe DatadogAPIClient::V1::UsageCloudSecurityPostureManagementHour do
|
|
24
|
+
let(:instance) { DatadogAPIClient::V1::UsageCloudSecurityPostureManagementHour.new }
|
|
25
|
+
|
|
26
|
+
describe 'test an instance of UsageCloudSecurityPostureManagementHour' do
|
|
27
|
+
it 'should create an instance of UsageCloudSecurityPostureManagementHour' do
|
|
28
|
+
expect(instance).to be_instance_of(DatadogAPIClient::V1::UsageCloudSecurityPostureManagementHour)
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
describe 'test attribute "container_count"' do
|
|
32
|
+
it 'should work' do
|
|
33
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
describe 'test attribute "host_count"' do
|
|
38
|
+
it 'should work' do
|
|
39
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
describe 'test attribute "hour"' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V1 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'spec_helper'
|
|
17
|
+
require 'json'
|
|
18
|
+
require 'date'
|
|
19
|
+
|
|
20
|
+
# Unit tests for DatadogAPIClient::V1::UsageCloudSecurityPostureManagementResponse
|
|
21
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
22
|
+
# Please update as you see appropriate
|
|
23
|
+
describe DatadogAPIClient::V1::UsageCloudSecurityPostureManagementResponse do
|
|
24
|
+
let(:instance) { DatadogAPIClient::V1::UsageCloudSecurityPostureManagementResponse.new }
|
|
25
|
+
|
|
26
|
+
describe 'test an instance of UsageCloudSecurityPostureManagementResponse' do
|
|
27
|
+
it 'should create an instance of UsageCloudSecurityPostureManagementResponse' do
|
|
28
|
+
expect(instance).to be_instance_of(DatadogAPIClient::V1::UsageCloudSecurityPostureManagementResponse)
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
describe 'test attribute "usage"' do
|
|
32
|
+
it 'should work' do
|
|
33
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
end
|
|
@@ -17,24 +17,24 @@ require 'spec_helper'
|
|
|
17
17
|
require 'json'
|
|
18
18
|
require 'date'
|
|
19
19
|
|
|
20
|
-
# Unit tests for DatadogAPIClient::V1::
|
|
20
|
+
# Unit tests for DatadogAPIClient::V1::UsageCWSHour
|
|
21
21
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
22
22
|
# Please update as you see appropriate
|
|
23
|
-
describe DatadogAPIClient::V1::
|
|
24
|
-
let(:instance) { DatadogAPIClient::V1::
|
|
23
|
+
describe DatadogAPIClient::V1::UsageCWSHour do
|
|
24
|
+
let(:instance) { DatadogAPIClient::V1::UsageCWSHour.new }
|
|
25
25
|
|
|
26
|
-
describe 'test an instance of
|
|
27
|
-
it 'should create an instance of
|
|
28
|
-
expect(instance).to be_instance_of(DatadogAPIClient::V1::
|
|
26
|
+
describe 'test an instance of UsageCWSHour' do
|
|
27
|
+
it 'should create an instance of UsageCWSHour' do
|
|
28
|
+
expect(instance).to be_instance_of(DatadogAPIClient::V1::UsageCWSHour)
|
|
29
29
|
end
|
|
30
30
|
end
|
|
31
|
-
describe 'test attribute "
|
|
31
|
+
describe 'test attribute "cws_container_count"' do
|
|
32
32
|
it 'should work' do
|
|
33
33
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
34
|
end
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
describe 'test attribute "
|
|
37
|
+
describe 'test attribute "cws_host_count"' do
|
|
38
38
|
it 'should work' do
|
|
39
39
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
40
|
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V1 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'spec_helper'
|
|
17
|
+
require 'json'
|
|
18
|
+
require 'date'
|
|
19
|
+
|
|
20
|
+
# Unit tests for DatadogAPIClient::V1::UsageCWSResponse
|
|
21
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
22
|
+
# Please update as you see appropriate
|
|
23
|
+
describe DatadogAPIClient::V1::UsageCWSResponse do
|
|
24
|
+
let(:instance) { DatadogAPIClient::V1::UsageCWSResponse.new }
|
|
25
|
+
|
|
26
|
+
describe 'test an instance of UsageCWSResponse' do
|
|
27
|
+
it 'should create an instance of UsageCWSResponse' do
|
|
28
|
+
expect(instance).to be_instance_of(DatadogAPIClient::V1::UsageCWSResponse)
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
describe 'test attribute "usage"' do
|
|
32
|
+
it 'should work' do
|
|
33
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
end
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'spec_helper'
|
|
17
|
+
require 'json'
|
|
18
|
+
require 'date'
|
|
19
|
+
|
|
20
|
+
# Unit tests for DatadogAPIClient::V2::SecurityFilterAttributes
|
|
21
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
22
|
+
# Please update as you see appropriate
|
|
23
|
+
describe DatadogAPIClient::V2::SecurityFilterAttributes do
|
|
24
|
+
let(:instance) { DatadogAPIClient::V2::SecurityFilterAttributes.new }
|
|
25
|
+
|
|
26
|
+
describe 'test an instance of SecurityFilterAttributes' do
|
|
27
|
+
it 'should create an instance of SecurityFilterAttributes' do
|
|
28
|
+
expect(instance).to be_instance_of(DatadogAPIClient::V2::SecurityFilterAttributes)
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
describe 'test attribute "exclusion_filters"' do
|
|
32
|
+
it 'should work' do
|
|
33
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
describe 'test attribute "filtered_data_type"' do
|
|
38
|
+
it 'should work' do
|
|
39
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
describe 'test attribute "is_builtin"' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
describe 'test attribute "is_enabled"' do
|
|
50
|
+
it 'should work' do
|
|
51
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
describe 'test attribute "name"' do
|
|
56
|
+
it 'should work' do
|
|
57
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
describe 'test attribute "query"' do
|
|
62
|
+
it 'should work' do
|
|
63
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
describe 'test attribute "version"' do
|
|
68
|
+
it 'should work' do
|
|
69
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'spec_helper'
|
|
17
|
+
require 'json'
|
|
18
|
+
require 'date'
|
|
19
|
+
|
|
20
|
+
# Unit tests for DatadogAPIClient::V2::SecurityFilterCreateAttributes
|
|
21
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
22
|
+
# Please update as you see appropriate
|
|
23
|
+
describe DatadogAPIClient::V2::SecurityFilterCreateAttributes do
|
|
24
|
+
let(:instance) { DatadogAPIClient::V2::SecurityFilterCreateAttributes.new }
|
|
25
|
+
|
|
26
|
+
describe 'test an instance of SecurityFilterCreateAttributes' do
|
|
27
|
+
it 'should create an instance of SecurityFilterCreateAttributes' do
|
|
28
|
+
expect(instance).to be_instance_of(DatadogAPIClient::V2::SecurityFilterCreateAttributes)
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
describe 'test attribute "exclusion_filters"' do
|
|
32
|
+
it 'should work' do
|
|
33
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
describe 'test attribute "filtered_data_type"' do
|
|
38
|
+
it 'should work' do
|
|
39
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
describe 'test attribute "is_enabled"' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
describe 'test attribute "name"' do
|
|
50
|
+
it 'should work' do
|
|
51
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
describe 'test attribute "query"' do
|
|
56
|
+
it 'should work' do
|
|
57
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
end
|