• Pricing
© 2025 Serverless, Inc. All rights reserved.
Terms of ServicePrivacy Policy
madtrick

Personal Access Tokens Cron Check

by

Audit for leaked PAT in your Contentful organization. How to use serverless as cronjobs to keep your Personal Access Tokens secure

  1. Personal Access Tokens Cron Check

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

Contents

  • About
  • Contents
  • Deploying to AWS

Related

GuidesPluginsExamplesSlack CommunitySupport