@@ -14454,6 +14454,10 @@ components:
1445414454 description: Entity definition in raw JSON or YAML representation.
1445514455 example: "apiVersion: v3\nkind: service\nmetadata:\n name: myservice\n"
1445614456 type: string
14457+ EntityReference:
14458+ description: The unique reference for an IDP entity.
14459+ example: service:my-service
14460+ type: string
1445714461 EntityRelationships:
1445814462 description: Entity relationships.
1445914463 properties:
@@ -43034,6 +43038,57 @@ components:
4303443038 id:
4303543039 $ref: '#/components/schemas/ApiID'
4303643040 type: object
43041+ UpdateOutcomesAsyncAttributes:
43042+ description: The JSON:API attributes for a batched set of scorecard outcomes.
43043+ properties:
43044+ results:
43045+ description: Set of scorecard outcomes to update asynchronously.
43046+ items:
43047+ $ref: '#/components/schemas/UpdateOutcomesAsyncRequestItem'
43048+ type: array
43049+ type: object
43050+ UpdateOutcomesAsyncRequest:
43051+ description: Scorecard outcomes batch request.
43052+ properties:
43053+ data:
43054+ $ref: '#/components/schemas/UpdateOutcomesAsyncRequestData'
43055+ type: object
43056+ UpdateOutcomesAsyncRequestData:
43057+ description: Scorecard outcomes batch request data.
43058+ properties:
43059+ attributes:
43060+ $ref: '#/components/schemas/UpdateOutcomesAsyncAttributes'
43061+ type:
43062+ $ref: '#/components/schemas/UpdateOutcomesAsyncType'
43063+ type: object
43064+ UpdateOutcomesAsyncRequestItem:
43065+ description: Scorecard outcome for a single entity and rule.
43066+ properties:
43067+ entity_reference:
43068+ $ref: '#/components/schemas/EntityReference'
43069+ remarks:
43070+ description: Any remarks regarding the scorecard rule's evaluation, and
43071+ supports HTML hyperlinks.
43072+ example: 'See: <a href="https://app.datadoghq.com/services">Services</a>'
43073+ type: string
43074+ rule_id:
43075+ $ref: '#/components/schemas/RuleId'
43076+ state:
43077+ $ref: '#/components/schemas/State'
43078+ required:
43079+ - rule_id
43080+ - entity_reference
43081+ - state
43082+ type: object
43083+ UpdateOutcomesAsyncType:
43084+ default: batched-outcome
43085+ description: The JSON:API type for scorecard outcomes.
43086+ enum:
43087+ - batched-outcome
43088+ example: batched-outcome
43089+ type: string
43090+ x-enum-varnames:
43091+ - BATCHED_OUTCOME
4303743092 UpdateResourceEvaluationFiltersRequest:
4303843093 description: Request object to update a resource filter.
4303943094 properties:
@@ -61018,6 +61073,37 @@ paths:
6101861073 resultsPath: data
6101961074 x-unstable: '**Note**: This endpoint is in public beta.
6102061075
61076+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
61077+ post:
61078+ description: Updates multiple scorecard rule outcomes in a single batched request.
61079+ operationId: UpdateScorecardOutcomesAsync
61080+ requestBody:
61081+ content:
61082+ application/json:
61083+ schema:
61084+ $ref: '#/components/schemas/UpdateOutcomesAsyncRequest'
61085+ description: Set of scorecard outcomes.
61086+ required: true
61087+ responses:
61088+ '202':
61089+ description: Accepted
61090+ '400':
61091+ $ref: '#/components/responses/BadRequestResponse'
61092+ '403':
61093+ $ref: '#/components/responses/ForbiddenResponse'
61094+ '429':
61095+ $ref: '#/components/responses/TooManyRequestsResponse'
61096+ security:
61097+ - apiKeyAuth: []
61098+ appKeyAuth: []
61099+ - AuthZ:
61100+ - apm_service_catalog_write
61101+ summary: Update Scorecard outcomes asynchronously
61102+ tags:
61103+ - Service Scorecards
61104+ x-codegen-request-body-name: body
61105+ x-unstable: '**Note**: This endpoint is in public beta.
61106+
6102161107 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
6102261108 /api/v2/scorecard/outcomes/batch:
6102361109 post:
0 commit comments