github.com/fastly/go-fastly/v5@v5.3.0/fastly/fixtures/waf_versions/waf/create.yaml (about) 1 --- 2 version: 1 3 interactions: 4 - request: 5 body: | 6 {"data":{"type":"waf_firewall","attributes":{"prefetch_condition":"WAF_Prefetch","response":"WAf_Response","service_id":"3U83pdesYFrsH5Mgt6tN2C","service_version_number":2}}} 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 16 method: POST 17 response: 18 body: '{"data":{"id":"3dYMf62WDOfTEOmY0u7xev","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:49Z","disabled":false,"prefetch_condition":"WAF_Prefetch","response":"WAf_Response","service_id":"3U83pdesYFrsH5Mgt6tN2C","service_version_number":2,"updated_at":"2021-11-03T17:28:49Z"}}}' 19 headers: 20 Accept-Ranges: 21 - bytes 22 Content-Length: 23 - "578" 24 Content-Type: 25 - application/vnd.api+json 26 Date: 27 - Wed, 03 Nov 2021 17:28:49 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-slwdc9035-CONTROL-SLWDC, cache-man4133-MAN 40 X-Timer: 41 - S1635960529.839069,VS0,VE1074 42 status: 201 Created 43 code: 201 44 duration: ""