@@ -918,6 +918,14 @@ components:
918918 example: 10
919919 format: int64
920920 type: integer
921+ PersonaMappingID:
922+ description: The ID of the persona mapping
923+ example: c5c758c6-18c2-4484-ae3f-46b84128404a
924+ in: path
925+ name: persona_mapping_id
926+ required: true
927+ schema:
928+ type: string
921929 ProductName:
922930 description: Name of the product to be deleted, either `logs` or `rum`.
923931 in: path
@@ -1899,6 +1907,41 @@ components:
18991907 - account_identifier
19001908 - account_uuid
19011909 type: object
1910+ AWSCloudAuthPersonaMappingCreateAttributes:
1911+ description: Attributes for creating an AWS cloud authentication persona mapping
1912+ properties:
1913+ account_identifier:
1914+ description: Datadog account identifier (email or handle) mapped to the
1915+ AWS principal
1916+ example: test@test.com
1917+ type: string
1918+ arn_pattern:
1919+ description: AWS IAM ARN pattern to match for authentication
1920+ example: arn:aws:iam::123456789012:user/testuser
1921+ type: string
1922+ required:
1923+ - arn_pattern
1924+ - account_identifier
1925+ type: object
1926+ AWSCloudAuthPersonaMappingCreateData:
1927+ description: Data for creating an AWS cloud authentication persona mapping
1928+ properties:
1929+ attributes:
1930+ $ref: '#/components/schemas/AWSCloudAuthPersonaMappingCreateAttributes'
1931+ type:
1932+ $ref: '#/components/schemas/AWSCloudAuthPersonaMappingType'
1933+ required:
1934+ - type
1935+ - attributes
1936+ type: object
1937+ AWSCloudAuthPersonaMappingCreateRequest:
1938+ description: Request used to create an AWS cloud authentication persona mapping
1939+ properties:
1940+ data:
1941+ $ref: '#/components/schemas/AWSCloudAuthPersonaMappingCreateData'
1942+ required:
1943+ - data
1944+ type: object
19021945 AWSCloudAuthPersonaMappingDataResponse:
19031946 description: Data for AWS cloud authentication persona mapping response
19041947 properties:
@@ -1915,6 +1958,14 @@ components:
19151958 - type
19161959 - attributes
19171960 type: object
1961+ AWSCloudAuthPersonaMappingResponse:
1962+ description: Response containing a single AWS cloud authentication persona mapping
1963+ properties:
1964+ data:
1965+ $ref: '#/components/schemas/AWSCloudAuthPersonaMappingDataResponse'
1966+ required:
1967+ - data
1968+ type: object
19181969 AWSCloudAuthPersonaMappingType:
19191970 description: Type identifier for AWS cloud authentication persona mapping
19201971 enum:
@@ -76498,6 +76549,114 @@ paths:
7649876549 x-unstable: '**Note**: This endpoint is in public beta and is subject to change.
7649976550
7650076551 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
76552+ post:
76553+ description: Create a new AWS cloud authentication persona mapping. This endpoint
76554+ associates an AWS IAM principal with a Datadog user.
76555+ operationId: CreateAWSCloudAuthPersonaMapping
76556+ requestBody:
76557+ content:
76558+ application/json:
76559+ schema:
76560+ $ref: '#/components/schemas/AWSCloudAuthPersonaMappingCreateRequest'
76561+ required: true
76562+ responses:
76563+ '201':
76564+ content:
76565+ application/json:
76566+ schema:
76567+ $ref: '#/components/schemas/AWSCloudAuthPersonaMappingResponse'
76568+ description: Created
76569+ '400':
76570+ content:
76571+ application/json:
76572+ schema:
76573+ $ref: '#/components/schemas/JSONAPIErrorResponse'
76574+ description: Bad Request
76575+ '403':
76576+ content:
76577+ application/json:
76578+ schema:
76579+ $ref: '#/components/schemas/JSONAPIErrorResponse'
76580+ description: Forbidden
76581+ '409':
76582+ content:
76583+ application/json:
76584+ schema:
76585+ $ref: '#/components/schemas/JSONAPIErrorResponse'
76586+ description: Conflict
76587+ '429':
76588+ $ref: '#/components/responses/TooManyRequestsResponse'
76589+ summary: Create an AWS cloud authentication persona mapping
76590+ tags:
76591+ - Cloud Authentication
76592+ x-codegen-request-body-name: body
76593+ x-unstable: '**Note**: This endpoint is in public beta and is subject to change.
76594+
76595+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
76596+ /api/v2/cloud_auth/aws/persona_mapping/{persona_mapping_id}:
76597+ delete:
76598+ description: Delete an AWS cloud authentication persona mapping by ID. This
76599+ removes the association between an AWS IAM principal and a Datadog user.
76600+ operationId: DeleteAWSCloudAuthPersonaMapping
76601+ parameters:
76602+ - $ref: '#/components/parameters/PersonaMappingID'
76603+ responses:
76604+ '204':
76605+ description: No Content
76606+ '403':
76607+ content:
76608+ application/json:
76609+ schema:
76610+ $ref: '#/components/schemas/JSONAPIErrorResponse'
76611+ description: Forbidden
76612+ '404':
76613+ content:
76614+ application/json:
76615+ schema:
76616+ $ref: '#/components/schemas/JSONAPIErrorResponse'
76617+ description: Not Found
76618+ '429':
76619+ $ref: '#/components/responses/TooManyRequestsResponse'
76620+ summary: Delete an AWS cloud authentication persona mapping
76621+ tags:
76622+ - Cloud Authentication
76623+ x-unstable: '**Note**: This endpoint is in public beta and is subject to change.
76624+
76625+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
76626+ get:
76627+ description: Get a specific AWS cloud authentication persona mapping by ID.
76628+ This endpoint retrieves a single configured persona mapping that associates
76629+ an AWS IAM principal with a Datadog user.
76630+ operationId: GetAWSCloudAuthPersonaMapping
76631+ parameters:
76632+ - $ref: '#/components/parameters/PersonaMappingID'
76633+ responses:
76634+ '200':
76635+ content:
76636+ application/json:
76637+ schema:
76638+ $ref: '#/components/schemas/AWSCloudAuthPersonaMappingResponse'
76639+ description: OK
76640+ '403':
76641+ content:
76642+ application/json:
76643+ schema:
76644+ $ref: '#/components/schemas/JSONAPIErrorResponse'
76645+ description: Forbidden
76646+ '404':
76647+ content:
76648+ application/json:
76649+ schema:
76650+ $ref: '#/components/schemas/JSONAPIErrorResponse'
76651+ description: Not Found
76652+ '429':
76653+ $ref: '#/components/responses/TooManyRequestsResponse'
76654+ summary: Get an AWS cloud authentication persona mapping
76655+ tags:
76656+ - Cloud Authentication
76657+ x-unstable: '**Note**: This endpoint is in public beta and is subject to change.
76658+
76659+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
7650176660 /api/v2/cloud_security_management/custom_frameworks:
7650276661 post:
7650376662 description: Create a custom framework.
0 commit comments