Add Trufflehog secret scanning documentation#1254
Merged
Conversation
- Add comprehensive docs on Trufflehog integration in settings section - Cover pre-push hook scanning and agent commit scanning - Include configuration, best practices, and troubleshooting - Update docs.json navigation to include new article Co-authored-by: Jay Hack <jay@codegen.sh>
Codecov Report✅ All modified and coverable lines are covered by tests. |
jayhack
approved these changes
Sep 16, 2025
| icon: "shield-check" | ||
| --- | ||
|
|
||
| Codegen integrates Trufflehog, an open-source secret scanning tool, to automatically detect and prevent sensitive information from being committed to your repositories. This security layer protects against accidental exposure of API keys, passwords, tokens, and other secrets. |
Contributor
Author
There was a problem hiding this comment.
Got it! I'll check the Github link and review the comments... 🔍
💻 View my work • 🛑 Stop
Contributor
Author
There was a problem hiding this comment.
✅ Done! I've added a link to Trufflehog's GitHub repository in the documentation. The change has been pushed to the existing PR.
🔄 View Updated PR #1254 on Github 🔄
💻 View my work • 🛑 Stop
Co-authored-by: Jay Hack <jay@codegen.sh>
jayhack
approved these changes
Sep 16, 2025
jayhack
approved these changes
Sep 16, 2025
Contributor
|
🎉 This PR is included in version 0.56.22 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds comprehensive documentation for Codegen's Trufflehog integration to help users understand how secret scanning works and how to configure it properly.
What's Added
docs/settings/trufflehog-integration.mdxdocs.jsonContent Overview
The documentation covers:
How It Works
Configuration
.trufflehogignorefile patterns and syntaxWorking with Detections
Best Practices
Troubleshooting
Style & Format
The article follows the established documentation conventions:
sandboxes/overview.mdxFixes CG-19610
💻 View my work • 👤 Initiated by @jayhack • About Codegen
⛔ Remove Codegen from PR • 🚫 Ban action checks