@@ -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:
@@ -43591,6 +43595,57 @@ components:
4359143595 id:
4359243596 $ref: '#/components/schemas/ApiID'
4359343597 type: object
43598+ UpdateOutcomesAsyncAttributes:
43599+ description: The JSON:API attributes for a batched set of scorecard outcomes.
43600+ properties:
43601+ results:
43602+ description: Set of scorecard outcomes to update asynchronously.
43603+ items:
43604+ $ref: '#/components/schemas/UpdateOutcomesAsyncRequestItem'
43605+ type: array
43606+ type: object
43607+ UpdateOutcomesAsyncRequest:
43608+ description: Scorecard outcomes batch request.
43609+ properties:
43610+ data:
43611+ $ref: '#/components/schemas/UpdateOutcomesAsyncRequestData'
43612+ type: object
43613+ UpdateOutcomesAsyncRequestData:
43614+ description: Scorecard outcomes batch request data.
43615+ properties:
43616+ attributes:
43617+ $ref: '#/components/schemas/UpdateOutcomesAsyncAttributes'
43618+ type:
43619+ $ref: '#/components/schemas/UpdateOutcomesAsyncType'
43620+ type: object
43621+ UpdateOutcomesAsyncRequestItem:
43622+ description: Scorecard outcome for a single entity and rule.
43623+ properties:
43624+ entity_reference:
43625+ $ref: '#/components/schemas/EntityReference'
43626+ remarks:
43627+ description: Any remarks regarding the scorecard rule's evaluation, and
43628+ supports HTML hyperlinks.
43629+ example: 'See: <a href="https://app.datadoghq.com/services">Services</a>'
43630+ type: string
43631+ rule_id:
43632+ $ref: '#/components/schemas/RuleId'
43633+ state:
43634+ $ref: '#/components/schemas/State'
43635+ required:
43636+ - rule_id
43637+ - entity_reference
43638+ - state
43639+ type: object
43640+ UpdateOutcomesAsyncType:
43641+ default: batched-outcome
43642+ description: The JSON:API type for scorecard outcomes.
43643+ enum:
43644+ - batched-outcome
43645+ example: batched-outcome
43646+ type: string
43647+ x-enum-varnames:
43648+ - BATCHED_OUTCOME
4359443649 UpdateResourceEvaluationFiltersRequest:
4359543650 description: Request object to update a resource filter.
4359643651 properties:
@@ -61575,6 +61630,37 @@ paths:
6157561630 resultsPath: data
6157661631 x-unstable: '**Note**: This endpoint is in public beta.
6157761632
61633+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
61634+ post:
61635+ description: Updates multiple scorecard rule outcomes in a single batched request.
61636+ operationId: UpdateScorecardOutcomesAsync
61637+ requestBody:
61638+ content:
61639+ application/json:
61640+ schema:
61641+ $ref: '#/components/schemas/UpdateOutcomesAsyncRequest'
61642+ description: Set of scorecard outcomes.
61643+ required: true
61644+ responses:
61645+ '202':
61646+ description: Accepted
61647+ '400':
61648+ $ref: '#/components/responses/BadRequestResponse'
61649+ '403':
61650+ $ref: '#/components/responses/ForbiddenResponse'
61651+ '429':
61652+ $ref: '#/components/responses/TooManyRequestsResponse'
61653+ security:
61654+ - apiKeyAuth: []
61655+ appKeyAuth: []
61656+ - AuthZ:
61657+ - apm_service_catalog_write
61658+ summary: Update Scorecard outcomes asynchronously
61659+ tags:
61660+ - Service Scorecards
61661+ x-codegen-request-body-name: body
61662+ x-unstable: '**Note**: This endpoint is in public beta.
61663+
6157861664 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
6157961665 /api/v2/scorecard/outcomes/batch:
6158061666 post:
0 commit comments