CustomConfig class

A custom module configuration for Security Health Analytics.

Use CustomConfig to create custom detectors that generate custom findings for resources that you specify.

Constructors

CustomConfig.new({CustomOutputSpec? customOutput, String? description, Expr? predicate, String? recommendation, ResourceSelector? resourceSelector, String? severity})
CustomConfig.fromJson(Map json_)

Properties

customOutput CustomOutputSpec?
Definitions of custom source properties to include in findings.
getter/setter pair
description String?
A description of the vulnerability or misconfiguration that the custom module detects.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
predicate Expr?
The Common Expression Language (CEL) expression to evaluate.
getter/setter pair
recommendation String?
An explanation of the steps that security teams can take to resolve the detected issue.
getter/setter pair
resourceSelector ResourceSelector?
The resource types that the custom module operates on.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity String?
The severity of findings generated by the custom module.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited