image-scanner-with-trivy
Version:
Scan container images with Trivy in CDK deployment
29 lines (28 loc) • 838 B
TypeScript
import { ScanLogsOutputOptions } from './scan-logs-output';
/**
* Lambda function event object for Scanner Custom Resource.
*/
export interface ScannerCustomResourceProps {
readonly addr: string;
readonly imageUri: string;
readonly ignoreUnfixed: string;
readonly severity: string[];
readonly scanners: string[];
readonly imageConfigScanners: string[];
/**
* @deprecated
*/
readonly exitCode?: number;
/**
* @deprecated
*/
readonly exitOnEol?: number;
readonly failOnVulnerability: string;
readonly trivyIgnore: string[];
readonly trivyIgnoreFileType?: string;
readonly platform: string;
readonly output?: ScanLogsOutputOptions;
readonly suppressErrorOnRollback: string;
readonly vulnsTopicArn?: string;
readonly defaultLogGroupName: string;
}