Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 83 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135518,9 +135518,17 @@ paths:
description: Forbidden
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ: []
summary: List governance controls
tags:
- Governance Controls
"x-permission":
operator: AND
permissions:
- governance_console_read
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
Expand Down Expand Up @@ -135617,9 +135625,17 @@ paths:
description: Not Found
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ: []
summary: Get a governance control
tags:
- Governance Controls
"x-permission":
operator: AND
permissions:
- governance_console_read
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
Expand Down Expand Up @@ -135723,9 +135739,18 @@ paths:
description: Not Found
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ: []
summary: Update a governance control
tags:
- Governance Controls
"x-permission":
operator: AND
permissions:
- governance_console_read
- governance_console_write
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
Expand Down Expand Up @@ -135852,9 +135877,22 @@ paths:
description: Forbidden
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- audit_logs_read
- events_read
- metrics_read
summary: List governance insights
tags:
- Governance Insights
"x-permission":
operator: OR
permissions:
- metrics_read
- events_read
- audit_logs_read
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
Expand Down Expand Up @@ -189863,9 +189901,17 @@ paths:
description: Forbidden
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
- apiKeyAuth: []
appKeyAuth: []
summary: List tag policies
tags:
- Tag Policies
"x-permission":
operator: OR
permissions:
- telemetry_rules_read
- metrics_read
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
Expand Down Expand Up @@ -189954,9 +190000,16 @@ paths:
description: Conflict
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
- apiKeyAuth: []
appKeyAuth: []
summary: Create a tag policy
tags:
- Tag Policies
"x-permission":
operator: AND
permissions:
- telemetry_rules_create
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
Expand Down Expand Up @@ -190011,9 +190064,16 @@ paths:
description: Not Found
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
- apiKeyAuth: []
appKeyAuth: []
summary: Delete a tag policy
tags:
- Tag Policies
"x-permission":
operator: AND
permissions:
- telemetry_rules_create
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
Expand Down Expand Up @@ -190123,9 +190183,17 @@ paths:
description: Not Found
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
- apiKeyAuth: []
appKeyAuth: []
summary: Get a tag policy
tags:
- Tag Policies
"x-permission":
operator: OR
permissions:
- telemetry_rules_read
- metrics_read
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
Expand Down Expand Up @@ -190214,9 +190282,16 @@ paths:
description: Not Found
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
- apiKeyAuth: []
appKeyAuth: []
summary: Update a tag policy
tags:
- Tag Policies
"x-permission":
operator: AND
permissions:
- telemetry_rules_create
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
Expand Down Expand Up @@ -190296,9 +190371,17 @@ paths:
description: Not Found
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
- apiKeyAuth: []
appKeyAuth: []
summary: Get a tag policy compliance score
tags:
- Tag Policies
"x-permission":
operator: OR
permissions:
- telemetry_rules_read
- metrics_read
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
Expand Down
6 changes: 3 additions & 3 deletions src/datadog_api_client/v2/api/governance_controls_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, api_client=None):
self._get_governance_control_endpoint = _Endpoint(
settings={
"response_type": (GovernanceControlResponse,),
"auth": ["apiKeyAuth", "appKeyAuth"],
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"endpoint_path": "/api/v2/governance/control/{detection_type}",
"operation_id": "get_governance_control",
"http_method": "GET",
Expand All @@ -51,7 +51,7 @@ def __init__(self, api_client=None):
self._list_governance_controls_endpoint = _Endpoint(
settings={
"response_type": (GovernanceControlsResponse,),
"auth": ["apiKeyAuth", "appKeyAuth"],
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"endpoint_path": "/api/v2/governance/control",
"operation_id": "list_governance_controls",
"http_method": "GET",
Expand All @@ -67,7 +67,7 @@ def __init__(self, api_client=None):
self._update_governance_control_endpoint = _Endpoint(
settings={
"response_type": (GovernanceControlResponse,),
"auth": ["apiKeyAuth", "appKeyAuth"],
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"endpoint_path": "/api/v2/governance/control/{detection_type}",
"operation_id": "update_governance_control",
"http_method": "PATCH",
Expand Down
2 changes: 1 addition & 1 deletion src/datadog_api_client/v2/api/governance_insights_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(self, api_client=None):
self._list_governance_insights_endpoint = _Endpoint(
settings={
"response_type": (GovernanceInsightsResponse,),
"auth": ["apiKeyAuth", "appKeyAuth"],
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"endpoint_path": "/api/v2/governance/insights",
"operation_id": "list_governance_insights",
"http_method": "GET",
Expand Down
Loading