{ "id":"/axapi/v3/waf/template/{name}/data-leak-prevention", "type":"object", "node-type":"scalar", "title":"data-leak-prevention", "partition-visibility":"shared", "description":"Data leak prevention", "properties":{ "ccn-mask":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Mask credit card numbers in response", "optional":true }, "ssn-mask":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Mask US Social Security numbers in response", "optional":true }, "pcre-mask":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Mask matched PCRE pattern in response", "optional":true }, "keep-start":{ "type":"number", "format":"number", "minimum":0, "maximum":65535, "partition-visibility":"shared", "description":"Number of unmasked characters at the beginning (default: 0)", "optional":true }, "keep-end":{ "type":"number", "format":"number", "minimum":0, "maximum":65535, "partition-visibility":"shared", "description":"Number of unmasked characters at the end (default: 0)", "optional":true }, "mask":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1, "partition-visibility":"shared", "description":"Character to mask the matched pattern (default: X)", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } } }