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

commenting out default servicemonitor auth to avoid checkov CKV_SECRET_6 #321

Merged
merged 5 commits into from
Oct 16, 2023

Conversation

rwd5213
Copy link
Contributor

@rwd5213 rwd5213 commented Sep 14, 2023

what

Commenting out the default password and username setting for service monitor authentication to avoid running into the checkov SECRET_6 compliance check.

why

Since its disabled by default any way there should be no harm in commenting out the actual setting of the password and prevents people from deploying with a default password if they do enable the auth check for the service monitor. Commented out and left for reference of users that want to set it.

tests

Running checkov against charts with it commented out does not make the error occur.

references

@rwd5213 rwd5213 requested a review from a team as a code owner September 14, 2023 19:21
@GMartinez-Sisti
Copy link
Member

Hi @rwd5213, even thought there's no actual change, it's a good practice to bump the chart. Bumping the patch version would be enough.

@rwd5213
Copy link
Contributor Author

rwd5213 commented Sep 18, 2023

@GMartinez-Sisti Fixed both, thanks

Copy link
Member

@GMartinez-Sisti GMartinez-Sisti left a comment

Choose a reason for hiding this comment

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

LGTM. I approve although I’m not a maintainer. I just help around 🙂

@jamengual jamengual merged commit 610c59c into runatlantis:main Oct 16, 2023
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants