You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given new "CreateApplicationSecurityWafExclusionFilter" request
62
62
And body with value {"data": {"attributes": {"description": "Exclude false positives on a path", "enabled": true, "event_query": "test:1"}, "type": "exclusion_filter"}}
63
63
When the request is sent
64
64
Then the response status is 400 Bad Request
65
65
66
-
@generated@skip@team:DataDog/asm-respond-backend
66
+
@generated@skip@team:DataDog/asm-backend
67
67
Scenario: Delete a WAF Custom Rule returns "Concurrent Modification" response
68
68
Given new "DeleteApplicationSecurityWafCustomRule" request
69
69
And request contains "custom_rule_id" parameter from "REPLACE.ME"
70
70
When the request is sent
71
71
Then the response status is 409 Concurrent Modification
72
72
73
-
@generated@skip@team:DataDog/asm-respond-backend
73
+
@generated@skip@team:DataDog/asm-backend
74
74
Scenario: Delete a WAF Custom Rule returns "No Content" response
75
75
Given new "DeleteApplicationSecurityWafCustomRule" request
76
76
And request contains "custom_rule_id" parameter from "REPLACE.ME"
77
77
When the request is sent
78
78
Then the response status is 204 No Content
79
79
80
-
@generated@skip@team:DataDog/asm-respond-backend
80
+
@generated@skip@team:DataDog/asm-backend
81
81
Scenario: Delete a WAF Custom Rule returns "Not Found" response
82
82
Given new "DeleteApplicationSecurityWafCustomRule" request
83
83
And request contains "custom_rule_id" parameter from "REPLACE.ME"
84
84
When the request is sent
85
85
Then the response status is 404 Not Found
86
86
87
-
@generated@skip@team:DataDog/asm-respond-backend
87
+
@generated@skip@team:DataDog/asm-backend
88
88
Scenario: Delete a WAF exclusion filter returns "Concurrent Modification" response
89
89
Given new "DeleteApplicationSecurityWafExclusionFilter" request
90
90
And request contains "exclusion_filter_id" parameter from "REPLACE.ME"
91
91
When the request is sent
92
92
Then the response status is 409 Concurrent Modification
93
93
94
-
@team:DataDog/asm-respond-backend
94
+
@team:DataDog/asm-backend
95
95
Scenario: Delete a WAF exclusion filter returns "Not Found" response
96
96
Given new "DeleteApplicationSecurityWafExclusionFilter" request
97
97
And request contains "exclusion_filter_id" parameter with value "unknown"
98
98
When the request is sent
99
99
Then the response status is 404 Not Found
100
100
101
-
@team:DataDog/asm-respond-backend
101
+
@team:DataDog/asm-backend
102
102
Scenario: Delete a WAF exclusion filter returns "OK" response
103
103
Given there is a valid "exclusion_filter" in the system
104
104
And new "DeleteApplicationSecurityWafExclusionFilter" request
105
105
And request contains "exclusion_filter_id" parameter from "exclusion_filter.data.id"
106
106
When the request is sent
107
107
Then the response status is 204 OK
108
108
109
-
@generated@skip@team:DataDog/asm-respond-backend
109
+
@generated@skip@team:DataDog/asm-backend
110
110
Scenario: Get a WAF custom rule returns "OK" response
111
111
Given new "GetApplicationSecurityWafCustomRule" request
112
112
And request contains "custom_rule_id" parameter from "REPLACE.ME"
113
113
When the request is sent
114
114
Then the response status is 200 OK
115
115
116
-
@generated@skip@team:DataDog/asm-respond-backend
116
+
@generated@skip@team:DataDog/asm-backend
117
117
Scenario: Get a WAF exclusion filter returns "Not Found" response
118
118
Given new "GetApplicationSecurityWafExclusionFilter" request
119
119
And request contains "exclusion_filter_id" parameter from "REPLACE.ME"
120
120
When the request is sent
121
121
Then the response status is 404 Not Found
122
122
123
-
@team:DataDog/asm-respond-backend
123
+
@team:DataDog/asm-backend
124
124
Scenario: Get a WAF exclusion filter returns "OK" response
125
125
Given there is a valid "exclusion_filter" in the system
126
126
And new "GetApplicationSecurityWafExclusionFilter" request
127
127
And request contains "exclusion_filter_id" parameter from "exclusion_filter.data.id"
128
128
When the request is sent
129
129
Then the response status is 200 OK
130
130
131
-
@team:DataDog/asm-respond-backend
131
+
@team:DataDog/asm-backend
132
132
Scenario: List all WAF custom rules returns "OK" response
133
133
Given new "ListApplicationSecurityWAFCustomRules" request
134
134
When the request is sent
135
135
Then the response status is 200 OK
136
136
137
-
@team:DataDog/asm-respond-backend
137
+
@team:DataDog/asm-backend
138
138
Scenario: List all WAF exclusion filters returns "OK" response
139
139
Given new "ListApplicationSecurityWafExclusionFilters" request
140
140
When the request is sent
141
141
Then the response status is 200 OK
142
142
143
-
@team:DataDog/asm-respond-backend
143
+
@team:DataDog/asm-backend
144
144
Scenario: Update a WAF Custom Rule returns "Bad Request" response
145
145
Given there is a valid "custom_rule" in the system
146
146
And new "UpdateApplicationSecurityWafCustomRule" request
0 commit comments