agent-claw: automated task changes
This commit is contained in:
62
cdk/node_modules/aws-cdk-lib/aws-codepipeline-actions/lib/inspector/scan-action-base.d.ts
generated
vendored
Normal file
62
cdk/node_modules/aws-cdk-lib/aws-codepipeline-actions/lib/inspector/scan-action-base.d.ts
generated
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import * as codepipeline from '../../../aws-codepipeline';
|
||||
import { Action } from '../action';
|
||||
/**
|
||||
* The CodePipeline variables emitted by the InspectorScan Action.
|
||||
*/
|
||||
export interface InspectorScanVariables {
|
||||
/**
|
||||
* The highest severity output from the scan.
|
||||
*
|
||||
* Valid values are medium | high | critical.
|
||||
*/
|
||||
readonly highestScannedSeverity: string;
|
||||
}
|
||||
/**
|
||||
* Base construction properties of the `InspectorScanActionBase`.
|
||||
*/
|
||||
export interface InspectorScanActionBaseProps extends codepipeline.CommonAwsActionProps {
|
||||
/**
|
||||
* The number of critical severity vulnerabilities found in your source
|
||||
* beyond which CodePipeline should fail the action.
|
||||
*
|
||||
* @default - no threshold
|
||||
*/
|
||||
readonly criticalThreshold?: number;
|
||||
/**
|
||||
* The number of high severity vulnerabilities found in your source
|
||||
* beyond which CodePipeline should fail the action.
|
||||
*
|
||||
* @default - no threshold
|
||||
*/
|
||||
readonly highThreshold?: number;
|
||||
/**
|
||||
* The number of medium severity vulnerabilities found in your source
|
||||
* beyond which CodePipeline should fail the action.
|
||||
*
|
||||
* @default - no threshold
|
||||
*/
|
||||
readonly mediumThreshold?: number;
|
||||
/**
|
||||
* The number of low severity vulnerabilities found in your source
|
||||
* beyond which CodePipeline should fail the action.
|
||||
*
|
||||
* @default - no threshold
|
||||
*/
|
||||
readonly lowThreshold?: number;
|
||||
/**
|
||||
* Vulnerability details of your source in the form of a Software Bill of Materials (SBOM) file.
|
||||
*/
|
||||
readonly output: codepipeline.Artifact;
|
||||
}
|
||||
/**
|
||||
* CodePipeline invoke action that uses AWS InspectorScan.
|
||||
*/
|
||||
export declare abstract class InspectorScanActionBase extends Action {
|
||||
protected readonly props: InspectorScanActionBaseProps;
|
||||
constructor(props: InspectorScanActionBaseProps);
|
||||
/** The variables emitted by this action. */
|
||||
get variables(): InspectorScanVariables;
|
||||
protected abstract renderActionConfiguration(): Record<string, any>;
|
||||
protected bound(scope: Construct, stage: codepipeline.IStage, options: codepipeline.ActionBindOptions): codepipeline.ActionConfig;
|
||||
}
|
||||
Reference in New Issue
Block a user