GoogleCloudSecuritycenterV1CustomConfigArgs

data class GoogleCloudSecuritycenterV1CustomConfigArgs(val customOutput: Output<GoogleCloudSecuritycenterV1CustomOutputSpecArgs>? = null, val description: Output<String>? = null, val predicate: Output<ExprArgs>? = null, val recommendation: Output<String>? = null, val resourceSelector: Output<GoogleCloudSecuritycenterV1ResourceSelectorArgs>? = null, val severity: Output<GoogleCloudSecuritycenterV1CustomConfigSeverity>? = null) : ConvertibleToJava<GoogleCloudSecuritycenterV1CustomConfigArgs>

Defines the properties in a custom module configuration for Security Health Analytics. Use the custom module configuration to create custom detectors that generate custom findings for resources that you specify.

Constructors

fun GoogleCloudSecuritycenterV1CustomConfigArgs(customOutput: Output<GoogleCloudSecuritycenterV1CustomOutputSpecArgs>? = null, description: Output<String>? = null, predicate: Output<ExprArgs>? = null, recommendation: Output<String>? = null, resourceSelector: Output<GoogleCloudSecuritycenterV1ResourceSelectorArgs>? = null, severity: Output<GoogleCloudSecuritycenterV1CustomConfigSeverity>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudSecuritycenterV1CustomConfigArgs

Properties

Link copied to clipboard

Custom output properties.

Link copied to clipboard
val description: Output<String>? = null

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.

Link copied to clipboard
val predicate: Output<ExprArgs>? = null

The CEL expression to evaluate to produce findings. When the expression evaluates to true against a resource, a finding is generated.

Link copied to clipboard
val recommendation: Output<String>? = null

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.

Link copied to clipboard

The resource types that the custom module operates on. Each custom module can specify up to 5 resource types.

Link copied to clipboard

The severity to assign to findings generated by the module.