Get all Cloud Workload Security Agent rules
GET {{baseUrl}}/api/v2/security_monitoring/cloud_workload_security/agent_rules
Get the list of Agent rules.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":[{"attributes":{"actions":[{"filter":"elit Duis","kill":{"signal":"cillum"}},{"filter":"ut","kill":{"signal":"cupidatat irure pariatur laboris"}}],"agentConstraint":"id minim in consectetur Ut","category":"Process Activity","creationAuthorUuId":"e51c9744-d158-11ec-ad23-da7ad0900002","creationDate":1624366480320,"creator":{"handle":"datadog.user@example.com","name":"Datadog User"},"defaultRule":false,"description":"My Agent rule","enabled":true,"expression":"exec.file.name == \\\"sh\\\"","filters":["amet do laboris sint","co"],"name":"my_agent_rule","updateAuthorUuId":"e51c9744-d158-11ec-ad23-da7ad0900002","updateDate":1624366480320,"updatedAt":1624366480320,"updater":{"handle":"datadog.user@example.com","name":"Datadog User"},"version":23},"id":"3dd-0uc-h1s","type":"agent_rule"},{"attributes":{"actions":[{"filter":"voluptate","kill":{"signal":"commodo"}},{"filter":"laborum dolore nis","kill":{"signal":"velit id deserunt"}}],"agentConstraint":"minim ea nostrud ad","category":"Process Activity","creationAuthorUuId":"e51c9744-d158-11ec-ad23-da7ad0900002","creationDate":1624366480320,"creator":{"handle":"datadog.user@example.com","name":"Datadog User"},"defaultRule":false,"description":"My Agent rule","enabled":true,"expression":"exec.file.name == \\\"sh\\\"","filters":["deserunt tempor dolor commodo amet","Duis qui in officia"],"name":"my_agent_rule","updateAuthorUuId":"e51c9744-d158-11ec-ad23-da7ad0900002","updateDate":1624366480320,"updatedAt":1624366480320,"updater":{"handle":"datadog.user@example.com","name":"Datadog User"},"version":23},"id":"3dd-0uc-h1s","type":"agent_rule"}]}