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

com.pulumi.cloudflare.kotlin.inputs.DevicePostureRuleInputArgs.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.40.0.0
Show newest version
@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>) {
        this.checkDisks = Output.all(values)
    }

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

    /**
     * @param value The common name for a certificate.
     */
    @JvmName("bqiwcqyaqsjuqyxf")
    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("ifmrkvfsfporugyb")
    public suspend fun complianceStatus(`value`: Output) {
        this.complianceStatus = value
    }

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

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

    /**
     * @param value The domain that the client must join.
     */
    @JvmName("yygcytdiktoboevg")
    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("ybpneyhlqnwawtqg")
    public suspend fun eidLastSeen(`value`: Output) {
        this.eidLastSeen = value
    }

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

    /**
     * @param value Checks if the file should exist.
     */
    @JvmName("mvxqjnkmvsjueygm")
    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("tbobvldbfbwrqwfq")
    public suspend fun extendedKeyUsages(`value`: Output>) {
        this.extendedKeyUsages = value
    }

    @JvmName("ubdmfnfidctvpppf")
    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("vkapxfmaofepntlx")
    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("tgabpweuojgdhfht")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

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

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

    /**
     * @param value The number of issues for kolide.
     */
    @JvmName("gboagvstoxuxmipx")
    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("fcufwnpovtipjqvq")
    public suspend fun lastSeen(`value`: Output) {
        this.lastSeen = value
    }

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

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

    /**
     * @param values List of locations to check for client certificate posture check.
     */
    @JvmName("ijaospyjurnpqccj")
    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("cloldpishpgygljo")
    public suspend fun networkStatus(`value`: Output) {
        this.networkStatus = value
    }

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @param value The sha256 hash of the file.
     */
    @JvmName("xsthmssuuapqncli")
    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("jkmikfkwkojdqhtq")
    public suspend fun state(`value`: Output) {
        this.state = value
    }

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

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

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

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

    /**
     * @param value The number of active threats from SentinelOne.
     */
    @JvmName("gwnpmdicwthwgdcp")
    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("oqghsgbmsljivqod")
    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("fkiomexhfxbpguej")
    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("ycpuikjbsgqkolan")
    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("lbckkmktthkasxmu")
    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("bfxyvcfekxfdmcjb")
    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("oaepufwxlblurlvp")
    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("exlhicgwnhjrmyci")
    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("dfnglhvwnkopppmc")
    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("uqwbueagjlpyuxpx")
    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("pwiembfcakkosdet")
    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("jkafogbcmymbxiew")
    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("owkwfvcgtvfcmjpj")
    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("mffvuqedkjbqtkeq")
    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("uykswwwtsfacfbsv")
    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("lnnnmgsgyplbechl")
    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("twyahdnlspaplern")
    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("cuwypwpkkfrpmnec")
    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("xrfqdhoepwwakbxx")
    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("eyqajtnfepxwxdpa")
    public suspend fun lastSeen(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.lastSeen = mapped
    }

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

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

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

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

    /**
     * @param values List of locations to check for client certificate posture check.
     */
    @JvmName("qxahbxsplkrvfgoh")
    public suspend fun locations(vararg values: DevicePostureRuleInputLocationArgs) {
        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("aubkcelwnxarmtoi")
    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("aymwjhasayrahvjp")
    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("efjwqiibuudvvngp")
    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("tbwusclhybhfleon")
    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("cxxcnwhrtefdfibh")
    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("pxepwsyfhiemitet")
    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("bvcbninjcfcflmer")
    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("jdbmseshghqfaqvu")
    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("xoquqlwxutuatrfd")
    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("nqsywkkpkyluhtnt")
    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("mepphqsfwatnhykw")
    public suspend fun running(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.running = mapped
    }

    /**
     * @param value Sensor signal score from Crowdstrike. Value must be between 1 and 100.
     */
    @JvmName("rdofpulhfwoigotw")
    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("qlttsqjbairaiyap")
    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("byxisxxjxqutsddb")
    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("sdecbxclivvgehmy")
    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("waooaaossdfjqewd")
    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("vhmxscmlbbylitdc")
    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("ebxqgftkefqsuafm")
    public suspend fun versionOperator(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.versionOperator = mapped
    }

    internal fun build(): DevicePostureRuleInputArgs = DevicePostureRuleInputArgs(
        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,
        sensorConfig = sensorConfig,
        sha256 = sha256,
        state = state,
        thumbprint = thumbprint,
        totalScore = totalScore,
        version = version,
        versionOperator = versionOperator,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy