PK Protect provides the ability to add a new policy key. To add a new policy keys detail, click Add New Policy Keys tab on the Policy Keys screen.
The Add New Policy Key screen will appear. Follow the below steps to configure Add New Policy Key:
Policy Key Name: Enter a unique name for the policy key. This is a mandatory field.
Description: Enter a brief description for the policy key.
Type: Click the Type drop-down and select the required option. These drop-down displays 2 options:
White: White key allows to whitelist all commands given in the policy key.
Black: Black key restricts all delete commands given in the policy key.
*Note: At least one policy key must be assigned to the device realm for SQL proxies.
⦁ If only black key policies are defined in a realm, all remaining queries will be white key.
⦁ If only white key polices are defined in a realm, all remaining queries will be black key.
⦁ If “.*” regex is defined as white key, all queries are allowed to run.
⦁ If “.*” regex is defined as black key, all queries will be blocked.
In the ELEMENT TYPE panel, check the checkbox(es) for the element(s) that you want to add to the policy key. The selected element(s) will list down in the ELEMENT TYPE LIST panel.
In the ELEMENT TYPE LIST panel, the selected element(s) connected to the policy key will get displayed. Click Cross icon to delete the selected element(s) from the list.
Click Save to save the changes, else click Cancel.