DevicePostureRuleArgs

data class DevicePostureRuleArgs constructor(val accountId: Output<String>? = null, val description: Output<String>? = null, val expiration: Output<String>? = null, val input: Output<DevicePostureRuleInputArgs>? = null, val matches: Output<List<DevicePostureRuleMatchArgs>>? = null, val name: Output<String>? = null, val schedule: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<DevicePostureRuleArgs>

Example Usage

resources:
exampleZeroTrustDevicePostureRule:
type: cloudflare:ZeroTrustDevicePostureRule
name: example_zero_trust_device_posture_rule
properties:
accountId: 699d98642c564d2e855e9661899b7252
name: Admin Serial Numbers
type: file
description: The rule for admin serial numbers
expiration: 1h
input:
operating_system: windows
path: /bin/cat
exists: true
sha256: https://api.us-2.crowdstrike.com
thumbprint: 0aabab210bdb998e9cf45da2c9ce352977ab531c681b74cf1e487be1bbe9fe6e
matches:
- platform: windows
schedule: 1h

Import

$ pulumi import cloudflare:index/devicePostureRule:DevicePostureRule example '<account_id>/<rule_id>'

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, description: Output<String>? = null, expiration: Output<String>? = null, input: Output<DevicePostureRuleInputArgs>? = null, matches: Output<List<DevicePostureRuleMatchArgs>>? = null, name: Output<String>? = null, schedule: Output<String>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null
Link copied to clipboard
val description: Output<String>? = null

The description of the device posture rule.

Link copied to clipboard
val expiration: Output<String>? = null

Sets the expiration time for a posture check result. If empty, the result remains valid until it is overwritten by new data from the WARP client.

Link copied to clipboard
val input: Output<DevicePostureRuleInputArgs>? = null

The value to be checked against.

Link copied to clipboard

The conditions that the client must match to run the rule.

Link copied to clipboard
val name: Output<String>? = null

The name of the device posture rule.

Link copied to clipboard
val schedule: Output<String>? = null

Polling frequency for the WARP client posture check. Default: 5m (poll every five minutes). Minimum: 1m.

Link copied to clipboard
val type: Output<String>? = null

The type of device posture rule. Available values: "file", "application", "tanium", "gateway", "warp", "diskencryption", "sentinelone", "carbonblack", "firewall", "osversion", "domainjoined", "clientcertificate", "clientcertificatev2", "uniqueclientid", "kolide", "taniums2s", "crowdstrikes2s", "intune", "workspaceone", "sentinelones2s", "custom_s2s".

Functions

Link copied to clipboard
open override fun toJava(): DevicePostureRuleArgs