com.pulumi.awsnative.securityhub.kotlin.enums.AutomationRuleWorkflowUpdateStatus.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.securityhub.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to ``SUPPRESSED`` or ``RESOLVED`` does not prevent a new finding for the same issue.
* The allowed values are the following.
* + ``NEW`` - The initial state of a finding, before it is reviewed.
* Security Hub also resets ``WorkFlowStatus`` from ``NOTIFIED`` or ``RESOLVED`` to ``NEW`` in the following cases:
* + The record state changes from ``ARCHIVED`` to ``ACTIVE``.
* + The compliance status changes from ``PASSED`` to either ``WARNING``, ``FAILED``, or ``NOT_AVAILABLE``.
* + ``NOTIFIED`` - Indicates that you notified the resource owner about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner.
* + ``RESOLVED`` - The finding was reviewed and remediated and is now considered resolved.
* + ``SUPPRESSED`` - Indicates that you reviewed the finding and do not believe that any action is needed. The finding is no longer updated.
*/
public enum class AutomationRuleWorkflowUpdateStatus(
public val javaValue: com.pulumi.awsnative.securityhub.enums.AutomationRuleWorkflowUpdateStatus,
) : ConvertibleToJava {
New(com.pulumi.awsnative.securityhub.enums.AutomationRuleWorkflowUpdateStatus.New),
Notified(com.pulumi.awsnative.securityhub.enums.AutomationRuleWorkflowUpdateStatus.Notified),
Resolved(com.pulumi.awsnative.securityhub.enums.AutomationRuleWorkflowUpdateStatus.Resolved),
Suppressed(com.pulumi.awsnative.securityhub.enums.AutomationRuleWorkflowUpdateStatus.Suppressed),
;
override fun toJava(): com.pulumi.awsnative.securityhub.enums.AutomationRuleWorkflowUpdateStatus =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.securityhub.enums.AutomationRuleWorkflowUpdateStatus): AutomationRuleWorkflowUpdateStatus =
AutomationRuleWorkflowUpdateStatus.values().first { it.javaValue == javaType }
}
}