Forum Discussion
zandar_304392
Jun 05, 2017Nimbostratus
Data Guard exeption patterns configured via tmsh.
Hello Everyone,
we have enabled
Data Guard
in our ASM policy and it works most of the time good ;). From time to time it happen that legit account nr. is validated as credit card nr. and so is blocked. We need than to add this pattern as exception - there is no problem to add this exception via GUI
, however I'd like to ask if there is option to add this pattern via tmsh
?
Thank you.
Y
- suttonscEmployee
This can be managed via POST to the Rest API (tested v12+):
/data-guard
Example, this returns the format for the data-guard endpoint:
curl -sk -u admin:admin https://$target_ip/mgmt/tm/asm/policies/w7DIlTMBvUjxQLb0p_vbAg/data-guard/example { "creditCardNumbers": false, "customPatterns": false, "customPatternsList": [], "enabled": false, "enforcementMode": "ignore-urls-in-list", "enforcementModeEnums": [ "enforce-urls-in-list", "ignore-urls-in-list" ], "enforcementUrls": [], "exceptionPatterns": false, "exceptionPatternsList": [], "fileContentDetection": false, "fileContentDetectionFormatReferences": [ { "link": "https://localhost/mgmt/tm/asm/file-content-detection-formats/example?ver=12.1.2" } ], "maskData": false, "usSocialSecurityNumbers": false }
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects