@@ -10236,10 +10236,6 @@ components:
1023610236 description: Whether the policy is pinned
1023710237 example: false
1023810238 type: boolean
10239- policyType:
10240- description: The type of the policy
10241- example: policy
10242- type: string
1024310239 policyVersion:
1024410240 description: The version of the policy
1024510241 example: '1'
@@ -10418,11 +10414,11 @@ components:
1041810414 CloudWorkloadSecurityAgentPolicyVersion:
1041910415 description: The versions of the policy
1042010416 properties:
10421- date :
10417+ Date :
1042210418 description: The date and time the version was created
1042310419 nullable: true
1042410420 type: string
10425- name :
10421+ Name :
1042610422 description: The version of the policy
1042710423 example: 1.47.0-rc2
1042810424 type: string
@@ -10449,11 +10445,8 @@ components:
1044910445 $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActionSet'
1045010446 type: object
1045110447 CloudWorkloadSecurityAgentRuleActionHash:
10452- description: Hash file specified by the field attribute
10453- properties:
10454- field:
10455- description: The field of the hash action
10456- type: string
10448+ additionalProperties: {}
10449+ description: An empty object indicating the hash action
1045710450 type: object
1045810451 CloudWorkloadSecurityAgentRuleActionMetadata:
1045910452 description: The metadata action applied on the scope matching the rule
@@ -10501,14 +10494,9 @@ components:
1050110494 format: int64
1050210495 type: integer
1050310496 value:
10504- $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActionSetValue'
10497+ description: The value of the set action
10498+ type: string
1050510499 type: object
10506- CloudWorkloadSecurityAgentRuleActionSetValue:
10507- description: The value of the set action
10508- oneOf:
10509- - type: string
10510- - type: integer
10511- - type: boolean
1051210500 CloudWorkloadSecurityAgentRuleActions:
1051310501 description: The array of actions the rule can perform if triggered
1051410502 items:
@@ -24783,6 +24771,30 @@ components:
2478324771 required:
2478424772 - data
2478524773 type: object
24774+ GetSuppressionVersionHistoryData:
24775+ description: Data for the suppression version history.
24776+ properties:
24777+ attributes:
24778+ $ref: '#/components/schemas/SuppressionVersionHistory'
24779+ id:
24780+ description: ID of the suppression.
24781+ type: string
24782+ type:
24783+ $ref: '#/components/schemas/GetSuppressionVersionHistoryDataType'
24784+ type: object
24785+ GetSuppressionVersionHistoryDataType:
24786+ description: Type of data.
24787+ enum:
24788+ - suppression_version_history
24789+ type: string
24790+ x-enum-varnames:
24791+ - SUPPRESSIONVERSIONHISTORY
24792+ GetSuppressionVersionHistoryResponse:
24793+ description: Response for getting the suppression version history.
24794+ properties:
24795+ data:
24796+ $ref: '#/components/schemas/GetSuppressionVersionHistoryData'
24797+ type: object
2478624798 GetTeamMembershipsSort:
2478724799 description: Specifies the order of returned team memberships
2478824800 enum:
@@ -44488,38 +44500,13 @@ components:
4448844500 description: The `RuleVersionHistory` `data`.
4448944501 type: object
4449044502 type: object
44491- RuleVersionUpdate:
44492- description: A change in a rule version.
44493- properties:
44494- change:
44495- description: The new value of the field.
44496- example: cloud_provider:aws
44497- type: string
44498- field:
44499- description: The field that was changed.
44500- example: Tags
44501- type: string
44502- type:
44503- $ref: '#/components/schemas/RuleVersionUpdateType'
44504- type: object
44505- RuleVersionUpdateType:
44506- description: The type of change.
44507- enum:
44508- - create
44509- - update
44510- - delete
44511- type: string
44512- x-enum-varnames:
44513- - CREATE
44514- - UPDATE
44515- - DELETE
4451644503 RuleVersions:
4451744504 description: A rule version with a list of updates.
4451844505 properties:
4451944506 changes:
4452044507 description: A list of changes.
4452144508 items:
44522- $ref: '#/components/schemas/RuleVersionUpdate '
44509+ $ref: '#/components/schemas/VersionHistoryUpdate '
4452344510 type: array
4452444511 rule:
4452544512 $ref: '#/components/schemas/SecurityMonitoringRuleResponse'
@@ -53079,6 +53066,32 @@ components:
5307953066 format: double
5308053067 type: number
5308153068 type: object
53069+ SuppressionVersionHistory:
53070+ description: Response object containing the version history of a suppression.
53071+ properties:
53072+ count:
53073+ description: The number of suppression versions.
53074+ format: int32
53075+ maximum: 2147483647
53076+ type: integer
53077+ data:
53078+ additionalProperties:
53079+ $ref: '#/components/schemas/SuppressionVersions'
53080+ description: A suppression version with a list of updates.
53081+ description: The version history of a suppression.
53082+ type: object
53083+ type: object
53084+ SuppressionVersions:
53085+ description: A suppression version with a list of updates.
53086+ properties:
53087+ changes:
53088+ description: A list of changes.
53089+ items:
53090+ $ref: '#/components/schemas/VersionHistoryUpdate'
53091+ type: array
53092+ suppression:
53093+ $ref: '#/components/schemas/SecurityMonitoringSuppressionAttributes'
53094+ type: object
5308253095 TableResultV2:
5308353096 description: A reference table resource containing its full configuration and
5308453097 state.
@@ -57409,6 +57422,31 @@ components:
5740957422 example: 1
5741057423 format: int64
5741157424 type: integer
57425+ VersionHistoryUpdate:
57426+ description: A change in a rule version.
57427+ properties:
57428+ change:
57429+ description: The new value of the field.
57430+ example: cloud_provider:aws
57431+ type: string
57432+ field:
57433+ description: The field that was changed.
57434+ example: Tags
57435+ type: string
57436+ type:
57437+ $ref: '#/components/schemas/VersionHistoryUpdateType'
57438+ type: object
57439+ VersionHistoryUpdateType:
57440+ description: The type of change.
57441+ enum:
57442+ - create
57443+ - update
57444+ - delete
57445+ type: string
57446+ x-enum-varnames:
57447+ - CREATE
57448+ - UPDATE
57449+ - DELETE
5741257450 VirusTotalAPIKey:
5741357451 description: The definition of the `VirusTotalAPIKey` object.
5741457452 properties:
@@ -68258,6 +68296,7 @@ paths:
6825868296 - us3.datadoghq.com
6825968297 - us5.datadoghq.com
6826068298 - ap1.datadoghq.com
68299+ - ap2.datadoghq.com
6826168300 - datadoghq.eu
6826268301 - ddog-gov.com
6826368302 subdomain:
@@ -83252,6 +83291,36 @@ paths:
8325283291 tags:
8325383292 - Security Monitoring
8325483293 x-menu-order: 0
83294+ /api/v2/security_monitoring/configuration/suppressions/{suppression_id}/version_history:
83295+ get:
83296+ description: Get a suppression's version history.
83297+ operationId: GetSuppressionVersionHistory
83298+ parameters:
83299+ - $ref: '#/components/parameters/SecurityMonitoringSuppressionID'
83300+ - $ref: '#/components/parameters/PageSize'
83301+ - $ref: '#/components/parameters/PageNumber'
83302+ responses:
83303+ '200':
83304+ content:
83305+ application/json:
83306+ schema:
83307+ $ref: '#/components/schemas/GetSuppressionVersionHistoryResponse'
83308+ description: OK
83309+ '403':
83310+ $ref: '#/components/responses/NotAuthorizedResponse'
83311+ '404':
83312+ $ref: '#/components/responses/NotFoundResponse'
83313+ '429':
83314+ $ref: '#/components/responses/TooManyRequestsResponse'
83315+ security:
83316+ - apiKeyAuth: []
83317+ appKeyAuth: []
83318+ - AuthZ:
83319+ - security_monitoring_suppressions_read
83320+ summary: Get a suppression's version history
83321+ tags:
83322+ - Security Monitoring
83323+ x-menu-order: 0
8325583324 /api/v2/security_monitoring/rules:
8325683325 get:
8325783326 description: List rules.
0 commit comments