Skip to content

Commit cc909eb

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Sync OpenAPI specification with backend for McNulty (#2159)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 8e8c61a commit cc909eb

File tree

6 files changed

+17
-36
lines changed

6 files changed

+17
-36
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-09-11 19:15:20.742421",
8-
"spec_repo_commit": "3288a6f0"
7+
"regenerated": "2024-09-12 09:36:29.560282",
8+
"spec_repo_commit": "7c86a87a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-09-11 19:15:20.759805",
13-
"spec_repo_commit": "3288a6f0"
12+
"regenerated": "2024-09-12 09:36:29.577754",
13+
"spec_repo_commit": "7c86a87a"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22407,6 +22407,7 @@ components:
2240722407
access to the cloud cost data source in dashboards and notebooks.
2240822408
cloud_cost_management_write: Configure cloud cost accounts and global
2240922409
customizations.
22410+
code_analysis_read: View Code Analysis.
2241022411
continuous_profiler_pgo_read: Read and query Continuous Profiler data
2241122412
for Profile-Guided Optimization (PGO).
2241222413
create_webhooks: Create webhooks integrations.
@@ -22442,6 +22443,8 @@ components:
2244222443
security_monitoring_signals_read: View Security Signals.
2244322444
security_monitoring_suppressions_read: Read Rule Suppressions.
2244422445
security_monitoring_suppressions_write: Write Rule Suppressions.
22446+
security_pipelines_read: View Security Pipelines.
22447+
security_pipelines_write: Create, edit, and delete CSM Security Pipelines.
2244522448
slos_corrections: Apply, edit, and delete SLO status corrections. A user
2244622449
with this permission can make status corrections, even if they do not
2244722450
have permission to edit those SLOs.

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -26324,11 +26324,6 @@ paths:
2632426324
description: Not Found
2632526325
'429':
2632626326
$ref: '#/components/responses/TooManyRequestsResponse'
26327-
security:
26328-
- apiKeyAuth: []
26329-
appKeyAuth: []
26330-
- AuthZ:
26331-
- user_access_manage
2633226327
summary: Delete an AuthN Mapping
2633326328
tags:
2633426329
- AuthN Mappings
@@ -26358,10 +26353,6 @@ paths:
2635826353
description: Not Found
2635926354
'429':
2636026355
$ref: '#/components/responses/TooManyRequestsResponse'
26361-
security:
26362-
- apiKeyAuth: []
26363-
appKeyAuth: []
26364-
- AuthZ: []
2636526356
summary: Get an AuthN Mapping by UUID
2636626357
tags:
2636726358
- AuthN Mappings
@@ -26415,11 +26406,6 @@ paths:
2641526406
description: Unprocessable Entity
2641626407
'429':
2641726408
$ref: '#/components/responses/TooManyRequestsResponse'
26418-
security:
26419-
- apiKeyAuth: []
26420-
appKeyAuth: []
26421-
- AuthZ:
26422-
- user_access_manage
2642326409
summary: Edit an AuthN Mapping
2642426410
tags:
2642526411
- AuthN Mappings
@@ -29232,11 +29218,6 @@ paths:
2923229218
$ref: '#/components/responses/NotFoundResponse'
2923329219
'429':
2923429220
$ref: '#/components/responses/TooManyRequestsResponse'
29235-
security:
29236-
- apiKeyAuth: []
29237-
appKeyAuth: []
29238-
- AuthZ:
29239-
- incident_read
2924029221
summary: Get a list of attachments
2924129222
tags:
2924229223
- Incidents
@@ -32900,9 +32881,6 @@ paths:
3290032881
$ref: '#/components/responses/ForbiddenResponse'
3290132882
'429':
3290232883
$ref: '#/components/responses/TooManyRequestsResponse'
32903-
security:
32904-
- apiKeyAuth: []
32905-
appKeyAuth: []
3290632884
summary: List Org Configs
3290732885
tags:
3290832886
- Organizations
@@ -32929,9 +32907,6 @@ paths:
3292932907
$ref: '#/components/responses/NotFoundResponse'
3293032908
'429':
3293132909
$ref: '#/components/responses/TooManyRequestsResponse'
32932-
security:
32933-
- apiKeyAuth: []
32934-
appKeyAuth: []
3293532910
summary: Get a specific Org Config value
3293632911
tags:
3293732912
- Organizations
@@ -33768,6 +33743,7 @@ paths:
3376833743
security:
3376933744
- apiKeyAuth: []
3377033745
appKeyAuth: []
33746+
- AuthZ: []
3377133747
summary: Delete a restriction policy
3377233748
tags:
3377333749
- Restriction Policies
@@ -33792,6 +33768,7 @@ paths:
3379233768
security:
3379333769
- apiKeyAuth: []
3379433770
appKeyAuth: []
33771+
- AuthZ: []
3379533772
summary: Get a restriction policy
3379633773
tags:
3379733774
- Restriction Policies
@@ -33871,6 +33848,7 @@ paths:
3387133848
security:
3387233849
- apiKeyAuth: []
3387333850
appKeyAuth: []
33851+
- AuthZ: []
3387433852
summary: Update a restriction policy
3387533853
tags:
3387633854
- Restriction Policies

src/datadog_api_client/v2/api/authn_mappings_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def __init__(self, api_client=None):
5454
self._delete_authn_mapping_endpoint = _Endpoint(
5555
settings={
5656
"response_type": None,
57-
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
57+
"auth": ["apiKeyAuth", "appKeyAuth"],
5858
"endpoint_path": "/api/v2/authn_mappings/{authn_mapping_id}",
5959
"operation_id": "delete_authn_mapping",
6060
"http_method": "DELETE",
@@ -77,7 +77,7 @@ def __init__(self, api_client=None):
7777
self._get_authn_mapping_endpoint = _Endpoint(
7878
settings={
7979
"response_type": (AuthNMappingResponse,),
80-
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
80+
"auth": ["apiKeyAuth", "appKeyAuth"],
8181
"endpoint_path": "/api/v2/authn_mappings/{authn_mapping_id}",
8282
"operation_id": "get_authn_mapping",
8383
"http_method": "GET",
@@ -142,7 +142,7 @@ def __init__(self, api_client=None):
142142
self._update_authn_mapping_endpoint = _Endpoint(
143143
settings={
144144
"response_type": (AuthNMappingResponse,),
145-
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
145+
"auth": ["apiKeyAuth", "appKeyAuth"],
146146
"endpoint_path": "/api/v2/authn_mappings/{authn_mapping_id}",
147147
"operation_id": "update_authn_mapping",
148148
"http_method": "PATCH",

src/datadog_api_client/v2/api/incidents_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def __init__(self, api_client=None):
297297
self._list_incident_attachments_endpoint = _Endpoint(
298298
settings={
299299
"response_type": (IncidentAttachmentsResponse,),
300-
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
300+
"auth": ["apiKeyAuth", "appKeyAuth"],
301301
"endpoint_path": "/api/v2/incidents/{incident_id}/attachments",
302302
"operation_id": "list_incident_attachments",
303303
"http_method": "GET",

src/datadog_api_client/v2/api/restriction_policies_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __init__(self, api_client=None):
2626
self._delete_restriction_policy_endpoint = _Endpoint(
2727
settings={
2828
"response_type": None,
29-
"auth": ["apiKeyAuth", "appKeyAuth"],
29+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
3030
"endpoint_path": "/api/v2/restriction_policy/{resource_id}",
3131
"operation_id": "delete_restriction_policy",
3232
"http_method": "DELETE",
@@ -49,7 +49,7 @@ def __init__(self, api_client=None):
4949
self._get_restriction_policy_endpoint = _Endpoint(
5050
settings={
5151
"response_type": (RestrictionPolicyResponse,),
52-
"auth": ["apiKeyAuth", "appKeyAuth"],
52+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
5353
"endpoint_path": "/api/v2/restriction_policy/{resource_id}",
5454
"operation_id": "get_restriction_policy",
5555
"http_method": "GET",
@@ -72,7 +72,7 @@ def __init__(self, api_client=None):
7272
self._update_restriction_policy_endpoint = _Endpoint(
7373
settings={
7474
"response_type": (RestrictionPolicyResponse,),
75-
"auth": ["apiKeyAuth", "appKeyAuth"],
75+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
7676
"endpoint_path": "/api/v2/restriction_policy/{resource_id}",
7777
"operation_id": "update_restriction_policy",
7878
"http_method": "POST",

0 commit comments

Comments
 (0)