Code Monkey home page Code Monkey logo

docker-secrets's Introduction

docker-secrets

CLI based tools to find the secrets in docker Images

This tool use detect-secrets to find the secrets in the docker Image file system

Pre-requisite

  • detect-secrets Installed
  • Image that need to be scanned on your local system

Installation

  • Download the binary from the release page here and put it the path
  • To build locally
  • Clone the repository
git clone https://github.com/JOSHUAJEBARAJ/docker-secrets.git

Build the binary

go build .

Usage

Export the Docker API Version

export DOCKER_API_VERSION=1.39
docker pull imagename:tag
docker-secrets scan <image=name>:tag

Note

By default the below command will be executed for detect-secrets.

detect-secrets scan --all-files output

If you want to make change to the command , You can change it here

TODO

  • Ability to pull the image if it is not present in the local system
  • Resolve the symlink error while extracting

docker-secrets's People

Contributors

joshuajebaraj avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.