Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Atomist Skill to scan committed code for well-known credentials and secrets

License

Notifications You must be signed in to change notification settings

atomist-skills/github-secret-scanner-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

atomist/github-secret-scanner-skill

Scan committed code for well-known and custom credentials and secrets across all your repositories.

View this skill in the Atomist Skills Catalog to enable this skill on your repositories. ✨

See the Atomist website for general information about Atomist Skills and the Atomist documentation site for instructions on how to get started using Atomist Skills.

Running Locally

github-secret-scanner-skill can be executed against a locally cloned repository or directory using the following command:

$ docker run -it -v $(pwd):/atm/home atomist/github-secret-scanner-skill scan

This will scan the local directory and write a secrets.json file with detected secrets and their location. If secrets are found, the command exits with 1; otherwise with 0.

Use the following command to obtain help for the scan command:

$ docker run -it atomist/github-secret-scanner-skill scan --help

Contributing

Contributions to this project from community members are encouraged and appreciated. Please review the Contributing Guidelines for more information. Also see the Development section in this document.

Code of conduct

This project is governed by the Code of Conduct. You are expected to act in accordance with this code by participating. Please report any unacceptable behavior to [email protected].

Connect

Follow @atomist on Twitter and The Atomist Blog.

Support

General support questions should be discussed in the #help channel in the Atomist community Slack workspace.

If you find a problem, please create an issue.

Development

You will need to install Node.js to build and test this project.

Build and test

Install dependencies.

$ npm ci

Use the build package script to compile, test, lint, and build the documentation.

$ npm run build

Release

Releases are created by pushing a release semantic version tag to the repository, Atomist Skills take care of the rest.

To make this skill globally available, set its maturity to "stable" via the set maturity drop-down in its Atomist Community Slack channel.


Created by Atomist. Need Help? Join our Slack workspace.