Skip to content

Commit

Permalink
Revert "Initial set of Azure secrets for gitleaks#539 (gitleaks#1079)" (
Browse files Browse the repository at this point in the history
gitleaks#1197)

This reverts commit 7911ac6.
  • Loading branch information
zricethezav authored Jun 15, 2023
1 parent 7911ac6 commit 7804d65
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 685 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ testdata/expected/report/*.got.*
# Test binary
*.out

dist/
dist/
27 changes: 0 additions & 27 deletions cmd/generate/config/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,38 +24,11 @@ func main() {
configRules = append(configRules, rules.AlgoliaApiKey())
configRules = append(configRules, rules.AlibabaAccessKey())
configRules = append(configRules, rules.AlibabaSecretKey())
configRules = append(configRules, rules.AnsibleVaultToken())
configRules = append(configRules, rules.AsanaClientID())
configRules = append(configRules, rules.AsanaClientSecret())
configRules = append(configRules, rules.Atlassian())
configRules = append(configRules, rules.Authress())
configRules = append(configRules, rules.AWS())
configRules = append(configRules, rules.AzureAppServiceDeploymentSecrets())
configRules = append(configRules, rules.AzureDevTFVCSecrets())
configRules = append(configRules, rules.AzureDevopsPAT())
configRules = append(configRules, rules.AzureNetworkCredential())
configRules = append(configRules, rules.AzureNetworkCredentialSchtasks())
configRules = append(configRules, rules.AzureNetworkCredentialDotNet())
configRules = append(configRules, rules.AzurePasswordDecryptionkey())
configRules = append(configRules, rules.AzurePasswordAddKey())
configRules = append(configRules, rules.AzurePasswordConnString())
configRules = append(configRules, rules.AzurePasswordValueString())
configRules = append(configRules, rules.AzurePassworduidpw())
configRules = append(configRules, rules.AzureStorageCredential43char())
configRules = append(configRules, rules.AzureStorageCredential86char())
configRules = append(configRules, rules.AzureStorageCredentialAccountKey())
configRules = append(configRules, rules.AzureStorageCredentialBlobURL())
configRules = append(configRules, rules.AzureStorageCredentialMonikerKey())
configRules = append(configRules, rules.AzureStorageCredentialServiceBus())
configRules = append(configRules, rules.AzureStorageCredentialSig53())
configRules = append(configRules, rules.AzureStorageCredentialUserIDPW())
configRules = append(configRules, rules.AzureStorageCredentialXStore())

// Below work on Regex.com but something about the internal conversion to generateUniqueTokenRegex is breaking them
//configRules = append(configRules, rules.AzurePowershellTokenCache())
//configRules = append(configRules, rules.AzurePasswordXMLCredential())
//configRules = append(configRules, rules.AzurePasswordXMLValue())
//configRules = append(configRules, rules.AzurePasswordSSISProperty())
configRules = append(configRules, rules.BitBucketClientID())
configRules = append(configRules, rules.BitBucketClientSecret())
configRules = append(configRules, rules.BittrexAccessKey())
Expand Down
24 changes: 0 additions & 24 deletions cmd/generate/config/rules/ansible.go

This file was deleted.

Loading

0 comments on commit 7804d65

Please sign in to comment.