Skip to content

Commit 2183484

Browse files
Update policy doc (#602)
* clarify site versioning * remove global field and use it as string * Allow deletion of the last domain for v1 sites that have migrated to the v3 resource. * Allow deletion of the last domain for v1 sites that have migrated to the v3 resource. * Allow deletion of the last domain for v1 sites that have migrated to the v3 resource. (cherry picked from commit 976b940) * Allow deletion of the last domain for v1 sites that have migrated to the v3 resource. (cherry picked from commit 5e35300) * omit refId when marshaling to JSON if the field has no value. * Updated policy docs: added new optional `RESP_DATA_LEAK` policy_type, available only for accounts that include this feature in their plan.
1 parent 70597e4 commit 2183484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/r/policy.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ The following arguments are supported:
114114

115115
* `name` - (Required) The policy name.
116116
* `enabled` - (Required) Enables the policy.
117-
* `policy_type` - (Required) The policy type. Possible values: ACL, WHITELIST, WAF_RULES. Note: For (policy_type=WAF_RULES), all 4 setting types (policySettingType) are mandatory (REMOTE_FILE_INCLUSION, ILLEGAL_RESOURCE_ACCESS, CROSS_SITE_SCRIPTING, SQL_INJECTION).
117+
* `policy_type` - (Required) The policy type. Possible values: ACL, WHITELIST, WAF_RULES. Note: For (policy_type=WAF_RULES), all 4 setting types (policySettingType) are mandatory (REMOTE_FILE_INCLUSION, ILLEGAL_RESOURCE_ACCESS, CROSS_SITE_SCRIPTING, SQL_INJECTION). </br>RESP_DATA_LEAK is optional and can be added only if this feature is included with your plan.
118118
* `policy_settings` - (Required) The policy settings as JSON string. See Imperva documentation for help with constructing a correct value.
119119
Policy_settings internal values:
120120
policySettingType: IP, GEO, URL

0 commit comments

Comments
 (0)