@@ -3919,9 +3919,27 @@ components:
3919
3919
type: string
3920
3920
x-enum-varnames:
3921
3921
- CLOUD_COST_ACTIVITY
3922
+ CloudWorkloadSecurityAgentRuleAction:
3923
+ description: The action the rule can perform if triggered.
3924
+ properties:
3925
+ filter:
3926
+ description: SECL expression used to target the container to apply the action
3927
+ on
3928
+ type: string
3929
+ kill:
3930
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleKill'
3931
+ type: object
3932
+ CloudWorkloadSecurityAgentRuleActions:
3933
+ description: The array of actions the rule can perform if triggered.
3934
+ items:
3935
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleAction'
3936
+ nullable: true
3937
+ type: array
3922
3938
CloudWorkloadSecurityAgentRuleAttributes:
3923
3939
description: A Cloud Workload Security Agent rule returned by the API.
3924
3940
properties:
3941
+ actions:
3942
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActions'
3925
3943
agentConstraint:
3926
3944
description: The version of the agent.
3927
3945
type: string
@@ -4054,6 +4072,17 @@ components:
4054
4072
type:
4055
4073
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleType'
4056
4074
type: object
4075
+ CloudWorkloadSecurityAgentRuleID:
4076
+ description: The ID of the agent rule.
4077
+ example: 3dd-0uc-h1s
4078
+ type: string
4079
+ CloudWorkloadSecurityAgentRuleKill:
4080
+ description: Kill system call applied on the container matching the rule
4081
+ properties:
4082
+ signal:
4083
+ description: Supported signals for the kill system call.
4084
+ type: string
4085
+ type: object
4057
4086
CloudWorkloadSecurityAgentRuleResponse:
4058
4087
description: Response object that includes an Agent rule.
4059
4088
properties:
@@ -4090,6 +4119,8 @@ components:
4090
4119
properties:
4091
4120
attributes:
4092
4121
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleUpdateAttributes'
4122
+ id:
4123
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleID'
4093
4124
type:
4094
4125
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleType'
4095
4126
required:
@@ -29582,6 +29613,154 @@ paths:
29582
29613
We are gradually onboarding support for more sources. If you have any
29583
29614
29584
29615
feedback, contact [Datadog Support](https://docs.datadoghq.com/help/).'
29616
+ /api/v2/remote_config/products/cws/agent_rules:
29617
+ get:
29618
+ description: Get the list of Cloud Security Management Threats Agent rules.
29619
+ operationId: ListCSMThreatsAgentRules
29620
+ responses:
29621
+ '200':
29622
+ content:
29623
+ application/json:
29624
+ schema:
29625
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRulesListResponse'
29626
+ description: OK
29627
+ '403':
29628
+ $ref: '#/components/responses/NotAuthorizedResponse'
29629
+ '429':
29630
+ $ref: '#/components/responses/TooManyRequestsResponse'
29631
+ summary: Get all CSM Threats Agent rules
29632
+ tags:
29633
+ - Cloud Workload Security
29634
+ post:
29635
+ description: Create a new Cloud Security Management Threats Agent rule with
29636
+ the given parameters.
29637
+ operationId: CreateCSMThreatsAgentRule
29638
+ requestBody:
29639
+ content:
29640
+ application/json:
29641
+ schema:
29642
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleCreateRequest'
29643
+ description: The definition of the new Agent rule.
29644
+ required: true
29645
+ responses:
29646
+ '200':
29647
+ content:
29648
+ application/json:
29649
+ schema:
29650
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse'
29651
+ description: OK
29652
+ '400':
29653
+ $ref: '#/components/responses/BadRequestResponse'
29654
+ '403':
29655
+ $ref: '#/components/responses/NotAuthorizedResponse'
29656
+ '409':
29657
+ $ref: '#/components/responses/ConflictResponse'
29658
+ '429':
29659
+ $ref: '#/components/responses/TooManyRequestsResponse'
29660
+ summary: Create a CSM Threats Agent rule
29661
+ tags:
29662
+ - Cloud Workload Security
29663
+ x-codegen-request-body-name: body
29664
+ /api/v2/remote_config/products/cws/agent_rules/{agent_rule_id}:
29665
+ delete:
29666
+ description: Delete a specific Cloud Security Management Threats Agent rule.
29667
+ operationId: DeleteCSMThreatsAgentRule
29668
+ parameters:
29669
+ - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID'
29670
+ responses:
29671
+ '204':
29672
+ description: OK
29673
+ '403':
29674
+ $ref: '#/components/responses/NotAuthorizedResponse'
29675
+ '404':
29676
+ $ref: '#/components/responses/NotFoundResponse'
29677
+ '429':
29678
+ $ref: '#/components/responses/TooManyRequestsResponse'
29679
+ summary: Delete a CSM Threats Agent rule
29680
+ tags:
29681
+ - Cloud Workload Security
29682
+ get:
29683
+ description: Get the details of a specific Cloud Security Management Threats
29684
+ Agent rule.
29685
+ operationId: GetCSMThreatsAgentRule
29686
+ parameters:
29687
+ - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID'
29688
+ responses:
29689
+ '200':
29690
+ content:
29691
+ application/json:
29692
+ schema:
29693
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse'
29694
+ description: OK
29695
+ '403':
29696
+ $ref: '#/components/responses/NotAuthorizedResponse'
29697
+ '404':
29698
+ $ref: '#/components/responses/NotFoundResponse'
29699
+ '429':
29700
+ $ref: '#/components/responses/TooManyRequestsResponse'
29701
+ summary: Get a CSM Threats Agent rule
29702
+ tags:
29703
+ - Cloud Workload Security
29704
+ patch:
29705
+ description: 'Update a specific Cloud Security Management Threats Agent rule.
29706
+
29707
+ Returns the Agent rule object when the request is successful.'
29708
+ operationId: UpdateCSMThreatsAgentRule
29709
+ parameters:
29710
+ - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID'
29711
+ requestBody:
29712
+ content:
29713
+ application/json:
29714
+ schema:
29715
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleUpdateRequest'
29716
+ description: New definition of the Agent rule.
29717
+ required: true
29718
+ responses:
29719
+ '200':
29720
+ content:
29721
+ application/json:
29722
+ schema:
29723
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse'
29724
+ description: OK
29725
+ '400':
29726
+ $ref: '#/components/responses/BadRequestResponse'
29727
+ '403':
29728
+ $ref: '#/components/responses/NotAuthorizedResponse'
29729
+ '404':
29730
+ $ref: '#/components/responses/NotFoundResponse'
29731
+ '409':
29732
+ $ref: '#/components/responses/ConcurrentModificationResponse'
29733
+ '429':
29734
+ $ref: '#/components/responses/TooManyRequestsResponse'
29735
+ summary: Update a CSM Threats Agent rule
29736
+ tags:
29737
+ - Cloud Workload Security
29738
+ x-codegen-request-body-name: body
29739
+ /api/v2/remote_config/products/cws/policy/download:
29740
+ get:
29741
+ description: 'The download endpoint generates a CSM Threats policy file from
29742
+ your currently active
29743
+
29744
+ CSM Threats rules, and downloads them as a `.policy` file. This file can then
29745
+ be deployed to
29746
+
29747
+ your Agents to update the policy running in your environment.'
29748
+ operationId: DownloadCSMThreatsPolicy
29749
+ responses:
29750
+ '200':
29751
+ content:
29752
+ application/zip:
29753
+ schema:
29754
+ format: binary
29755
+ type: string
29756
+ description: OK
29757
+ '403':
29758
+ $ref: '#/components/responses/NotAuthorizedResponse'
29759
+ '429':
29760
+ $ref: '#/components/responses/TooManyRequestsResponse'
29761
+ summary: Get the latest CSM Threats policy
29762
+ tags:
29763
+ - Cloud Workload Security
29585
29764
/api/v2/restriction_policy/{resource_id}:
29586
29765
delete:
29587
29766
description: Deletes the restriction policy associated with a specified resource.
@@ -34821,6 +35000,11 @@ tags:
34821
35000
[Test Visibility in Datadog page](https://docs.datadoghq.com/tests/) for more
34822
35001
information.
34823
35002
name: CI Visibility Tests
35003
+ - description: Cloud Security Management Threats (CSM Threats) monitors file, network,
35004
+ and process activity across your environment to detect real-time threats to your
35005
+ infrastructure. See [Cloud Security Management Threats](https://docs.datadoghq.com/security/threats/)
35006
+ for more information on setting up CSM Threats.
35007
+ name: CSM Threats
34824
35008
- description: View and manage cases and projects within Case Management. See the
34825
35009
[Case Management page](https://docs.datadoghq.com/service_management/case_management/)
34826
35010
for more information.
0 commit comments