docker-secrets

command module
v0.0.0-...-dca30e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

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

Documentation

Overview

Copyright © 2021 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL