All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.cloudflare.kotlin.inputs.ZeroTrustDevicePostureRuleInputArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 5.47.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.ZeroTrustDevicePostureRuleInputArgs.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 operating system locations to check for a client certificate..
 * @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 score A value between 0-100 assigned to devices set by the 3rd party posture provider for custom device posture integrations.
 * @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 ZeroTrustDevicePostureRuleInputArgs(
    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 score: 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.ZeroTrustDevicePostureRuleInputArgs =
        com.pulumi.cloudflare.inputs.ZeroTrustDevicePostureRuleInputArgs.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 }))
            .score(score?.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 [ZeroTrustDevicePostureRuleInputArgs].
 */
@PulumiTagMarker
public class ZeroTrustDevicePostureRuleInputArgsBuilder 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 score: 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("khdygflilpjoveqg")
    public suspend fun activeThreats(`value`: Output) {
        this.activeThreats = value
    }

    /**
     * @param value The UUID of a Cloudflare managed certificate.
     */
    @JvmName("hhkpxoqxhlpvxybw")
    public suspend fun certificateId(`value`: Output) {
        this.certificateId = value
    }

    /**
     * @param value Specific volume(s) to check for encryption.
     */
    @JvmName("oxngklobosfjndyd")
    public suspend fun checkDisks(`value`: Output>) {
        this.checkDisks = value
    }

    @JvmName("tncdcilyigcdptdn")
    public suspend fun checkDisks(vararg values: Output) {
        this.checkDisks = Output.all(values.asList())
    }

    /**
     * @param values Specific volume(s) to check for encryption.
     */
    @JvmName("ilwigexsipeqglls")
    public suspend fun checkDisks(values: List>) {
        this.checkDisks = Output.all(values)
    }

    /**
     * @param value Confirm the certificate was not imported from another device.
     */
    @JvmName("csipaplvbooejirn")
    public suspend fun checkPrivateKey(`value`: Output) {
        this.checkPrivateKey = value
    }

    /**
     * @param value The common name for a certificate.
     */
    @JvmName("fbusgrqmcujmxnab")
    public suspend fun cn(`value`: Output) {
        this.cn = value
    }

    /**
     * @param value 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`.
     */
    @JvmName("bajovoafpudjpcyf")
    public suspend fun complianceStatus(`value`: Output) {
        this.complianceStatus = value
    }

    /**
     * @param value The workspace one or intune connection id.
     */
    @JvmName("qsfamwyvcofrvxdj")
    public suspend fun connectionId(`value`: Output) {
        this.connectionId = value
    }

    /**
     * @param value The count comparison operator for kolide. Available values: `>`, `>=`, `<`, `<=`, `==`.
     */
    @JvmName("kxrvplrfwqdlkreo")
    public suspend fun countOperator(`value`: Output) {
        this.countOperator = value
    }

    /**
     * @param value The domain that the client must join.
     */
    @JvmName("uhhvpbndetqggkfe")
    public suspend fun domain(`value`: Output) {
        this.domain = value
    }

    /**
     * @param value The time a device last seen in Tanium. Must be in the format `1h` or `30m`. Valid units are `d`, `h` and `m`.
     */
    @JvmName("sbyqjsqxldjdymlm")
    public suspend fun eidLastSeen(`value`: Output) {
        this.eidLastSeen = value
    }

    /**
     * @param value True if the firewall must be enabled.
     */
    @JvmName("qjajjbodwierckdb")
    public suspend fun enabled(`value`: Output) {
        this.enabled = value
    }

    /**
     * @param value Checks if the file should exist.
     */
    @JvmName("srykwrpplproaoto")
    public suspend fun exists(`value`: Output) {
        this.exists = value
    }

    /**
     * @param value List of values indicating purposes for which the certificate public key can be used. Available values: `clientAuth`, `emailProtection`.
     */
    @JvmName("gdtslbdrednnopsi")
    public suspend fun extendedKeyUsages(`value`: Output>) {
        this.extendedKeyUsages = value
    }

    @JvmName("xijvfqexrhspcumd")
    public suspend fun extendedKeyUsages(vararg values: Output) {
        this.extendedKeyUsages = Output.all(values.asList())
    }

    /**
     * @param values List of values indicating purposes for which the certificate public key can be used. Available values: `clientAuth`, `emailProtection`.
     */
    @JvmName("ixuhauabjqlxrbej")
    public suspend fun extendedKeyUsages(values: List>) {
        this.extendedKeyUsages = Output.all(values)
    }

    /**
     * @param value The Teams List id. Required for `serial_number` and `unique_client_id` rule types.
     */
    @JvmName("ermoqhpucpxvrsjo")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value True if SentinelOne device is infected.
     */
    @JvmName("cijlcrqddujxgbva")
    public suspend fun infected(`value`: Output) {
        this.infected = value
    }

    /**
     * @param value True if SentinelOne device is active.
     */
    @JvmName("dwvklepfnepdhayc")
    public suspend fun isActive(`value`: Output) {
        this.isActive = value
    }

    /**
     * @param value The number of issues for kolide.
     */
    @JvmName("qccxwmcjtqykgtqu")
    public suspend fun issueCount(`value`: Output) {
        this.issueCount = value
    }

    /**
     * @param value 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`.
     */
    @JvmName("hiajrvgyredlgejk")
    public suspend fun lastSeen(`value`: Output) {
        this.lastSeen = value
    }

    /**
     * @param value List of operating system locations to check for a client certificate..
     */
    @JvmName("yormkrdgrmvphgok")
    public suspend fun locations(`value`: Output>) {
        this.locations = value
    }

    @JvmName("jvdxkkgkwwpisiyo")
    public suspend fun locations(vararg values: Output) {
        this.locations = Output.all(values.asList())
    }

    /**
     * @param values List of operating system locations to check for a client certificate..
     */
    @JvmName("oyxysuynahikehxb")
    public suspend fun locations(values: List>) {
        this.locations = Output.all(values)
    }

    /**
     * @param value The network status from SentinelOne. Available values: `connected`, `disconnected`, `disconnecting`, `connecting`.
     */
    @JvmName("dejpubvmvvbinhyj")
    public suspend fun networkStatus(`value`: Output) {
        this.networkStatus = value
    }

    /**
     * @param value The version comparison operator. Available values: `>`, `>=`, `<`, `<=`, `==`.
     */
    @JvmName("pivfkdlevvvhdywk")
    public suspend fun `operator`(`value`: Output) {
        this.`operator` = value
    }

    /**
     * @param value OS signal score from Crowdstrike. Value must be between 1 and 100.
     */
    @JvmName("kjtqmvynlmogdibl")
    public suspend fun os(`value`: Output) {
        this.os = value
    }

    /**
     * @param value The operating system excluding version information.
     */
    @JvmName("liynqkpnogjcqaum")
    public suspend fun osDistroName(`value`: Output) {
        this.osDistroName = value
    }

    /**
     * @param value The operating system version excluding OS name information or release name.
     */
    @JvmName("sbnxxwjaholhsjkg")
    public suspend fun osDistroRevision(`value`: Output) {
        this.osDistroRevision = value
    }

    /**
     * @param value Extra version value following the operating system semantic version.
     */
    @JvmName("spxhgrmlbxerwrdc")
    public suspend fun osVersionExtra(`value`: Output) {
        this.osVersionExtra = value
    }

    /**
     * @param value Overall ZTA score from Crowdstrike. Value must be between 1 and 100.
     */
    @JvmName("oqqbjtvtacgglcbo")
    public suspend fun overall(`value`: Output) {
        this.overall = value
    }

    /**
     * @param value The path to the file.
     */
    @JvmName("nyartyoektrbnglc")
    public suspend fun path(`value`: Output) {
        this.path = value
    }

    /**
     * @param value True if all drives must be encrypted.
     */
    @JvmName("fqwsnpkpkgdrhept")
    public suspend fun requireAll(`value`: Output) {
        this.requireAll = value
    }

    /**
     * @param value The risk level from Tanium. Available values: `low`, `medium`, `high`, `critical`.
     */
    @JvmName("lqgjbgdiawyushge")
    public suspend fun riskLevel(`value`: Output) {
        this.riskLevel = value
    }

    /**
     * @param value Checks if the application should be running.
     */
    @JvmName("mhhbcxtbilnboclt")
    public suspend fun running(`value`: Output) {
        this.running = value
    }

    /**
     * @param value A value between 0-100 assigned to devices set by the 3rd party posture provider for custom device posture integrations.
     */
    @JvmName("vamscqsekygddwhk")
    public suspend fun score(`value`: Output) {
        this.score = value
    }

    /**
     * @param value Sensor signal score from Crowdstrike. Value must be between 1 and 100.
     */
    @JvmName("bxjmhkattisdttvm")
    public suspend fun sensorConfig(`value`: Output) {
        this.sensorConfig = value
    }

    /**
     * @param value The sha256 hash of the file.
     */
    @JvmName("actgbuhnxriscpju")
    public suspend fun sha256(`value`: Output) {
        this.sha256 = value
    }

    /**
     * @param value The host’s current online status from Crowdstrike. Available values: `online`, `offline`, `unknown`.
     */
    @JvmName("grkpikqflyygqfja")
    public suspend fun state(`value`: Output) {
        this.state = value
    }

    /**
     * @param value The thumbprint of the file certificate.
     */
    @JvmName("rvedqwnbvwfjpetu")
    public suspend fun thumbprint(`value`: Output) {
        this.thumbprint = value
    }

    /**
     * @param value The total score from Tanium.
     */
    @JvmName("crilkomeswxxnjqh")
    public suspend fun totalScore(`value`: Output) {
        this.totalScore = value
    }

    /**
     * @param value The operating system semantic version.
     */
    @JvmName("jnbqnjqgutcmswdy")
    public suspend fun version(`value`: Output) {
        this.version = value
    }

    /**
     * @param value The version comparison operator for Crowdstrike. Available values: `>`, `>=`, `<`, `<=`, `==`.
     */
    @JvmName("mddcnnnrudqshiwg")
    public suspend fun versionOperator(`value`: Output) {
        this.versionOperator = value
    }

    /**
     * @param value The number of active threats from SentinelOne.
     */
    @JvmName("lssoxutcnbsrooer")
    public suspend fun activeThreats(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.activeThreats = mapped
    }

    /**
     * @param value The UUID of a Cloudflare managed certificate.
     */
    @JvmName("cbxgwvkmyqbtgspq")
    public suspend fun certificateId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificateId = mapped
    }

    /**
     * @param value Specific volume(s) to check for encryption.
     */
    @JvmName("bnllrgleiiaqofhn")
    public suspend fun checkDisks(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.checkDisks = mapped
    }

    /**
     * @param values Specific volume(s) to check for encryption.
     */
    @JvmName("jxaagrkogifylund")
    public suspend fun checkDisks(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.checkDisks = mapped
    }

    /**
     * @param value Confirm the certificate was not imported from another device.
     */
    @JvmName("pebxpjhhuhbkbubj")
    public suspend fun checkPrivateKey(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.checkPrivateKey = mapped
    }

    /**
     * @param value The common name for a certificate.
     */
    @JvmName("arxdjncdxbsvefmd")
    public suspend fun cn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cn = mapped
    }

    /**
     * @param value 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`.
     */
    @JvmName("ygehcunkcuagulls")
    public suspend fun complianceStatus(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.complianceStatus = mapped
    }

    /**
     * @param value The workspace one or intune connection id.
     */
    @JvmName("rvkenncbjawqnwqh")
    public suspend fun connectionId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.connectionId = mapped
    }

    /**
     * @param value The count comparison operator for kolide. Available values: `>`, `>=`, `<`, `<=`, `==`.
     */
    @JvmName("ttagqlorwdpgfrne")
    public suspend fun countOperator(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.countOperator = mapped
    }

    /**
     * @param value The domain that the client must join.
     */
    @JvmName("vixkdwlvgsjjipfu")
    public suspend fun domain(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.domain = mapped
    }

    /**
     * @param value The time a device last seen in Tanium. Must be in the format `1h` or `30m`. Valid units are `d`, `h` and `m`.
     */
    @JvmName("hlitkfewpvfyvupi")
    public suspend fun eidLastSeen(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.eidLastSeen = mapped
    }

    /**
     * @param value True if the firewall must be enabled.
     */
    @JvmName("ufmxjjrpfxynutgt")
    public suspend fun enabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enabled = mapped
    }

    /**
     * @param value Checks if the file should exist.
     */
    @JvmName("shyeqonsrmjdaxbf")
    public suspend fun exists(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.exists = mapped
    }

    /**
     * @param value List of values indicating purposes for which the certificate public key can be used. Available values: `clientAuth`, `emailProtection`.
     */
    @JvmName("lvkrhaeptqmummwv")
    public suspend fun extendedKeyUsages(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.extendedKeyUsages = mapped
    }

    /**
     * @param values List of values indicating purposes for which the certificate public key can be used. Available values: `clientAuth`, `emailProtection`.
     */
    @JvmName("efuckdxuuceovfkq")
    public suspend fun extendedKeyUsages(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.extendedKeyUsages = mapped
    }

    /**
     * @param value The Teams List id. Required for `serial_number` and `unique_client_id` rule types.
     */
    @JvmName("eibblowvsjcyvoxg")
    public suspend fun id(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value True if SentinelOne device is infected.
     */
    @JvmName("rvvbygkbgjfeymrl")
    public suspend fun infected(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.infected = mapped
    }

    /**
     * @param value True if SentinelOne device is active.
     */
    @JvmName("vbgvlejovlpixcdp")
    public suspend fun isActive(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isActive = mapped
    }

    /**
     * @param value The number of issues for kolide.
     */
    @JvmName("wnwlutixbnvybdir")
    public suspend fun issueCount(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.issueCount = mapped
    }

    /**
     * @param value 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`.
     */
    @JvmName("iniatfmwrdespeyb")
    public suspend fun lastSeen(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.lastSeen = mapped
    }

    /**
     * @param value List of operating system locations to check for a client certificate..
     */
    @JvmName("xkgpygjisaunboiw")
    public suspend fun locations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.locations = mapped
    }

    /**
     * @param argument List of operating system locations to check for a client certificate..
     */
    @JvmName("lvycnpiwcrhocpkn")
    public suspend fun locations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ZeroTrustDevicePostureRuleInputLocationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.locations = mapped
    }

    /**
     * @param argument List of operating system locations to check for a client certificate..
     */
    @JvmName("twxpkotkjnoftqlw")
    public suspend fun locations(vararg argument: suspend ZeroTrustDevicePostureRuleInputLocationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ZeroTrustDevicePostureRuleInputLocationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.locations = mapped
    }

    /**
     * @param argument List of operating system locations to check for a client certificate..
     */
    @JvmName("tgjheuomkqceyaxl")
    public suspend fun locations(argument: suspend ZeroTrustDevicePostureRuleInputLocationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ZeroTrustDevicePostureRuleInputLocationArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.locations = mapped
    }

    /**
     * @param values List of operating system locations to check for a client certificate..
     */
    @JvmName("qsdjeerjoplaejqa")
    public suspend fun locations(vararg values: ZeroTrustDevicePostureRuleInputLocationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.locations = mapped
    }

    /**
     * @param value The network status from SentinelOne. Available values: `connected`, `disconnected`, `disconnecting`, `connecting`.
     */
    @JvmName("gdvmmqbifgvmhrik")
    public suspend fun networkStatus(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkStatus = mapped
    }

    /**
     * @param value The version comparison operator. Available values: `>`, `>=`, `<`, `<=`, `==`.
     */
    @JvmName("cojdheftcwdcqjjb")
    public suspend fun `operator`(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`operator` = mapped
    }

    /**
     * @param value OS signal score from Crowdstrike. Value must be between 1 and 100.
     */
    @JvmName("xmwwmwcyopqeiwwu")
    public suspend fun os(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.os = mapped
    }

    /**
     * @param value The operating system excluding version information.
     */
    @JvmName("rxjuqgbdofolthet")
    public suspend fun osDistroName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.osDistroName = mapped
    }

    /**
     * @param value The operating system version excluding OS name information or release name.
     */
    @JvmName("fyrranexhsvqnmom")
    public suspend fun osDistroRevision(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.osDistroRevision = mapped
    }

    /**
     * @param value Extra version value following the operating system semantic version.
     */
    @JvmName("ubodxstglhvqlwsj")
    public suspend fun osVersionExtra(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.osVersionExtra = mapped
    }

    /**
     * @param value Overall ZTA score from Crowdstrike. Value must be between 1 and 100.
     */
    @JvmName("xdpjkrcfydvgfbxl")
    public suspend fun overall(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.overall = mapped
    }

    /**
     * @param value The path to the file.
     */
    @JvmName("iksvnimcindpodij")
    public suspend fun path(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.path = mapped
    }

    /**
     * @param value True if all drives must be encrypted.
     */
    @JvmName("nonkkdkmwtyumnfh")
    public suspend fun requireAll(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.requireAll = mapped
    }

    /**
     * @param value The risk level from Tanium. Available values: `low`, `medium`, `high`, `critical`.
     */
    @JvmName("mpsoewquwtmtabiv")
    public suspend fun riskLevel(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.riskLevel = mapped
    }

    /**
     * @param value Checks if the application should be running.
     */
    @JvmName("njihtmfnfiyyqrdm")
    public suspend fun running(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.running = mapped
    }

    /**
     * @param value A value between 0-100 assigned to devices set by the 3rd party posture provider for custom device posture integrations.
     */
    @JvmName("ianecuxewtcssnin")
    public suspend fun score(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.score = mapped
    }

    /**
     * @param value Sensor signal score from Crowdstrike. Value must be between 1 and 100.
     */
    @JvmName("tittyndpmxenhnwb")
    public suspend fun sensorConfig(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sensorConfig = mapped
    }

    /**
     * @param value The sha256 hash of the file.
     */
    @JvmName("fxakkysvhbyyhaty")
    public suspend fun sha256(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sha256 = mapped
    }

    /**
     * @param value The host’s current online status from Crowdstrike. Available values: `online`, `offline`, `unknown`.
     */
    @JvmName("bjjhcdskvvqnabwx")
    public suspend fun state(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.state = mapped
    }

    /**
     * @param value The thumbprint of the file certificate.
     */
    @JvmName("ugevmnerqxqfpopl")
    public suspend fun thumbprint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.thumbprint = mapped
    }

    /**
     * @param value The total score from Tanium.
     */
    @JvmName("svpfidswqsjiulay")
    public suspend fun totalScore(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.totalScore = mapped
    }

    /**
     * @param value The operating system semantic version.
     */
    @JvmName("sxjlglaopygdwxqq")
    public suspend fun version(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.version = mapped
    }

    /**
     * @param value The version comparison operator for Crowdstrike. Available values: `>`, `>=`, `<`, `<=`, `==`.
     */
    @JvmName("bcfemnqtaslkhdep")
    public suspend fun versionOperator(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.versionOperator = mapped
    }

    internal fun build(): ZeroTrustDevicePostureRuleInputArgs = ZeroTrustDevicePostureRuleInputArgs(
        activeThreats = activeThreats,
        certificateId = certificateId,
        checkDisks = checkDisks,
        checkPrivateKey = checkPrivateKey,
        cn = cn,
        complianceStatus = complianceStatus,
        connectionId = connectionId,
        countOperator = countOperator,
        domain = domain,
        eidLastSeen = eidLastSeen,
        enabled = enabled,
        exists = exists,
        extendedKeyUsages = extendedKeyUsages,
        id = id,
        infected = infected,
        isActive = isActive,
        issueCount = issueCount,
        lastSeen = lastSeen,
        locations = locations,
        networkStatus = networkStatus,
        `operator` = `operator`,
        os = os,
        osDistroName = osDistroName,
        osDistroRevision = osDistroRevision,
        osVersionExtra = osVersionExtra,
        overall = overall,
        path = path,
        requireAll = requireAll,
        riskLevel = riskLevel,
        running = running,
        score = score,
        sensorConfig = sensorConfig,
        sha256 = sha256,
        state = state,
        thumbprint = thumbprint,
        totalScore = totalScore,
        version = version,
        versionOperator = versionOperator,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy