Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
140 changes: 0 additions & 140 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248797,86 +248797,7 @@ paths:
operator: OR
permissions:
- security_monitoring_cws_agent_rules_read
post:
description: |-
Create a new agent rule with the given parameters.

**Note**: This endpoint should only be used for the Government (US1-FED) site.
operationId: CreateCloudWorkloadSecurityAgentRule
requestBody:
content:
application/json:
examples:
default:
value:
data:
attributes:
description: My Agent rule
enabled: true
expression: exec.file.name == "sh"
name: my_agent_rule
type: agent_rule
schema:
$ref: "#/components/schemas/CloudWorkloadSecurityAgentRuleCreateRequest"
description: "The definition of the new agent rule"
required: true
responses:
"200":
content:
"application/json":
examples:
default:
value:
data:
attributes:
description: My Agent rule
enabled: true
expression: exec.file.name == "sh"
name: my_agent_rule
id: abc-123
type: agent_rule
schema:
$ref: "#/components/schemas/CloudWorkloadSecurityAgentRuleResponse"
description: OK
"400":
$ref: "#/components/responses/BadRequestResponse"
"403":
$ref: "#/components/responses/NotAuthorizedResponse"
"409":
$ref: "#/components/responses/ConflictResponse"
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
summary: Create a Workload Protection agent rule (US1-FED)
tags: ["CSM Threats"]
x-codegen-request-body-name: body
"x-permission":
operator: OR
permissions:
- security_monitoring_cws_agent_rules_write
/api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}:
delete:
description: |-
Delete a specific agent rule.

**Note**: This endpoint should only be used for the Government (US1-FED) site.
operationId: DeleteCloudWorkloadSecurityAgentRule
parameters:
- $ref: "#/components/parameters/CloudWorkloadSecurityAgentRuleID"
responses:
"204":
description: OK
"403":
$ref: "#/components/responses/NotAuthorizedResponse"
"404":
$ref: "#/components/responses/NotFoundResponse"
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
summary: Delete a Workload Protection agent rule (US1-FED)
tags: ["CSM Threats"]
"x-permission":
operator: OR
permissions:
- security_monitoring_cws_agent_rules_write
get:
description: |-
Get the details of a specific agent rule.
Expand Down Expand Up @@ -248915,67 +248836,6 @@ paths:
operator: OR
permissions:
- security_monitoring_cws_agent_rules_read
patch:
description: |-
Update a specific agent rule.
Returns the agent rule object when the request is successful.

**Note**: This endpoint should only be used for the Government (US1-FED) site.
operationId: UpdateCloudWorkloadSecurityAgentRule
parameters:
- $ref: "#/components/parameters/CloudWorkloadSecurityAgentRuleID"
requestBody:
content:
application/json:
examples:
default:
value:
data:
attributes:
description: My Agent rule
enabled: true
expression: exec.file.name == "sh"
id: 3dd-0uc-h1s
type: agent_rule
schema:
$ref: "#/components/schemas/CloudWorkloadSecurityAgentRuleUpdateRequest"
description: "New definition of the agent rule"
required: true
responses:
"200":
content:
application/json:
examples:
default:
value:
data:
attributes:
description: My Agent rule
enabled: true
expression: exec.file.name == "sh"
name: my_agent_rule
id: abc-123
type: agent_rule
schema:
$ref: "#/components/schemas/CloudWorkloadSecurityAgentRuleResponse"
description: OK
"400":
$ref: "#/components/responses/BadRequestResponse"
"403":
$ref: "#/components/responses/NotAuthorizedResponse"
"404":
$ref: "#/components/responses/NotFoundResponse"
"409":
$ref: "#/components/responses/ConcurrentModificationResponse"
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
summary: Update a Workload Protection agent rule (US1-FED)
tags: ["CSM Threats"]
x-codegen-request-body-name: body
"x-permission":
operator: OR
permissions:
- security_monitoring_cws_agent_rules_write
/api/v2/security_monitoring/configuration/critical_assets:
get:
description: Get the list of all critical assets.
Expand Down
76 changes: 0 additions & 76 deletions examples/v2/csm-threats/CreateCloudWorkloadSecurityAgentRule.py

This file was deleted.

15 changes: 0 additions & 15 deletions examples/v2/csm-threats/DeleteCloudWorkloadSecurityAgentRule.py

This file was deleted.

75 changes: 0 additions & 75 deletions examples/v2/csm-threats/UpdateCloudWorkloadSecurityAgentRule.py

This file was deleted.

Loading
Loading