Skip to content

paulojean/secrets-history

Repository files navigation

Secrets History

To find out if there's any commit with credentials on a given repository

Install

go get github.com/paulojean/secrets-history

Usage

Usage of secrets-history:
  -credential-patterns string
    	json file to use custom patterns on search
  -default-patterns
    	use default pattern credentials (default true)
  -from string
    	start commit to search, ie: newest commit too look
  -path string
    	path to a local git project
  -print-default-patterns
    	print the file with the default credential patterns
  -to string
    	final commit to search, ie: oldest commit to look

#eg 

secrets-history -path=../my-repository -to=3d724e662e1f2289d9309c4bc92b2566529337c9 -credential-patterns='such_patterns.json'

Build

Dependencies

glide

glide install
go build

Test

go test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages