@@ -24799,6 +24799,30 @@ components:
2479924799 required:
2480024800 - data
2480124801 type: object
24802+ GetSuppressionVersionHistoryData:
24803+ description: Data for the suppression version history.
24804+ properties:
24805+ attributes:
24806+ $ref: '#/components/schemas/SuppressionVersionHistory'
24807+ id:
24808+ description: ID of the suppression.
24809+ type: string
24810+ type:
24811+ $ref: '#/components/schemas/GetSuppressionVersionHistoryDataType'
24812+ type: object
24813+ GetSuppressionVersionHistoryDataType:
24814+ description: Type of data.
24815+ enum:
24816+ - suppression_version_history
24817+ type: string
24818+ x-enum-varnames:
24819+ - SUPPRESSIONVERSIONHISTORY
24820+ GetSuppressionVersionHistoryResponse:
24821+ description: Response for getting the suppression version history.
24822+ properties:
24823+ data:
24824+ $ref: '#/components/schemas/GetSuppressionVersionHistoryData'
24825+ type: object
2480224826 GetTeamMembershipsSort:
2480324827 description: Specifies the order of returned team memberships
2480424828 enum:
@@ -44255,38 +44279,13 @@ components:
4425544279 description: The `RuleVersionHistory` `data`.
4425644280 type: object
4425744281 type: object
44258- RuleVersionUpdate:
44259- description: A change in a rule version.
44260- properties:
44261- change:
44262- description: The new value of the field.
44263- example: cloud_provider:aws
44264- type: string
44265- field:
44266- description: The field that was changed.
44267- example: Tags
44268- type: string
44269- type:
44270- $ref: '#/components/schemas/RuleVersionUpdateType'
44271- type: object
44272- RuleVersionUpdateType:
44273- description: The type of change.
44274- enum:
44275- - create
44276- - update
44277- - delete
44278- type: string
44279- x-enum-varnames:
44280- - CREATE
44281- - UPDATE
44282- - DELETE
4428344282 RuleVersions:
4428444283 description: A rule version with a list of updates.
4428544284 properties:
4428644285 changes:
4428744286 description: A list of changes.
4428844287 items:
44289- $ref: '#/components/schemas/RuleVersionUpdate '
44288+ $ref: '#/components/schemas/VersionHistoryUpdate '
4429044289 type: array
4429144290 rule:
4429244291 $ref: '#/components/schemas/SecurityMonitoringRuleResponse'
@@ -52846,6 +52845,32 @@ components:
5284652845 format: double
5284752846 type: number
5284852847 type: object
52848+ SuppressionVersionHistory:
52849+ description: Response object containing the version history of a suppression.
52850+ properties:
52851+ count:
52852+ description: The number of suppression versions.
52853+ format: int32
52854+ maximum: 2147483647
52855+ type: integer
52856+ data:
52857+ additionalProperties:
52858+ $ref: '#/components/schemas/SuppressionVersions'
52859+ description: A suppression version with a list of updates.
52860+ description: The version history of a suppression.
52861+ type: object
52862+ type: object
52863+ SuppressionVersions:
52864+ description: A suppression version with a list of updates.
52865+ properties:
52866+ changes:
52867+ description: A list of changes.
52868+ items:
52869+ $ref: '#/components/schemas/VersionHistoryUpdate'
52870+ type: array
52871+ suppression:
52872+ $ref: '#/components/schemas/SecurityMonitoringSuppressionAttributes'
52873+ type: object
5284952874 TableResultV2:
5285052875 description: A reference table resource containing its full configuration and
5285152876 state.
@@ -57176,6 +57201,31 @@ components:
5717657201 example: 1
5717757202 format: int64
5717857203 type: integer
57204+ VersionHistoryUpdate:
57205+ description: A change in a rule version.
57206+ properties:
57207+ change:
57208+ description: The new value of the field.
57209+ example: cloud_provider:aws
57210+ type: string
57211+ field:
57212+ description: The field that was changed.
57213+ example: Tags
57214+ type: string
57215+ type:
57216+ $ref: '#/components/schemas/VersionHistoryUpdateType'
57217+ type: object
57218+ VersionHistoryUpdateType:
57219+ description: The type of change.
57220+ enum:
57221+ - create
57222+ - update
57223+ - delete
57224+ type: string
57225+ x-enum-varnames:
57226+ - CREATE
57227+ - UPDATE
57228+ - DELETE
5717957229 VirusTotalAPIKey:
5718057230 description: The definition of the `VirusTotalAPIKey` object.
5718157231 properties:
@@ -67961,6 +68011,7 @@ paths:
6796168011 - us3.datadoghq.com
6796268012 - us5.datadoghq.com
6796368013 - ap1.datadoghq.com
68014+ - ap2.datadoghq.com
6796468015 - datadoghq.eu
6796568016 - ddog-gov.com
6796668017 subdomain:
@@ -82003,6 +82054,35 @@ paths:
8200382054 summary: Update a suppression rule
8200482055 tags:
8200582056 - Security Monitoring
82057+ /api/v2/security_monitoring/configuration/suppressions/{suppression_id}/version_history:
82058+ get:
82059+ description: Get a suppression's version history.
82060+ operationId: GetSuppressionVersionHistory
82061+ parameters:
82062+ - $ref: '#/components/parameters/SecurityMonitoringSuppressionID'
82063+ - $ref: '#/components/parameters/PageSize'
82064+ - $ref: '#/components/parameters/PageNumber'
82065+ responses:
82066+ '200':
82067+ content:
82068+ application/json:
82069+ schema:
82070+ $ref: '#/components/schemas/GetSuppressionVersionHistoryResponse'
82071+ description: OK
82072+ '403':
82073+ $ref: '#/components/responses/NotAuthorizedResponse'
82074+ '404':
82075+ $ref: '#/components/responses/NotFoundResponse'
82076+ '429':
82077+ $ref: '#/components/responses/TooManyRequestsResponse'
82078+ security:
82079+ - apiKeyAuth: []
82080+ appKeyAuth: []
82081+ - AuthZ:
82082+ - security_monitoring_suppressions_read
82083+ summary: Get a suppression's version history
82084+ tags:
82085+ - Security Monitoring
8200682086 /api/v2/security_monitoring/rules:
8200782087 get:
8200882088 description: List rules.
0 commit comments