Sha256: 06d24818c160a4cbd21cd03049d4c041f72b65a4cb6b11d59aaa0d44f87f34c2
Contents?: true
Size: 599 Bytes
Versions: 4
Compression:
Stored size: 599 Bytes
Contents
# frozen_string_literal: true # This module contains the default patterns to redact. module Patterns DEFAULT = [ /ghp_[A-Za-z0-9]{36,}|[0-9A-Fa-f]{40,}/, # GitHub Personal Access Token /github_pat_[a-zA-Z0-9]{22}_[a-zA-Z0-9]{59}/, # GitHub Personal Access Token (fine-grained) /ghs_[a-zA-Z0-9]{36}/, # Temporary GitHub Actions Tokens /\b(ey[a-zA-Z0-9]{17,}\.ey[a-zA-Z0-9\/\\_-]{17,}\.(?:[a-zA-Z0-9\/\\_-]{10,}={0,2})?)(?:['|\"|\n|\r|\s|\x60|;]|$)/, # JWT tokens /(?i)-----BEGIN[ A-Z0-9_-]{0,100}PRIVATE KEY( BLOCK)?-----[\s\S-]*KEY( BLOCK)?----/ # private keys ].freeze end
Version data entries
4 entries across 4 versions & 1 rubygems