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

[OPENJDK-1978] tag some source lines with "notsecret" to suppress false-positive security scans #368

Open
jmtd opened this issue Jul 21, 2023 · 0 comments

Comments

@jmtd
Copy link
Member

jmtd commented Jul 21, 2023

https://issues.redhat.com/browse/OPENJDK-1978

Some of the container sources look a bit like embedded passwords to security scanners. In particular these three lines

Adjust those source lines to include the string "nosecret" on those particular lines. This should be a comment in the relevant language, e.g. # nosecret in shell, or <!-- nosecret --> in XML.

We'd need this in the ubi8 and ubi9 branches.

@jmtd jmtd changed the title tag some source lines with "notsecret" to suppress false-positive security scans [OPENJDK-1978] tag some source lines with "notsecret" to suppress false-positive security scans Jul 21, 2023
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