Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pull by Soluzioni Futura #1

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open

Conversation

giowe
Copy link

@giowe giowe commented Oct 8, 2017

italia/anpr#313

anpr-github-privacy-check

This NodeJs project executes an ExpressJs web server that exposes a
GitHub webhook compliant endpoint
at /github.

To run the application you just have to install all the dependencies:

npm install

and then:

npm start

This will start the Express application listening on port 8000

You can also execute some tests running command:

npm test

The application will search for any sensitive information inside every new issue
and comment, censoring it and replying with warning to the author, customizable in config.json.

To setup the webhook you just have to modify your repo, user, or organization settings as you can
see on this image:

Immagine di configurazione web hooks github

In order to run properly, the application requires to be configured editing credentials.json with your
github credentials (username and password OR a token) and, optionally, a secret key
that you must also specify in the webhook configuration process.

Right now the application will scrape for:

  • italian cellular phone numbers
  • italian social security number
  • visa and mastercard credit cards
  • emails

You can easily add other categories of elements to scrape for simply adding
new RegExp to securityChecks.js;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants