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

com.pulumi.cloudflare.kotlin.outputs.DevicePostureRuleInput.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.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 DevicePostureRuleInput(
    public val activeThreats: Int? = null,
    public val certificateId: String? = null,
    public val checkDisks: List? = null,
    public val checkPrivateKey: Boolean? = null,
    public val cn: String? = null,
    public val complianceStatus: String? = null,
    public val connectionId: String? = null,
    public val countOperator: String? = null,
    public val domain: String? = null,
    public val eidLastSeen: String? = null,
    public val enabled: Boolean? = null,
    public val exists: Boolean? = null,
    public val extendedKeyUsages: List? = null,
    public val id: String? = null,
    public val infected: Boolean? = null,
    public val isActive: Boolean? = null,
    public val issueCount: String? = null,
    public val lastSeen: String? = null,
    public val locations: List? = null,
    public val networkStatus: String? = null,
    public val `operator`: String? = null,
    public val os: String? = null,
    public val osDistroName: String? = null,
    public val osDistroRevision: String? = null,
    public val osVersionExtra: String? = null,
    public val overall: String? = null,
    public val path: String? = null,
    public val requireAll: Boolean? = null,
    public val riskLevel: String? = null,
    public val running: Boolean? = null,
    public val sensorConfig: String? = null,
    public val sha256: String? = null,
    public val state: String? = null,
    public val thumbprint: String? = null,
    public val totalScore: Int? = null,
    public val version: String? = null,
    public val versionOperator: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.DevicePostureRuleInput): DevicePostureRuleInput = DevicePostureRuleInput(
            activeThreats = javaType.activeThreats().map({ args0 -> args0 }).orElse(null),
            certificateId = javaType.certificateId().map({ args0 -> args0 }).orElse(null),
            checkDisks = javaType.checkDisks().map({ args0 -> args0 }),
            checkPrivateKey = javaType.checkPrivateKey().map({ args0 -> args0 }).orElse(null),
            cn = javaType.cn().map({ args0 -> args0 }).orElse(null),
            complianceStatus = javaType.complianceStatus().map({ args0 -> args0 }).orElse(null),
            connectionId = javaType.connectionId().map({ args0 -> args0 }).orElse(null),
            countOperator = javaType.countOperator().map({ args0 -> args0 }).orElse(null),
            domain = javaType.domain().map({ args0 -> args0 }).orElse(null),
            eidLastSeen = javaType.eidLastSeen().map({ args0 -> args0 }).orElse(null),
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            exists = javaType.exists().map({ args0 -> args0 }).orElse(null),
            extendedKeyUsages = javaType.extendedKeyUsages().map({ args0 -> args0 }),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            infected = javaType.infected().map({ args0 -> args0 }).orElse(null),
            isActive = javaType.isActive().map({ args0 -> args0 }).orElse(null),
            issueCount = javaType.issueCount().map({ args0 -> args0 }).orElse(null),
            lastSeen = javaType.lastSeen().map({ args0 -> args0 }).orElse(null),
            locations = javaType.locations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.DevicePostureRuleInputLocation.Companion.toKotlin(args0)
                })
            }),
            networkStatus = javaType.networkStatus().map({ args0 -> args0 }).orElse(null),
            `operator` = javaType.`operator`().map({ args0 -> args0 }).orElse(null),
            os = javaType.os().map({ args0 -> args0 }).orElse(null),
            osDistroName = javaType.osDistroName().map({ args0 -> args0 }).orElse(null),
            osDistroRevision = javaType.osDistroRevision().map({ args0 -> args0 }).orElse(null),
            osVersionExtra = javaType.osVersionExtra().map({ args0 -> args0 }).orElse(null),
            overall = javaType.overall().map({ args0 -> args0 }).orElse(null),
            path = javaType.path().map({ args0 -> args0 }).orElse(null),
            requireAll = javaType.requireAll().map({ args0 -> args0 }).orElse(null),
            riskLevel = javaType.riskLevel().map({ args0 -> args0 }).orElse(null),
            running = javaType.running().map({ args0 -> args0 }).orElse(null),
            sensorConfig = javaType.sensorConfig().map({ args0 -> args0 }).orElse(null),
            sha256 = javaType.sha256().map({ args0 -> args0 }).orElse(null),
            state = javaType.state().map({ args0 -> args0 }).orElse(null),
            thumbprint = javaType.thumbprint().map({ args0 -> args0 }).orElse(null),
            totalScore = javaType.totalScore().map({ args0 -> args0 }).orElse(null),
            version = javaType.version().map({ args0 -> args0 }).orElse(null),
            versionOperator = javaType.versionOperator().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy