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

Secret detection capability #206

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Conversation

slashben
Copy link
Contributor

Overview

A capability that finds secrets (private key, tokens and other credential materials) in the container image and publishes it in the scan results.

Checklist before requesting a review

put an [x] in the box to get it checked

  • My code follows the style guidelines of this project
  • I have commented on my code, particularly in hard-to-understand areas
  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests.
  • New and existing unit tests pass locally with my changes

Copy link

Summary:

  • License scan: failure
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@matthyx matthyx force-pushed the feature/secret-detection branch from 54d2548 to 3b6463f Compare January 24, 2024 17:43
Copy link

Summary:

  • License scan: failure
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@matthyx matthyx force-pushed the feature/secret-detection branch from 3b6463f to 397ce6a Compare January 25, 2024 06:46
Copy link

Summary:

  • License scan: failure
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

Comment on lines +151 to +154
fileDetectionConfig := &secretdetector.FileDetectionConfig{
SkipBinaryFiles: false,
SizeThreshold: 0,
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd set SkipBinaryFiles to true in the first release. We need to make the scanning more efficient before we turn this on

@matthyx
Copy link
Contributor

matthyx commented Feb 7, 2025

this will be implemented in node-agent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: WIP
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants