Documentation
¶
Index ¶
- Constants
- Variables
- func AlphaNumeric(size string) string
- func AlphaNumericExtended(size string) string
- func AlphaNumericExtendedLong(size string) string
- func AlphaNumericExtendedShort(size string) string
- func Hex(size string) string
- func Hex8_4_4_4_12() string
- func Numeric(size string) string
- func TwomsToGitleaksRule(rule *Rule) *gitleaksrule.Rule
- type AllowList
- type Rule
- func AWS() *Rule
- func AdafruitAPIKey() *Rule
- func AdobeClientID() *Rule
- func AdobeClientSecret() *Rule
- func AgeSecretKey() *Rule
- func Airtable() *Rule
- func AlgoliaApiKey() *Rule
- func AlibabaAccessKey() *Rule
- func AlibabaSecretKey() *Rule
- func AnthropicAdminApiKey() *Rule
- func AnthropicApiKey() *Rule
- func AsanaClientID() *Rule
- func AsanaClientSecret() *Rule
- func Atlassian() *Rule
- func AuthenticatedURL() *Rule
- func Authress() *Rule
- func AzureActiveDirectoryClientSecret() *Rule
- func Beamer() *Rule
- func BitBucketClientID() *Rule
- func BitBucketClientSecret() *Rule
- func BittrexAccessKey() *Rule
- func BittrexSecretKey() *Rule
- func ClickHouseCloud() *Rule
- func Clojars() *Rule
- func CloudflareAPIKey() *Rule
- func CloudflareGlobalAPIKey() *Rule
- func CloudflareOriginCAKey() *Rule
- func CodecovAccessToken() *Rule
- func CohereAPIToken() *Rule
- func CoinbaseAccessToken() *Rule
- func ConfluentAccessToken() *Rule
- func ConfluentSecretKey() *Rule
- func Contentful() *Rule
- func CurlBasicAuth() *Rule
- func CurlHeaderAuth() *Rule
- func Databricks() *Rule
- func DatadogtokenAccessToken() *Rule
- func DefinedNetworkingAPIToken() *Rule
- func DigitalOceanOAuthToken() *Rule
- func DigitalOceanPAT() *Rule
- func DigitalOceanRefreshToken() *Rule
- func DiscordAPIToken() *Rule
- func DiscordClientID() *Rule
- func DiscordClientSecret() *Rule
- func Doppler() *Rule
- func DroneciAccessToken() *Rule
- func DropBoxAPISecret() *Rule
- func DropBoxLongLivedAPIToken() *Rule
- func DropBoxShortLivedAPIToken() *Rule
- func Duffel() *Rule
- func Dynatrace() *Rule
- func EasyPost() *Rule
- func EasyPostTestAPI() *Rule
- func EtsyAccessToken() *Rule
- func FacebookAccessToken() *Rule
- func FacebookPageAccessToken() *Rule
- func FacebookSecret() *Rule
- func FastlyAPIToken() *Rule
- func FinicityAPIToken() *Rule
- func FinicityClientSecret() *Rule
- func FinnhubAccessToken() *Rule
- func FlickrAccessToken() *Rule
- func FlutterwaveEncKey() *Rule
- func FlutterwavePublicKey() *Rule
- func FlutterwaveSecretKey() *Rule
- func FlyIOAccessToken() *Rule
- func FrameIO() *Rule
- func Freemius() *Rule
- func FreshbooksAccessToken() *Rule
- func GCPAPIKey() *Rule
- func GenericCredential() *Rule
- func GitHubApp() *Rule
- func GitHubFineGrainedPat() *Rule
- func GitHubOauth() *Rule
- func GitHubPat() *Rule
- func GitHubRefresh() *Rule
- func GitlabCiCdJobToken() *Rule
- func GitlabDeployToken() *Rule
- func GitlabFeatureFlagClientToken() *Rule
- func GitlabFeedToken() *Rule
- func GitlabIncomingMailToken() *Rule
- func GitlabKubernetesAgentToken() *Rule
- func GitlabOauthAppSecret() *Rule
- func GitlabPat() *Rule
- func GitlabPatRoutable() *Rule
- func GitlabPipelineTriggerToken() *Rule
- func GitlabRunnerAuthenticationToken() *Rule
- func GitlabRunnerAuthenticationTokenRoutable() *Rule
- func GitlabRunnerRegistrationToken() *Rule
- func GitlabScimToken() *Rule
- func GitlabSessionCookie() *Rule
- func GitterAccessToken() *Rule
- func GoCardless() *Rule
- func GrafanaApiKey() *Rule
- func GrafanaCloudApiToken() *Rule
- func GrafanaServiceAccountToken() *Rule
- func HardcodedPassword() *Rule
- func HashiCorpTerraform() *Rule
- func HashicorpField() *Rule
- func Heroku() *Rule
- func HerokuV2() *Rule
- func HubSpot() *Rule
- func HuggingFaceAccessToken() *Rule
- func HuggingFaceOrganizationApiToken() *Rule
- func InfracostAPIToken() *Rule
- func Intercom() *Rule
- func Intra42ClientSecret() *Rule
- func JFrogAPIKey() *Rule
- func JFrogIdentityToken() *Rule
- func JWT() *Rule
- func JWTBase64() *Rule
- func KrakenAccessToken() *Rule
- func KubernetesSecret() *Rule
- func KucoinAccessToken() *Rule
- func KucoinSecretKey() *Rule
- func LaunchDarklyAccessToken() *Rule
- func LinearAPIToken() *Rule
- func LinearClientSecret() *Rule
- func LinkedinClientID() *Rule
- func LinkedinClientSecret() *Rule
- func LobAPIToken() *Rule
- func LobPubAPIToken() *Rule
- func MailChimp() *Rule
- func MailGunPrivateAPIToken() *Rule
- func MailGunPubAPIToken() *Rule
- func MailGunSigningKey() *Rule
- func MapBox() *Rule
- func MattermostAccessToken() *Rule
- func MaxMindLicenseKey() *Rule
- func Meraki() *Rule
- func MessageBirdAPIToken() *Rule
- func MessageBirdClientID() *Rule
- func NPM() *Rule
- func NetlifyAccessToken() *Rule
- func NewRelicBrowserAPIKey() *Rule
- func NewRelicInsertKey() *Rule
- func NewRelicUserID() *Rule
- func NewRelicUserKey() *Rule
- func Notion() *Rule
- func NugetConfigPassword() *Rule
- func NytimesAccessToken() *Rule
- func OctopusDeployApiKey() *Rule
- func OktaAccessToken() *Rule
- func OnePasswordSecretKey() *Rule
- func OnePasswordServiceAccountToken() *Rule
- func OpenAI() *Rule
- func OpenshiftUserToken() *Rule
- func PerplexityAPIKey() *Rule
- func PlaidAccessID() *Rule
- func PlaidAccessToken() *Rule
- func PlaidSecretKey() *Rule
- func PlanetScaleAPIToken() *Rule
- func PlanetScaleOAuthToken() *Rule
- func PlanetScalePassword() *Rule
- func PostManAPI() *Rule
- func Prefect() *Rule
- func PrivateAIToken() *Rule
- func PrivateKey() *Rule
- func PulumiAPIToken() *Rule
- func PyPiUploadToken() *Rule
- func RapidAPIAccessToken() *Rule
- func ReadMe() *Rule
- func RubyGemsAPIToken() *Rule
- func ScalingoAPIToken() *Rule
- func SendGridAPIToken() *Rule
- func SendInBlueAPIToken() *Rule
- func SendbirdAccessID() *Rule
- func SendbirdAccessToken() *Rule
- func SentryAccessToken() *Rule
- func SentryOrgToken() *Rule
- func SentryUserToken() *Rule
- func SettlemintApplicationAccessToken() *Rule
- func SettlemintPersonalAccessToken() *Rule
- func SettlemintServiceAccessToken() *Rule
- func ShippoAPIToken() *Rule
- func ShopifyAccessToken() *Rule
- func ShopifyCustomAccessToken() *Rule
- func ShopifyPrivateAppAccessToken() *Rule
- func ShopifySharedSecret() *Rule
- func SidekiqSecret() *Rule
- func SidekiqSensitiveUrl() *Rule
- func SlackAppLevelToken() *Rule
- func SlackBotToken() *Rule
- func SlackConfigurationRefreshToken() *Rule
- func SlackConfigurationToken() *Rule
- func SlackLegacyBotToken() *Rule
- func SlackLegacyToken() *Rule
- func SlackLegacyWorkspaceToken() *Rule
- func SlackUserToken() *Rule
- func SlackWebHookUrl() *Rule
- func Snyk() *Rule
- func SquareAccessToken() *Rule
- func SquareSpaceAccessToken() *Rule
- func StripeAccessToken() *Rule
- func SumoLogicAccessID() *Rule
- func SumoLogicAccessToken() *Rule
- func TeamsWebhook() *Rule
- func TelegramBotToken() *Rule
- func TravisCIAccessToken() *Rule
- func Twilio() *Rule
- func TwitchAPIToken() *Rule
- func TwitterAPIKey() *Rule
- func TwitterAPISecret() *Rule
- func TwitterAccessSecret() *Rule
- func TwitterAccessToken() *Rule
- func TwitterBearerToken() *Rule
- func Typeform() *Rule
- func VaultBatchToken() *Rule
- func VaultServiceToken() *Rule
- func YandexAPIKey() *Rule
- func YandexAWSAccessToken() *Rule
- func YandexAccessToken() *Rule
- func ZendeskSecretKey() *Rule
- type RuleCategory
- type Severity
Constants ¶
View Source
const TagAccessId = "access-id"
View Source
const TagAccessKey = "access-key"
View Source
const TagAccessToken = "access-token"
View Source
const TagApiKey = "api-key"
View Source
const TagApiToken = "api-token"
View Source
const TagClientId = "client-id"
View Source
const TagClientSecret = "client-secret"
View Source
const TagEncryptionKey = "encryption-key"
View Source
const TagPassword = "password"
View Source
const TagPrivateKey = "private-key"
View Source
const TagPublicKey = "public-key"
View Source
const TagPublicSecret = "public-secret"
View Source
const TagRefreshToken = "refresh-token"
View Source
const TagRegistrationToken = "registration-token"
View Source
const TagSecretKey = "secret-key"
View Source
const TagSensitiveUrl = "sensitive-url"
View Source
const TagTriggerToken = "trigger-token"
View Source
const TagUploadToken = "upload-token"
View Source
const TagWebhook = "webhook"
Variables ¶
View Source
var DefaultStopWords = []string{}/* 1476 elements not displayed */
Functions ¶
func AlphaNumeric ¶
func AlphaNumericExtended ¶
func Hex8_4_4_4_12 ¶
func Hex8_4_4_4_12() string
func TwomsToGitleaksRule ¶
func TwomsToGitleaksRule(rule *Rule) *gitleaksrule.Rule
Types ¶
type AllowList ¶
type AllowList struct {
Description string `json:"description,omitempty" yaml:"description,omitempty"`
MatchCondition string `json:"matchCondition,omitempty" yaml:"matchCondition,omitempty"` //nolint:lll // determines whether all criteria must match. OR or AND
Paths []string `json:"paths,omitempty" yaml:"paths,omitempty"` // regex
RegexTarget string `json:"regexTarget,omitempty" yaml:"regexTarget,omitempty"` // match or line. Default match
Regexes []string `json:"regexes,omitempty" yaml:"regexes,omitempty"`
StopWords []string `json:"stopWords,omitempty" yaml:"stopWords,omitempty"` // stop words that are allowed to be ignored
}
type Rule ¶
type Rule struct {
RuleID string `json:"ruleId,omitempty" yaml:"ruleId,omitempty"` // uuid4, should be consistent across changes in rule
RuleName string `json:"ruleName,omitempty" yaml:"ruleName,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
Regex string `json:"regex,omitempty" yaml:"regex,omitempty"` // regex pattern as string
Keywords []string `json:"keywords,omitempty" yaml:"keywords,omitempty"`
Entropy float64 `json:"entropy,omitempty" yaml:"entropy,omitempty"`
Path string `json:"path,omitempty" yaml:"path,omitempty"` // present in some gitleaks secrets (regex)
SecretGroup int `json:"secretGroup,omitempty" yaml:"secretGroup,omitempty"` //nolint:lll // SecretGroup is used to extract secret from regex match and used as the group that will have its entropy checked if `entropy` is set.
Severity Severity `json:"severity,omitempty" yaml:"severity,omitempty"`
OldSeverity string `json:"oldSeverity,omitempty" yaml:"oldSeverity,omitempty"` //nolint:lll // fallback for when critical is not enabled, has no effect on open source
AllowLists []*AllowList `json:"allowLists,omitempty" yaml:"allowLists,omitempty"`
Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"`
Category RuleCategory `json:"category,omitempty" yaml:"category,omitempty"` // used for cvssScore
ScoreRuleType uint8 `json:"scoreRuleType,omitempty" yaml:"scoreRuleType,omitempty"` // used for cvssScore
DisableValidation bool `json:"disableValidation,omitempty" yaml:"disableValidation,omitempty"` ////nolint:lll // if true, validation checks will be skipped for this rule if any validation is possible
Deprecated bool `json:"deprecated,omitempty" yaml:"deprecated,omitempty"`
}
func AdafruitAPIKey ¶
func AdafruitAPIKey() *Rule
func AdobeClientID ¶
func AdobeClientID() *Rule
func AdobeClientSecret ¶
func AdobeClientSecret() *Rule
func AgeSecretKey ¶
func AgeSecretKey() *Rule
func AlgoliaApiKey ¶
func AlgoliaApiKey() *Rule
func AlibabaAccessKey ¶
func AlibabaAccessKey() *Rule
func AlibabaSecretKey ¶
func AlibabaSecretKey() *Rule
func AnthropicAdminApiKey ¶
func AnthropicAdminApiKey() *Rule
func AnthropicApiKey ¶
func AnthropicApiKey() *Rule
func AsanaClientID ¶
func AsanaClientID() *Rule
func AsanaClientSecret ¶
func AsanaClientSecret() *Rule
func AuthenticatedURL ¶
func AuthenticatedURL() *Rule
func AzureActiveDirectoryClientSecret ¶
func AzureActiveDirectoryClientSecret() *Rule
func BitBucketClientID ¶
func BitBucketClientID() *Rule
func BitBucketClientSecret ¶
func BitBucketClientSecret() *Rule
func BittrexAccessKey ¶
func BittrexAccessKey() *Rule
func BittrexSecretKey ¶
func BittrexSecretKey() *Rule
func ClickHouseCloud ¶
func ClickHouseCloud() *Rule
func CloudflareAPIKey ¶
func CloudflareAPIKey() *Rule
func CloudflareGlobalAPIKey ¶
func CloudflareGlobalAPIKey() *Rule
func CloudflareOriginCAKey ¶
func CloudflareOriginCAKey() *Rule
func CodecovAccessToken ¶
func CodecovAccessToken() *Rule
func CohereAPIToken ¶
func CohereAPIToken() *Rule
func CoinbaseAccessToken ¶
func CoinbaseAccessToken() *Rule
func ConfluentAccessToken ¶
func ConfluentAccessToken() *Rule
func ConfluentSecretKey ¶
func ConfluentSecretKey() *Rule
func Contentful ¶
func Contentful() *Rule
func CurlBasicAuth ¶
func CurlBasicAuth() *Rule
func CurlHeaderAuth ¶
func CurlHeaderAuth() *Rule
func Databricks ¶
func Databricks() *Rule
func DatadogtokenAccessToken ¶
func DatadogtokenAccessToken() *Rule
func DefinedNetworkingAPIToken ¶
func DefinedNetworkingAPIToken() *Rule
func DigitalOceanOAuthToken ¶
func DigitalOceanOAuthToken() *Rule
func DigitalOceanPAT ¶
func DigitalOceanPAT() *Rule
func DigitalOceanRefreshToken ¶
func DigitalOceanRefreshToken() *Rule
func DiscordAPIToken ¶
func DiscordAPIToken() *Rule
func DiscordClientID ¶
func DiscordClientID() *Rule
func DiscordClientSecret ¶
func DiscordClientSecret() *Rule
func DroneciAccessToken ¶
func DroneciAccessToken() *Rule
func DropBoxAPISecret ¶
func DropBoxAPISecret() *Rule
func DropBoxLongLivedAPIToken ¶
func DropBoxLongLivedAPIToken() *Rule
func DropBoxShortLivedAPIToken ¶
func DropBoxShortLivedAPIToken() *Rule
func EasyPostTestAPI ¶
func EasyPostTestAPI() *Rule
func EtsyAccessToken ¶
func EtsyAccessToken() *Rule
func FacebookAccessToken ¶
func FacebookAccessToken() *Rule
func FacebookPageAccessToken ¶
func FacebookPageAccessToken() *Rule
func FacebookSecret ¶
func FacebookSecret() *Rule
func FastlyAPIToken ¶
func FastlyAPIToken() *Rule
func FinicityAPIToken ¶
func FinicityAPIToken() *Rule
func FinicityClientSecret ¶
func FinicityClientSecret() *Rule
func FinnhubAccessToken ¶
func FinnhubAccessToken() *Rule
func FlickrAccessToken ¶
func FlickrAccessToken() *Rule
func FlutterwaveEncKey ¶
func FlutterwaveEncKey() *Rule
func FlutterwavePublicKey ¶
func FlutterwavePublicKey() *Rule
func FlutterwaveSecretKey ¶
func FlutterwaveSecretKey() *Rule
func FlyIOAccessToken ¶
func FlyIOAccessToken() *Rule
func FreshbooksAccessToken ¶
func FreshbooksAccessToken() *Rule
func GenericCredential ¶
func GenericCredential() *Rule
func GitHubFineGrainedPat ¶
func GitHubFineGrainedPat() *Rule
func GitHubOauth ¶
func GitHubOauth() *Rule
func GitHubRefresh ¶
func GitHubRefresh() *Rule
func GitlabCiCdJobToken ¶
func GitlabCiCdJobToken() *Rule
func GitlabDeployToken ¶
func GitlabDeployToken() *Rule
func GitlabFeatureFlagClientToken ¶
func GitlabFeatureFlagClientToken() *Rule
func GitlabFeedToken ¶
func GitlabFeedToken() *Rule
func GitlabIncomingMailToken ¶
func GitlabIncomingMailToken() *Rule
func GitlabKubernetesAgentToken ¶
func GitlabKubernetesAgentToken() *Rule
func GitlabOauthAppSecret ¶
func GitlabOauthAppSecret() *Rule
func GitlabPatRoutable ¶
func GitlabPatRoutable() *Rule
func GitlabPipelineTriggerToken ¶
func GitlabPipelineTriggerToken() *Rule
func GitlabRunnerAuthenticationToken ¶
func GitlabRunnerAuthenticationToken() *Rule
func GitlabRunnerAuthenticationTokenRoutable ¶
func GitlabRunnerAuthenticationTokenRoutable() *Rule
func GitlabRunnerRegistrationToken ¶
func GitlabRunnerRegistrationToken() *Rule
func GitlabScimToken ¶
func GitlabScimToken() *Rule
func GitlabSessionCookie ¶
func GitlabSessionCookie() *Rule
func GitterAccessToken ¶
func GitterAccessToken() *Rule
func GoCardless ¶
func GoCardless() *Rule
func GrafanaApiKey ¶
func GrafanaApiKey() *Rule
func GrafanaCloudApiToken ¶
func GrafanaCloudApiToken() *Rule
func GrafanaServiceAccountToken ¶
func GrafanaServiceAccountToken() *Rule
func HardcodedPassword ¶
func HardcodedPassword() *Rule
func HashiCorpTerraform ¶
func HashiCorpTerraform() *Rule
func HashicorpField ¶
func HashicorpField() *Rule
func HuggingFaceAccessToken ¶
func HuggingFaceAccessToken() *Rule
func HuggingFaceOrganizationApiToken ¶
func HuggingFaceOrganizationApiToken() *Rule
func InfracostAPIToken ¶
func InfracostAPIToken() *Rule
func Intra42ClientSecret ¶
func Intra42ClientSecret() *Rule
func JFrogAPIKey ¶
func JFrogAPIKey() *Rule
func JFrogIdentityToken ¶
func JFrogIdentityToken() *Rule
func KrakenAccessToken ¶
func KrakenAccessToken() *Rule
func KubernetesSecret ¶
func KubernetesSecret() *Rule
func KucoinAccessToken ¶
func KucoinAccessToken() *Rule
func KucoinSecretKey ¶
func KucoinSecretKey() *Rule
func LaunchDarklyAccessToken ¶
func LaunchDarklyAccessToken() *Rule
func LinearAPIToken ¶
func LinearAPIToken() *Rule
func LinearClientSecret ¶
func LinearClientSecret() *Rule
func LinkedinClientID ¶
func LinkedinClientID() *Rule
func LinkedinClientSecret ¶
func LinkedinClientSecret() *Rule
func LobAPIToken ¶
func LobAPIToken() *Rule
func LobPubAPIToken ¶
func LobPubAPIToken() *Rule
func MailGunPrivateAPIToken ¶
func MailGunPrivateAPIToken() *Rule
func MailGunPubAPIToken ¶
func MailGunPubAPIToken() *Rule
func MailGunSigningKey ¶
func MailGunSigningKey() *Rule
func MattermostAccessToken ¶
func MattermostAccessToken() *Rule
func MaxMindLicenseKey ¶
func MaxMindLicenseKey() *Rule
func MessageBirdAPIToken ¶
func MessageBirdAPIToken() *Rule
func MessageBirdClientID ¶
func MessageBirdClientID() *Rule
func NetlifyAccessToken ¶
func NetlifyAccessToken() *Rule
func NewRelicBrowserAPIKey ¶
func NewRelicBrowserAPIKey() *Rule
func NewRelicInsertKey ¶
func NewRelicInsertKey() *Rule
func NewRelicUserID ¶
func NewRelicUserID() *Rule
func NewRelicUserKey ¶
func NewRelicUserKey() *Rule
func NugetConfigPassword ¶
func NugetConfigPassword() *Rule
func NytimesAccessToken ¶
func NytimesAccessToken() *Rule
func OctopusDeployApiKey ¶
func OctopusDeployApiKey() *Rule
func OktaAccessToken ¶
func OktaAccessToken() *Rule
func OnePasswordSecretKey ¶
func OnePasswordSecretKey() *Rule
func OnePasswordServiceAccountToken ¶
func OnePasswordServiceAccountToken() *Rule
func OpenshiftUserToken ¶
func OpenshiftUserToken() *Rule
func PerplexityAPIKey ¶
func PerplexityAPIKey() *Rule
func PlaidAccessID ¶
func PlaidAccessID() *Rule
func PlaidAccessToken ¶
func PlaidAccessToken() *Rule
func PlaidSecretKey ¶
func PlaidSecretKey() *Rule
func PlanetScaleAPIToken ¶
func PlanetScaleAPIToken() *Rule
func PlanetScaleOAuthToken ¶
func PlanetScaleOAuthToken() *Rule
func PlanetScalePassword ¶
func PlanetScalePassword() *Rule
func PostManAPI ¶
func PostManAPI() *Rule
func PrivateAIToken ¶
func PrivateAIToken() *Rule
func PrivateKey ¶
func PrivateKey() *Rule
func PulumiAPIToken ¶
func PulumiAPIToken() *Rule
func PyPiUploadToken ¶
func PyPiUploadToken() *Rule
func RapidAPIAccessToken ¶
func RapidAPIAccessToken() *Rule
func RubyGemsAPIToken ¶
func RubyGemsAPIToken() *Rule
func ScalingoAPIToken ¶
func ScalingoAPIToken() *Rule
func SendGridAPIToken ¶
func SendGridAPIToken() *Rule
func SendInBlueAPIToken ¶
func SendInBlueAPIToken() *Rule
func SendbirdAccessID ¶
func SendbirdAccessID() *Rule
func SendbirdAccessToken ¶
func SendbirdAccessToken() *Rule
func SentryAccessToken ¶
func SentryAccessToken() *Rule
func SentryOrgToken ¶
func SentryOrgToken() *Rule
func SentryUserToken ¶
func SentryUserToken() *Rule
func SettlemintApplicationAccessToken ¶
func SettlemintApplicationAccessToken() *Rule
func SettlemintPersonalAccessToken ¶
func SettlemintPersonalAccessToken() *Rule
func SettlemintServiceAccessToken ¶
func SettlemintServiceAccessToken() *Rule
func ShippoAPIToken ¶
func ShippoAPIToken() *Rule
func ShopifyAccessToken ¶
func ShopifyAccessToken() *Rule
func ShopifyCustomAccessToken ¶
func ShopifyCustomAccessToken() *Rule
func ShopifyPrivateAppAccessToken ¶
func ShopifyPrivateAppAccessToken() *Rule
func ShopifySharedSecret ¶
func ShopifySharedSecret() *Rule
func SidekiqSecret ¶
func SidekiqSecret() *Rule
func SidekiqSensitiveUrl ¶
func SidekiqSensitiveUrl() *Rule
func SlackAppLevelToken ¶
func SlackAppLevelToken() *Rule
func SlackBotToken ¶
func SlackBotToken() *Rule
func SlackConfigurationRefreshToken ¶
func SlackConfigurationRefreshToken() *Rule
func SlackConfigurationToken ¶
func SlackConfigurationToken() *Rule
func SlackLegacyBotToken ¶
func SlackLegacyBotToken() *Rule
func SlackLegacyToken ¶
func SlackLegacyToken() *Rule
func SlackLegacyWorkspaceToken ¶
func SlackLegacyWorkspaceToken() *Rule
func SlackUserToken ¶
func SlackUserToken() *Rule
func SlackWebHookUrl ¶
func SlackWebHookUrl() *Rule
func SquareAccessToken ¶
func SquareAccessToken() *Rule
func SquareSpaceAccessToken ¶
func SquareSpaceAccessToken() *Rule
func StripeAccessToken ¶
func StripeAccessToken() *Rule
func SumoLogicAccessID ¶
func SumoLogicAccessID() *Rule
func SumoLogicAccessToken ¶
func SumoLogicAccessToken() *Rule
func TeamsWebhook ¶
func TeamsWebhook() *Rule
func TelegramBotToken ¶
func TelegramBotToken() *Rule
func TravisCIAccessToken ¶
func TravisCIAccessToken() *Rule
func TwitchAPIToken ¶
func TwitchAPIToken() *Rule
func TwitterAPIKey ¶
func TwitterAPIKey() *Rule
func TwitterAPISecret ¶
func TwitterAPISecret() *Rule
func TwitterAccessSecret ¶
func TwitterAccessSecret() *Rule
func TwitterAccessToken ¶
func TwitterAccessToken() *Rule
func TwitterBearerToken ¶
func TwitterBearerToken() *Rule
func VaultBatchToken ¶
func VaultBatchToken() *Rule
func VaultServiceToken ¶
func VaultServiceToken() *Rule
func YandexAPIKey ¶
func YandexAPIKey() *Rule
func YandexAWSAccessToken ¶
func YandexAWSAccessToken() *Rule
func YandexAccessToken ¶
func YandexAccessToken() *Rule
func ZendeskSecretKey ¶
func ZendeskSecretKey() *Rule
func (*Rule) CreateRuleNameFromRuleID ¶
func (r *Rule) CreateRuleNameFromRuleID()
type RuleCategory ¶
type RuleCategory string
const ( CategoryAuthenticationAndAuthorization RuleCategory = "Authentication and Authorization" CategoryCryptocurrencyExchange RuleCategory = "Cryptocurrency Exchange" CategoryFinancialServices RuleCategory = "Financial Services" CategoryPaymentProcessing RuleCategory = "Payment Processing" CategorySecurity RuleCategory = "Security" CategoryAPIAccess RuleCategory = "API Access" CategoryCICD RuleCategory = "CI/CD" CategoryCloudPlatform RuleCategory = "Cloud Platform" CategoryDatabaseAsAService RuleCategory = "Database as a Service" CategoryDevelopmentPlatform RuleCategory = "Development Platform" CategoryEmailDeliveryService RuleCategory = "Email Delivery Service" CategoryInfrastructureAsCode RuleCategory = "Infrastructure as Code (IaC)" CategoryPackageManagement RuleCategory = "Package Management" CategorySourceCodeManagement RuleCategory = "Source Code Management" CategoryWebHostingAndDeployment RuleCategory = "Web Hosting and Deployment" CategoryBackgroundProcessingService RuleCategory = "Background Processing Service" CategoryCDN RuleCategory = "CDN (Content Delivery Network)" CategoryContentManagementSystem RuleCategory = "Content Management System (CMS)" CategoryCustomerSupport RuleCategory = "Customer Support" CategoryDataAnalytics RuleCategory = "Data Analytics" CategoryFileStorageAndSharing RuleCategory = "File Storage and Sharing" CategoryIoTPlatform RuleCategory = "IoT platform" CategoryMappingAndLocationServices RuleCategory = "Mapping and Location Services" CategoryNetworking RuleCategory = "Networking" CategoryPhotoSharing RuleCategory = "Photo Sharing" CategorySaaS RuleCategory = "SaaS" CategoryShipping RuleCategory = "Shipping" CategorySoftwareDevelopment RuleCategory = "Software Development" CategoryAIAndMachineLearning RuleCategory = "AI and Machine Learning" CategoryApplicationMonitoring RuleCategory = "Application Monitoring" CategoryECommercePlatform RuleCategory = "E-commerce Platform" CategoryMarketingAutomation RuleCategory = "Marketing Automation" CategoryNewsAndMedia RuleCategory = "News and Media" CategoryOnlineSurveyPlatform RuleCategory = "Online Survey Platform" CategoryProjectManagement RuleCategory = "Project Management" CategorySearchService RuleCategory = "Search Service" CategorySocialMedia RuleCategory = "Social Media" CategoryGeneralOrUnknown RuleCategory = "General" )
Source Files
¶
- 1password_secret_key.go
- 1password_service_account.go
- adafruit.go
- adobe_client_id.go
- adobe_client_secret.go
- age.go
- airtable.go
- algolia.go
- alibaba_access_key.go
- alibaba_secret_key.go
- anthropic_admin_api_key.go
- anthropic_api_key.go
- asana_client_id.go
- asana_client_secret.go
- atlassian.go
- authenticated_url.go
- authress.go
- aws.go
- azure.go
- beamer.go
- bitbucket_client_id.go
- bitbucket_client_secret.go
- bittrex_access_key.go
- bittrex_secret_key.go
- clickhouse.go
- clojars.go
- cloudflare_api_key.go
- cloudflare_global_api_key.go
- cloudflare_origin_ca_key.go
- codecov.go
- cohere.go
- coinbase.go
- confluent_access_token.go
- confluent_secret_key.go
- contentful.go
- curl_basic_auth.go
- curl_header_auth.go
- databricks.go
- datadog.go
- definednetworking.go
- digitalocean_access_token.go
- digitalocean_pat.go
- digitalocean_refresh_token.go
- discord_api_token.go
- discord_client_id.go
- discord_client_secret.go
- doppler.go
- droneci.go
- dropbox_api_token.go
- dropbox_long_lived_api_token.go
- dropbox_short_lived_api_token.go
- duffel.go
- dynatrace.go
- easypost.go
- easypost_test_api_token.go
- etsy.go
- facebook_access_token.go
- facebook_page_access_token.go
- facebook_secret.go
- fastly.go
- finicity_api_token.go
- finicity_client_secret.go
- finnhub.go
- flickr.go
- flutterwave_encryption_key.go
- flutterwave_public_key.go
- flutterwave_secret_key.go
- flyio.go
- frameio.go
- freemius.go
- freshbooks.go
- gcp_api_key.go
- generic_credential.go
- github_app_token.go
- github_fine_grained_pat.go
- github_oauth.go
- github_pat.go
- github_refresh_token.go
- gitlab_auth_token_routable.go
- gitlab_cicd_job_token.go
- gitlab_deploy_token.go
- gitlab_feature_flag_client.go
- gitlab_feed_token.go
- gitlab_incoming_mail_token.go
- gitlab_kubernetes_agent_token.go
- gitlab_oauth_app_secret.go
- gitlab_pat.go
- gitlab_pat_routable.go
- gitlab_pipeline_trigger_token.go
- gitlab_runner_auth_token.go
- gitlab_runner_registration_token.go
- gitlab_scim_token.go
- gitlab_session_cookie.go
- gitter.go
- gocardless.go
- grafana_api_key.go
- grafana_cloud_api_token.go
- grafana_service_account_token.go
- hardcoded_password.go
- hashicorp.go
- hashicorp_tf_password.go
- heroku.go
- heroku_v2.go
- hubspot.go
- hugging_face_access_token.go
- hugging_face_org_api_token.go
- infracost.go
- intercom.go
- intra42.go
- jfrog_api_key.go
- jfrog_identity_token.go
- jwt.go
- jwt_base64.go
- kraken.go
- kubernetes_secret.go
- kucoin_access_token.go
- kucoin_secret_key.go
- launchdarkly.go
- linear_api_token.go
- linear_client_secret.go
- linkedin_client_id.go
- linkedin_client_secret.go
- lob_api_token.go
- lob_pub_api_token.go
- mailchimp.go
- mailgun_private_api_token.go
- mailgun_pub_key.go
- mailgun_signing_key.go
- mapbox.go
- mattermost.go
- maxmind.go
- meraki.go
- messagebird_api_token.go
- messagebird_client_id.go
- netlify.go
- new_relic_browser_api_token.go
- new_relic_insert_key.go
- new_relic_user_api_id.go
- new_relic_user_id.go
- notion.go
- npm.go
- nuget.go
- nytimes.go
- octopusdeploy.go
- okta.go
- openai.go
- openshift.go
- perplexity.go
- plaid_access_id.go
- plaid_access_token.go
- plaid_secret_key.go
- planet_scale_api_token.go
- planet_scale_oauth_token.go
- planet_scale_password.go
- postman.go
- prefect.go
- privateai.go
- privatekey.go
- pulumi.go
- pypi.go
- rapidapi.go
- readme.go
- rubygems.go
- rule.go
- scalingo.go
- sendbird_access_id.go
- sendbird_access_token.go
- sendgrid.go
- sendinblue.go
- sentry_access_token.go
- sentry_org_token.go
- sentry_user_token.go
- settlemint_application_access_token.go
- settlemint_personal_access_token.go
- settlemint_service_access_token.go
- shippo.go
- shopify_access_token.go
- shopify_custom_access_token.go
- shopify_private_app_access_token.go
- shopify_shared_secret.go
- sidekiq_secret.go
- sidekiq_sensitive_url.go
- slack_app_level_token.go
- slack_bot_token.go
- slack_config_refresh_token.go
- slack_config_token.go
- slack_legacy_bot_token.go
- slack_legacy_token.go
- slack_user_token.go
- slack_webhook_url.go
- snyk.go
- square_access_token.go
- squarespace.go
- stack_legacy_workspace_token.go
- stopwords.go
- stripe.go
- sumologic_access_id.go
- sumologic_access_token.go
- teams.go
- telegram.go
- travisci.go
- twilio.go
- twitch.go
- twitter_access_secret.go
- twitter_access_token.go
- twitter_api_key.go
- twitter_api_secret.go
- twitter_bearer_token.go
- typeform.go
- utils.go
- vault_batch_token.go
- vault_service_token.go
- yandex_access_token.go
- yandex_api_key.go
- yandex_aws_access_token.go
- zendesk.go
Click to show internal directories.
Click to hide internal directories.