2.0.0 • Published 4 years ago

@simple-cdk-constructs/ecr-scan-monitor v2.0.0

Weekly downloads
7
License
-
Repository
github
Last release
4 years ago

@simple-cdk-constructs/ecr-scan-monitor

CI Tests Package Audit

CDK Construct to handle any ECR image scans which detect a vulnerability. Any ITarget can be provided so events can be sent to multiple sources including SNS Topics or Lambda Functions.

Use Case

Anywhere that it is important to monitor vulnerabilities in stored ECR images.

Installation

npm i @simple-cdk-constructs/ecr-scan-monitor

Usage

import { Topic } from '@aws-cdk/aws-sns';
import { SnsTopic } from '@aws-cdk/aws-events-targets';
import { ECRScanMonitor } from '@simple-cdk-constructs/ecr-scan-monitor';

// ...

    let snsTopic = new Topic(this, 'notiification-topic', {
        topicName: 'ecr-image-vulnerability'
    });
    
    new ECRScanMonitor(this, 'scan-monitor', {
        target: new SnsTopic(snsTopic)
    });
  
// ...
2.0.0

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.2.0

4 years ago