Skip to content

Commit 861335a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Sync OpenAPI specification with backend (#1960)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 78c8233 commit 861335a

File tree

5 files changed

+38
-7
lines changed

5 files changed

+38
-7
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-05-01 15:31:23.879588",
8-
"spec_repo_commit": "3cb094c8"
7+
"regenerated": "2024-05-03 14:26:40.806541",
8+
"spec_repo_commit": "27a03d2c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-05-01 15:31:23.896396",
13-
"spec_repo_commit": "3cb094c8"
12+
"regenerated": "2024-05-03 14:26:40.833815",
13+
"spec_repo_commit": "27a03d2c"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21401,6 +21401,7 @@ components:
2140121401
authorizationCode:
2140221402
authorizationUrl: /oauth2/v1/authorize
2140321403
scopes:
21404+
apm_read: Read and query APM and Trace Analytics.
2140421405
apm_service_catalog_read: View service catalog and service definitions.
2140521406
apm_service_catalog_write: Add, modify, and delete service catalog definitions
2140621407
when those definitions are maintained by Datadog.
@@ -21411,6 +21412,8 @@ components:
2141121412
access to the cloud cost data source in dashboards and notebooks.
2141221413
cloud_cost_management_write: Configure cloud cost accounts and global
2141321414
customizations.
21415+
continuous_profiler_pgo_read: Read and query Continuous Profiler data
21416+
for Profile-Guided Optimization (PGO).
2141421417
create_webhooks: Create webhooks integrations.
2141521418
dashboards_public_share: Generate public and authenticated links to share
2141621419
dashboards or embeddable graphs externally.
@@ -21430,6 +21433,11 @@ components:
2143021433
is not required to set downtimes.
2143121434
monitors_read: View monitors.
2143221435
monitors_write: Edit and delete individual monitors.
21436+
org_management: Edit org configurations, including authentication and
21437+
certain security preferences such as configuring SAML, renaming an org,
21438+
configuring allowed login methods, creating child orgs, subscribing
21439+
& unsubscribing from apps in the marketplace, and enabling & disabling
21440+
Remote Configuration for the entire organization.
2143321441
security_monitoring_filters_read: Read Security Filters.
2143421442
security_monitoring_filters_write: Create, edit, and delete Security Filters.
2143521443
security_monitoring_findings_read: View CSPM Findings.

.generator/schemas/v2/openapi.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22722,6 +22722,7 @@ components:
2272222722
authorizationCode:
2272322723
authorizationUrl: /oauth2/v1/authorize
2272422724
scopes:
22725+
apm_read: Read and query APM and Trace Analytics.
2272522726
apm_service_catalog_read: View service catalog and service definitions.
2272622727
apm_service_catalog_write: Add, modify, and delete service catalog definitions
2272722728
when those definitions are maintained by Datadog.
@@ -22732,6 +22733,8 @@ components:
2273222733
access to the cloud cost data source in dashboards and notebooks.
2273322734
cloud_cost_management_write: Configure cloud cost accounts and global
2273422735
customizations.
22736+
continuous_profiler_pgo_read: Read and query Continuous Profiler data
22737+
for Profile-Guided Optimization (PGO).
2273522738
create_webhooks: Create webhooks integrations.
2273622739
dashboards_public_share: Generate public and authenticated links to share
2273722740
dashboards or embeddable graphs externally.
@@ -22751,6 +22754,11 @@ components:
2275122754
is not required to set downtimes.
2275222755
monitors_read: View monitors.
2275322756
monitors_write: Edit and delete individual monitors.
22757+
org_management: Edit org configurations, including authentication and
22758+
certain security preferences such as configuring SAML, renaming an org,
22759+
configuring allowed login methods, creating child orgs, subscribing
22760+
& unsubscribing from apps in the marketplace, and enabling & disabling
22761+
Remote Configuration for the entire organization.
2275422762
security_monitoring_filters_read: Read Security Filters.
2275522763
security_monitoring_filters_write: Create, edit, and delete Security Filters.
2275622764
security_monitoring_findings_read: View CSPM Findings.
@@ -27988,6 +27996,11 @@ paths:
2798827996
$ref: '#/components/responses/NotFoundResponse'
2798927997
'429':
2799027998
$ref: '#/components/responses/TooManyRequestsResponse'
27999+
security:
28000+
- apiKeyAuth: []
28001+
appKeyAuth: []
28002+
- AuthZ:
28003+
- org_management
2799128004
summary: Get IP Allowlist
2799228005
tags:
2799328006
- IP Allowlist
@@ -28015,6 +28028,11 @@ paths:
2801528028
$ref: '#/components/responses/NotFoundResponse'
2801628029
'429':
2801728030
$ref: '#/components/responses/TooManyRequestsResponse'
28031+
security:
28032+
- apiKeyAuth: []
28033+
appKeyAuth: []
28034+
- AuthZ:
28035+
- org_management
2801828036
summary: Update IP Allowlist
2801928037
tags:
2802028038
- IP Allowlist
@@ -34016,6 +34034,11 @@ paths:
3401634034
$ref: '#/components/responses/ForbiddenResponse'
3401734035
'429':
3401834036
$ref: '#/components/responses/TooManyRequestsResponse'
34037+
security:
34038+
- apiKeyAuth: []
34039+
appKeyAuth: []
34040+
- AuthZ:
34041+
- apm_read
3401934042
summary: Aggregate spans
3402034043
tags:
3402134044
- Spans

src/datadog_api_client/v2/api/ip_allowlist_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __init__(self, api_client=None):
2929
self._get_ip_allowlist_endpoint = _Endpoint(
3030
settings={
3131
"response_type": (IPAllowlistResponse,),
32-
"auth": ["apiKeyAuth", "appKeyAuth"],
32+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
3333
"endpoint_path": "/api/v2/ip_allowlist",
3434
"operation_id": "get_ip_allowlist",
3535
"http_method": "GET",
@@ -45,7 +45,7 @@ def __init__(self, api_client=None):
4545
self._update_ip_allowlist_endpoint = _Endpoint(
4646
settings={
4747
"response_type": (IPAllowlistResponse,),
48-
"auth": ["apiKeyAuth", "appKeyAuth"],
48+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
4949
"endpoint_path": "/api/v2/ip_allowlist",
5050
"operation_id": "update_ip_allowlist",
5151
"http_method": "PATCH",

src/datadog_api_client/v2/api/spans_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(self, api_client=None):
3535
self._aggregate_spans_endpoint = _Endpoint(
3636
settings={
3737
"response_type": (SpansAggregateResponse,),
38-
"auth": ["apiKeyAuth", "appKeyAuth"],
38+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
3939
"endpoint_path": "/api/v2/spans/analytics/aggregate",
4040
"operation_id": "aggregate_spans",
4141
"http_method": "POST",

0 commit comments

Comments
 (0)