CustomConfig
import type { CustomConfig } from "https://googleapis.deno.dev/v1/securityposture:v1.ts";
A custom module configuration for Security Health Analytics. Use
CustomConfig
to create custom detectors that generate custom findings for
resources that you specify.
interface CustomConfig {
customOutput?: CustomOutputSpec;
description?: string;
predicate?: Expr;
recommendation?: string;
resourceSelector?: ResourceSelector;
severity?:
} | "SEVERITY_UNSPECIFIED"
| "CRITICAL"
| "HIGH"
| "MEDIUM"
| "LOW";
§Properties
§
customOutput?: CustomOutputSpec
[src]Optional. Definitions of custom source properties to include in findings.
§
description?: string
[src]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.
§
recommendation?: string
[src]Required. An explanation of the steps that security teams can take to resolve the detected issue. The explanation appears in each finding.
§
resourceSelector?: ResourceSelector
[src]Required. The resource types that the custom module operates on.