Sign inSign up

ewjoachim/notgithub-token-scanning

By ewjoachim

•Updated about 18 hours ago

A development server for integrating GitHub's Token Scanning feature

Image
0

10K+

ewjoachim/notgithub-token-scanning repository overview

⁠NotGitHub Token Scanning

Disclaimer: I'm not affiliated with GitHub in any way.

This project defines a simple Python service that replaces GitHub when integrating the Secrets Scanning⁠ feature from GitHub

NotGitHub Token Scanning screenshot

⁠How to

⁠Run using docker

Docker without compose:

$ docker run \
    --rm -p 8000:8000 -e "NOTGITHUB_DEFAULT_URL=http://other/_/github/disclose" \
    ewjoachim/notgithub-token-scanning

Docker compose:

notgithub:
  image: ewjoachim/notgithub-token-scanning
  environment:
    NOTGITHUB_DEFAULT_URL: "http://your-service/your/disclose/url"
⁠Build & run without docker

In a virtual environment, run scripts/build and scripts/serve

⁠Use

Visit / on port 8000. Add/remove/reorder keys, select the "current" key. This will impact both the keys exposed at /meta/public_keys/token_scanning and the current key will be the one used for signing the payload.

Enter your payload and the URL to call. Default url can be configured with the NOTGITHUB_DEFAULT_URL environment variable.

Tag summary

Content type

Image

Digest

sha256:b56b6c402…

Size

106.7 MB

Last updated

about 18 hours ago

docker pull ewjoachim/notgithub-token-scanning