f5devcentral / f5-waf-policy-editor

Apache License 2.0
26 stars 14 forks source link

Open API link format validation #69

Open shubhammishra9 opened 2 years ago

shubhammishra9 commented 2 years ago

Missing Open API link format validation Duplicate of Issue #29 m2

Error Message: Dec 22 07:48:14 ip-172-31-20-26.ap-south-1.compute.internal nginx[1703]: { Dec 22 07:48:14 ip-172-31-20-26.ap-south-1.compute.internal nginx[1703]: "completed_successfully" : false, Dec 22 07:48:14 ip-172-31-20-26.ap-south-1.compute.internal nginx[1703]: "error_message" : "Failed to import Policy '/etc/app_protect/conf/waf-1639385507591.json' from '/etc/app_protect/conf/waf-1639385507591.json': Wrong link format, should be 'file:///FILE_NAME' or 'http(s)://DOMAIN_NAME/FILE_NAME'", Dec 22 07:48:14 ip-172-31-20-26.ap-south-1.compute.internal nginx[1703]: "error_line_number" : 19 Dec 22 07:48:14 ip-172-31-20-26.ap-south-1.compute.internal nginx[1703]: }