github.com/fastly/go-fastly/v6@v6.8.0/fastly/fixtures/wafs/disable.yaml (about) 1 --- 2 version: 1 3 interactions: 4 - request: 5 body: | 6 {"data":{"type":"waf_firewall","id":"52bQTZ2NAm4KSB7FWFHvuz","attributes":{"disabled":true}}} 7 form: {} 8 headers: 9 Accept: 10 - application/vnd.api+json 11 Content-Type: 12 - application/vnd.api+json 13 User-Agent: 14 - FastlyGo/5.1.1 (+github.com/fastly/go-fastly; go1.17) 15 url: https://api.fastly.com/waf/firewalls/52bQTZ2NAm4KSB7FWFHvuz 16 method: PATCH 17 response: 18 body: '{"data":{"id":"52bQTZ2NAm4KSB7FWFHvuz","type":"waf_firewall","attributes":{"active_rules_fastly_block_count":0,"active_rules_fastly_log_count":0,"active_rules_fastly_score_count":0,"active_rules_owasp_block_count":0,"active_rules_owasp_log_count":0,"active_rules_owasp_score_count":0,"active_rules_trustwave_block_count":0,"active_rules_trustwave_log_count":0,"created_at":"2021-11-03T17:28:17Z","disabled":true,"prefetch_condition":null,"response":null,"service_id":"2Xgb9YcX4auyMwrqJGIHLL","service_version_number":null,"updated_at":"2021-11-03T17:28:19Z"},"relationships":{"waf_vcl":{"data":{"id":"CbC1V43Ea84ky8IME7DRS","type":"waf_vcl"}}}}}' 19 headers: 20 Accept-Ranges: 21 - bytes 22 Content-Length: 23 - "645" 24 Content-Type: 25 - application/vnd.api+json 26 Date: 27 - Wed, 03 Nov 2021 17:28:19 GMT 28 Strict-Transport-Security: 29 - max-age=31536000 30 Via: 31 - 1.1 varnish, 1.1 varnish 32 X-Cache: 33 - MISS, MISS 34 X-Cache-Hits: 35 - 0, 0 36 X-Content-Type-Options: 37 - nosniff 38 X-Served-By: 39 - cache-control-slwdc9037-CONTROL-SLWDC, cache-man4145-MAN 40 X-Timer: 41 - S1635960499.871907,VS0,VE903 42 status: 200 OK 43 code: 200 44 duration: ""