Use this data source to lookup a list of Device Posture Rule
data "cloudflare_device_posture_rules" "example" {
account_id = "f037e56e89293a057740de681ac9abbe"
name = "check for /dev/random"
type = "file"
}
account_id
(String) The account identifier to target for the resource.name
(String) Name of the Device Posture Rule.type
(String) The device posture rule type. Available values: serial_number
, file
, application
, gateway
, warp
, domain_joined
, os_version
, disk_encryption
, firewall
, client_certificate
, workspace_one
, unique_client_id
, crowdstrike_s2s
, sentinelone
, kolide
, tanium_s2s
, intune
, sentinelone_s2s
.id
(String) The ID of this resource.rules
(List of Object) A list of matching Device Posture Rules. (see below for nested schema)rules
Read-Only:
description
(String)expiration
(String)id
(String)name
(String)schedule
(String)type
(String)