datadog_api_client 2.34.0 → 2.35.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 +59 -3
- data/.generator/schemas/v2/openapi.yaml +738 -69
- data/.generator/src/generator/formatter.py +2 -2
- data/.generator/src/generator/openapi.py +1 -1
- data/.github/workflows/release.yml +1 -1
- data/CHANGELOG.md +19 -0
- data/Gemfile +1 -0
- data/examples/v1/monitors/CreateMonitor_1539578087.rb +1 -0
- data/examples/v1/monitors/CreateMonitor_440013737.rb +1 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +142 -0
- data/examples/v2/csm-threats/CreateCSMThreatsAgentRule_1295653933.rb +32 -0
- data/examples/v2/dora-metrics/CreateDORADeployment.rb +0 -3
- data/examples/v2/dora-metrics/CreateDORAFailure.rb +30 -0
- data/examples/v2/dora-metrics/CreateDORAIncident.rb +11 -9
- data/examples/v2/dora-metrics/CreateDORAIncident_1768887482.rb +25 -0
- data/examples/v2/on-call/GetTeamOnCallUsers.rb +11 -0
- data/examples/v2/security-monitoring/ListFindings_2932019633.rb +11 -0
- data/examples/v2/software-catalog/DeleteCatalogKind.rb +5 -0
- data/examples/v2/software-catalog/ListCatalogKind.rb +5 -0
- data/examples/v2/software-catalog/ListCatalogKind_3806205775.rb +5 -0
- data/examples/v2/software-catalog/UpsertCatalogKind.rb +9 -0
- data/lib/datadog_api_client/configuration.rb +0 -2
- data/lib/datadog_api_client/inflector.rb +34 -6
- data/lib/datadog_api_client/v1/api/snapshots_api.rb +2 -1
- data/lib/datadog_api_client/v1/models/monitor.rb +17 -1
- data/lib/datadog_api_client/v1/models/monitor_draft_status.rb +32 -0
- data/lib/datadog_api_client/v1/models/monitor_options.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor_update_request.rb +17 -1
- data/lib/datadog_api_client/v1/models/synthetics_api_test_step_subtype.rb +6 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +32 -2
- data/lib/datadog_api_client/v2/api/dora_metrics_api.rb +79 -15
- data/lib/datadog_api_client/v2/api/on_call_api.rb +67 -0
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +5 -3
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +13 -0
- data/lib/datadog_api_client/v2/api/software_catalog_api.rb +221 -0
- data/lib/datadog_api_client/v2/models/action_query_spec_inputs.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action.rb +23 -3
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action_metadata.rb +125 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action_set.rb +165 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +37 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_attributes.rb +57 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_attributes.rb +57 -1
- data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/{dora_incident_request.rb → dora_failure_request.rb} +4 -4
- data/lib/datadog_api_client/v2/models/{dora_incident_request_attributes.rb → dora_failure_request_attributes.rb} +31 -11
- data/lib/datadog_api_client/v2/models/{dora_incident_request_data.rb → dora_failure_request_data.rb} +4 -4
- data/lib/datadog_api_client/v2/models/{dora_incident_response.rb → dora_failure_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{dora_incident_response_data.rb → dora_failure_response_data.rb} +6 -6
- data/lib/datadog_api_client/v2/models/{dora_incident_type.rb → dora_failure_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/escalation.rb +143 -0
- data/lib/datadog_api_client/v2/models/escalation_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/escalation_relationships_responders.rb +107 -0
- data/lib/datadog_api_client/v2/models/escalation_relationships_responders_data_items.rb +144 -0
- data/lib/datadog_api_client/v2/models/escalation_relationships_responders_data_items_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/escalation_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/finding_attributes.rb +31 -1
- data/lib/datadog_api_client/v2/models/kind_attributes.rb +143 -0
- data/lib/datadog_api_client/v2/models/kind_data.rb +153 -0
- data/lib/datadog_api_client/v2/models/kind_metadata.rb +115 -0
- data/lib/datadog_api_client/v2/models/kind_obj.rb +143 -0
- data/lib/datadog_api_client/v2/models/kind_response_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/list_kind_catalog_response.rb +117 -0
- data/lib/datadog_api_client/v2/models/team_on_call_responders.rb +117 -0
- data/lib/datadog_api_client/v2/models/team_on_call_responders_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/team_on_call_responders_data_relationships.rb +115 -0
- data/lib/datadog_api_client/v2/models/team_on_call_responders_data_relationships_escalations.rb +107 -0
- data/lib/datadog_api_client/v2/models/team_on_call_responders_data_relationships_escalations_data_items.rb +144 -0
- data/lib/datadog_api_client/v2/models/team_on_call_responders_data_relationships_escalations_data_items_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/team_on_call_responders_data_relationships_responders.rb +107 -0
- data/lib/datadog_api_client/v2/models/team_on_call_responders_data_relationships_responders_data_items.rb +144 -0
- data/lib/datadog_api_client/v2/models/team_on_call_responders_data_relationships_responders_data_items_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/team_on_call_responders_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/team_on_call_responders_included.rb +63 -0
- data/lib/datadog_api_client/v2/models/upsert_catalog_kind_request.rb +63 -0
- data/lib/datadog_api_client/v2/models/upsert_catalog_kind_response.rb +117 -0
- data/lib/datadog_api_client/version.rb +1 -1
- data/repository.datadog.yaml +8 -0
- metadata +44 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd4fa1ca8b509d9ed04902745d4be9dd88ffc9027b65ab7afbb50ee83986d7b2
|
4
|
+
data.tar.gz: de5ad1d3170afd31a7786b1af048d2f17c57ba867cfc3142a59b5665982f1409
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0abd112ea98cfef2af2c42806605f80e3564bb526915d44aa8b4419cf545a261931e1a3cd83f85ab19b9cf7d9b3cb0f87ac3488144f895e9b1f8ce1c305ac65d
|
7
|
+
data.tar.gz: 4011a55db8ea02f2fed298704ee9c244186fc44c5971aaa3558f912f06906fe9e2e1ad076fe53997be0e40946a1e6022710760594ba1bf3afd05a646f676a2c6
|
data/.apigentools-info
CHANGED
@@ -4,13 +4,13 @@
|
|
4
4
|
"spec_versions": {
|
5
5
|
"v1": {
|
6
6
|
"apigentools_version": "1.6.6",
|
7
|
-
"regenerated": "2025-
|
8
|
-
"spec_repo_commit": "
|
7
|
+
"regenerated": "2025-06-16 08:24:57.259638",
|
8
|
+
"spec_repo_commit": "b2c4e7e8"
|
9
9
|
},
|
10
10
|
"v2": {
|
11
11
|
"apigentools_version": "1.6.6",
|
12
|
-
"regenerated": "2025-
|
13
|
-
"spec_repo_commit": "
|
12
|
+
"regenerated": "2025-06-16 08:24:57.275017",
|
13
|
+
"spec_repo_commit": "b2c4e7e8"
|
14
14
|
}
|
15
15
|
}
|
16
16
|
}
|
@@ -6742,6 +6742,8 @@ components:
|
|
6742
6742
|
nullable: true
|
6743
6743
|
readOnly: true
|
6744
6744
|
type: string
|
6745
|
+
draft_status:
|
6746
|
+
$ref: '#/components/schemas/MonitorDraftStatus'
|
6745
6747
|
id:
|
6746
6748
|
description: ID of this monitor.
|
6747
6749
|
format: int64
|
@@ -6834,6 +6836,28 @@ components:
|
|
6834
6836
|
- FIREFOX_LAPTOP_LARGE
|
6835
6837
|
- FIREFOX_TABLET
|
6836
6838
|
- FIREFOX_MOBILE_SMALL
|
6839
|
+
MonitorDraftStatus:
|
6840
|
+
default: published
|
6841
|
+
description: 'Indicates whether the monitor is in a draft or published state.
|
6842
|
+
|
6843
|
+
|
6844
|
+
`draft`: The monitor appears as Draft and does not send notifications.
|
6845
|
+
|
6846
|
+
`published`: The monitor is active and evaluates conditions and notify as
|
6847
|
+
configured.
|
6848
|
+
|
6849
|
+
|
6850
|
+
This field is in preview. The draft value is only available to customers with
|
6851
|
+
the feature enabled.
|
6852
|
+
|
6853
|
+
'
|
6854
|
+
enum:
|
6855
|
+
- draft
|
6856
|
+
- published
|
6857
|
+
type: string
|
6858
|
+
x-enum-varnames:
|
6859
|
+
- DRAFT
|
6860
|
+
- PUBLISHED
|
6837
6861
|
MonitorFormulaAndFunctionCostAggregator:
|
6838
6862
|
description: Aggregation methods for metric queries.
|
6839
6863
|
enum:
|
@@ -7287,7 +7311,7 @@ components:
|
|
7287
7311
|
For example, a query grouped by `cluster` and `namespace` cannot notify
|
7288
7312
|
on `region`.
|
7289
7313
|
|
7290
|
-
Setting `notify_by` to `[*]` configures the monitor to notify as a simple-alert.'
|
7314
|
+
Setting `notify_by` to `["*"]` configures the monitor to notify as a simple-alert.'
|
7291
7315
|
items:
|
7292
7316
|
description: A grouping tag.
|
7293
7317
|
type: string
|
@@ -7917,6 +7941,8 @@ components:
|
|
7917
7941
|
nullable: true
|
7918
7942
|
readOnly: true
|
7919
7943
|
type: string
|
7944
|
+
draft_status:
|
7945
|
+
$ref: '#/components/schemas/MonitorDraftStatus'
|
7920
7946
|
id:
|
7921
7947
|
description: ID of this monitor.
|
7922
7948
|
format: int64
|
@@ -14081,11 +14107,23 @@ components:
|
|
14081
14107
|
enum:
|
14082
14108
|
- http
|
14083
14109
|
- grpc
|
14110
|
+
- ssl
|
14111
|
+
- dns
|
14112
|
+
- tcp
|
14113
|
+
- udp
|
14114
|
+
- icmp
|
14115
|
+
- websocket
|
14084
14116
|
example: http
|
14085
14117
|
type: string
|
14086
14118
|
x-enum-varnames:
|
14087
14119
|
- HTTP
|
14088
14120
|
- GRPC
|
14121
|
+
- SSL
|
14122
|
+
- DNS
|
14123
|
+
- TCP
|
14124
|
+
- UDP
|
14125
|
+
- ICMP
|
14126
|
+
- WEBSOCKET
|
14089
14127
|
SyntheticsAPITestType:
|
14090
14128
|
default: api
|
14091
14129
|
description: Type of the Synthetic test, `api`.
|
@@ -17151,6 +17189,9 @@ components:
|
|
17151
17189
|
example: ''
|
17152
17190
|
type: string
|
17153
17191
|
type: array
|
17192
|
+
checkCertificateRevocation:
|
17193
|
+
description: Check for certificate revocation.
|
17194
|
+
type: boolean
|
17154
17195
|
compressedJsonDescriptor:
|
17155
17196
|
description: A protobuf JSON descriptor that needs to be gzipped first then
|
17156
17197
|
base64 encoded.
|
@@ -17166,13 +17207,21 @@ components:
|
|
17166
17207
|
description: DNS server port to use for DNS tests.
|
17167
17208
|
type: string
|
17168
17209
|
files:
|
17169
|
-
description: Files to be used as part of the request in the test.
|
17210
|
+
description: Files to be used as part of the request in the test. Only valid
|
17211
|
+
if `bodyType` is `multipart/form-data`.
|
17170
17212
|
items:
|
17171
17213
|
$ref: '#/components/schemas/SyntheticsTestRequestBodyFile'
|
17172
17214
|
type: array
|
17173
17215
|
follow_redirects:
|
17174
17216
|
description: Specifies whether or not the request follows redirects.
|
17175
17217
|
type: boolean
|
17218
|
+
form:
|
17219
|
+
additionalProperties:
|
17220
|
+
description: A single form entry.
|
17221
|
+
type: string
|
17222
|
+
description: Form to be used as part of the request in the test. Only valid
|
17223
|
+
if `bodyType` is `multipart/form-data`.
|
17224
|
+
type: object
|
17176
17225
|
headers:
|
17177
17226
|
$ref: '#/components/schemas/SyntheticsTestHeaders'
|
17178
17227
|
host:
|
@@ -17180,6 +17229,9 @@ components:
|
|
17180
17229
|
type: string
|
17181
17230
|
httpVersion:
|
17182
17231
|
$ref: '#/components/schemas/SyntheticsTestOptionsHTTPVersion'
|
17232
|
+
isMessageBase64Encoded:
|
17233
|
+
description: Whether the message is base64 encoded.
|
17234
|
+
type: boolean
|
17183
17235
|
message:
|
17184
17236
|
description: Message to send for UDP or WebSocket tests.
|
17185
17237
|
type: string
|
@@ -24064,6 +24116,7 @@ components:
|
|
24064
24116
|
apm_service_catalog_read: View service catalog and service definitions.
|
24065
24117
|
apm_service_catalog_write: Add, modify, and delete service catalog definitions
|
24066
24118
|
when those definitions are maintained by Datadog.
|
24119
|
+
billing_read: View your organization's billing information.
|
24067
24120
|
cases_read: View Cases.
|
24068
24121
|
cases_write: Create and update cases.
|
24069
24122
|
ci_visibility_pipelines_write: Create CI Visibility pipeline spans using
|
@@ -26379,7 +26432,10 @@ paths:
|
|
26379
26432
|
- events_read
|
26380
26433
|
/api/v1/graph/snapshot:
|
26381
26434
|
get:
|
26382
|
-
description: 'Take graph snapshots.
|
26435
|
+
description: 'Take graph snapshots. Snapshots are PNG images generated by rendering
|
26436
|
+
a specified widget in a web page and capturing it once the data is available.
|
26437
|
+
The image is then uploaded to cloud storage.
|
26438
|
+
|
26383
26439
|
|
26384
26440
|
**Note**: When a snapshot is created, there is some delay before it is available.'
|
26385
26441
|
operationId: GetGraphSnapshot
|