madtrick / cfpat-audit

Audit for leaked PAT in your Contentful organization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Lambda function that finds leaked Contentful PATs and write those to a file in a S3 bucket.

Contents

  • Lambda function that searches for leaked PATs using Github's code search API
  • Executable to do the same search locally
  • Serverless setup

Deploying to AWS

AUDIT_BUCKET=XXX GITHUB_ORGANIZATION_ID=YYY GITHUB_ACCESS_TOKEN=ZZZ $(npm bin)/serverless deploy

About

Audit for leaked PAT in your Contentful organization


Languages

Language:JavaScript 100.0%