@@ -7526,6 +7526,50 @@ components:
75267526 type: string
75277527 kill:
75287528 $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleKill'
7529+ metadata:
7530+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActionMetadata'
7531+ set:
7532+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActionSet'
7533+ type: object
7534+ CloudWorkloadSecurityAgentRuleActionMetadata:
7535+ description: The metadata action applied on the scope matching the rule
7536+ properties:
7537+ image_tag:
7538+ description: The image tag of the metadata action
7539+ type: string
7540+ service:
7541+ description: The service of the metadata action
7542+ type: string
7543+ short_image:
7544+ description: The short image of the metadata action
7545+ type: string
7546+ type: object
7547+ CloudWorkloadSecurityAgentRuleActionSet:
7548+ description: The set action applied on the scope matching the rule
7549+ properties:
7550+ append:
7551+ description: Whether the value should be appended to the field
7552+ type: boolean
7553+ field:
7554+ description: The field of the set action
7555+ type: string
7556+ name:
7557+ description: The name of the set action
7558+ type: string
7559+ scope:
7560+ description: The scope of the set action
7561+ type: string
7562+ size:
7563+ description: The size of the set action
7564+ format: int64
7565+ type: integer
7566+ ttl:
7567+ description: The time to live of the set action
7568+ format: int64
7569+ type: integer
7570+ value:
7571+ description: The value of the set action
7572+ type: string
75297573 type: object
75307574 CloudWorkloadSecurityAgentRuleActions:
75317575 description: The array of actions the rule can perform if triggered
@@ -7541,6 +7585,11 @@ components:
75417585 agentConstraint:
75427586 description: The version of the Agent
75437587 type: string
7588+ blocking:
7589+ description: The blocking policies that the rule belongs to
7590+ items:
7591+ type: string
7592+ type: array
75447593 category:
75457594 description: The category of the Agent rule
75467595 example: Process Activity
@@ -7564,6 +7613,11 @@ components:
75647613 description: The description of the Agent rule
75657614 example: My Agent rule
75667615 type: string
7616+ disabled:
7617+ description: The disabled policies that the rule belongs to
7618+ items:
7619+ type: string
7620+ type: array
75677621 enabled:
75687622 description: Whether the Agent rule is enabled
75697623 example: true
@@ -7577,6 +7631,11 @@ components:
75777631 items:
75787632 type: string
75797633 type: array
7634+ monitoring:
7635+ description: The monitoring policies that the rule belongs to
7636+ items:
7637+ type: string
7638+ type: array
75807639 name:
75817640 description: The name of the Agent rule
75827641 example: my_agent_rule
@@ -7611,10 +7670,22 @@ components:
76117670 CloudWorkloadSecurityAgentRuleCreateAttributes:
76127671 description: Create a new Cloud Workload Security Agent rule.
76137672 properties:
7673+ actions:
7674+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActions'
7675+ blocking:
7676+ description: The blocking policies that the rule belongs to
7677+ items:
7678+ type: string
7679+ type: array
76147680 description:
76157681 description: The description of the Agent rule.
76167682 example: My Agent rule
76177683 type: string
7684+ disabled:
7685+ description: The disabled policies that the rule belongs to
7686+ items:
7687+ type: string
7688+ type: array
76187689 enabled:
76197690 description: Whether the Agent rule is enabled
76207691 example: true
@@ -7628,6 +7699,11 @@ components:
76287699 items:
76297700 type: string
76307701 type: array
7702+ monitoring:
7703+ description: The monitoring policies that the rule belongs to
7704+ items:
7705+ type: string
7706+ type: array
76317707 name:
76327708 description: The name of the Agent rule.
76337709 example: my_agent_rule
@@ -7718,10 +7794,22 @@ components:
77187794 CloudWorkloadSecurityAgentRuleUpdateAttributes:
77197795 description: Update an existing Cloud Workload Security Agent rule
77207796 properties:
7797+ actions:
7798+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActions'
7799+ blocking:
7800+ description: The blocking policies that the rule belongs to
7801+ items:
7802+ type: string
7803+ type: array
77217804 description:
77227805 description: The description of the Agent rule
77237806 example: My Agent rule
77247807 type: string
7808+ disabled:
7809+ description: The disabled policies that the rule belongs to
7810+ items:
7811+ type: string
7812+ type: array
77257813 enabled:
77267814 description: Whether the Agent rule is enabled
77277815 example: true
@@ -7730,6 +7818,11 @@ components:
77307818 description: The SECL expression of the Agent rule
77317819 example: exec.file.name == "sh"
77327820 type: string
7821+ monitoring:
7822+ description: The monitoring policies that the rule belongs to
7823+ items:
7824+ type: string
7825+ type: array
77337826 policy_id:
77347827 description: The ID of the policy where the Agent rule is saved
77357828 example: a8c8e364-6556-434d-b798-a4c23de29c0b
0 commit comments