Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursive path metadata for archives #1549

Open
mcastorina opened this issue Jul 26, 2023 · 1 comment
Open

Recursive path metadata for archives #1549

mcastorina opened this issue Jul 26, 2023 · 1 comment

Comments

@mcastorina
Copy link
Collaborator

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Add path metadata to archive unpacking.

Problem to be Addressed

TruffleHog supports scanning archives, but it doesn't report which file in an archive the secret was found in. It would be great to include that location information, especially for nested structures.

Description of the Preferred Solution

Add the decoded archive path to the chunk metadata. This metadata should be printed when a secret is found.

Additional Context

Archive unpacking is done in the archive handler.

@mcastorina
Copy link
Collaborator Author

POC PR: #1551

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant