|
8 | 8 | },
|
9 | 9 | "entries": [
|
10 | 10 | {
|
11 |
| - "_id": "e0cae6c45bce9e2ec7e3c0612ff52dde", |
| 11 | + "_id": "57ee410b8aa681f4f5378b874f1d8305", |
12 | 12 | "_order": 0,
|
13 | 13 | "cache": {},
|
14 | 14 | "request": {
|
15 |
| - "bodySize": 613, |
| 15 | + "bodySize": 615, |
16 | 16 | "cookies": [],
|
17 | 17 | "headers": [
|
18 | 18 | {
|
|
26 | 26 | "value": "application/json"
|
27 | 27 | }
|
28 | 28 | ],
|
29 |
| - "headersSize": 588, |
| 29 | + "headersSize": 586, |
30 | 30 | "httpVersion": "HTTP/1.1",
|
31 | 31 | "method": "POST",
|
32 | 32 | "postData": {
|
33 | 33 | "mimeType": "application/json",
|
34 | 34 | "params": [],
|
35 |
| - "text": "{\"cases\":[],\"isEnabled\":true,\"message\":\"This is a third party rule\",\"name\":\"Test-Create_a_detection_rule_with_detection_method_third_party_returns_OK_response-1715358869\",\"options\":{\"detectionMethod\":\"third_party\",\"keepAlive\":0,\"maxSignalDuration\":0,\"thirdPartyRuleOptions\":{\"defaultStatus\":\"info\",\"rootQueries\":[{\"groupByFields\":[\"instance-id\"],\"query\":\"source:guardduty @details.alertType:*EC2*\"},{\"groupByFields\":[],\"query\":\"source:guardduty\"}]}},\"queries\":[],\"thirdPartyCases\":[{\"name\":\"high\",\"query\":\"status:error\",\"status\":\"high\"},{\"name\":\"low\",\"query\":\"status:info\",\"status\":\"low\"}],\"type\":\"log_detection\"}" |
| 35 | + "text": "{\"cases\":[],\"isEnabled\":true,\"message\":\"This is a third party rule\",\"name\":\"Test-Create_a_detection_rule_with_detection_method_third_party_returns_OK_response-1725456730\",\"options\":{\"detectionMethod\":\"third_party\",\"keepAlive\":0,\"maxSignalDuration\":600,\"thirdPartyRuleOptions\":{\"defaultStatus\":\"info\",\"rootQueries\":[{\"groupByFields\":[\"instance-id\"],\"query\":\"source:guardduty @details.alertType:*EC2*\"},{\"groupByFields\":[],\"query\":\"source:guardduty\"}]}},\"queries\":[],\"thirdPartyCases\":[{\"name\":\"high\",\"query\":\"status:error\",\"status\":\"high\"},{\"name\":\"low\",\"query\":\"status:info\",\"status\":\"low\"}],\"type\":\"log_detection\"}" |
36 | 36 | },
|
37 | 37 | "queryString": [],
|
38 | 38 | "url": "https://api.datadoghq.com/api/v2/security_monitoring/rules"
|
39 | 39 | },
|
40 | 40 | "response": {
|
41 |
| - "bodySize": 1259, |
| 41 | + "bodySize": 1276, |
42 | 42 | "content": {
|
43 | 43 | "mimeType": "application/json",
|
44 |
| - "size": 1259, |
45 |
| - "text": "{\"id\":\"uys-ie9-xgd\",\"version\":1,\"name\":\"Test-Create_a_detection_rule_with_detection_method_third_party_returns_OK_response-1715358869\",\"createdAt\":1715358869757,\"creationAuthorId\":1445416,\"isDefault\":false,\"isPartner\":false,\"isEnabled\":true,\"isDeleted\":false,\"isDeprecated\":false,\"queries\":[{\"query\":\"status:error\",\"groupByFields\":[],\"hasOptionalGroupByFields\":false,\"distinctFields\":[],\"aggregation\":\"none\",\"name\":\"\"},{\"query\":\"status:info\",\"groupByFields\":[],\"hasOptionalGroupByFields\":false,\"distinctFields\":[],\"aggregation\":\"none\",\"name\":\"\"}],\"options\":{\"keepAlive\":0,\"maxSignalDuration\":0,\"detectionMethod\":\"third_party\",\"evaluationWindow\":0,\"thirdPartyRuleOptions\":{\"defaultStatus\":\"info\",\"defaultNotifications\":[],\"rootQueries\":[{\"query\":\"source:guardduty @details.alertType:*EC2*\",\"groupByFields\":[\"instance-id\"]},{\"query\":\"source:guardduty\",\"groupByFields\":[]}]}},\"cases\":[{\"name\":\"high\",\"status\":\"high\",\"notifications\":[]},{\"name\":\"low\",\"status\":\"low\",\"notifications\":[]}],\"message\":\"This is a third party rule\",\"tags\":[],\"hasExtendedTitle\":false,\"type\":\"log_detection\",\"filters\":[],\"thirdPartyCases\":[{\"name\":\"high\",\"status\":\"high\",\"notifications\":[],\"query\":\"status:error\"},{\"name\":\"low\",\"status\":\"low\",\"notifications\":[],\"query\":\"status:info\"}]}\n" |
| 44 | + "size": 1276, |
| 45 | + "text": "{\"id\":\"rvf-kfc-pxh\",\"version\":1,\"name\":\"Test-Create_a_detection_rule_with_detection_method_third_party_returns_OK_response-1725456730\",\"createdAt\":1725456731210,\"creationAuthorId\":1445416,\"isDefault\":false,\"isPartner\":false,\"isEnabled\":true,\"isBeta\":false,\"isDeleted\":false,\"isDeprecated\":false,\"queries\":[{\"query\":\"status:error\",\"groupByFields\":[],\"hasOptionalGroupByFields\":false,\"distinctFields\":[],\"aggregation\":\"none\",\"name\":\"\"},{\"query\":\"status:info\",\"groupByFields\":[],\"hasOptionalGroupByFields\":false,\"distinctFields\":[],\"aggregation\":\"none\",\"name\":\"\"}],\"options\":{\"keepAlive\":0,\"maxSignalDuration\":600,\"detectionMethod\":\"third_party\",\"evaluationWindow\":0,\"thirdPartyRuleOptions\":{\"defaultStatus\":\"info\",\"defaultNotifications\":[],\"rootQueries\":[{\"query\":\"source:guardduty @details.alertType:*EC2*\",\"groupByFields\":[\"instance-id\"]},{\"query\":\"source:guardduty\",\"groupByFields\":[]}]}},\"cases\":[{\"name\":\"high\",\"status\":\"high\",\"notifications\":[]},{\"name\":\"low\",\"status\":\"low\",\"notifications\":[]}],\"message\":\"This is a third party rule\",\"tags\":[],\"hasExtendedTitle\":false,\"type\":\"log_detection\",\"filters\":[],\"thirdPartyCases\":[{\"name\":\"high\",\"status\":\"high\",\"notifications\":[],\"query\":\"status:error\"},{\"name\":\"low\",\"status\":\"low\",\"notifications\":[],\"query\":\"status:info\"}]}\n" |
46 | 46 | },
|
47 | 47 | "cookies": [],
|
48 | 48 | "headers": [
|
|
57 | 57 | "status": 200,
|
58 | 58 | "statusText": "OK"
|
59 | 59 | },
|
60 |
| - "startedDateTime": "2024-05-10T16:34:29.478Z", |
61 |
| - "time": 336 |
| 60 | + "startedDateTime": "2024-09-04T13:32:10.861Z", |
| 61 | + "time": 432 |
62 | 62 | },
|
63 | 63 | {
|
64 |
| - "_id": "83482911a098ad48c5192c9d73c7f829", |
| 64 | + "_id": "418be8cd9b52a555a25abcee39ab414e", |
65 | 65 | "_order": 0,
|
66 | 66 | "cache": {},
|
67 | 67 | "request": {
|
|
74 | 74 | "value": "*/*"
|
75 | 75 | }
|
76 | 76 | ],
|
77 |
| - "headersSize": 536, |
| 77 | + "headersSize": 534, |
78 | 78 | "httpVersion": "HTTP/1.1",
|
79 | 79 | "method": "DELETE",
|
80 | 80 | "queryString": [],
|
81 |
| - "url": "https://api.datadoghq.com/api/v2/security_monitoring/rules/uys-ie9-xgd" |
| 81 | + "url": "https://api.datadoghq.com/api/v2/security_monitoring/rules/rvf-kfc-pxh" |
82 | 82 | },
|
83 | 83 | "response": {
|
84 | 84 | "bodySize": 0,
|
|
88 | 88 | },
|
89 | 89 | "cookies": [],
|
90 | 90 | "headers": [],
|
91 |
| - "headersSize": 602, |
| 91 | + "headersSize": 601, |
92 | 92 | "httpVersion": "HTTP/1.1",
|
93 | 93 | "redirectURL": "",
|
94 | 94 | "status": 204,
|
95 | 95 | "statusText": "No Content"
|
96 | 96 | },
|
97 |
| - "startedDateTime": "2024-05-10T16:34:29.819Z", |
98 |
| - "time": 461 |
| 97 | + "startedDateTime": "2024-09-04T13:32:11.299Z", |
| 98 | + "time": 370 |
99 | 99 | }
|
100 | 100 | ],
|
101 | 101 | "pages": [],
|
|
0 commit comments