Skip to main content

CDK ECR Scan Notifier

A CDK construct capable of forwarding ECR scan results to an SNS topic.

Sample Events

  • ECR Basic Scan

    {
       "version":"0",
       "id":"822c3bbb-574a-8d0b-828e-b33e93cc0b3a",
       "detail-type":"ECR Image Scan",
       "source":"aws.ecr",
       "account":"012345678912",
       "time":"2022-08-03T18:14:18Z",
       "region":"eu-central-1",
       "resources":[
          "arn:aws:ecr:eu-central-1:012345678912:repository/sampleapp"
       ],
       "detail":{
          "scan-status":"COMPLETE",
          "repository-name":"sampleapp",
          "image-digest":"sha256:5b5a96370efd56ae20a832244ae56e8e57b1035f493f728eb6cef026586782f7",
          "image-tags":[
             "3862",
             "latest"
          ],
          "finding-severity-counts":{
             "HIGH":3,
             "MEDIUM":14,
             "INFORMATIONAL":3,
             "LOW":1,
             "HIGH":2
          }
       }
    }
    
  • AWS Inspector

    {
       "version":"0",
       "id":"961d7f4a-f46c-b376-f92f-f8c3af290f9f",
       "detail-type":"Inspector2 Scan",
       "source":"aws.inspector2",
       "account":"520666953574",
       "time":"2022-09-14T19:12:46Z",
       "region":"eu-central-1",
       "resources":[
          "arn:aws:ecr:eu-central-1:520666953574:repository/azure-agent"
       ],
       "detail":{
          "scan-status":"INITIAL_SCAN_COMPLETE",
          "repository-name":"arn:aws:ecr:eu-central-1:520666953574:repository/azure-agent",
          "finding-severity-counts":{
             "CRITICAL":0,
             "HIGH":1,
             "MEDIUM":6,
             "TOTAL":10
          },
          "image-digest":"sha256:734a4d019b381f591a63c819ae88b00eed5dba8b76626530c26497128a6c46d1",
          "image-tags":[
             "latest",
             "5715"
          ]
       }
    }
    

Links

Metadata

Release files for ecr-scan-notifier 0.0.87

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

Source distribution (sdist)

Source distribution for ecr-scan-notifier 0.0.87
File Size Uploaded Provenance Actions
ecr_scan_notifier-0.0.87.tar.gz 36.1 kB Without provenance Details for ecr_scan_notifier-0.0.87.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ecr-scan-notifier 0.0.87
File Interpreter ABI Platform Actions
ecr_scan_notifier-0.0.87-py3-none-any.whl Python 3 none any Details for ecr_scan_notifier-0.0.87-py3-none-any.whl

Total release size: 70.9 kB

Release files / ecr_scan_notifier-0.0.87.tar.gz

Download URL ecr_scan_notifier-0.0.87.tar.gz
Size 36.1 kB
Tags Source
SHA-256 checksum
How to use checksums
054b4dcac4ee756cc2e1a668570b440f56a63e40f52aad943d5d3146ac2c4f94
BLAKE2b-256 checksum
How to use checksums
c3aea5f6c9031523e4075c11c75d36c222ef68612cd221ab743260472f345031
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / ecr_scan_notifier-0.0.87-py3-none-any.whl

Download URL ecr_scan_notifier-0.0.87-py3-none-any.whl
Size 34.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2daacf4dad21ebf6f9024c37ff2ff8f3da5158bd9314a26bccd58410e48701e
BLAKE2b-256 checksum
How to use checksums
d172dfed99e8f291eb3f880f0569d0f2346cf65f463f7bca9de3e94ef9a25bbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for ecr-scan-notifier 0.0.87

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

0.0.87 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