@@ -9338,6 +9338,10 @@ components:
9338
9338
description: The name of the policy
9339
9339
example: my_agent_policy
9340
9340
type: string
9341
+ pinned:
9342
+ description: Whether the policy is pinned
9343
+ example: false
9344
+ type: boolean
9341
9345
policyVersion:
9342
9346
description: The version of the policy
9343
9347
example: '1'
@@ -9365,6 +9369,8 @@ components:
9365
9369
type: integer
9366
9370
updater:
9367
9371
$ref: '#/components/schemas/CloudWorkloadSecurityAgentPolicyUpdaterAttributes'
9372
+ versions:
9373
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentPolicyVersions'
9368
9374
type: object
9369
9375
CloudWorkloadSecurityAgentPolicyCreateAttributes:
9370
9376
description: Create a new Cloud Workload Security Agent policy
@@ -9511,6 +9517,23 @@ components:
9511
9517
nullable: true
9512
9518
type: string
9513
9519
type: object
9520
+ CloudWorkloadSecurityAgentPolicyVersion:
9521
+ description: The versions of the policy
9522
+ properties:
9523
+ Date:
9524
+ description: The date and time the version was created
9525
+ nullable: true
9526
+ type: string
9527
+ Name:
9528
+ description: The version of the policy
9529
+ example: 1.47.0-rc2
9530
+ type: string
9531
+ type: object
9532
+ CloudWorkloadSecurityAgentPolicyVersions:
9533
+ description: The versions of the policy
9534
+ items:
9535
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentPolicyVersion'
9536
+ type: array
9514
9537
CloudWorkloadSecurityAgentRuleAction:
9515
9538
description: The action the rule can perform if triggered
9516
9539
properties:
@@ -9548,23 +9571,32 @@ components:
9548
9571
description: The set action applied on the scope matching the rule
9549
9572
properties:
9550
9573
append:
9551
- description: Whether the value should be appended to the field
9574
+ description: Whether the value should be appended to the field.
9552
9575
type: boolean
9576
+ default_value:
9577
+ description: The default value of the set action
9578
+ type: string
9579
+ expression:
9580
+ description: The expression of the set action.
9581
+ type: string
9553
9582
field:
9554
9583
description: The field of the set action
9555
9584
type: string
9585
+ inherited:
9586
+ description: Whether the value should be inherited.
9587
+ type: boolean
9556
9588
name:
9557
9589
description: The name of the set action
9558
9590
type: string
9559
9591
scope:
9560
- description: The scope of the set action
9592
+ description: The scope of the set action.
9561
9593
type: string
9562
9594
size:
9563
- description: The size of the set action
9595
+ description: The size of the set action.
9564
9596
format: int64
9565
9597
type: integer
9566
9598
ttl:
9567
- description: The time to live of the set action
9599
+ description: The time to live of the set action.
9568
9600
format: int64
9569
9601
type: integer
9570
9602
value:
@@ -9645,6 +9677,10 @@ components:
9645
9677
items:
9646
9678
type: string
9647
9679
type: array
9680
+ silent:
9681
+ description: Whether the rule is silent.
9682
+ example: false
9683
+ type: boolean
9648
9684
updateAuthorUuId:
9649
9685
description: The ID of the user who updated the rule
9650
9686
example: e51c9744-d158-11ec-ad23-da7ad0900002
@@ -9672,8 +9708,11 @@ components:
9672
9708
properties:
9673
9709
actions:
9674
9710
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActions'
9711
+ agent_version:
9712
+ description: Constrain the rule to specific versions of the Datadog Agent.
9713
+ type: string
9675
9714
blocking:
9676
- description: The blocking policies that the rule belongs to
9715
+ description: The blocking policies that the rule belongs to.
9677
9716
items:
9678
9717
type: string
9679
9718
type: array
@@ -9682,25 +9721,25 @@ components:
9682
9721
example: My Agent rule
9683
9722
type: string
9684
9723
disabled:
9685
- description: The disabled policies that the rule belongs to
9724
+ description: The disabled policies that the rule belongs to.
9686
9725
items:
9687
9726
type: string
9688
9727
type: array
9689
9728
enabled:
9690
- description: Whether the Agent rule is enabled
9729
+ description: Whether the Agent rule is enabled.
9691
9730
example: true
9692
9731
type: boolean
9693
9732
expression:
9694
9733
description: The SECL expression of the Agent rule.
9695
9734
example: exec.file.name == "sh"
9696
9735
type: string
9697
9736
filters:
9698
- description: The platforms the Agent rule is supported on
9737
+ description: The platforms the Agent rule is supported on.
9699
9738
items:
9700
9739
type: string
9701
9740
type: array
9702
9741
monitoring:
9703
- description: The monitoring policies that the rule belongs to
9742
+ description: The monitoring policies that the rule belongs to.
9704
9743
items:
9705
9744
type: string
9706
9745
type: array
@@ -9709,14 +9748,18 @@ components:
9709
9748
example: my_agent_rule
9710
9749
type: string
9711
9750
policy_id:
9712
- description: The ID of the policy where the Agent rule is saved
9751
+ description: The ID of the policy where the Agent rule is saved.
9713
9752
example: a8c8e364-6556-434d-b798-a4c23de29c0b
9714
9753
type: string
9715
9754
product_tags:
9716
- description: The list of product tags associated with the rule
9755
+ description: The list of product tags associated with the rule.
9717
9756
items:
9718
9757
type: string
9719
9758
type: array
9759
+ silent:
9760
+ description: Whether the rule is silent.
9761
+ example: false
9762
+ type: boolean
9720
9763
required:
9721
9764
- name
9722
9765
- expression
@@ -9796,6 +9839,9 @@ components:
9796
9839
properties:
9797
9840
actions:
9798
9841
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActions'
9842
+ agent_version:
9843
+ description: Constrain the rule to specific versions of the Datadog Agent
9844
+ type: string
9799
9845
blocking:
9800
9846
description: The blocking policies that the rule belongs to
9801
9847
items:
@@ -9832,6 +9878,10 @@ components:
9832
9878
items:
9833
9879
type: string
9834
9880
type: array
9881
+ silent:
9882
+ description: Whether the rule is silent.
9883
+ example: false
9884
+ type: boolean
9835
9885
type: object
9836
9886
CloudWorkloadSecurityAgentRuleUpdateData:
9837
9887
description: Object for a single Agent rule
0 commit comments