Skip to content

A wrapper for grype to generate scheduled html based output and historical archiving

License

Notifications You must be signed in to change notification settings

erfantkerfan/image-sec-scan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Security Scan

Image Security Scan is an open-source tool designed to analyze docker images using grype tool for potential security vulnerabilities. It helps organizations ensure that their applications doesn't inadvertently introduce security risks.

screenshot_index_path

screenshot_report_result

How to run

To install Image Security Scan, follow these steps:

  1. Clone the repository:

    git clone https://github.com/erfantkerfan/image-sec-scan.git

  2. Navigate to the project directory:

    cd image-sec-scan

  3. Setup proper settings:

    1. setup your docker mirror and desired web port in .env for building the project if are using an air gapped environment and exposing the webserver.

    2. setup the images you want to scan in the images.txt file.

  4. Run the project:

    1. use docker compose up -d web to run the webserver

    2. use docker compose up --build generator to run the first adhoc image scan job

    3. create a scheduled scan job based on your needs. crontab for Fridays sample: 0 0 * * FRI root { cd /opt/image-sec-scan && docker compose up --build generator; } > /opt/image-sec-scan/run.log 2>&1

    4. Visit http://127.0.0.1:8888 (default port) to explore the generated scan reports.

ToDo:

  • Adding K8S solution (manifests or helm)

Notes:

  • Open for contribution

  • The time I spent on this project was sponsored by my employer at the time: Azki

About

A wrapper for grype to generate scheduled html based output and historical archiving

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published