Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
docs: point five internal links at files that exist (#5375)
Calvin Tjoaquinnbb9ed1398253
diff --git a/README.md b/README.mdindex 0a001e615..a19abac88 100644--- a/README.md+++ b/README.md@@ -427,7 +427,7 @@ For every potential credential that is detected, we've painstakingly implemented- **unverified**: Credential detected but not confirmed valid (may be invalid, expired, or verification disabled)- **unknown**: Verification attempted but failed due to errors, such as a network or API failure-For example, the [AWS credential detector](pkg/detectors/aws/aws.go) performs a `GetCallerIdentity` API call against the AWS API to verify if an AWS credential is active.+For example, the [AWS credential detector](pkg/detectors/aws/access_keys/accesskey.go) performs a `GetCallerIdentity` API call against the AWS API to verify if an AWS credential is active.# :memo: Usagediff --git a/hack/docs/Adding_Detectors_Internal.md b/hack/docs/Adding_Detectors_Internal.mdindex c1951feb4..a20a1f744 100644--- a/hack/docs/Adding_Detectors_Internal.md+++ b/hack/docs/Adding_Detectors_Internal.md@@ -15,7 +15,7 @@ The purpose of Secret Detectors is to discover secrets with exceptionally high s- [Sourcing Guidelines](#sourcing-guidelines)- [Development Guidelines](#development-guidelines)- [Development Dependencies](#development-dependencies)- - [Creating a new Secret Scanner](#creating-a-new-secret-detector)+ - [Creating a new Secret Scanner](#creating-a-new-secret-scanner)- [Populating SecretParts](#populating-secretparts)- [Addendum](#addendum)- [Verification indeterminacy](#verification-indeterminacy)@@ -35,7 +35,7 @@ If you think that something should be included outside of these guidelines, plea### Development Guidelines- When reasonable, favor using the `net/http` library to make requests instead of bringing in another library.-- Use the [`common.SaneHttpClient`](pkg/common/http.go) for the `http.Client` whenever possible.+- Use the [`common.SaneHttpClient`](/pkg/common/http.go) for the `http.Client` whenever possible.- We recommend an editor with gopls integration (such as Vscode with Go plugin) for benefits like easily running tests, autocompletion, linting, type checking, etc.### Development Dependencies@@ -179,7 +179,7 @@ Do not embed test credentials in the test code. Instead, use GCP Secrets Manager```Note: We increment the detectors file name `detectors(n+1)` once the previous one exceeds the max size allowed by GSM (65kb).-4. Access the secret value as shown in the [example code](pkg/detectors/heroku/heroku_test.go).+4. Access the secret value as shown in the [example code](/pkg/detectors/heroku/v1/heroku_integration_test.go).### Setting up Google Cloud SDKdiff --git a/hack/docs/Adding_Detectors_external.md b/hack/docs/Adding_Detectors_external.mdindex cf338db9f..91575c32d 100644--- a/hack/docs/Adding_Detectors_external.md+++ b/hack/docs/Adding_Detectors_external.md@@ -57,7 +57,7 @@ Note: Be sure to update the tests to reference the new secret values in GSM, or4. Update the existing detector in DefaultDetectors in `/pkg/engine/defaults/defaults.go`-5. Proceed from step 3 of [Creating a new Secret Scanner](#creating-a-new-secret-scanner)+5. Proceed from step 3 of [Creating a new Secret Detector](#creating-a-new-secret-detector)### Creating a new Secret Detector