Skip to content

Commit

Permalink
Improve docs in security_rule_exception resource (#497)
Browse files Browse the repository at this point in the history
* Improve docs in security_rule_exception resource

* Update doc

---------

Co-authored-by: aviv.yaari <[email protected]>
  • Loading branch information
Aviv-Yaari and avivyaari-imperva authored Jan 1, 2025
1 parent 309e578 commit a2537b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion incapsula/resource_security_rule_exception.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func resourceSecurityRuleException() *schema.Resource {
Description: "A comma separated list of url patterns. One of: contains | equals | prefix | suffix | not_equals | not_contain | not_prefix | not_suffix. The patterns should be in accordance with the matching urls sent by the urls parameter.",
Type: schema.TypeString,
Optional: true,
Deprecated: "This parameter will be deprecated in the next major release. EQUALS is the only supported pattern.",
Deprecated: "This parameter is deprecated and will be removed in the next major release. The resource configures exceptions for the exact URLs specified in the 'urls' parameter, if provided.",
DiffSuppressFunc: suppressEquivalentStringDiffs,
},
"urls": {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/security_rule_exception.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ At least one Optional argument is required.
* `countries` - (Optional) A comma separated list of country codes.
* `continents` - (Optional) A comma separated list of continent codes.
* `ips=` - (Optional) A comma separated list of IPs or IP ranges, e.g: 192.168.1.1, 192.168.1.1-192.168.1.100 or 192.168.1.1/24
* `urls=` - (Optional) A comma separated list of resource paths. For example, /home and /admin/index.html are resource paths, while http://www.example.com/home is not. Each URL should be encoded separately using percent encoding as specified by RFC 3986 (http://tools.ietf.org/html/rfc3986#section-2.1). An empty URL list will remove all URLs. urls="/someurl1,/path/to/my/resource/2.html,/some/url/3".
* `urls=` - (Optional) A comma separated list of resource paths. For example, /home and /admin/index.html are resource paths, while http://www.example.com/home is not. Each URL should be encoded separately using percent encoding as specified by RFC 3986 (http://tools.ietf.org/html/rfc3986#section-2.1). An empty URL list will remove all URLs. The resource configures exceptions for the exact URLs listed in this parameter.
* `user_agents` - (Optional) A comma separated list of encoded user agents.
* `parameters` - (Optional) A comma separated list of encoded parameters.

Expand Down

0 comments on commit a2537b4

Please sign in to comment.