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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulnerability scanner is flagging the image (v1.15) for containing private keys #336

Open
rivky9505 opened this issue Jul 11, 2022 · 1 comment

Comments

@rivky9505
Copy link

Hello 馃憢

We recently added a vulnerability scan on the fluentd image (v1.15) using a Check-Point tool called SourceGuard, the scan results are flagging fluentd images for containing test certs.
For example:

/usr/local/bundle/gems/fluentd-1.14.0/test/plugin_helper/data/cert/cert_chains/ca-cert-key.pem
/usr/local/bundle/gems/fluentd-1.14.0/test/plugin_helper/data/cert/with_ca/cert-key.pem
/usr/local/bundle/gems/fluentd-1.14.0/test/plugin_helper/data/cert/without_ca/cert-key.pem
/usr/local/bundle/gems/fluentd-1.14.0/test/plugin_helper/data/cert/with_ca/cert-key-pass.pem
/usr/local/bundle/gems/fluentd-1.14.0/test/plugin_helper/data/cert/without_ca/cert-key-pass.pem
/usr/local/bundle/gems/fluentd-1.14.0/test/plugin_helper/data/cert/cert-key.pem
/usr/local/bundle/gems/fluentd-1.14.0/test/plugin_helper/data/cert/cert_chains/cert-key.pem
/usr/local/bundle/gems/fluentd-1.14.0/test/plugin_helper/data/cert/with_ca/ca-cert-key-pass.pem
/usr/local/bundle/gems/fluentd-1.14.0/test/plugin_helper/data/cert/with_ca/ca-cert-key.pem

I think these test certs (and probably the entire test folder) could be removed from the final docker image. WDYT? I'd be happy to contribute a PR.

Thanks!

@rivky9505 rivky9505 changed the title Vulnerability scanner is flagging the image (v1.15) Vulnerability scanner is flagging the image (v1.15) for containing private keys Jul 11, 2022
@kenhys
Copy link
Contributor

kenhys commented Dec 9, 2022

As you mentioned, it is prepared for testing purposes. PRs are welcome.

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

No branches or pull requests

2 participants