@@ -9318,6 +9318,10 @@ components:
93189318 description: The name of the policy
93199319 example: my_agent_policy
93209320 type: string
9321+ pinned:
9322+ description: Whether the policy is pinned
9323+ example: false
9324+ type: boolean
93219325 policyVersion:
93229326 description: The version of the policy
93239327 example: '1'
@@ -9345,6 +9349,8 @@ components:
93459349 type: integer
93469350 updater:
93479351 $ref: '#/components/schemas/CloudWorkloadSecurityAgentPolicyUpdaterAttributes'
9352+ versions:
9353+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentPolicyVersions'
93489354 type: object
93499355 CloudWorkloadSecurityAgentPolicyCreateAttributes:
93509356 description: Create a new Cloud Workload Security Agent policy
@@ -9491,6 +9497,18 @@ components:
94919497 nullable: true
94929498 type: string
94939499 type: object
9500+ CloudWorkloadSecurityAgentPolicyVersions:
9501+ description: The versions of the policy
9502+ properties:
9503+ Date:
9504+ description: The date and time the version was created
9505+ nullable: true
9506+ type: string
9507+ Name:
9508+ description: The version of the policy
9509+ example: 1.47.0-rc2
9510+ type: string
9511+ type: object
94949512 CloudWorkloadSecurityAgentRuleAction:
94959513 description: The action the rule can perform if triggered
94969514 properties:
@@ -9528,23 +9546,32 @@ components:
95289546 description: The set action applied on the scope matching the rule
95299547 properties:
95309548 append:
9531- description: Whether the value should be appended to the field
9549+ description: Whether the value should be appended to the field.
95329550 type: boolean
9551+ default_value:
9552+ description: The default value of the set action
9553+ type: string
9554+ expression:
9555+ description: The expression of the set action.
9556+ type: string
95339557 field:
95349558 description: The field of the set action
95359559 type: string
9560+ inherited:
9561+ description: Whether the value should be inherited.
9562+ type: boolean
95369563 name:
95379564 description: The name of the set action
95389565 type: string
95399566 scope:
9540- description: The scope of the set action
9567+ description: The scope of the set action.
95419568 type: string
95429569 size:
9543- description: The size of the set action
9570+ description: The size of the set action.
95449571 format: int64
95459572 type: integer
95469573 ttl:
9547- description: The time to live of the set action
9574+ description: The time to live of the set action.
95489575 format: int64
95499576 type: integer
95509577 value:
@@ -9625,6 +9652,10 @@ components:
96259652 items:
96269653 type: string
96279654 type: array
9655+ silent:
9656+ description: Whether the rule is silent.
9657+ example: false
9658+ type: boolean
96289659 updateAuthorUuId:
96299660 description: The ID of the user who updated the rule
96309661 example: e51c9744-d158-11ec-ad23-da7ad0900002
@@ -9652,8 +9683,11 @@ components:
96529683 properties:
96539684 actions:
96549685 $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActions'
9686+ agent_version:
9687+ description: Constrain the rule to specific versions of the Datadog Agent.
9688+ type: string
96559689 blocking:
9656- description: The blocking policies that the rule belongs to
9690+ description: The blocking policies that the rule belongs to.
96579691 items:
96589692 type: string
96599693 type: array
@@ -9662,25 +9696,25 @@ components:
96629696 example: My Agent rule
96639697 type: string
96649698 disabled:
9665- description: The disabled policies that the rule belongs to
9699+ description: The disabled policies that the rule belongs to.
96669700 items:
96679701 type: string
96689702 type: array
96699703 enabled:
9670- description: Whether the Agent rule is enabled
9704+ description: Whether the Agent rule is enabled.
96719705 example: true
96729706 type: boolean
96739707 expression:
96749708 description: The SECL expression of the Agent rule.
96759709 example: exec.file.name == "sh"
96769710 type: string
96779711 filters:
9678- description: The platforms the Agent rule is supported on
9712+ description: The platforms the Agent rule is supported on.
96799713 items:
96809714 type: string
96819715 type: array
96829716 monitoring:
9683- description: The monitoring policies that the rule belongs to
9717+ description: The monitoring policies that the rule belongs to.
96849718 items:
96859719 type: string
96869720 type: array
@@ -9689,14 +9723,18 @@ components:
96899723 example: my_agent_rule
96909724 type: string
96919725 policy_id:
9692- description: The ID of the policy where the Agent rule is saved
9726+ description: The ID of the policy where the Agent rule is saved.
96939727 example: a8c8e364-6556-434d-b798-a4c23de29c0b
96949728 type: string
96959729 product_tags:
9696- description: The list of product tags associated with the rule
9730+ description: The list of product tags associated with the rule.
96979731 items:
96989732 type: string
96999733 type: array
9734+ silent:
9735+ description: Whether the rule is silent.
9736+ example: false
9737+ type: boolean
97009738 required:
97019739 - name
97029740 - expression
@@ -9776,6 +9814,9 @@ components:
97769814 properties:
97779815 actions:
97789816 $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActions'
9817+ agent_version:
9818+ description: Constrain the rule to specific versions of the Datadog Agent
9819+ type: string
97799820 blocking:
97809821 description: The blocking policies that the rule belongs to
97819822 items:
@@ -9812,6 +9853,10 @@ components:
98129853 items:
98139854 type: string
98149855 type: array
9856+ silent:
9857+ description: Whether the rule is silent.
9858+ example: false
9859+ type: boolean
98159860 type: object
98169861 CloudWorkloadSecurityAgentRuleUpdateData:
98179862 description: Object for a single Agent rule
0 commit comments