WAF Policy JSON Editor¶
Overview¶
It is possible to edit your policy by modifying your JSON declaration using the UI or API (see BIG-IP Next Central Manager WAF OpenAPI ).
Use BIG-IP Next Central Manager’s UI to make changes directly to a JSON declaration. The editor provides the following editing tools to ensure deployment of your declaration without errors:
Find and Replace - Use CRTL+F to enable the search feature in the JSON editor. You can use the toolbar to find and replace objects (such as one or more instances) or properties inside the JSON.
Schema Validation - The editor provides schema-based validation by underlining and providing suggestions for schema errors.
Syntax Validation - The editor highlights and underlines syntax errors in the JSON structure.
Auto Complete - Use CTRL+SPACE to view suggestions you can use auto complete during your edits. This can be applied to correcting errors, or adding schema properties.
Editor Options and Shortcuts - Use F1 to view a list of additional options and shortcuts in the JSON editor.
Image of JSON editor with F1 selected:
For more information about the WAF declarative policy, see Declarative WAF Policy Schema.
Prerequisites¶
Verify any attached application services to ensure proper security after changes are deployed.
You need to have a user role of Security Manager or Administrator to manage a WAF policy.
How to use the policy editor¶
Click the workspace icon next to the F5 icon, and click Security.
From the left menu click Policies under WAF.
Click the Policy Name you would like to edit.
From the policy panel’s menu, click {:} Policy Editor. The panel displays a JSON editor that allows you to make changes directly to the declaration.
To save and immediately deploy changes, click Save & Deploy.
To save changes on BIG-IP Next Central Manager without deploying, click Save.