2
2
version : 1
3
3
interactions :
4
4
- request :
5
- body : ' {"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["::0 /0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["::0 /0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}'
5
+ body : ' {"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678 /0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678 /0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}'
6
6
form : {}
7
7
headers :
8
8
Accept :
@@ -14,12 +14,12 @@ interactions:
14
14
url : https://api.linode.com/v4beta/networking/firewalls
15
15
method : POST
16
16
response :
17
- body : ' {"id": 498947 , "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
17
+ body : ' {"id": 34617 , "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
18
18
"updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound":
19
19
[{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol":
20
- "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": [":: /0"]}}], "inbound_policy":
20
+ "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678 /0"]}}], "inbound_policy":
21
21
"ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports":
22
- "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": [":: /0"]}}],
22
+ "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678 /0"]}}],
23
23
"outbound_policy": "ACCEPT", "version": 1, "fingerprint": "7bcc0f03"}, "tags":
24
24
["testing"], "entities": []}'
25
25
headers :
@@ -34,22 +34,17 @@ interactions:
34
34
Access-Control-Expose-Headers :
35
35
- X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
36
36
Cache-Control :
37
- - max-age=0, no-cache, no-store
38
- Connection :
39
- - keep-alive
40
- Content-Length :
41
- - " 583"
37
+ - private, max-age=60, s-maxage=60
42
38
Content-Security-Policy :
43
39
- default-src 'none'
44
40
Content-Type :
45
41
- application/json
46
- Expires :
47
- - Fri, 31 May 2024 00:09:46 GMT
48
- Pragma :
49
- - no-cache
42
+ Server :
43
+ - nginx
50
44
Strict-Transport-Security :
51
45
- max-age=31536000
52
46
Vary :
47
+ - Accept-Encoding
53
48
- Authorization, X-Filter
54
49
X-Accepted-Oauth-Scopes :
55
50
- firewall:read_write
@@ -59,10 +54,7 @@ interactions:
59
54
- DENY
60
55
- DENY
61
56
X-Oauth-Scopes :
62
- - account:read_write databases:read_write domains:read_write events:read_write
63
- firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write
64
- longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write
65
- volumes:read_write vpc:read_write
57
+ - ' *'
66
58
X-Ratelimit-Limit :
67
59
- " 400"
68
60
X-Xss-Protection :
@@ -71,7 +63,7 @@ interactions:
71
63
code : 200
72
64
duration : " "
73
65
- request :
74
- body : ' {"inbound":[{"action":"DROP","label":"go-fwrule-test_r","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["::0 /0"]}}],"inbound_policy":"ACCEPT","outbound":null,"outbound_policy":"ACCEPT"}'
66
+ body : ' {"inbound":[{"action":"DROP","label":"go-fwrule-test_r","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678 /0"]}}],"inbound_policy":"ACCEPT","outbound":null,"outbound_policy":"ACCEPT"}'
75
67
form : {}
76
68
headers :
77
69
Accept :
@@ -80,11 +72,11 @@ interactions:
80
72
- application/json
81
73
User-Agent :
82
74
- linodego/dev https://github.com/linode/linodego
83
- url : https://api.linode.com/v4beta/networking/firewalls/498947 /rules
75
+ url : https://api.linode.com/v4beta/networking/firewalls/34617 /rules
84
76
method : PUT
85
77
response :
86
78
body : ' {"inbound": [{"action": "DROP", "label": "go-fwrule-test_r", "ports": "22",
87
- "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": [":: /0"]}}],
79
+ "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678 /0"]}}],
88
80
"inbound_policy": "ACCEPT", "outbound": null, "outbound_policy": "ACCEPT", "version":
89
81
2, "fingerprint": "cddbc8f5"}'
90
82
headers :
@@ -99,22 +91,17 @@ interactions:
99
91
Access-Control-Expose-Headers :
100
92
- X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
101
93
Cache-Control :
102
- - max-age=0, no-cache, no-store
103
- Connection :
104
- - keep-alive
105
- Content-Length :
106
- - " 268"
94
+ - private, max-age=60, s-maxage=60
107
95
Content-Security-Policy :
108
96
- default-src 'none'
109
97
Content-Type :
110
98
- application/json
111
- Expires :
112
- - Fri, 31 May 2024 00:09:46 GMT
113
- Pragma :
114
- - no-cache
99
+ Server :
100
+ - nginx
115
101
Strict-Transport-Security :
116
102
- max-age=31536000
117
103
Vary :
104
+ - Accept-Encoding
118
105
- Authorization, X-Filter
119
106
X-Accepted-Oauth-Scopes :
120
107
- firewall:read_write
@@ -124,10 +111,7 @@ interactions:
124
111
- DENY
125
112
- DENY
126
113
X-Oauth-Scopes :
127
- - account:read_write databases:read_write domains:read_write events:read_write
128
- firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write
129
- longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write
130
- volumes:read_write vpc:read_write
114
+ - ' *'
131
115
X-Ratelimit-Limit :
132
116
- " 400"
133
117
X-Xss-Protection :
@@ -145,11 +129,11 @@ interactions:
145
129
- application/json
146
130
User-Agent :
147
131
- linodego/dev https://github.com/linode/linodego
148
- url : https://api.linode.com/v4beta/networking/firewalls/498947 /rules
132
+ url : https://api.linode.com/v4beta/networking/firewalls/34617 /rules
149
133
method : GET
150
134
response :
151
135
body : ' {"inbound": [{"action": "DROP", "label": "go-fwrule-test_r", "ports": "22",
152
- "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": [":: /0"]}}],
136
+ "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678 /0"]}}],
153
137
"inbound_policy": "ACCEPT", "outbound": null, "outbound_policy": "ACCEPT", "version":
154
138
2, "fingerprint": "cddbc8f5"}'
155
139
headers :
@@ -164,22 +148,18 @@ interactions:
164
148
Access-Control-Expose-Headers :
165
149
- X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
166
150
Cache-Control :
167
- - max-age=0, no-cache, no-store
168
- Connection :
169
- - keep-alive
170
- Content-Length :
171
- - " 268"
151
+ - private, max-age=0, s-maxage=0, no-cache, no-store
152
+ - private, max-age=60, s-maxage=60
172
153
Content-Security-Policy :
173
154
- default-src 'none'
174
155
Content-Type :
175
156
- application/json
176
- Expires :
177
- - Fri, 31 May 2024 00:09:46 GMT
178
- Pragma :
179
- - no-cache
157
+ Server :
158
+ - nginx
180
159
Strict-Transport-Security :
181
160
- max-age=31536000
182
161
Vary :
162
+ - Accept-Encoding
183
163
- Authorization, X-Filter
184
164
- Authorization, X-Filter
185
165
X-Accepted-Oauth-Scopes :
@@ -190,10 +170,7 @@ interactions:
190
170
- DENY
191
171
- DENY
192
172
X-Oauth-Scopes :
193
- - account:read_write databases:read_write domains:read_write events:read_write
194
- firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write
195
- longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write
196
- volumes:read_write vpc:read_write
173
+ - ' *'
197
174
X-Ratelimit-Limit :
198
175
- " 400"
199
176
X-Xss-Protection :
@@ -211,7 +188,7 @@ interactions:
211
188
- application/json
212
189
User-Agent :
213
190
- linodego/dev https://github.com/linode/linodego
214
- url : https://api.linode.com/v4beta/networking/firewalls/498947
191
+ url : https://api.linode.com/v4beta/networking/firewalls/34617
215
192
method : DELETE
216
193
response :
217
194
body : ' {}'
@@ -227,19 +204,15 @@ interactions:
227
204
Access-Control-Expose-Headers :
228
205
- X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
229
206
Cache-Control :
230
- - max-age=0, no-cache, no-store
231
- Connection :
232
- - keep-alive
207
+ - private, max-age=60, s-maxage=60
233
208
Content-Length :
234
209
- " 2"
235
210
Content-Security-Policy :
236
211
- default-src 'none'
237
212
Content-Type :
238
213
- application/json
239
- Expires :
240
- - Fri, 31 May 2024 00:09:46 GMT
241
- Pragma :
242
- - no-cache
214
+ Server :
215
+ - nginx
243
216
Strict-Transport-Security :
244
217
- max-age=31536000
245
218
Vary :
@@ -252,10 +225,7 @@ interactions:
252
225
- DENY
253
226
- DENY
254
227
X-Oauth-Scopes :
255
- - account:read_write databases:read_write domains:read_write events:read_write
256
- firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write
257
- longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write
258
- volumes:read_write vpc:read_write
228
+ - ' *'
259
229
X-Ratelimit-Limit :
260
230
- " 400"
261
231
X-Xss-Protection :
0 commit comments