1
1
interactions :
2
2
- request :
3
- body : ' {"data":{"attributes":{"description":"My agent policy","enabled":true,"hostTags":["env:staging"],"name":"testgetaworkloadprotectionagentrulereturnsokresponse1748341511 "},"type":"policy"}}'
3
+ body : ' {"data":{"attributes":{"description":"My agent policy","enabled":true,"hostTags":["env:staging"],"name":"testgetaworkloadprotectionagentrulereturnsokresponse1749644212 "},"type":"policy"}}'
4
4
headers :
5
5
accept :
6
6
- application/json
@@ -10,17 +10,17 @@ interactions:
10
10
uri : https://api.datadoghq.com/api/v2/remote_config/products/cws/policy
11
11
response :
12
12
body :
13
- string : ' {"data":{"id":"rb7-4db-zo7 ","type":"policy","attributes":{"blockingRulesCount":0,"datadogManaged":false,"description":"My
14
- agent policy","disabledRulesCount":1,"enabled":true,"hostTags":["env:staging"],"monitoringRulesCount":225,"name":"testgetaworkloadprotectionagentrulereturnsokresponse1748341511 ","policyVersion":"1","priority":1000000011 ,"ruleCount":226,"updateDate":1748341511524 ,"updater":{"name":"frog","handle":"[email protected] "}}}}'
13
+ string : ' {"data":{"id":"jfm-xp1-oos ","type":"policy","attributes":{"blockingRulesCount":0,"datadogManaged":false,"description":"My
14
+ agent policy","disabledRulesCount":1,"enabled":true,"hostTags":["env:staging"],"monitoringRulesCount":225,"name":"testgetaworkloadprotectionagentrulereturnsokresponse1749644212 ","policyVersion":"1","priority":1000000013 ,"ruleCount":226,"updateDate":1749644212454 ,"updater":{"name":"frog","handle":"[email protected] "}}}}'
15
15
headers :
16
16
content-type :
17
17
- application/json
18
18
status :
19
19
code : 200
20
20
message : OK
21
21
- request :
22
- body : ' {"data":{"attributes":{"actions":[{"set":{"name":"test_set","scope":"process","value":"test_value"}}],"description":"My
23
- Agent rule","enabled":true,"expression":"exec.file.name == \"sh\"","name":"testgetaworkloadprotectionagentrulereturnsokresponse1748341511 ","policy_id":"rb7-4db-zo7 ","product_tags":["security:attack","technique:T1059"]},"type":"agent_rule"}}'
22
+ body : ' {"data":{"attributes":{"actions":[{"hash":{}," set":{"name":"test_set","scope":"process","value":"test_value"}}],"description":"My
23
+ Agent rule","enabled":true,"expression":"exec.file.name == \"sh\"","name":"testgetaworkloadprotectionagentrulereturnsokresponse1749644212 ","policy_id":"jfm-xp1-oos ","product_tags":["security:attack","technique:T1059"]},"type":"agent_rule"}}'
24
24
headers :
25
25
accept :
26
26
- application/json
@@ -30,10 +30,10 @@ interactions:
30
30
uri : https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules
31
31
response :
32
32
body :
33
- string : ' {"data":{"id":"xll-jfj-cti ","type":"agent_rule","attributes":{"actions":[{"set":{"name":"test_set","value":"test_value","scope":"process"},"disabled":false}],"category":"Process
34
- Activity","creationDate":1748341512094 ,"creator":{"name":"frog","handle":"[email protected] "},"defaultRule":false,"description":"My
33
+ string : ' {"data":{"id":"fye-yp2-gir ","type":"agent_rule","attributes":{"actions":[{"hash":{}, "set":{"name":"test_set","value":"test_value","scope":"process"},"disabled":false}],"category":"Process
34
+ Activity","creationDate":1749644213189 ,"creator":{"name":"frog","handle":"[email protected] "},"defaultRule":false,"description":"My
35
35
Agent rule","enabled":true,"expression":"exec.file.name == \"sh\"","filters":["os
36
- == \"linux\""],"monitoring":["rb7-4db-zo7 "],"name":"testgetaworkloadprotectionagentrulereturnsokresponse1748341511 ","product_tags":["security:attack","technique:T1059"],"updateDate":1748341512094 ,"updater":{"name":"frog","handle":"[email protected] "}}}}'
36
+ == \"linux\""],"monitoring":["jfm-xp1-oos "],"name":"testgetaworkloadprotectionagentrulereturnsokresponse1749644212 ","product_tags":["security:attack","technique:T1059"],"updateDate":1749644213189 ,"updater":{"name":"frog","handle":"[email protected] "}}}}'
37
37
headers :
38
38
content-type :
39
39
- application/json
@@ -46,13 +46,13 @@ interactions:
46
46
accept :
47
47
- application/json
48
48
method : GET
49
- uri : https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/xll-jfj-cti ?policy_id=rb7-4db-zo7
49
+ uri : https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/fye-yp2-gir ?policy_id=jfm-xp1-oos
50
50
response :
51
51
body :
52
- string : ' {"data":{"id":"xll-jfj-cti ","type":"agent_rule","attributes":{"actions":[{"set":{"name":"test_set","value":"test_value","scope":"process"},"disabled":false}],"category":"Process
53
- Activity","creationDate":1748341512094 ,"creator":{"name":"frog","handle":"[email protected] "},"defaultRule":false,"description":"My
52
+ string : ' {"data":{"id":"fye-yp2-gir ","type":"agent_rule","attributes":{"actions":[{"hash":{}, "set":{"name":"test_set","value":"test_value","scope":"process"},"disabled":false}],"category":"Process
53
+ Activity","creationDate":1749644213189 ,"creator":{"name":"frog","handle":"[email protected] "},"defaultRule":false,"description":"My
54
54
Agent rule","enabled":true,"expression":"exec.file.name == \"sh\"","filters":["os
55
- == \"linux\""],"monitoring":["rb7-4db-zo7 "],"name":"testgetaworkloadprotectionagentrulereturnsokresponse1748341511 ","product_tags":["security:attack","technique:T1059"],"updateDate":1748341512094 ,"updater":{"name":"frog","handle":"[email protected] "}}}}'
55
+ == \"linux\""],"monitoring":["jfm-xp1-oos "],"name":"testgetaworkloadprotectionagentrulereturnsokresponse1749644212 ","product_tags":["security:attack","technique:T1059"],"updateDate":1749644213189 ,"updater":{"name":"frog","handle":"[email protected] "}}}}'
56
56
headers :
57
57
content-type :
58
58
- application/json
@@ -65,7 +65,7 @@ interactions:
65
65
accept :
66
66
- ' */*'
67
67
method : DELETE
68
- uri : https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/xll-jfj-cti
68
+ uri : https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/fye-yp2-gir
69
69
response :
70
70
body :
71
71
string : ' '
@@ -81,7 +81,7 @@ interactions:
81
81
accept :
82
82
- ' */*'
83
83
method : DELETE
84
- uri : https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/rb7-4db-zo7
84
+ uri : https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/jfm-xp1-oos
85
85
response :
86
86
body :
87
87
string : ' '
0 commit comments