Added unit tests to check Firewall rules
This commit is contained in:
33
tests/Fixtures/Endpoints/createFirewallRules.json
Normal file
33
tests/Fixtures/Endpoints/createFirewallRules.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"result": [
|
||||
{
|
||||
"id": "970b10321e3f4adda674c912b5f76591",
|
||||
"paused": false,
|
||||
"description": "Foo",
|
||||
"action": "block",
|
||||
"filter": {
|
||||
"id": "70f39827184d487e97cc286b960f4cc3",
|
||||
"expression": "http.cookie eq \"foo\"",
|
||||
"paused": false
|
||||
},
|
||||
"created_on": "2019-07-05T15:53:15Z",
|
||||
"modified_on": "2019-07-05T15:53:15Z"
|
||||
},
|
||||
{
|
||||
"id": "42c05fd0e0af4d17a361d2d1423476bc",
|
||||
"paused": false,
|
||||
"description": "Bar",
|
||||
"action": "block",
|
||||
"filter": {
|
||||
"id": "246b4d9f5f51471485bdc95e1c6b53a7",
|
||||
"expression": "http.cookie eq \"bar\"",
|
||||
"paused": false
|
||||
},
|
||||
"created_on": "2019-07-05T15:53:15Z",
|
||||
"modified_on": "2019-07-05T15:53:15Z"
|
||||
}
|
||||
],
|
||||
"success": true,
|
||||
"errors": [],
|
||||
"messages": []
|
||||
}
|
||||
Reference in New Issue
Block a user