No project description provided
Project description
:beginner: Clairvoyance - ECR Scan reports at your finger tips !
Clairvoyance is a simple Hugo website with capabilities to parse ECR Security Scan reports
Nothing is better than a live demo ! Here is an overview of Clairvoyance that ran against three vulnerable docker images hosted on ECR:
:package: Clairvoyance - Architecture Diagram
Clairvoyance - Static Hugo Website
Install voyance command line
pip install -e git+https://github.com/Lowess/clairvoyance@main#egg=clairvoyance
voyance is used to automatically generate Hugo content pages along with JSON data to easily visualize ECR scan reports. It scans the provided ECR registry as stated in the configuration file and look at a defined list of repositories and tagging patterns.
Here is a log sample you will get from voyance script execution:
| Env var | Description | Example value |
|---|---|---|
CLAIRVOYANCE_ECR__REGISTRY_ID |
The ECR private registry id to scan (equals your AWS account id) | 123456789012 |
CLAIRVOYANCE_ECR__REPOSITORIES |
A list of ECR private repositories to get scans from | '["repo1/app1", "repo2/app2"]' |
CLAIRVOYANCE_ECR__ALLOWED_TAG_PATTERNS |
A list of tags or patterns to search for (can be a valid python regex) | '["latest"]' |
❯ voyance
2023-02-03 14:50:11,910,910 INFO credentials.py:1251 - Found credentials in shared credentials file: ~/.aws/credentials
2023-02-03 14:50:11,949,949 INFO voyance.py:84 - Clairvoyance initialized with EcrReporter configured to search in 3 repositories from registry 123456789012. Only images with ['.*'] tagging patterns will be scanned. [SnsNotifier configured to notify to SNS topic: arn:aws:sns:us-east-1:123456789012:topic-to-notify]
2023-02-03 14:50:15,539,539 INFO ecr.py:115 - Scan found for vulnerable/dvwa:latest
2023-02-03 14:50:16,015,015 INFO ecr.py:115 - Scan found for vulnerable/eclipse-temurin:11.0.13_8-jre-focal
2023-02-03 14:50:16,221,221 INFO ecr.py:115 - Scan found for vulnerable/eclipse-temurin:11.0.15_10-jre-focal
2023-02-03 14:50:16,526,526 INFO ecr.py:115 - Scan found for vulnerable/eclipse-temurin:11.0.14.1_1-jre-focal
2023-02-03 14:50:16,704,704 INFO ecr.py:115 - Scan found for vulnerable/eclipse-temurin:11.0.16.1_1-jre-focal
2023-02-03 14:50:17,772,772 INFO ecr.py:115 - Scan found for vulnerable/vulnerablewordpress:latest
2023-02-03 14:50:17,772,772 INFO voyance.py:46 - 6 scan reports found
2023-02-03 14:50:17,772,772 INFO voyance.py:27 - Function scan() took 5.82 seconds
2023-02-03 14:50:17,772,772 INFO ecr.py:152 - Generating report for dvwa/latest
2023-02-03 14:50:17,782,782 INFO ecr.py:152 - Generating report for eclipse-temurin/11.0.13_8-jre-focal
2023-02-03 14:50:17,783,783 INFO ecr.py:152 - Generating report for eclipse-temurin/11.0.15_10-jre-focal
2023-02-03 14:50:17,784,784 INFO ecr.py:152 - Generating report for eclipse-temurin/11.0.14.1_1-jre-focal
2023-02-03 14:50:17,785,785 INFO ecr.py:152 - Generating report for eclipse-temurin/11.0.16.1_1-jre-focal
2023-02-03 14:50:17,786,786 INFO ecr.py:152 - Generating report for vulnerablewordpress/latest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file voyance-1.0.3.tar.gz.
File metadata
- Download URL: voyance-1.0.3.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b04ccbf9d15d3f349e532c6d1cb737954d8c64fd41a2e403294d0ea301eaaaa4
|
|
| MD5 |
a0ea7c2007b114609e4521be5d3499a9
|
|
| BLAKE2b-256 |
ba5abb7a3264bd2f261324c2a4933a3b97e87d96b30dae5b2e35ed3bbb5b43f4
|
File details
Details for the file voyance-1.0.3-py3-none-any.whl.
File metadata
- Download URL: voyance-1.0.3-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16a24d00375a360f989cd1242198c52240741e07cab709db9c228f4da1d87222
|
|
| MD5 |
4c59a2c75322b45ece4b1e0931034d89
|
|
| BLAKE2b-256 |
c18cc8fb4e83b3a475848c621a7ad189a66a7432b59d28c2c0ce933df3cc0b55
|