Skip to content

Commit

Permalink
Merge branch 'master' into therve/fix-keyloading
Browse files Browse the repository at this point in the history
  • Loading branch information
therve authored Jan 5, 2024
2 parents d34259a + d58f88a commit bc035f2
Show file tree
Hide file tree
Showing 195 changed files with 7,874 additions and 346 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2023-12-05 09:51:16.969824",
"spec_repo_commit": "60646909"
"regenerated": "2024-01-04 15:18:08.876360",
"spec_repo_commit": "e7cfa56f"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2023-12-05 09:51:16.984197",
"spec_repo_commit": "60646909"
"regenerated": "2024-01-04 15:18:08.899971",
"spec_repo_commit": "e7cfa56f"
}
}
}
3 changes: 1 addition & 2 deletions .generator/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ def unique(request):
},
}


def relative_time(imports, calls, freezed_time, iso):
time_re = re.compile(r"now( *([+-]) *(\d+)([smhdMy]))?")

Expand Down Expand Up @@ -229,7 +228,6 @@ def store_calls(arg):

return store_calls


@pytest.fixture
def context(request, unique, freezed_time):
"""
Expand Down Expand Up @@ -266,6 +264,7 @@ def is_used(self, key):
"unique_hash": unique_hash,
"timestamp": relative_time(imports, replace_values, freezed_time, False),
"timeISO": relative_time(imports, replace_values, freezed_time, True),
"uuid": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"_replace_values": replace_values,
"_imports": imports,
"_given": given,
Expand Down
138 changes: 69 additions & 69 deletions .generator/poetry.lock

Large diffs are not rendered by default.

51 changes: 39 additions & 12 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ components:
type: string
cspm_enabled:
description: "When enabled, Datadog\u2019s Cloud Security Management product
will scan resource configurations monitored by this app registration.\nNote:
scans resource configurations monitored by this app registration.\nNote:
This requires resource_collection_enabled to be set to true."
example: true
type: boolean
Expand Down Expand Up @@ -3211,9 +3211,16 @@ components:
example: key:value,filter:example
type: string
is_cspm_enabled:
description: 'When enabled, Datadog will activate the Cloud Security Monitoring
product for this service account. Note: This requires resource_collection_enabled
to be set to true.'
example: true
type: boolean
is_security_command_center_enabled:
default: false
description: When enabled, Datadog performs configuration checks across
your Google Cloud environment by continuously scanning every resource.
description: 'When enabled, Datadog will attempt to collect Security Command
Center Findings. Note: This requires additional permissions on the service
account.'
example: true
type: boolean
private_key:
Expand All @@ -3229,6 +3236,10 @@ components:
key.
example: datadog-apitest
type: string
resource_collection_enabled:
description: When enabled, Datadog scans for all resources in your GCP environment.
example: true
type: boolean
token_uri:
description: Should be `https://accounts.google.com/o/oauth2/token`.
example: https://accounts.google.com/o/oauth2/token
Expand Down Expand Up @@ -9348,7 +9359,7 @@ components:
example: some description
type: string
name:
description: The name of the new child-organization, limited to 32 characters.
description: The name of the child organization, limited to 32 characters.
example: New child org
maxLength: 32
type: string
Expand Down Expand Up @@ -22971,7 +22982,9 @@ paths:
x-codegen-request-body-name: body
/api/v1/downtime:
get:
description: Get all scheduled downtimes.
deprecated: true
description: Get all scheduled downtimes. **Note:** This endpoint has been deprecated.
Please use v2 endpoints.
operationId: ListDowntimes
parameters:
- description: Only return downtimes that are active when the request is made.
Expand Down Expand Up @@ -23012,7 +23025,9 @@ paths:
tags:
- Downtimes
post:
description: Schedule a downtime.
deprecated: true
description: Schedule a downtime. **Note:** This endpoint has been deprecated.
Please use v2 endpoints.
operationId: CreateDowntime
requestBody:
content:
Expand Down Expand Up @@ -23053,7 +23068,11 @@ paths:
x-codegen-request-body-name: body
/api/v1/downtime/cancel/by_scope:
post:
description: Delete all downtimes that match the scope of `X`.
deprecated: true
description: Delete all downtimes that match the scope of `X`. **Note:** This
only interacts with Downtimes created using v1 endpoints. This endpoint has
been deprecated and will not be replaced. Please use v2 endpoints to find
and cancel downtimes.
operationId: CancelDowntimesByScope
requestBody:
content:
Expand Down Expand Up @@ -23100,7 +23119,9 @@ paths:
x-codegen-request-body-name: body
/api/v1/downtime/{downtime_id}:
delete:
description: Cancel a downtime.
deprecated: true
description: Cancel a downtime. **Note:** This endpoint has been deprecated.
Please use v2 endpoints.
operationId: CancelDowntime
parameters:
- description: ID of the downtime to cancel.
Expand Down Expand Up @@ -23137,7 +23158,9 @@ paths:
tags:
- Downtimes
get:
description: Get downtime detail by `downtime_id`.
deprecated: true
description: Get downtime detail by `downtime_id`. **Note:** This endpoint has
been deprecated. Please use v2 endpoints.
operationId: GetDowntime
parameters:
- description: ID of the downtime to fetch.
Expand Down Expand Up @@ -23178,7 +23201,9 @@ paths:
tags:
- Downtimes
put:
description: Update a single downtime by `downtime_id`.
deprecated: true
description: Update a single downtime by `downtime_id`. **Note:** This endpoint
has been deprecated. Please use v2 endpoints.
operationId: UpdateDowntime
parameters:
- description: ID of the downtime to update.
Expand Down Expand Up @@ -26332,7 +26357,7 @@ paths:

- SLO: `slo alert`

- watchdog: `event alert`
- watchdog: `event-v2 alert`

- event-v2: `event-v2 alert`

Expand Down Expand Up @@ -27163,7 +27188,9 @@ paths:
x-codegen-request-body-name: body
/api/v1/monitor/{monitor_id}/downtimes:
get:
description: Get all active downtimes for the specified monitor.
deprecated: true
description: Get all active v1 downtimes for the specified monitor. **Note:**
This endpoint has been deprecated. Please use v2 endpoints.
operationId: ListMonitorDowntimes
parameters:
- description: The id of the monitor
Expand Down
Loading

0 comments on commit bc035f2

Please sign in to comment.