waf template data-leak-prevention¶
Data leak prevention
data-leak-prevention Specification¶
Type Configuration Resource Element Name data-leak-prevention Element URI /axapi/v3/waf/template/{name}/data-leak-prevention Element Attributes data-leak-prevention_attributes Schema data-leak-prevention schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/waf/template/{name}/data-leak-prevention | ||
Get Object | GET | /axapi/v3/waf/template/{name}/data-leak-prevention | ||
Modify Object | POST | /axapi/v3/waf/template/{name}/data-leak-prevention | ||
Replace Object | PUT | /axapi/v3/waf/template/{name}/data-leak-prevention | ||
Delete Object | DELETE | /axapi/v3/waf/template/{name}/data-leak-prevention |
data-leak-prevention attributes¶
ccn-mask
Description Mask credit card numbers in response
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
keep-end
Description Number of unmasked characters at the end (default: 0)
Type: number
Range: 0-65535
keep-start
Description Number of unmasked characters at the beginning (default: 0)
Type: number
Range: 0-65535
mask
Description Character to mask the matched pattern (default: X)
Type: string
Format: string-rlx
Maximum Length: 1 characters
Maximum Length: 1 characters
pcre-mask
Description Mask matched PCRE pattern in response
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
ssn-mask
Description Mask US Social Security numbers in response
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters