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
|
@@ -7,17 +7,21 @@
|
|
|
7
7
|
| **agent_host_top99p_sum** | **Integer** | Shows the 99th percentile of all agent hosts over all hours in the current months for all organizations. | [optional] |
|
|
8
8
|
| **apm_azure_app_service_host_top99p_sum** | **Integer** | Shows the 99th percentile of all Azure app services using APM over all hours in the current months all organizations. | [optional] |
|
|
9
9
|
| **apm_host_top99p_sum** | **Integer** | Shows the 99th percentile of all distinct APM hosts over all hours in the current months for all organizations. | [optional] |
|
|
10
|
+
| **audit_logs_lines_indexed_agg_sum** | **Integer** | Shows the sum of all audit logs lines indexed over all hours in the current months for all organizations. | [optional] |
|
|
10
11
|
| **aws_host_top99p_sum** | **Integer** | Shows the 99th percentile of all AWS hosts over all hours in the current months for all organizations. | [optional] |
|
|
11
12
|
| **aws_lambda_func_count** | **Integer** | Shows the average of the number of functions that executed 1 or more times each hour in the current months for all organizations. | [optional] |
|
|
12
13
|
| **aws_lambda_invocations_sum** | **Integer** | Shows the sum of all AWS Lambda invocations over all hours in the current months for all organizations. | [optional] |
|
|
13
14
|
| **azure_app_service_top99p_sum** | **Integer** | Shows the 99th percentile of all Azure app services over all hours in the current months for all organizations. | [optional] |
|
|
14
15
|
| **azure_host_top99p_sum** | **Integer** | Shows the 99th percentile of all Azure hosts over all hours in the current months for all organizations. | [optional] |
|
|
15
16
|
| **billable_ingested_bytes_agg_sum** | **Integer** | Shows the sum of all log bytes ingested over all hours in the current months for all organizations. | [optional] |
|
|
16
|
-
| **compliance_container_agg_sum** | **Object** | Shows the sum of all compliance containers over all hours in the current months for all organizations. | [optional] |
|
|
17
|
-
| **compliance_host_agg_sum** | **Integer** | Shows the sum of all compliance hosts over all hours in the current months for all organizations. | [optional] |
|
|
18
17
|
| **container_avg_sum** | **Integer** | Shows the average of all distinct containers over all hours in the current months for all organizations. | [optional] |
|
|
19
18
|
| **container_hwm_sum** | **Integer** | Shows the sum of the high-water marks of all distinct containers over all hours in the current months for all organizations. | [optional] |
|
|
19
|
+
| **cspm_container_avg_sum** | **Integer** | Shows the average number of Cloud Security Posture Management containers over all hours in the current months for all organizations. | [optional] |
|
|
20
|
+
| **cspm_container_hwm_sum** | **Integer** | Shows the sum of the the high-water marks of Cloud Security Posture Management containers over all hours in the current months for all organizations. | [optional] |
|
|
21
|
+
| **cspm_host_top99p_sum** | **Integer** | Shows the 99th percentile of all Cloud Security Posture Management hosts over all hours in the current months for all organizations. | [optional] |
|
|
20
22
|
| **custom_ts_sum** | **Integer** | Shows the average number of distinct custom metrics over all hours in the current months for all organizations. | [optional] |
|
|
23
|
+
| **cws_containers_avg_sum** | **Integer** | Shows the average of all distinct Cloud Workload Security containers over all hours in the current months for all organizations. | [optional] |
|
|
24
|
+
| **cws_host_top99p_sum** | **Integer** | Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current months for all organizations. | [optional] |
|
|
21
25
|
| **end_date** | **Time** | Shows the last date of usage in the current months for all organizations. | [optional] |
|
|
22
26
|
| **fargate_tasks_count_avg_sum** | **Integer** | Shows the average of all Fargate tasks over all hours in the current months for all organizations. | [optional] |
|
|
23
27
|
| **fargate_tasks_count_hwm_sum** | **Integer** | Shows the sum of the high-water marks of all Fargate tasks over all hours in the current months for all organizations. | [optional] |
|
|
@@ -62,17 +66,21 @@ instance = DatadogAPIClient::V1::UsageSummaryResponse.new(
|
|
|
62
66
|
agent_host_top99p_sum: null,
|
|
63
67
|
apm_azure_app_service_host_top99p_sum: null,
|
|
64
68
|
apm_host_top99p_sum: null,
|
|
69
|
+
audit_logs_lines_indexed_agg_sum: null,
|
|
65
70
|
aws_host_top99p_sum: null,
|
|
66
71
|
aws_lambda_func_count: null,
|
|
67
72
|
aws_lambda_invocations_sum: null,
|
|
68
73
|
azure_app_service_top99p_sum: null,
|
|
69
74
|
azure_host_top99p_sum: null,
|
|
70
75
|
billable_ingested_bytes_agg_sum: null,
|
|
71
|
-
compliance_container_agg_sum: null,
|
|
72
|
-
compliance_host_agg_sum: null,
|
|
73
76
|
container_avg_sum: null,
|
|
74
77
|
container_hwm_sum: null,
|
|
78
|
+
cspm_container_avg_sum: null,
|
|
79
|
+
cspm_container_hwm_sum: null,
|
|
80
|
+
cspm_host_top99p_sum: null,
|
|
75
81
|
custom_ts_sum: null,
|
|
82
|
+
cws_containers_avg_sum: null,
|
|
83
|
+
cws_host_top99p_sum: null,
|
|
76
84
|
end_date: null,
|
|
77
85
|
fargate_tasks_count_avg_sum: null,
|
|
78
86
|
fargate_tasks_count_hwm_sum: null,
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **day** | **
|
|
8
|
-
| **month** | **
|
|
7
|
+
| **day** | **Time** | The day value from the user request that contains the returned usage data. (If day was used the request) | [optional] |
|
|
8
|
+
| **month** | **Time** | The month value from the user request that contains the returned usage data. (If month was used the request) | [optional] |
|
|
9
9
|
| **pagination** | [**UsageAttributionPagination**](UsageAttributionPagination.md) | | [optional] |
|
|
10
10
|
|
|
11
11
|
## Example
|
data/docs/v1/WidgetCustomLink.md
CHANGED
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **
|
|
7
|
+
| **is_hidden** | **Boolean** | The flag for toggling context menu link visibility. | [optional] |
|
|
8
|
+
| **label** | **String** | The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables. | [optional] |
|
|
9
|
+
| **link** | **String** | The URL of the custom link. URL must include `http` or `https`. A relative URL must start with `/`. | [optional] |
|
|
10
|
+
| **override_label** | **String** | The label ID that refers to a context menu link. Can be `logs`, `hosts`, `traces`, `profiles`, `processes`, `containers`, or `rum`. | [optional] |
|
|
9
11
|
|
|
10
12
|
## Example
|
|
11
13
|
|
|
@@ -13,8 +15,10 @@
|
|
|
13
15
|
require 'datadog_api_client/v1'
|
|
14
16
|
|
|
15
17
|
instance = DatadogAPIClient::V1::WidgetCustomLink.new(
|
|
18
|
+
is_hidden: null,
|
|
16
19
|
label: Search logs for {{host}},
|
|
17
|
-
link: https://app.datadoghq.com/logs?query={{host}}
|
|
20
|
+
link: https://app.datadoghq.com/logs?query={{host}},
|
|
21
|
+
override_label: logs
|
|
18
22
|
)
|
|
19
23
|
```
|
|
20
24
|
|
|
@@ -235,8 +235,8 @@ end
|
|
|
235
235
|
api_instance = DatadogAPIClient::V2::IncidentServicesAPI.new
|
|
236
236
|
opts = {
|
|
237
237
|
include: DatadogAPIClient::V2::IncidentRelatedObject::USERS, # IncidentRelatedObject | Specifies which types of related objects should be included in the response.
|
|
238
|
-
page_size:
|
|
239
|
-
page_offset:
|
|
238
|
+
page_size: 10, # Integer | Size for a given page.
|
|
239
|
+
page_offset: 0, # Integer | Specific offset to use as the beginning of the returned page.
|
|
240
240
|
filter: 'ExampleServiceName' # String | A search query that filters services by name.
|
|
241
241
|
}
|
|
242
242
|
|
data/docs/v2/IncidentTeamsAPI.md
CHANGED
|
@@ -235,8 +235,8 @@ end
|
|
|
235
235
|
api_instance = DatadogAPIClient::V2::IncidentTeamsAPI.new
|
|
236
236
|
opts = {
|
|
237
237
|
include: DatadogAPIClient::V2::IncidentRelatedObject::USERS, # IncidentRelatedObject | Specifies which types of related objects should be included in the response.
|
|
238
|
-
page_size:
|
|
239
|
-
page_offset:
|
|
238
|
+
page_size: 10, # Integer | Size for a given page.
|
|
239
|
+
page_offset: 0, # Integer | Specific offset to use as the beginning of the returned page.
|
|
240
240
|
filter: 'ExampleTeamName' # String | A search query that filters teams by name.
|
|
241
241
|
}
|
|
242
242
|
|
data/docs/v2/IncidentsAPI.md
CHANGED
|
@@ -235,8 +235,8 @@ end
|
|
|
235
235
|
api_instance = DatadogAPIClient::V2::IncidentsAPI.new
|
|
236
236
|
opts = {
|
|
237
237
|
include: [DatadogAPIClient::V2::IncidentRelatedObject::USERS], # Array<IncidentRelatedObject> | Specifies which types of related objects should be included in the response.
|
|
238
|
-
page_size:
|
|
239
|
-
page_offset:
|
|
238
|
+
page_size: 10, # Integer | Size for a given page.
|
|
239
|
+
page_offset: 0 # Integer | Specific offset to use as the beginning of the returned page.
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
begin
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
require 'datadog_api_client/v2'
|
|
15
15
|
|
|
16
16
|
instance = DatadogAPIClient::V2::IncidentsResponse.new(
|
|
17
|
-
data: [{"attributes":{"created":"2020-04-21T15:34:08.627205+00:00","creation_idempotency_key":null,"customer_impact_duration":0,"customer_impact_end":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impacted":false,"detected":"2020-04-14T00:00:00+00:00","modified":"2020-09-17T14:16:58.696424+00:00","postmortem_id":"00000000-0000-0000-0000-000000000000","public_id":1,"resolved":null,"severity":"SEV-1","time_to_detect":0,"time_to_internal_response":0,"time_to_repair":0,"time_to_resolve":0,"title":"Example Incident"},"id":"00000000-0000-0000-0000-000000000000","relationships":{"commander_user":{"data":{"id":"00000000-0000-0000-0000-000000000000","type":"users"}},"created_by_user":{"data":{"id":"00000000-0000-0000-0000-000000000000","type":"users"}},"integrations":{"data":[{"id":"00000000-0000-0000-0000-000000000000","type":"
|
|
17
|
+
data: [{"attributes":{"created":"2020-04-21T15:34:08.627205+00:00","creation_idempotency_key":null,"customer_impact_duration":0,"customer_impact_end":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impacted":false,"detected":"2020-04-14T00:00:00+00:00","modified":"2020-09-17T14:16:58.696424+00:00","postmortem_id":"00000000-0000-0000-0000-000000000000","public_id":1,"resolved":null,"severity":"SEV-1","time_to_detect":0,"time_to_internal_response":0,"time_to_repair":0,"time_to_resolve":0,"title":"Example Incident"},"id":"00000000-0000-0000-0000-000000000000","relationships":{"commander_user":{"data":{"id":"00000000-0000-0000-0000-000000000000","type":"users"}},"created_by_user":{"data":{"id":"00000000-0000-0000-0000-000000000000","type":"users"}},"integrations":{"data":[{"id":"00000000-0000-0000-0000-000000000000","type":"incident_integrations"},{"id":"00000000-0000-0000-0000-000000000000","type":"incident_integrations"}]},"last_modified_by_user":{"data":{"id":"00000000-0000-0000-0000-000000000000","type":"users"}},"postmortem":{"data":{"id":"00000000-0000-0000-0000-000000000000","type":"incident_postmortems"}}},"type":"incidents"},{"attributes":{"created":"2020-04-21T15:34:08.627205+00:00","creation_idempotency_key":null,"customer_impact_duration":0,"customer_impact_end":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impacted":false,"detected":"2020-04-14T00:00:00+00:00","modified":"2020-09-17T14:16:58.696424+00:00","postmortem_id":"00000000-0000-0000-0000-000000000000","public_id":2,"resolved":null,"severity":"SEV-5","time_to_detect":0,"time_to_internal_response":0,"time_to_repair":0,"time_to_resolve":0,"title":"Example Incident 2"},"id":"00000000-0000-0000-0000-000000000000","relationships":{"commander_user":{"data":{"id":"00000000-0000-0000-0000-000000000000","type":"users"}},"created_by_user":{"data":{"id":"00000000-0000-0000-0000-000000000000","type":"users"}},"integrations":{"data":[{"id":"00000000-0000-0000-0000-000000000000","type":"incident_integrations"},{"id":"00000000-0000-0000-0000-000000000000","type":"incident_integrations"}]},"last_modified_by_user":{"data":{"id":"00000000-0000-0000-0000-000000000000","type":"users"}},"postmortem":{"data":{"id":"00000000-0000-0000-0000-000000000000","type":"incident_postmortems"}}},"type":"incidents"}],
|
|
18
18
|
included: null,
|
|
19
19
|
meta: null
|
|
20
20
|
)
|
data/docs/v2/KeyManagementAPI.md
CHANGED
|
@@ -468,8 +468,8 @@ List all API keys available for your account.
|
|
|
468
468
|
require 'datadog_api_client'
|
|
469
469
|
api_instance = DatadogAPIClient::V2::KeyManagementAPI.new
|
|
470
470
|
opts = {
|
|
471
|
-
page_size:
|
|
472
|
-
page_number:
|
|
471
|
+
page_size: 10, # Integer | Size for a given page.
|
|
472
|
+
page_number: 0, # Integer | Specific page number to return.
|
|
473
473
|
sort: DatadogAPIClient::V2::APIKeysSort::CREATED_AT_ASCENDING, # APIKeysSort | API key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign.
|
|
474
474
|
filter: 'filter_example', # String | Filter API keys by the specified string.
|
|
475
475
|
filter_created_at_start: '2020-11-24T18:46:21+00:00', # String | Only include API keys created on or after the specified date.
|
|
@@ -548,8 +548,8 @@ List all application keys available for your org
|
|
|
548
548
|
require 'datadog_api_client'
|
|
549
549
|
api_instance = DatadogAPIClient::V2::KeyManagementAPI.new
|
|
550
550
|
opts = {
|
|
551
|
-
page_size:
|
|
552
|
-
page_number:
|
|
551
|
+
page_size: 10, # Integer | Size for a given page.
|
|
552
|
+
page_number: 0, # Integer | Specific page number to return.
|
|
553
553
|
sort: DatadogAPIClient::V2::ApplicationKeysSort::CREATED_AT_ASCENDING, # ApplicationKeysSort | Application key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign.
|
|
554
554
|
filter: 'filter_example', # String | Filter application keys by the specified string.
|
|
555
555
|
filter_created_at_start: '2020-11-24T18:46:21+00:00', # String | Only include application keys created on or after the specified date.
|
|
@@ -622,8 +622,8 @@ List all application keys available for current user
|
|
|
622
622
|
require 'datadog_api_client'
|
|
623
623
|
api_instance = DatadogAPIClient::V2::KeyManagementAPI.new
|
|
624
624
|
opts = {
|
|
625
|
-
page_size:
|
|
626
|
-
page_number:
|
|
625
|
+
page_size: 10, # Integer | Size for a given page.
|
|
626
|
+
page_number: 0, # Integer | Specific page number to return.
|
|
627
627
|
sort: DatadogAPIClient::V2::ApplicationKeysSort::CREATED_AT_ASCENDING, # ApplicationKeysSort | Application key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign.
|
|
628
628
|
filter: 'filter_example', # String | Filter application keys by the specified string.
|
|
629
629
|
filter_created_at_start: '2020-11-24T18:46:21+00:00', # String | Only include application keys created on or after the specified date.
|
data/docs/v2/README.md
CHANGED
|
@@ -102,12 +102,17 @@ Class | Method | HTTP request | Description
|
|
|
102
102
|
*DatadogAPIClient::V2::RolesAPI* | [**remove_permission_from_role**](RolesAPI.md#remove_permission_from_role) | **DELETE** /api/v2/roles/{role_id}/permissions | Revoke permission
|
|
103
103
|
*DatadogAPIClient::V2::RolesAPI* | [**remove_user_from_role**](RolesAPI.md#remove_user_from_role) | **DELETE** /api/v2/roles/{role_id}/users | Remove a user from a role
|
|
104
104
|
*DatadogAPIClient::V2::RolesAPI* | [**update_role**](RolesAPI.md#update_role) | **PATCH** /api/v2/roles/{role_id} | Update a role
|
|
105
|
+
*DatadogAPIClient::V2::SecurityMonitoringAPI* | [**create_security_filter**](SecurityMonitoringAPI.md#create_security_filter) | **POST** /api/v2/security_monitoring/configuration/security_filters | Create a security filter
|
|
105
106
|
*DatadogAPIClient::V2::SecurityMonitoringAPI* | [**create_security_monitoring_rule**](SecurityMonitoringAPI.md#create_security_monitoring_rule) | **POST** /api/v2/security_monitoring/rules | Create a detection rule
|
|
107
|
+
*DatadogAPIClient::V2::SecurityMonitoringAPI* | [**delete_security_filter**](SecurityMonitoringAPI.md#delete_security_filter) | **DELETE** /api/v2/security_monitoring/configuration/security_filters/{security_filter_id} | Delete a security filter
|
|
106
108
|
*DatadogAPIClient::V2::SecurityMonitoringAPI* | [**delete_security_monitoring_rule**](SecurityMonitoringAPI.md#delete_security_monitoring_rule) | **DELETE** /api/v2/security_monitoring/rules/{rule_id} | Delete an existing rule
|
|
109
|
+
*DatadogAPIClient::V2::SecurityMonitoringAPI* | [**get_security_filter**](SecurityMonitoringAPI.md#get_security_filter) | **GET** /api/v2/security_monitoring/configuration/security_filters/{security_filter_id} | Get a security filter
|
|
107
110
|
*DatadogAPIClient::V2::SecurityMonitoringAPI* | [**get_security_monitoring_rule**](SecurityMonitoringAPI.md#get_security_monitoring_rule) | **GET** /api/v2/security_monitoring/rules/{rule_id} | Get a rule's details
|
|
111
|
+
*DatadogAPIClient::V2::SecurityMonitoringAPI* | [**list_security_filters**](SecurityMonitoringAPI.md#list_security_filters) | **GET** /api/v2/security_monitoring/configuration/security_filters | Get all security filters
|
|
108
112
|
*DatadogAPIClient::V2::SecurityMonitoringAPI* | [**list_security_monitoring_rules**](SecurityMonitoringAPI.md#list_security_monitoring_rules) | **GET** /api/v2/security_monitoring/rules | List rules
|
|
109
113
|
*DatadogAPIClient::V2::SecurityMonitoringAPI* | [**list_security_monitoring_signals**](SecurityMonitoringAPI.md#list_security_monitoring_signals) | **GET** /api/v2/security_monitoring/signals | Get a quick list of security signals
|
|
110
114
|
*DatadogAPIClient::V2::SecurityMonitoringAPI* | [**search_security_monitoring_signals**](SecurityMonitoringAPI.md#search_security_monitoring_signals) | **POST** /api/v2/security_monitoring/signals/search | Get a list of security signals
|
|
115
|
+
*DatadogAPIClient::V2::SecurityMonitoringAPI* | [**update_security_filter**](SecurityMonitoringAPI.md#update_security_filter) | **PATCH** /api/v2/security_monitoring/configuration/security_filters/{security_filter_id} | Update a security filter
|
|
111
116
|
*DatadogAPIClient::V2::SecurityMonitoringAPI* | [**update_security_monitoring_rule**](SecurityMonitoringAPI.md#update_security_monitoring_rule) | **PUT** /api/v2/security_monitoring/rules/{rule_id} | Update an existing rule
|
|
112
117
|
*DatadogAPIClient::V2::UsersAPI* | [**create_user**](UsersAPI.md#create_user) | **POST** /api/v2/users | Create a user
|
|
113
118
|
*DatadogAPIClient::V2::UsersAPI* | [**disable_user**](UsersAPI.md#disable_user) | **DELETE** /api/v2/users/{user_id} | Disable a user
|
|
@@ -371,6 +376,22 @@ Class | Method | HTTP request | Description
|
|
|
371
376
|
- [DatadogAPIClient::V2::RolesResponse](RolesResponse.md)
|
|
372
377
|
- [DatadogAPIClient::V2::RolesSort](RolesSort.md)
|
|
373
378
|
- [DatadogAPIClient::V2::RolesType](RolesType.md)
|
|
379
|
+
- [DatadogAPIClient::V2::SecurityFilter](SecurityFilter.md)
|
|
380
|
+
- [DatadogAPIClient::V2::SecurityFilterAttributes](SecurityFilterAttributes.md)
|
|
381
|
+
- [DatadogAPIClient::V2::SecurityFilterCreateAttributes](SecurityFilterCreateAttributes.md)
|
|
382
|
+
- [DatadogAPIClient::V2::SecurityFilterCreateData](SecurityFilterCreateData.md)
|
|
383
|
+
- [DatadogAPIClient::V2::SecurityFilterCreateRequest](SecurityFilterCreateRequest.md)
|
|
384
|
+
- [DatadogAPIClient::V2::SecurityFilterDeleteResponse](SecurityFilterDeleteResponse.md)
|
|
385
|
+
- [DatadogAPIClient::V2::SecurityFilterExclusionFilter](SecurityFilterExclusionFilter.md)
|
|
386
|
+
- [DatadogAPIClient::V2::SecurityFilterExclusionFilterResponse](SecurityFilterExclusionFilterResponse.md)
|
|
387
|
+
- [DatadogAPIClient::V2::SecurityFilterFilteredDataType](SecurityFilterFilteredDataType.md)
|
|
388
|
+
- [DatadogAPIClient::V2::SecurityFilterMeta](SecurityFilterMeta.md)
|
|
389
|
+
- [DatadogAPIClient::V2::SecurityFilterResponse](SecurityFilterResponse.md)
|
|
390
|
+
- [DatadogAPIClient::V2::SecurityFilterType](SecurityFilterType.md)
|
|
391
|
+
- [DatadogAPIClient::V2::SecurityFilterUpdateAttributes](SecurityFilterUpdateAttributes.md)
|
|
392
|
+
- [DatadogAPIClient::V2::SecurityFilterUpdateData](SecurityFilterUpdateData.md)
|
|
393
|
+
- [DatadogAPIClient::V2::SecurityFilterUpdateRequest](SecurityFilterUpdateRequest.md)
|
|
394
|
+
- [DatadogAPIClient::V2::SecurityFiltersResponse](SecurityFiltersResponse.md)
|
|
374
395
|
- [DatadogAPIClient::V2::SecurityMonitoringFilter](SecurityMonitoringFilter.md)
|
|
375
396
|
- [DatadogAPIClient::V2::SecurityMonitoringFilterAction](SecurityMonitoringFilterAction.md)
|
|
376
397
|
- [DatadogAPIClient::V2::SecurityMonitoringListRulesResponse](SecurityMonitoringListRulesResponse.md)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **String** | A unique identifier that represents the integration metadata. | |
|
|
8
|
-
| **type** | [**IncidentIntegrationMetadataType**](IncidentIntegrationMetadataType.md) | | [default to '
|
|
8
|
+
| **type** | [**IncidentIntegrationMetadataType**](IncidentIntegrationMetadataType.md) | | [default to 'incident_integrations'] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
require 'datadog_api_client/v2'
|
|
13
13
|
|
|
14
14
|
instance = DatadogAPIClient::V2::RelationshipToIncidentIntegrationMetadatas.new(
|
|
15
|
-
data: [{"id":"00000000-0000-0000-0000-000000000000","type":"
|
|
15
|
+
data: [{"id":"00000000-0000-0000-0000-000000000000","type":"incident_integrations"},{"id":"00000000-0000-0000-0000-000000000000","type":"incident_integrations"}]
|
|
16
16
|
)
|
|
17
17
|
```
|
|
18
18
|
|
data/docs/v2/RolesAPI.md
CHANGED
|
@@ -467,8 +467,8 @@ require 'datadog_api_client'
|
|
|
467
467
|
api_instance = DatadogAPIClient::V2::RolesAPI.new
|
|
468
468
|
role_id = 'role_id_example' # String | The ID of the role.
|
|
469
469
|
opts = {
|
|
470
|
-
page_size:
|
|
471
|
-
page_number:
|
|
470
|
+
page_size: 10, # Integer | Size for a given page.
|
|
471
|
+
page_number: 0, # Integer | Specific page number to return.
|
|
472
472
|
sort: 'sort_example', # String | User attribute to order results by. Sort order is **ascending** by default. Sort order is **descending** if the field is prefixed by a negative sign, for example `sort=-name`. Options: `name`, `email`, `status`.
|
|
473
473
|
filter: 'filter_example' # String | Filter all users by the given string. Defaults to no filtering.
|
|
474
474
|
}
|
|
@@ -538,8 +538,8 @@ Returns all roles, including their names and IDs.
|
|
|
538
538
|
require 'datadog_api_client'
|
|
539
539
|
api_instance = DatadogAPIClient::V2::RolesAPI.new
|
|
540
540
|
opts = {
|
|
541
|
-
page_size:
|
|
542
|
-
page_number:
|
|
541
|
+
page_size: 10, # Integer | Size for a given page.
|
|
542
|
+
page_number: 0, # Integer | Specific page number to return.
|
|
543
543
|
sort: DatadogAPIClient::V2::RolesSort::NAME_ASCENDING, # RolesSort | Sort roles depending on the given field. Sort order is **ascending** by default. Sort order is **descending** if the field is prefixed by a negative sign, for example: `sort=-name`.
|
|
544
544
|
filter: 'filter_example' # String | Filter all roles by the given string.
|
|
545
545
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# DatadogAPIClient::V2::SecurityFilter
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **attributes** | [**SecurityFilterAttributes**](SecurityFilterAttributes.md) | | [optional] |
|
|
8
|
+
| **id** | **String** | The ID of the security filter. | [optional] |
|
|
9
|
+
| **type** | [**SecurityFilterType**](SecurityFilterType.md) | | [optional][default to 'security_filters'] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'datadog_api_client/v2'
|
|
15
|
+
|
|
16
|
+
instance = DatadogAPIClient::V2::SecurityFilter.new(
|
|
17
|
+
attributes: null,
|
|
18
|
+
id: 3dd-0uc-h1s,
|
|
19
|
+
type: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# DatadogAPIClient::V2::SecurityFilterAttributes
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **exclusion_filters** | [**Array<SecurityFilterExclusionFilterResponse>**](SecurityFilterExclusionFilterResponse.md) | The list of exclusion filters applied in this security filter. | [optional] |
|
|
8
|
+
| **filtered_data_type** | [**SecurityFilterFilteredDataType**](SecurityFilterFilteredDataType.md) | | [optional] |
|
|
9
|
+
| **is_builtin** | **Boolean** | Whether the security filter is the built-in filter. | [optional] |
|
|
10
|
+
| **is_enabled** | **Boolean** | Whether the security filter is enabled. | [optional] |
|
|
11
|
+
| **name** | **String** | The security filter name. | [optional] |
|
|
12
|
+
| **query** | **String** | The security filter query. Logs accepted by this query will be accepted by this filter. | [optional] |
|
|
13
|
+
| **version** | **Integer** | The version of the security filter. | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'datadog_api_client/v2'
|
|
19
|
+
|
|
20
|
+
instance = DatadogAPIClient::V2::SecurityFilterAttributes.new(
|
|
21
|
+
exclusion_filters: null,
|
|
22
|
+
filtered_data_type: null,
|
|
23
|
+
is_builtin: false,
|
|
24
|
+
is_enabled: false,
|
|
25
|
+
name: Custom security filter,
|
|
26
|
+
query: service:api,
|
|
27
|
+
version: 1
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# DatadogAPIClient::V2::SecurityFilterCreateAttributes
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **exclusion_filters** | [**Array<SecurityFilterExclusionFilter>**](SecurityFilterExclusionFilter.md) | Exclusion filters to exclude some logs from the security filter. | |
|
|
8
|
+
| **filtered_data_type** | [**SecurityFilterFilteredDataType**](SecurityFilterFilteredDataType.md) | | |
|
|
9
|
+
| **is_enabled** | **Boolean** | Whether the security filter is enabled. | |
|
|
10
|
+
| **name** | **String** | The name of the security filter. | |
|
|
11
|
+
| **query** | **String** | The query of the security filter. | |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'datadog_api_client/v2'
|
|
17
|
+
|
|
18
|
+
instance = DatadogAPIClient::V2::SecurityFilterCreateAttributes.new(
|
|
19
|
+
exclusion_filters: [{"name":"Exclude staging","query":"source:staging"}],
|
|
20
|
+
filtered_data_type: null,
|
|
21
|
+
is_enabled: true,
|
|
22
|
+
name: Custom security filter,
|
|
23
|
+
query: service:api
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# DatadogAPIClient::V2::SecurityFilterCreateData
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **attributes** | [**SecurityFilterCreateAttributes**](SecurityFilterCreateAttributes.md) | | |
|
|
8
|
+
| **type** | [**SecurityFilterType**](SecurityFilterType.md) | | [default to 'security_filters'] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'datadog_api_client/v2'
|
|
14
|
+
|
|
15
|
+
instance = DatadogAPIClient::V2::SecurityFilterCreateData.new(
|
|
16
|
+
attributes: null,
|
|
17
|
+
type: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# DatadogAPIClient::V2::SecurityFilterCreateRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | [**SecurityFilterCreateData**](SecurityFilterCreateData.md) | | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'datadog_api_client/v2'
|
|
13
|
+
|
|
14
|
+
instance = DatadogAPIClient::V2::SecurityFilterCreateRequest.new(
|
|
15
|
+
data: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# DatadogAPIClient::V2::SecurityFilterDeleteResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **meta** | [**SecurityFilterMeta**](SecurityFilterMeta.md) | | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'datadog_api_client/v2'
|
|
13
|
+
|
|
14
|
+
instance = DatadogAPIClient::V2::SecurityFilterDeleteResponse.new(
|
|
15
|
+
meta: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# DatadogAPIClient::V2::SecurityFilterExclusionFilter
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | Exclusion filter name. | |
|
|
8
|
+
| **query** | **String** | Exclusion filter query. Logs that match this query are excluded from the security filter. | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'datadog_api_client/v2'
|
|
14
|
+
|
|
15
|
+
instance = DatadogAPIClient::V2::SecurityFilterExclusionFilter.new(
|
|
16
|
+
name: Exclude staging,
|
|
17
|
+
query: source:staging
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# DatadogAPIClient::V2::SecurityFilterExclusionFilterResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | The exclusion filter name. | [optional] |
|
|
8
|
+
| **query** | **String** | The exclusion filter query. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'datadog_api_client/v2'
|
|
14
|
+
|
|
15
|
+
instance = DatadogAPIClient::V2::SecurityFilterExclusionFilterResponse.new(
|
|
16
|
+
name: Exclude staging,
|
|
17
|
+
query: source:staging
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# DatadogAPIClient::V2::SecurityFilterFilteredDataType
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
|
|
8
|
+
## Example
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
require 'datadog_api_client/v2'
|
|
12
|
+
|
|
13
|
+
instance = DatadogAPIClient::V2::SecurityFilterFilteredDataType.new()
|
|
14
|
+
```
|
|
15
|
+
|