f5devcentral / f5-waf-policy-editor

Apache License 2.0
26 stars 14 forks source link

UI-Validation for invalid inputs Data Guard/Settings section #44

Open shubhammishra9 opened 3 years ago

shubhammishra9 commented 3 years ago

Observed no UI validation for invalid scenarios as per doc As per doc if enabled field-name is set to true either Credit Card Numbers or SSN or both should be enabled but observed no UI-validation for same Ref Doc invld2

WAFFLER-GUI invld1

Error Message Oct 11 07:23:03 ip-172-31-28-230.ap-south-1.compute.internal nginx[2633]: { Oct 11 07:23:03 ip-172-31-28-230.ap-south-1.compute.internal nginx[2633]: "completed_successfully" : false, Oct 11 07:23:03 ip-172-31-28-230.ap-south-1.compute.internal nginx[2633]: "error_message" : "Failed to import Policy 'myPolicy' from '/etc/app_protect/conf/waf-1633516938513.json': Could not update the Data Guard 'Data Guard'. At least one of the Data Guard features must be enabled (fileContentDetection, customPatterns, creditCardNumbers, usSocialSecurityNumbers)", Oct 11 07:23:03 ip-172-31-28-230.ap-south-1.compute.internal nginx[2633]: "error_line_number" : 24 Oct 11 07:23:03 ip-172-31-28-230.ap-south-1.compute.internal nginx[2633]: } Oct 11 07:23:03 ip-172-31-28-230.ap-south-1.compute.internal nginx[2633]: nginx: [error] APP_PROTECT { "event": "configuration_load_failure", "software_version": "3.639.0", "error_message":"Failed to import Policy 'myPolicy' from '/etc/app_protect/conf/waf-1633516938513.json': Could not update the Data Guard 'Data Guard'. At least one of the Data Guard features must be enabled (fileContentDetection, customPatterns, creditCardNumbers, usSocialSecurityNumbers)","completed_successfully":false,"error_line_number":24} Oct 11 07:23:03 ip-172-31-28-230.ap-south-1.compute.internal systemd[1]: nginx.service: control process exited, code=exited status=1 Oct 11 07:23:03 ip-172-31-28-230.ap-south-1.compute.internal systemd[1]: Failed to start NGINX Plus - high performance web server.