@@ -464,7 +464,7 @@ components:
464464 schema:
465465 type: string
466466 RuleId:
467- description: The ID of the rule/scorecard .
467+ description: The ID of the rule.
468468 in: path
469469 name: rule_id
470470 required: true
@@ -16546,7 +16546,7 @@ components:
1654616546 properties:
1654716547 id:
1654816548 description: The unique ID for a scorecard.
16549- example: 00000000-0000-beef-0000-000000000000
16549+ example: q8MQxk8TCqrHnWkp
1655016550 type: string
1655116551 type:
1655216552 $ref: '#/components/schemas/ScorecardType'
@@ -17391,7 +17391,7 @@ components:
1739117391 type: object
1739217392 RuleId:
1739317393 description: The unique ID for a scorecard rule.
17394- example: 00000000-0000-beef-0000-000000000000
17394+ example: q8MQxk8TCqrHnWkx
1739517395 type: string
1739617396 RuleOutcomeRelationships:
1739717397 description: The JSON:API relationship to a scorecard rule.
@@ -23230,6 +23230,38 @@ components:
2323023230 id:
2323123231 $ref: '#/components/schemas/ApiID'
2323223232 type: object
23233+ UpdateRuleRequest:
23234+ description: Request to update a scorecard rule.
23235+ properties:
23236+ data:
23237+ $ref: '#/components/schemas/UpdateRuleRequestData'
23238+ type: object
23239+ UpdateRuleRequestData:
23240+ description: Data for the request to update a scorecard rule.
23241+ properties:
23242+ attributes:
23243+ $ref: '#/components/schemas/RuleAttributes'
23244+ type:
23245+ $ref: '#/components/schemas/RuleType'
23246+ type: object
23247+ UpdateRuleResponse:
23248+ description: The response from a rule update request.
23249+ properties:
23250+ data:
23251+ $ref: '#/components/schemas/UpdateRuleResponseData'
23252+ type: object
23253+ UpdateRuleResponseData:
23254+ description: The data for a rule update response.
23255+ properties:
23256+ attributes:
23257+ $ref: '#/components/schemas/RuleAttributes'
23258+ id:
23259+ $ref: '#/components/schemas/RuleId'
23260+ relationships:
23261+ $ref: '#/components/schemas/RelationshipToRule'
23262+ type:
23263+ $ref: '#/components/schemas/RuleType'
23264+ type: object
2323323265 UsageApplicationSecurityMonitoringResponse:
2323423266 description: Application Security Monitoring usage response.
2323523267 properties:
@@ -33671,6 +33703,43 @@ paths:
3367133703 x-unstable: '**Note**: This endpoint is in public beta.
3367233704
3367333705 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
33706+ put:
33707+ description: Updates an existing rule.
33708+ operationId: UpdateScorecardRule
33709+ parameters:
33710+ - $ref: '#/components/parameters/RuleId'
33711+ requestBody:
33712+ content:
33713+ application/json:
33714+ schema:
33715+ $ref: '#/components/schemas/UpdateRuleRequest'
33716+ description: Rule attributes.
33717+ required: true
33718+ responses:
33719+ '200':
33720+ content:
33721+ application/json:
33722+ schema:
33723+ $ref: '#/components/schemas/UpdateRuleResponse'
33724+ description: Rule updated successfully
33725+ '400':
33726+ $ref: '#/components/responses/BadRequestResponse'
33727+ '403':
33728+ $ref: '#/components/responses/ForbiddenResponse'
33729+ '429':
33730+ $ref: '#/components/responses/TooManyRequestsResponse'
33731+ security:
33732+ - apiKeyAuth: []
33733+ appKeyAuth: []
33734+ - AuthZ:
33735+ - apm_service_catalog_write
33736+ summary: Update an existing rule
33737+ tags:
33738+ - Service Scorecards
33739+ x-codegen-request-body-name: body
33740+ x-unstable: '**Note**: This endpoint is in public beta.
33741+
33742+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
3367433743 /api/v2/security/cloud_workload/policy/download:
3367533744 get:
3367633745 description: 'The download endpoint generates a Cloud Workload Security policy
@@ -38387,8 +38456,8 @@ tags:
3838738456
3838838457 and improve communication with internal and external users.'
3838938458 name: Service Level Objectives
38390- - description: 'API to create, update scorecard rules and outcomes. See [Service Scorecards](https://docs.datadoghq.com/service_catalog/scorecards)
38391- for more information.
38459+ - description: 'API to create and update scorecard rules and outcomes. See [Service
38460+ Scorecards](https://docs.datadoghq.com/service_catalog/scorecards) for more information.
3839238461
3839338462
3839438463 This feature is currently in BETA. If you have any feedback, contact [Datadog
0 commit comments