Coder Social home page Coder Social logo

sysdiglabs / secure-image-scanning Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 3.0 14 KB

Image scanning with Sysdig Secure

Home Page: https://sysdig.com/blog/bamboo-sysdig-secure/

License: Apache License 2.0

Dockerfile 21.14% Makefile 6.87% Shell 71.99%
security-tools container-security

secure-image-scanning's Introduction

Sysdig Secure Image Scanning

This directory contains the Dockerfile and entrypoint for sysdiglabs/secure-image-scanning

This Docker image does an static scanning looking for vulnerabilities in the image provided.

Usage

docker run -e IMAGE_TO_SCAN="docker.io/library/ubuntu:latest" \ -e SYSDIG_SECURE_TOKEN="xxXXxxXXXxxXX" \ sysdiglabs/secure-image-scanning

Environment variables used as parameters

  • IMAGE_TO_SCAN: The image which is going to be scanned i.e.: docker.io/library/debian:latest
  • SYSDIG_SECURE_TOKEN: The Sysdig Secure API Token.
  • TIMEOUT: Timeout for the image scanning, by default is 10 minutes.
  • MAX_RETRIES: Sometimes when analyzing the images, the registry takes some time for sending the image and it could lead to a Not Found error. So we implemented a retrying mechanism. By default it tries 3 times before giving up.

Makefile usage

The Makefile contains 3 targets:

  • all: Builds the image and pushes it to DockerHub
  • build: Builds the image
  • push: Pushes the image to DockerHub

secure-image-scanning's People

Contributors

ben-nagengast avatar nestorsalceda avatar

Stargazers

 avatar

Watchers

 avatar  avatar

secure-image-scanning's Issues

When a scan fails, output a report

When integrating into a CI/CD pipeline, it makes sense to show the reason of a build failure. We can start by dumping the list of critical/high vulnerabilities, but if we can add the details about the policy it would be great.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.