Debian Codegraph @

fastly/fixtures/wafs/update.yaml

raw symbols SCIP
1 ---
2 version: 1
3 rwmutex: {}
4 interactions:
5 - request:
6 body: |
7 {"data":{"type":"waf","id":"2WK9ofHfHcPi3s6S2X0Z8m","attributes":{"response":"test-response-object-2"}}}
8 form: {}
9 headers:
10 Accept:
11 - application/vnd.api+json
12 Content-Type:
13 - application/vnd.api+json
14 Fastly-Key:
15 - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
16 User-Agent:
17 - FastlyGo/0.4.3.dev (+github.com/fastly/go-fastly; go1.12)
18 url: https://api.fastly.com/service/7i6HN3TK9wS159v2gPAZ8A/version/54/wafs/2WK9ofHfHcPi3s6S2X0Z8m
19 method: PATCH
20 response:
21 body: '{"data":{"id":"2WK9ofHfHcPi3s6S2X0Z8m","type":"waf","attributes":{"last_push":null,"prefetch_condition":"test-waf-condition","response":"test-response-object-2","version":54,"service_id":"7i6HN3TK9wS159v2gPAZ8A","disabled":false,"rule_statuses_log_count":0,"rule_statuses_block_count":0,"rule_statuses_disabled_count":0},"relationships":{"configuration_set":{"data":{"id":"3vnl3cwPda9Q3WYCDRuGW","type":"configuration_set"}},"owasp":{"data":{"id":"4Jh5ZWRaYGgPdCdgQZNzyk","type":"owasp"}}}},"meta":{"warnings":[{"title":"This
22 version of this service must be active","detail":"You may only update the WAF
23 VCL on an active version of a service. The version 54 of service 7i6HN3TK9wS159v2gPAZ8A
24 is not active. You may activate it through https://app.fastly.com or through
25 the API: https://docs.fastly.com/api/config#version Be sure to review the version''s
26 changes before activating it."}]}}'
27 headers:
28 Accept-Ranges:
29 - bytes
30 Content-Length:
31 - "890"
32 Content-Type:
33 - application/vnd.api+json
34 Date:
35 - Sat, 11 May 2019 21:45:02 GMT
36 Status:
37 - 200 OK
38 Strict-Transport-Security:
39 - max-age=31536000
40 Via:
41 - 1.1 varnish
42 - 1.1 varnish
43 X-Cache:
44 - MISS, MISS
45 X-Cache-Hits:
46 - 0, 0
47 X-Content-Type-Options:
48 - nosniff
49 X-Served-By:
50 - cache-control-slwdc9036-CONTROL-SLWDC, cache-lax8631-LAX
51 X-Timer:
52 - S1557611102.061591,VS0,VE521
53 status: 200 OK
54 code: 200