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

com.pulumi.azure.sentinel.kotlin.outputs.AuthomationRuleActionIncident.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.sentinel.kotlin.outputs

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

/**
 *
 * @property classification The classification of the incident, when closing it. Possible values are: `BenignPositive_SuspiciousButExpected`, `FalsePositive_InaccurateData`, `FalsePositive_IncorrectAlertLogic`, `TruePositive_SuspiciousActivity` and `Undetermined`.
 * > **Note:** The `classification` is required when `status` is `Closed`.
 * @property classificationComment The comment why the incident is to be closed.
 * > **Note:** The `classification_comment` is allowed to set only when `status` is `Closed`.
 * @property labels Specifies a list of labels to add to the incident.
 * @property order The execution order of this action.
 * @property ownerId The object ID of the entity this incident is assigned to.
 * @property severity The severity to add to the incident. Possible values are `High`, `Informational`, `Low` and `Medium`.
 * > **Note:**: At least one of `status`, `labels`, `owner_id` and `severity` has to be set.
 * @property status The status to set to the incident. Possible values are: `Active`, `Closed`, `New`.
 */
public data class AuthomationRuleActionIncident(
    public val classification: String? = null,
    public val classificationComment: String? = null,
    public val labels: List? = null,
    public val order: Int,
    public val ownerId: String? = null,
    public val severity: String? = null,
    public val status: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.sentinel.outputs.AuthomationRuleActionIncident):
            AuthomationRuleActionIncident = AuthomationRuleActionIncident(
            classification = javaType.classification().map({ args0 -> args0 }).orElse(null),
            classificationComment = javaType.classificationComment().map({ args0 -> args0 }).orElse(null),
            labels = javaType.labels().map({ args0 -> args0 }),
            order = javaType.order(),
            ownerId = javaType.ownerId().map({ args0 -> args0 }).orElse(null),
            severity = javaType.severity().map({ args0 -> args0 }).orElse(null),
            status = javaType.status().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy