Skip to content

Commit

Permalink
update os_version device posture terraform docs for new linux fields
Browse files Browse the repository at this point in the history
  • Loading branch information
da-cf committed Aug 25, 2022
1 parent 2ed4a74 commit b74219f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion docs/resources/device_posture_rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ resource "cloudflare_device_posture_rule" "corporate_devices_posture_rule" {
schedule = "24h"
expiration = "24h"
match {
platform = "mac"
platform = "linux"
}
input {
id = cloudflare_teams_list.corporate_devices.id
version = 1.0.0
operator = <
os_distro_name = ubuntu
os_distro_revision = 1.0.0
}
}
```
Expand Down Expand Up @@ -74,6 +78,8 @@ The input structure depends on the device posture rule type.

- `version` = (Required) The operating system semantic version.
- `operator` = (Required) The version comparison operator in (>,>=,<,<=,==)
- `os_distro_name` = (Optional) The operating system excluding version information.
- `os_distro_revision` = (Optional) The operating system version excluding OS name information or release name.

**domain_joined**

Expand Down
8 changes: 7 additions & 1 deletion templates/resources/device_posture_rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ resource "cloudflare_device_posture_rule" "corporate_devices_posture_rule" {
schedule = "24h"
expiration = "24h"
match {
platform = "mac"
platform = "linux"
}
input {
id = cloudflare_teams_list.corporate_devices.id
version = 1.0.0
operator = <
os_distro_name = ubuntu
os_distro_revision = 1.0.0
}
}
```
Expand Down Expand Up @@ -74,6 +78,8 @@ The input structure depends on the device posture rule type.

- `version` = (Required) The operating system semantic version.
- `operator` = (Required) The version comparison operator in (>,>=,<,<=,==)
- `os_distro_name` = (Optional) The operating system excluding version information.
- `os_distro_revision` = (Optional) The operating system version excluding OS name information or release name.

**domain_joined**

Expand Down

0 comments on commit b74219f

Please sign in to comment.