Skip to main content

NPM version PyPI version Release

cdk-ecr-image-scan-notify

cdk-ecr-image-scan-notify is an AWS CDK construct library that notify the slack channel of Amazon ECR image scan results.

Overview

Amazon EventBridge (CloudWatch Events) detects the image scan execution and starts the Lambda function. The Lambda function summarizes the scan results, formatting them and notifying Slack.

Basic scanning

Enhanced scanning (Support for initial scan only)

Click on an image name to go to the scan results page.

Getting Started

TypeScript

Installation

$ yarn add cdk-ecr-image-scan-notify

Usage

import * as cdk from 'aws-cdk-lib';
import { EcrImageScanNotify } from 'cdk-ecr-image-scan-notify';

const mockApp = new cdk.App();
const stack = new cdk.Stack(mockApp, '<your-stack-name>');

new EcrImageScanNotify(stack, 'ecr-image-scan-notify', {
  webhookUrl: '<your-incoming-webhook-url>',
});

Deploy!

$ cdk deploy

Python

Installation

$ pip install cdk-ecr-image-scan-notify

Usage

import aws_cdk as cdk
from cdk_ecr_image_scan_notify import EcrImageScanNotify

app = cdk.App()
stack = cdk.Stack(app, "<your-stack-name>", env={'region': 'ap-northeast-1'})

EcrImageScanNotify(stack, "EcrImageScanNotify",
    webhook_url = '<your-incoming-webhook-url>',
)

Deploy!

$ cdk deploy

Metadata

Release files for cdk-ecr-image-scan-notify 1.0.242

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdk-ecr-image-scan-notify 1.0.242
File Size Uploaded Provenance Actions
cdk-ecr-image-scan-notify-1.0.242.tar.gz 31.4 kB Without provenance Details for cdk-ecr-image-scan-notify-1.0.242.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cdk-ecr-image-scan-notify 1.0.242
File Interpreter ABI Platform Actions
cdk_ecr_image_scan_notify-1.0.242-py3-none-any.whl Python 3 none any Details for cdk_ecr_image_scan_notify-1.0.242-py3-none-any.whl

Total release size: 61.6 kB

Release files / cdk-ecr-image-scan-notify-1.0.242.tar.gz

Download URL cdk-ecr-image-scan-notify-1.0.242.tar.gz
Size 31.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4bd3f75d8fbcd6d0836156e13187f6a6167fc54107ab635bf9941cf78ca35b69
BLAKE2b-256 checksum
How to use checksums
c503316ead39de94e1f0d9c7a743f29e0bd0ec2e44b4848791e0e223c1c8d3fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / cdk_ecr_image_scan_notify-1.0.242-py3-none-any.whl

Download URL cdk_ecr_image_scan_notify-1.0.242-py3-none-any.whl
Size 30.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20fbaacd73dcd5eaeac8a387884d9d3e540719f577b4373397af49eea3398d11
BLAKE2b-256 checksum
How to use checksums
f7c39faa2236b3b0dfb54130ae413938f69cfcf6a2d85d9a347985f0a19876b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for cdk-ecr-image-scan-notify 1.0.242

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.242 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page