Skip to content

Commit 8d615bb

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 77aa226 of spec repo (#3789)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent cfeec7a commit 8d615bb

22 files changed

Lines changed: 1131 additions & 0 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 280 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75076,6 +75076,18 @@ components:
7507675076
required:
7507775077
- data
7507875078
type: object
75079+
OwnershipConfidenceLevel:
75080+
description: The ownership confidence level.
75081+
enum:
75082+
- high
75083+
- medium
75084+
- low
75085+
example: high
75086+
type: string
75087+
x-enum-varnames:
75088+
- HIGH
75089+
- MEDIUM
75090+
- LOW
7507975091
OwnershipEvidenceAttributes:
7508075092
description: The attributes of an ownership evidence response.
7508175093
properties:
@@ -75639,6 +75651,152 @@ components:
7563975651
- TEAM
7564075652
- SERVICE
7564175653
- UNKNOWN
75654+
OwnershipSettingsAttributes:
75655+
description: The attributes of the ownership settings response.
75656+
properties:
75657+
auto_tag:
75658+
description: Whether automatic ownership tagging is enabled.
75659+
example: true
75660+
type: boolean
75661+
confidence_level:
75662+
$ref: "#/components/schemas/OwnershipConfidenceLevel"
75663+
version:
75664+
description: The current version of the ownership settings.
75665+
example: 1
75666+
format: int64
75667+
type: integer
75668+
required:
75669+
- version
75670+
- auto_tag
75671+
- confidence_level
75672+
type: object
75673+
OwnershipSettingsData:
75674+
description: The data wrapper for an ownership settings response.
75675+
properties:
75676+
attributes:
75677+
$ref: "#/components/schemas/OwnershipSettingsAttributes"
75678+
id:
75679+
description: The identifier of the ownership settings resource.
75680+
example: settings
75681+
type: string
75682+
type:
75683+
$ref: "#/components/schemas/OwnershipSettingsType"
75684+
required:
75685+
- id
75686+
- type
75687+
- attributes
75688+
type: object
75689+
OwnershipSettingsRequest:
75690+
description: The request body for updating ownership settings.
75691+
properties:
75692+
data:
75693+
$ref: "#/components/schemas/OwnershipSettingsRequestData"
75694+
required:
75695+
- data
75696+
type: object
75697+
OwnershipSettingsRequestAttributes:
75698+
description: The attributes of an ownership settings request.
75699+
properties:
75700+
auto_tag:
75701+
description: Whether automatic ownership tagging is enabled.
75702+
example: true
75703+
type: boolean
75704+
confidence_level:
75705+
$ref: "#/components/schemas/OwnershipConfidenceLevel"
75706+
required:
75707+
- auto_tag
75708+
- confidence_level
75709+
type: object
75710+
OwnershipSettingsRequestData:
75711+
description: The data wrapper for an ownership settings request.
75712+
properties:
75713+
attributes:
75714+
$ref: "#/components/schemas/OwnershipSettingsRequestAttributes"
75715+
type:
75716+
$ref: "#/components/schemas/OwnershipSettingsType"
75717+
required:
75718+
- type
75719+
- attributes
75720+
type: object
75721+
OwnershipSettingsResponse:
75722+
description: The response returned when retrieving or updating ownership settings.
75723+
properties:
75724+
data:
75725+
$ref: "#/components/schemas/OwnershipSettingsData"
75726+
required:
75727+
- data
75728+
type: object
75729+
OwnershipSettingsType:
75730+
default: ownership_settings
75731+
description: The type of the ownership settings resource. The value should always be `ownership_settings`.
75732+
enum:
75733+
- ownership_settings
75734+
example: ownership_settings
75735+
type: string
75736+
x-enum-varnames:
75737+
- OWNERSHIP_SETTINGS
75738+
OwnershipUntaggedFindingsAttributes:
75739+
description: The counts of findings without a team tag by ownership confidence.
75740+
properties:
75741+
high_confidence:
75742+
description: The number of high confidence findings without a team tag.
75743+
example: 30
75744+
format: int64
75745+
type: integer
75746+
low_confidence:
75747+
description: The number of low confidence findings without a team tag.
75748+
example: 42
75749+
format: int64
75750+
type: integer
75751+
medium_confidence:
75752+
description: The number of medium confidence findings without a team tag.
75753+
example: 70
75754+
format: int64
75755+
type: integer
75756+
total:
75757+
description: The total number of findings without a team tag.
75758+
example: 142
75759+
format: int64
75760+
type: integer
75761+
required:
75762+
- total
75763+
- high_confidence
75764+
- medium_confidence
75765+
- low_confidence
75766+
type: object
75767+
OwnershipUntaggedFindingsData:
75768+
description: The data wrapper for an ownership untagged findings response.
75769+
properties:
75770+
attributes:
75771+
$ref: "#/components/schemas/OwnershipUntaggedFindingsAttributes"
75772+
id:
75773+
description: The identifier of the ownership untagged findings resource.
75774+
example: untagged
75775+
type: string
75776+
type:
75777+
$ref: "#/components/schemas/OwnershipUntaggedFindingsType"
75778+
required:
75779+
- id
75780+
- type
75781+
- attributes
75782+
type: object
75783+
OwnershipUntaggedFindingsResponse:
75784+
description: The response returned when counting findings without a team tag by ownership confidence.
75785+
properties:
75786+
data:
75787+
$ref: "#/components/schemas/OwnershipUntaggedFindingsData"
75788+
required:
75789+
- data
75790+
type: object
75791+
OwnershipUntaggedFindingsType:
75792+
default: ownership_untagged_findings
75793+
description: The type of the ownership untagged findings resource. The value should always be `ownership_untagged_findings`.
75794+
enum:
75795+
- ownership_untagged_findings
75796+
example: ownership_untagged_findings
75797+
type: string
75798+
x-enum-varnames:
75799+
- OWNERSHIP_UNTAGGED_FINDINGS
7564275800
PageAnnotationsAttributes:
7564375801
description: Attributes of the annotations on a page.
7564475802
properties:
@@ -132295,6 +132453,128 @@ paths:
132295132453
$ref: "#/components/responses/TooManyRequestsResponse"
132296132454
summary: Get all CSM Serverless Agents
132297132455
tags: ["CSM Agents"]
132456+
/api/v2/csm/ownership/settings:
132457+
get:
132458+
description: Get ownership settings for the org. When settings are unset, the API returns the default opt-out configuration with `auto_tag` set to `true` and `confidence_level` set to `high`.
132459+
operationId: GetOwnershipSettings
132460+
responses:
132461+
"200":
132462+
content:
132463+
application/json:
132464+
examples:
132465+
default:
132466+
value:
132467+
data:
132468+
attributes:
132469+
auto_tag: true
132470+
confidence_level: high
132471+
version: 1
132472+
id: settings
132473+
type: ownership_settings
132474+
schema:
132475+
$ref: "#/components/schemas/OwnershipSettingsResponse"
132476+
description: OK
132477+
"401":
132478+
content:
132479+
application/json:
132480+
schema:
132481+
$ref: "#/components/schemas/JSONAPIErrorResponse"
132482+
description: Unauthorized
132483+
"429":
132484+
$ref: "#/components/responses/TooManyRequestsResponse"
132485+
summary: Get ownership settings for the org
132486+
tags: ["CSM Ownership"]
132487+
x-unstable: |-
132488+
**Note**: This endpoint is in Preview and may be subject to change.
132489+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
132490+
post:
132491+
description: Update ownership settings for the org.
132492+
operationId: PostOwnershipSettings
132493+
requestBody:
132494+
content:
132495+
application/json:
132496+
examples:
132497+
default:
132498+
value:
132499+
data:
132500+
attributes:
132501+
auto_tag: true
132502+
confidence_level: high
132503+
type: ownership_settings
132504+
schema:
132505+
$ref: "#/components/schemas/OwnershipSettingsRequest"
132506+
required: true
132507+
responses:
132508+
"200":
132509+
content:
132510+
application/json:
132511+
examples:
132512+
default:
132513+
value:
132514+
data:
132515+
attributes:
132516+
auto_tag: true
132517+
confidence_level: high
132518+
version: 1
132519+
id: settings
132520+
type: ownership_settings
132521+
schema:
132522+
$ref: "#/components/schemas/OwnershipSettingsResponse"
132523+
description: OK
132524+
"400":
132525+
content:
132526+
application/json:
132527+
schema:
132528+
$ref: "#/components/schemas/JSONAPIErrorResponse"
132529+
description: Bad Request
132530+
"401":
132531+
content:
132532+
application/json:
132533+
schema:
132534+
$ref: "#/components/schemas/JSONAPIErrorResponse"
132535+
description: Unauthorized
132536+
"429":
132537+
$ref: "#/components/responses/TooManyRequestsResponse"
132538+
summary: Update ownership settings for the org
132539+
tags: ["CSM Ownership"]
132540+
x-unstable: |-
132541+
**Note**: This endpoint is in Preview and may be subject to change.
132542+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
132543+
/api/v2/csm/ownership/settings/untagged:
132544+
get:
132545+
description: Count findings with no team tag, grouped by ownership confidence level.
132546+
operationId: GetOwnershipUntaggedFindings
132547+
responses:
132548+
"200":
132549+
content:
132550+
application/json:
132551+
examples:
132552+
default:
132553+
value:
132554+
data:
132555+
attributes:
132556+
high_confidence: 30
132557+
low_confidence: 42
132558+
medium_confidence: 70
132559+
total: 142
132560+
id: untagged
132561+
type: ownership_untagged_findings
132562+
schema:
132563+
$ref: "#/components/schemas/OwnershipUntaggedFindingsResponse"
132564+
description: OK
132565+
"401":
132566+
content:
132567+
application/json:
132568+
schema:
132569+
$ref: "#/components/schemas/JSONAPIErrorResponse"
132570+
description: Unauthorized
132571+
"429":
132572+
$ref: "#/components/responses/TooManyRequestsResponse"
132573+
summary: Count untagged findings by ownership confidence
132574+
tags: ["CSM Ownership"]
132575+
x-unstable: |-
132576+
**Note**: This endpoint is in Preview and may be subject to change.
132577+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
132298132578
/api/v2/csm/ownership/{resource_id}:
132299132579
get:
132300132580
description: Get all current ownership inferences for a resource, one per owner type (`user`, `team`, `service`, `unknown`).

docs/datadog_api_client.v2.model.rst

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31469,6 +31469,13 @@ datadog\_api\_client.v2.model.overwrite\_allocations\_request module
3146931469
:members:
3147031470
:show-inheritance:
3147131471

31472+
datadog\_api\_client.v2.model.ownership\_confidence\_level module
31473+
-----------------------------------------------------------------
31474+
31475+
.. automodule:: datadog_api_client.v2.model.ownership_confidence_level
31476+
:members:
31477+
:show-inheritance:
31478+
3147231479
datadog\_api\_client.v2.model.ownership\_evidence\_attributes module
3147331480
--------------------------------------------------------------------
3147431481

@@ -31686,6 +31693,83 @@ datadog\_api\_client.v2.model.ownership\_owner\_type module
3168631693
:members:
3168731694
:show-inheritance:
3168831695

31696+
datadog\_api\_client.v2.model.ownership\_settings\_attributes module
31697+
--------------------------------------------------------------------
31698+
31699+
.. automodule:: datadog_api_client.v2.model.ownership_settings_attributes
31700+
:members:
31701+
:show-inheritance:
31702+
31703+
datadog\_api\_client.v2.model.ownership\_settings\_data module
31704+
--------------------------------------------------------------
31705+
31706+
.. automodule:: datadog_api_client.v2.model.ownership_settings_data
31707+
:members:
31708+
:show-inheritance:
31709+
31710+
datadog\_api\_client.v2.model.ownership\_settings\_request module
31711+
-----------------------------------------------------------------
31712+
31713+
.. automodule:: datadog_api_client.v2.model.ownership_settings_request
31714+
:members:
31715+
:show-inheritance:
31716+
31717+
datadog\_api\_client.v2.model.ownership\_settings\_request\_attributes module
31718+
-----------------------------------------------------------------------------
31719+
31720+
.. automodule:: datadog_api_client.v2.model.ownership_settings_request_attributes
31721+
:members:
31722+
:show-inheritance:
31723+
31724+
datadog\_api\_client.v2.model.ownership\_settings\_request\_data module
31725+
-----------------------------------------------------------------------
31726+
31727+
.. automodule:: datadog_api_client.v2.model.ownership_settings_request_data
31728+
:members:
31729+
:show-inheritance:
31730+
31731+
datadog\_api\_client.v2.model.ownership\_settings\_response module
31732+
------------------------------------------------------------------
31733+
31734+
.. automodule:: datadog_api_client.v2.model.ownership_settings_response
31735+
:members:
31736+
:show-inheritance:
31737+
31738+
datadog\_api\_client.v2.model.ownership\_settings\_type module
31739+
--------------------------------------------------------------
31740+
31741+
.. automodule:: datadog_api_client.v2.model.ownership_settings_type
31742+
:members:
31743+
:show-inheritance:
31744+
31745+
datadog\_api\_client.v2.model.ownership\_untagged\_findings\_attributes module
31746+
------------------------------------------------------------------------------
31747+
31748+
.. automodule:: datadog_api_client.v2.model.ownership_untagged_findings_attributes
31749+
:members:
31750+
:show-inheritance:
31751+
31752+
datadog\_api\_client.v2.model.ownership\_untagged\_findings\_data module
31753+
------------------------------------------------------------------------
31754+
31755+
.. automodule:: datadog_api_client.v2.model.ownership_untagged_findings_data
31756+
:members:
31757+
:show-inheritance:
31758+
31759+
datadog\_api\_client.v2.model.ownership\_untagged\_findings\_response module
31760+
----------------------------------------------------------------------------
31761+
31762+
.. automodule:: datadog_api_client.v2.model.ownership_untagged_findings_response
31763+
:members:
31764+
:show-inheritance:
31765+
31766+
datadog\_api\_client.v2.model.ownership\_untagged\_findings\_type module
31767+
------------------------------------------------------------------------
31768+
31769+
.. automodule:: datadog_api_client.v2.model.ownership_untagged_findings_type
31770+
:members:
31771+
:show-inheritance:
31772+
3168931773
datadog\_api\_client.v2.model.page\_annotations\_attributes module
3169031774
------------------------------------------------------------------
3169131775

0 commit comments

Comments
 (0)