Show / Hide Table of Contents

Class CustomConfig

A custom module configuration for Security Health Analytics. Use CustomConfig to create custom detectors that generate custom findings for resources that you specify.

Inheritance
object
CustomConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.SecurityPosture.v1.Data
Assembly: Google.Apis.SecurityPosture.v1.dll
Syntax
public class CustomConfig : IDirectResponseSchema

Properties

CustomOutput

Optional. Definitions of custom source properties to include in findings.

Declaration
[JsonProperty("customOutput")]
public virtual CustomOutputSpec CustomOutput { get; set; }
Property Value
Type Description
CustomOutputSpec

Description

Optional. A description of the vulnerability or misconfiguration that the custom module detects. The description appears in each finding. Provide enough information to help an investigator understand the finding. The value must be enclosed in quotation marks.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Predicate

Required. The Common Expression Language (CEL) expression to evaluate. When the expression evaluates to true for a resource, a finding is generated.

Declaration
[JsonProperty("predicate")]
public virtual Expr Predicate { get; set; }
Property Value
Type Description
Expr

Recommendation

Required. An explanation of the steps that security teams can take to resolve the detected issue. The explanation appears in each finding.

Declaration
[JsonProperty("recommendation")]
public virtual string Recommendation { get; set; }
Property Value
Type Description
string

ResourceSelector

Required. The resource types that the custom module operates on.

Declaration
[JsonProperty("resourceSelector")]
public virtual ResourceSelector ResourceSelector { get; set; }
Property Value
Type Description
ResourceSelector

Severity

Required. The severity of findings generated by the custom module.

Declaration
[JsonProperty("severity")]
public virtual string Severity { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX