f5devcentral / f5-waf-policy-editor

Apache License 2.0
26 stars 14 forks source link

Add signature override option to URLs #43

Open zbro-wtit422 opened 3 years ago

zbro-wtit422 commented 3 years ago

When adding a URL to the policy, I don't seem to see the option to add a signature override outside of manually editing the json. Common task is to conditionally disable or enable signatures on specific URLs. Only option I see is to disable all signatures.

Screen Shot 2021-10-07 at 9 25 41 AM

If I manually add signatureOverride to URL then it shows up red. I'm guessing that indicates a schema error but I'm not sure.

Screen Shot 2021-10-07 at 9 28 21 AM

zbro-wtit422 commented 3 years ago

Ignore my comment about the schema validation. I have a json syntax error. I did not add a comma after wildcardOrder. After updating it, I now see the json body itself is highlighted red.

Screen Shot 2021-10-07 at 9 31 40 AM

shubhammishra9 commented 3 years ago

@zbro-wtit422, As per the reference document enabled field should be of type 'boolean' but in your case it is taken as string that's why you are getting json body highlighted as red.

Ref Doc. my1

WAFFLER-UI my2