@@ -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:
@@ -44253,38 +44277,13 @@ components:
4425344277 description: The `RuleVersionHistory` `data`.
4425444278 type: object
4425544279 type: object
44256- RuleVersionUpdate:
44257- description: A change in a rule version.
44258- properties:
44259- change:
44260- description: The new value of the field.
44261- example: cloud_provider:aws
44262- type: string
44263- field:
44264- description: The field that was changed.
44265- example: Tags
44266- type: string
44267- type:
44268- $ref: '#/components/schemas/RuleVersionUpdateType'
44269- type: object
44270- RuleVersionUpdateType:
44271- description: The type of change.
44272- enum:
44273- - create
44274- - update
44275- - delete
44276- type: string
44277- x-enum-varnames:
44278- - CREATE
44279- - UPDATE
44280- - DELETE
4428144280 RuleVersions:
4428244281 description: A rule version with a list of updates.
4428344282 properties:
4428444283 changes:
4428544284 description: A list of changes.
4428644285 items:
44287- $ref: '#/components/schemas/RuleVersionUpdate '
44286+ $ref: '#/components/schemas/VersionHistoryUpdate '
4428844287 type: array
4428944288 rule:
4429044289 $ref: '#/components/schemas/SecurityMonitoringRuleResponse'
@@ -52844,6 +52843,32 @@ components:
5284452843 format: double
5284552844 type: number
5284652845 type: object
52846+ SuppressionVersionHistory:
52847+ description: Response object containing the version history of a suppression.
52848+ properties:
52849+ count:
52850+ description: The number of suppression versions.
52851+ format: int32
52852+ maximum: 2147483647
52853+ type: integer
52854+ data:
52855+ additionalProperties:
52856+ $ref: '#/components/schemas/SuppressionVersions'
52857+ description: A suppression version with a list of updates.
52858+ description: The version history of a suppression.
52859+ type: object
52860+ type: object
52861+ SuppressionVersions:
52862+ description: A suppression version with a list of updates.
52863+ properties:
52864+ changes:
52865+ description: A list of changes.
52866+ items:
52867+ $ref: '#/components/schemas/VersionHistoryUpdate'
52868+ type: array
52869+ suppression:
52870+ $ref: '#/components/schemas/SecurityMonitoringSuppressionAttributes'
52871+ type: object
5284752872 TableResultV2:
5284852873 description: A reference table resource containing its full configuration and
5284952874 state.
@@ -57174,6 +57199,31 @@ components:
5717457199 example: 1
5717557200 format: int64
5717657201 type: integer
57202+ VersionHistoryUpdate:
57203+ description: A change in a rule version.
57204+ properties:
57205+ change:
57206+ description: The new value of the field.
57207+ example: cloud_provider:aws
57208+ type: string
57209+ field:
57210+ description: The field that was changed.
57211+ example: Tags
57212+ type: string
57213+ type:
57214+ $ref: '#/components/schemas/VersionHistoryUpdateType'
57215+ type: object
57216+ VersionHistoryUpdateType:
57217+ description: The type of change.
57218+ enum:
57219+ - create
57220+ - update
57221+ - delete
57222+ type: string
57223+ x-enum-varnames:
57224+ - CREATE
57225+ - UPDATE
57226+ - DELETE
5717757227 VirusTotalAPIKey:
5717857228 description: The definition of the `VirusTotalAPIKey` object.
5717957229 properties:
@@ -82001,6 +82051,35 @@ paths:
8200182051 summary: Update a suppression rule
8200282052 tags:
8200382053 - Security Monitoring
82054+ /api/v2/security_monitoring/configuration/suppressions/{suppression_id}/version_history:
82055+ get:
82056+ description: Get a suppression's version history.
82057+ operationId: GetSuppressionVersionHistory
82058+ parameters:
82059+ - $ref: '#/components/parameters/SecurityMonitoringSuppressionID'
82060+ - $ref: '#/components/parameters/PageSize'
82061+ - $ref: '#/components/parameters/PageNumber'
82062+ responses:
82063+ '200':
82064+ content:
82065+ application/json:
82066+ schema:
82067+ $ref: '#/components/schemas/GetSuppressionVersionHistoryResponse'
82068+ description: OK
82069+ '403':
82070+ $ref: '#/components/responses/NotAuthorizedResponse'
82071+ '404':
82072+ $ref: '#/components/responses/NotFoundResponse'
82073+ '429':
82074+ $ref: '#/components/responses/TooManyRequestsResponse'
82075+ security:
82076+ - apiKeyAuth: []
82077+ appKeyAuth: []
82078+ - AuthZ:
82079+ - security_monitoring_suppressions_read
82080+ summary: Get a suppression's version history
82081+ tags:
82082+ - Security Monitoring
8200482083 /api/v2/security_monitoring/rules:
8200582084 get:
8200682085 description: List rules.
0 commit comments