Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.DevicePostureRuleInputArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property activeThreats The number of active threats from SentinelOne.
* @property certificateId The UUID of a Cloudflare managed certificate.
* @property checkDisks Specific volume(s) to check for encryption.
* @property checkPrivateKey Confirm the certificate was not imported from another device.
* @property cn The common name for a certificate.
* @property complianceStatus The workspace one or intune device compliance status. `compliant` and `noncompliant` are values supported by both providers. `unknown`, `conflict`, `error`, `ingraceperiod` values are only supported by intune. Available values: `compliant`, `noncompliant`, `unknown`, `conflict`, `error`, `ingraceperiod`.
* @property connectionId The workspace one or intune connection id.
* @property countOperator The count comparison operator for kolide. Available values: `>`, `>=`, `<`, `<=`, `==`.
* @property domain The domain that the client must join.
* @property eidLastSeen The time a device last seen in Tanium. Must be in the format `1h` or `30m`. Valid units are `d`, `h` and `m`.
* @property enabled True if the firewall must be enabled.
* @property exists Checks if the file should exist.
* @property extendedKeyUsages List of values indicating purposes for which the certificate public key can be used. Available values: `clientAuth`, `emailProtection`.
* @property id The Teams List id. Required for `serial_number` and `unique_client_id` rule types.
* @property infected True if SentinelOne device is infected.
* @property isActive True if SentinelOne device is active.
* @property issueCount The number of issues for kolide.
* @property lastSeen The duration of time that the host was last seen from Crowdstrike. Must be in the format `1h` or `30m`. Valid units are `d`, `h` and `m`.
* @property locations List of locations to check for client certificate posture check.
* @property networkStatus The network status from SentinelOne. Available values: `connected`, `disconnected`, `disconnecting`, `connecting`.
* @property operator The version comparison operator. Available values: `>`, `>=`, `<`, `<=`, `==`.
* @property os OS signal score from Crowdstrike. Value must be between 1 and 100.
* @property osDistroName The operating system excluding version information.
* @property osDistroRevision The operating system version excluding OS name information or release name.
* @property osVersionExtra Extra version value following the operating system semantic version.
* @property overall Overall ZTA score from Crowdstrike. Value must be between 1 and 100.
* @property path The path to the file.
* @property requireAll True if all drives must be encrypted.
* @property riskLevel The risk level from Tanium. Available values: `low`, `medium`, `high`, `critical`.
* @property running Checks if the application should be running.
* @property sensorConfig Sensor signal score from Crowdstrike. Value must be between 1 and 100.
* @property sha256 The sha256 hash of the file.
* @property state The host’s current online status from Crowdstrike. Available values: `online`, `offline`, `unknown`.
* @property thumbprint The thumbprint of the file certificate.
* @property totalScore The total score from Tanium.
* @property version The operating system semantic version.
* @property versionOperator The version comparison operator for crowdstrike. Available values: `>`, `>=`, `<`, `<=`, `==`.
*/
public data class DevicePostureRuleInputArgs(
public val activeThreats: Output? = null,
public val certificateId: Output? = null,
public val checkDisks: Output>? = null,
public val checkPrivateKey: Output? = null,
public val cn: Output? = null,
public val complianceStatus: Output? = null,
public val connectionId: Output? = null,
public val countOperator: Output? = null,
public val domain: Output? = null,
public val eidLastSeen: Output? = null,
public val enabled: Output? = null,
public val exists: Output? = null,
public val extendedKeyUsages: Output>? = null,
public val id: Output? = null,
public val infected: Output? = null,
public val isActive: Output? = null,
public val issueCount: Output? = null,
public val lastSeen: Output? = null,
public val locations: Output>? = null,
public val networkStatus: Output? = null,
public val `operator`: Output? = null,
public val os: Output? = null,
public val osDistroName: Output? = null,
public val osDistroRevision: Output? = null,
public val osVersionExtra: Output? = null,
public val overall: Output? = null,
public val path: Output? = null,
public val requireAll: Output? = null,
public val riskLevel: Output? = null,
public val running: Output? = null,
public val sensorConfig: Output? = null,
public val sha256: Output? = null,
public val state: Output? = null,
public val thumbprint: Output? = null,
public val totalScore: Output? = null,
public val version: Output? = null,
public val versionOperator: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.DevicePostureRuleInputArgs =
com.pulumi.cloudflare.inputs.DevicePostureRuleInputArgs.builder()
.activeThreats(activeThreats?.applyValue({ args0 -> args0 }))
.certificateId(certificateId?.applyValue({ args0 -> args0 }))
.checkDisks(checkDisks?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.checkPrivateKey(checkPrivateKey?.applyValue({ args0 -> args0 }))
.cn(cn?.applyValue({ args0 -> args0 }))
.complianceStatus(complianceStatus?.applyValue({ args0 -> args0 }))
.connectionId(connectionId?.applyValue({ args0 -> args0 }))
.countOperator(countOperator?.applyValue({ args0 -> args0 }))
.domain(domain?.applyValue({ args0 -> args0 }))
.eidLastSeen(eidLastSeen?.applyValue({ args0 -> args0 }))
.enabled(enabled?.applyValue({ args0 -> args0 }))
.exists(exists?.applyValue({ args0 -> args0 }))
.extendedKeyUsages(extendedKeyUsages?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.id(id?.applyValue({ args0 -> args0 }))
.infected(infected?.applyValue({ args0 -> args0 }))
.isActive(isActive?.applyValue({ args0 -> args0 }))
.issueCount(issueCount?.applyValue({ args0 -> args0 }))
.lastSeen(lastSeen?.applyValue({ args0 -> args0 }))
.locations(
locations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.networkStatus(networkStatus?.applyValue({ args0 -> args0 }))
.`operator`(`operator`?.applyValue({ args0 -> args0 }))
.os(os?.applyValue({ args0 -> args0 }))
.osDistroName(osDistroName?.applyValue({ args0 -> args0 }))
.osDistroRevision(osDistroRevision?.applyValue({ args0 -> args0 }))
.osVersionExtra(osVersionExtra?.applyValue({ args0 -> args0 }))
.overall(overall?.applyValue({ args0 -> args0 }))
.path(path?.applyValue({ args0 -> args0 }))
.requireAll(requireAll?.applyValue({ args0 -> args0 }))
.riskLevel(riskLevel?.applyValue({ args0 -> args0 }))
.running(running?.applyValue({ args0 -> args0 }))
.sensorConfig(sensorConfig?.applyValue({ args0 -> args0 }))
.sha256(sha256?.applyValue({ args0 -> args0 }))
.state(state?.applyValue({ args0 -> args0 }))
.thumbprint(thumbprint?.applyValue({ args0 -> args0 }))
.totalScore(totalScore?.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0 }))
.versionOperator(versionOperator?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DevicePostureRuleInputArgs].
*/
@PulumiTagMarker
public class DevicePostureRuleInputArgsBuilder internal constructor() {
private var activeThreats: Output? = null
private var certificateId: Output? = null
private var checkDisks: Output>? = null
private var checkPrivateKey: Output? = null
private var cn: Output? = null
private var complianceStatus: Output? = null
private var connectionId: Output? = null
private var countOperator: Output? = null
private var domain: Output? = null
private var eidLastSeen: Output? = null
private var enabled: Output? = null
private var exists: Output? = null
private var extendedKeyUsages: Output>? = null
private var id: Output? = null
private var infected: Output? = null
private var isActive: Output? = null
private var issueCount: Output? = null
private var lastSeen: Output? = null
private var locations: Output>? = null
private var networkStatus: Output? = null
private var `operator`: Output? = null
private var os: Output? = null
private var osDistroName: Output? = null
private var osDistroRevision: Output? = null
private var osVersionExtra: Output? = null
private var overall: Output? = null
private var path: Output? = null
private var requireAll: Output? = null
private var riskLevel: Output? = null
private var running: Output? = null
private var sensorConfig: Output? = null
private var sha256: Output? = null
private var state: Output? = null
private var thumbprint: Output? = null
private var totalScore: Output? = null
private var version: Output? = null
private var versionOperator: Output? = null
/**
* @param value The number of active threats from SentinelOne.
*/
@JvmName("palvkraxnvpxhqqp")
public suspend fun activeThreats(`value`: Output) {
this.activeThreats = value
}
/**
* @param value The UUID of a Cloudflare managed certificate.
*/
@JvmName("ehgpidewakldcmwt")
public suspend fun certificateId(`value`: Output) {
this.certificateId = value
}
/**
* @param value Specific volume(s) to check for encryption.
*/
@JvmName("stsrijcbbaqjuotc")
public suspend fun checkDisks(`value`: Output>) {
this.checkDisks = value
}
@JvmName("hxepwfpioyqrssxi")
public suspend fun checkDisks(vararg values: Output) {
this.checkDisks = Output.all(values.asList())
}
/**
* @param values Specific volume(s) to check for encryption.
*/
@JvmName("jpyxeteqvwxsmaap")
public suspend fun checkDisks(values: List