pub struct GoogleCloudSecuritycenterV1CustomConfig {
pub custom_output: Option<GoogleCloudSecuritycenterV1CustomOutputSpec>,
pub description: Option<String>,
pub predicate: Option<Expr>,
pub recommendation: Option<String>,
pub resource_selector: Option<GoogleCloudSecuritycenterV1ResourceSelector>,
pub severity: Option<String>,
}
Expand description
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.
This type is not used in any activity, and only used as part of another schema.
Fields§
§custom_output: Option<GoogleCloudSecuritycenterV1CustomOutputSpec>
Custom output properties.
description: Option<String>
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.
predicate: Option<Expr>
The CEL expression to evaluate to produce findings. When the expression evaluates to true against a resource, a finding is generated.
recommendation: Option<String>
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.
resource_selector: Option<GoogleCloudSecuritycenterV1ResourceSelector>
The resource types that the custom module operates on. Each custom module can specify up to 5 resource types.
severity: Option<String>
The severity to assign to findings generated by the module.
Trait Implementations§
source§impl Clone for GoogleCloudSecuritycenterV1CustomConfig
impl Clone for GoogleCloudSecuritycenterV1CustomConfig
source§fn clone(&self) -> GoogleCloudSecuritycenterV1CustomConfig
fn clone(&self) -> GoogleCloudSecuritycenterV1CustomConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more