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

com.pulumi.gcp.securitycenter.kotlin.outputs.ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfig.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: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.securitycenter.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property customOutput Custom output properties.
 * Structure is documented below.
 * @property description Text that describes the vulnerability or misconfiguration that the custom
 * module detects. This explanation is returned with each finding instance to
 * help investigators understand the detected issue. The text must be enclosed in quotation marks.
 * @property predicate The CEL expression to evaluate to produce findings. When the expression evaluates
 * to true against a resource, a finding is generated.
 * Structure is documented below.
 * @property recommendation An explanation of the recommended steps that security teams can take to resolve
 * the detected issue. This explanation is returned with each finding generated by
 * this module in the nextSteps property of the finding JSON.
 * @property resourceSelector The resource types that the custom module operates on. Each custom module
 * can specify up to 5 resource types.
 * Structure is documented below.
 * @property severity The severity to assign to findings generated by the module.
 * Possible values are: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`.
 */
public data class ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfig(
    public val customOutput: ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutput? = null,
    public val description: String? = null,
    public val predicate: ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigPredicate? =
        null,
    public val recommendation: String? = null,
    public val resourceSelector: ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelector? = null,
    public val severity: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.securitycenter.outputs.ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfig): ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfig =
            ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfig(
                customOutput = javaType.customOutput().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.securitycenter.kotlin.outputs.ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutput.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                description = javaType.description().map({ args0 -> args0 }).orElse(null),
                predicate = javaType.predicate().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.securitycenter.kotlin.outputs.ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigPredicate.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                recommendation = javaType.recommendation().map({ args0 -> args0 }).orElse(null),
                resourceSelector = javaType.resourceSelector().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.securitycenter.kotlin.outputs.ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelector.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                severity = javaType.severity().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy