github.com/nginxinc/kubernetes-ingress@v1.12.5/tests/data/appprotect/file-block.yaml (about) 1 apiVersion: appprotect.f5.com/v1beta1 2 kind: APPolicy 3 metadata: 4 name: file-block 5 spec: 6 policy: 7 name: file-block 8 template: 9 name: POLICY_TEMPLATE_NGINX_BASE 10 applicationLanguage: utf-8 11 enforcementMode: blocking 12 blocking-settings: 13 violations: 14 - name: VIOL_FILETYPE 15 alarm: true 16 block: true 17 filetypes: 18 - name: "*" 19 type: wildcard 20 allowed: true 21 checkPostDataLength: false 22 postDataLength: 4096 23 checkRequestLength: false 24 requestLength: 8192 25 checkUrlLength: true 26 urlLength: 2048 27 checkQueryStringLength: true 28 queryStringLength: 2048 29 responseCheck: false 30 - name: bat 31 allowed: false