Skip to content

Commit 2a8db3d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit cf7c9bc of spec repo
1 parent 22870e1 commit 2a8db3d

3 files changed

Lines changed: 87 additions & 4 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135518,9 +135518,17 @@ paths:
135518135518
description: Forbidden
135519135519
"429":
135520135520
$ref: "#/components/responses/TooManyRequestsResponse"
135521+
security:
135522+
- apiKeyAuth: []
135523+
appKeyAuth: []
135524+
- AuthZ: []
135521135525
summary: List governance controls
135522135526
tags:
135523135527
- Governance Controls
135528+
"x-permission":
135529+
operator: AND
135530+
permissions:
135531+
- governance_console_read
135524135532
x-unstable: |-
135525135533
**Note**: This endpoint is in preview and is subject to change.
135526135534
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
@@ -135617,9 +135625,17 @@ paths:
135617135625
description: Not Found
135618135626
"429":
135619135627
$ref: "#/components/responses/TooManyRequestsResponse"
135628+
security:
135629+
- apiKeyAuth: []
135630+
appKeyAuth: []
135631+
- AuthZ: []
135620135632
summary: Get a governance control
135621135633
tags:
135622135634
- Governance Controls
135635+
"x-permission":
135636+
operator: AND
135637+
permissions:
135638+
- governance_console_read
135623135639
x-unstable: |-
135624135640
**Note**: This endpoint is in preview and is subject to change.
135625135641
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
@@ -135723,9 +135739,18 @@ paths:
135723135739
description: Not Found
135724135740
"429":
135725135741
$ref: "#/components/responses/TooManyRequestsResponse"
135742+
security:
135743+
- apiKeyAuth: []
135744+
appKeyAuth: []
135745+
- AuthZ: []
135726135746
summary: Update a governance control
135727135747
tags:
135728135748
- Governance Controls
135749+
"x-permission":
135750+
operator: AND
135751+
permissions:
135752+
- governance_console_read
135753+
- governance_console_write
135729135754
x-unstable: |-
135730135755
**Note**: This endpoint is in preview and is subject to change.
135731135756
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
@@ -135852,9 +135877,22 @@ paths:
135852135877
description: Forbidden
135853135878
"429":
135854135879
$ref: "#/components/responses/TooManyRequestsResponse"
135880+
security:
135881+
- apiKeyAuth: []
135882+
appKeyAuth: []
135883+
- AuthZ:
135884+
- audit_logs_read
135885+
- events_read
135886+
- metrics_read
135855135887
summary: List governance insights
135856135888
tags:
135857135889
- Governance Insights
135890+
"x-permission":
135891+
operator: OR
135892+
permissions:
135893+
- metrics_read
135894+
- events_read
135895+
- audit_logs_read
135858135896
x-unstable: |-
135859135897
**Note**: This endpoint is in preview and is subject to change.
135860135898
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
@@ -189863,9 +189901,17 @@ paths:
189863189901
description: Forbidden
189864189902
"429":
189865189903
$ref: "#/components/responses/TooManyRequestsResponse"
189904+
security:
189905+
- apiKeyAuth: []
189906+
appKeyAuth: []
189866189907
summary: List tag policies
189867189908
tags:
189868189909
- Tag Policies
189910+
"x-permission":
189911+
operator: OR
189912+
permissions:
189913+
- telemetry_rules_read
189914+
- metrics_read
189869189915
x-unstable: |-
189870189916
**Note**: This endpoint is in preview and is subject to change.
189871189917
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
@@ -189954,9 +190000,16 @@ paths:
189954190000
description: Conflict
189955190001
"429":
189956190002
$ref: "#/components/responses/TooManyRequestsResponse"
190003+
security:
190004+
- apiKeyAuth: []
190005+
appKeyAuth: []
189957190006
summary: Create a tag policy
189958190007
tags:
189959190008
- Tag Policies
190009+
"x-permission":
190010+
operator: AND
190011+
permissions:
190012+
- telemetry_rules_create
189960190013
x-unstable: |-
189961190014
**Note**: This endpoint is in preview and is subject to change.
189962190015
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
@@ -190011,9 +190064,16 @@ paths:
190011190064
description: Not Found
190012190065
"429":
190013190066
$ref: "#/components/responses/TooManyRequestsResponse"
190067+
security:
190068+
- apiKeyAuth: []
190069+
appKeyAuth: []
190014190070
summary: Delete a tag policy
190015190071
tags:
190016190072
- Tag Policies
190073+
"x-permission":
190074+
operator: AND
190075+
permissions:
190076+
- telemetry_rules_create
190017190077
x-unstable: |-
190018190078
**Note**: This endpoint is in preview and is subject to change.
190019190079
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
@@ -190123,9 +190183,17 @@ paths:
190123190183
description: Not Found
190124190184
"429":
190125190185
$ref: "#/components/responses/TooManyRequestsResponse"
190186+
security:
190187+
- apiKeyAuth: []
190188+
appKeyAuth: []
190126190189
summary: Get a tag policy
190127190190
tags:
190128190191
- Tag Policies
190192+
"x-permission":
190193+
operator: OR
190194+
permissions:
190195+
- telemetry_rules_read
190196+
- metrics_read
190129190197
x-unstable: |-
190130190198
**Note**: This endpoint is in preview and is subject to change.
190131190199
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
@@ -190214,9 +190282,16 @@ paths:
190214190282
description: Not Found
190215190283
"429":
190216190284
$ref: "#/components/responses/TooManyRequestsResponse"
190285+
security:
190286+
- apiKeyAuth: []
190287+
appKeyAuth: []
190217190288
summary: Update a tag policy
190218190289
tags:
190219190290
- Tag Policies
190291+
"x-permission":
190292+
operator: AND
190293+
permissions:
190294+
- telemetry_rules_create
190220190295
x-unstable: |-
190221190296
**Note**: This endpoint is in preview and is subject to change.
190222190297
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
@@ -190296,9 +190371,17 @@ paths:
190296190371
description: Not Found
190297190372
"429":
190298190373
$ref: "#/components/responses/TooManyRequestsResponse"
190374+
security:
190375+
- apiKeyAuth: []
190376+
appKeyAuth: []
190299190377
summary: Get a tag policy compliance score
190300190378
tags:
190301190379
- Tag Policies
190380+
"x-permission":
190381+
operator: OR
190382+
permissions:
190383+
- telemetry_rules_read
190384+
- metrics_read
190302190385
x-unstable: |-
190303190386
**Note**: This endpoint is in preview and is subject to change.
190304190387
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).

src/datadog_api_client/v2/api/governance_controls_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, api_client=None):
2828
self._get_governance_control_endpoint = _Endpoint(
2929
settings={
3030
"response_type": (GovernanceControlResponse,),
31-
"auth": ["apiKeyAuth", "appKeyAuth"],
31+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
3232
"endpoint_path": "/api/v2/governance/control/{detection_type}",
3333
"operation_id": "get_governance_control",
3434
"http_method": "GET",
@@ -51,7 +51,7 @@ def __init__(self, api_client=None):
5151
self._list_governance_controls_endpoint = _Endpoint(
5252
settings={
5353
"response_type": (GovernanceControlsResponse,),
54-
"auth": ["apiKeyAuth", "appKeyAuth"],
54+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
5555
"endpoint_path": "/api/v2/governance/control",
5656
"operation_id": "list_governance_controls",
5757
"http_method": "GET",
@@ -67,7 +67,7 @@ def __init__(self, api_client=None):
6767
self._update_governance_control_endpoint = _Endpoint(
6868
settings={
6969
"response_type": (GovernanceControlResponse,),
70-
"auth": ["apiKeyAuth", "appKeyAuth"],
70+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
7171
"endpoint_path": "/api/v2/governance/control/{detection_type}",
7272
"operation_id": "update_governance_control",
7373
"http_method": "PATCH",

src/datadog_api_client/v2/api/governance_insights_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __init__(self, api_client=None):
3030
self._list_governance_insights_endpoint = _Endpoint(
3131
settings={
3232
"response_type": (GovernanceInsightsResponse,),
33-
"auth": ["apiKeyAuth", "appKeyAuth"],
33+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
3434
"endpoint_path": "/api/v2/governance/insights",
3535
"operation_id": "list_governance_insights",
3636
"http_method": "GET",

0 commit comments

Comments
 (0)