github.com/fastly/go-fastly/v5@v5.3.0/fastly/fixtures/waf_versions/create_empty.yaml (about)

     1  ---
     2  version: 1
     3  interactions:
     4  - request:
     5      body: ""
     6      form: {}
     7      headers:
     8        Accept:
     9        - application/vnd.api+json
    10        Content-Type:
    11        - application/vnd.api+json
    12        User-Agent:
    13        - FastlyGo/5.1.1 (+github.com/fastly/go-fastly; go1.17)
    14      url: https://api.fastly.com/waf/firewalls/3dYMf62WDOfTEOmY0u7xev/versions
    15      method: POST
    16    response:
    17      body: '{"data":{"id":"1bklqwKjoqHUJrkCpL7AiH","type":"waf_firewall_version","attributes":{"active":false,"active_rules_fastly_block_count":0,"active_rules_fastly_log_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,"allowed_http_versions":"HTTP/1.0
    18        HTTP/1.1 HTTP/2 HTTP/3","allowed_methods":"GET HEAD POST OPTIONS PUT PATCH DELETE","allowed_request_content_type":"application/x-www-form-urlencoded|multipart/form-data|multipart/related|text/xml|application/xml|application/soap+xml|application/x-amf|application/json|application/cloudevents+json|application/cloudevents-batch+json|application/octet-stream|application/csp-report|application/xss-auditor-report|text/plain","allowed_request_content_type_charset":"utf-8|iso-8859-1|iso-8859-15|windows-1252","arg_name_length":100,"arg_length":400,"combined_file_sizes":10000000,"comment":null,"created_at":"2021-11-03T17:28:52Z","critical_anomaly_score":5,"crs_validate_utf8_encoding":false,"deployed_at":null,"error":null,"error_anomaly_score":4,"high_risk_country_codes":"","http_violation_score_threshold":999,"inbound_anomaly_score_threshold":999,"last_deployment_status":null,"lfi_score_threshold":999,"locked":false,"max_file_size":10000000,"max_num_args":255,"notice_anomaly_score":2,"number":3,"paranoia_level":1,"php_injection_score_threshold":999,"rce_score_threshold":999,"restricted_extensions":".asa/
    19        .asax/ .ascx/ .backup/ .bak/ .bat/ .cdx/ .cer/ .cfg/ .cmd/ .com/ .config/ .conf/
    20        .cs/ .csproj/ .csr/ .dat/ .db/ .dbf/ .dll/ .dos/ .htr/ .htw/ .ida/ .idc/ .idq/
    21        .inc/ .ini/ .key/ .licx/ .lnk/ .log/ .mdb/ .old/ .pass/ .pdb/ .pol/ .printer/
    22        .pwd/ .rdb/ .resources/ .resx/ .sql/ .swp/ .sys/ .vb/ .vbs/ .vbproj/ .vsdisco/
    23        .webinfo/ .xsd/ .xsx/","restricted_headers":"/proxy/ /lock-token/ /content-range/
    24        /if/","rfi_score_threshold":999,"session_fixation_score_threshold":999,"sql_injection_score_threshold":999,"total_arg_length":6400,"updated_at":"2021-11-03T17:28:52Z","warning_anomaly_score":3,"xss_score_threshold":999},"relationships":{"waf_firewall":{"data":{"id":"3dYMf62WDOfTEOmY0u7xev","type":"waf_firewall"}}}}}'
    25      headers:
    26        Accept-Ranges:
    27        - bytes
    28        Content-Length:
    29        - "2209"
    30        Content-Type:
    31        - application/vnd.api+json
    32        Date:
    33        - Wed, 03 Nov 2021 17:28:52 GMT
    34        Strict-Transport-Security:
    35        - max-age=31536000
    36        Via:
    37        - 1.1 varnish, 1.1 varnish
    38        X-Cache:
    39        - MISS, MISS
    40        X-Cache-Hits:
    41        - 0, 0
    42        X-Content-Type-Options:
    43        - nosniff
    44        X-Served-By:
    45        - cache-control-slwdc9037-CONTROL-SLWDC, cache-man4133-MAN
    46        X-Timer:
    47        - S1635960533.849745,VS0,VE141
    48      status: 201 Created
    49      code: 201
    50      duration: ""