Skip to content

Commit

Permalink
Merge pull request #349 from appgate/doc
Browse files Browse the repository at this point in the history
Add multiple actions example for entitlement
  • Loading branch information
mandopaloooza committed Jan 23, 2024
2 parents 35d5cf9 + 8c7e018 commit 1738cc7
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions website/docs/r/entitlement.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,21 @@ resource "appgatesdp_entitlement" "ping_entitlement" {
condition_logic = "and"
actions {
subtype = "icmp_up"
action = "allow"
# https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml#icmp-parameters-types
types = ["0-16"]
subtype = "tcp_up"
hosts = [
"10.0.0.1",
"10.0.0.0/24",
"hostname.company.com",
"dns://hostname.company.com",
"aws://security-group:accounting"
"103.15.3.254/32",
"172.17.3.255/32",
"192.168.2.255/32",
]
ports = ["53"]
}
actions {
action = "allow"
subtype = "udp_up"
hosts = ["192.168.2.255/32"]
ports = ["53"]
}
app_shortcuts {
Expand Down Expand Up @@ -96,6 +100,7 @@ List of all IP Access actions in this Entitlement.
* `types`: (Optional) ICMP type. Only valid for icmp subtypes.
* `methods`: (Optional) HTTP method. Only valid for http subtypes. Leave it empty to allow all types.
* `monitor`: (Optional) Only available for tcp_up and http_up subtypes. If enabled, Gateways will monitor this action for responsiveness and act accordingly. See admin manual for more details.

### app_shortcuts
Array of App Shortcuts.

Expand Down Expand Up @@ -130,9 +135,6 @@ List of Entitlement Script IDs used for creating App Shortcuts dynamically.
### tags
Array of tags.




## Import

Instances can be imported using the `id`, e.g.
Expand Down

0 comments on commit 1738cc7

Please sign in to comment.