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

Gosec fixes #60

Merged
merged 4 commits into from
Mar 3, 2022
Merged

Gosec fixes #60

merged 4 commits into from
Mar 3, 2022

Conversation

nb950
Copy link
Contributor

@nb950 nb950 commented Mar 3, 2022

Description

gosec issues fix, specifically G304 https://securego.io/docs/rules/g304.html
enable actions gosec check for all except tests folder
hardcode path to yaml files to make it safer for now ,
next release remove yamls files on disk and move to configmaps in k8s

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#159

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have maintained backward compatibility

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • manual deploy and install driver
  • unit test coverage run

@nb950 nb950 merged commit 41edf1a into main Mar 3, 2022
@nb950 nb950 deleted the gosec-fixes branch March 17, 2022 19:22
ChristianAtDell added a commit that referenced this pull request Oct 15, 2024
* gosec issues fix, specifically G304 https://securego.io/docs/rules/g304.html
enable actions gosec check for all except tests

* fix yaml

* fix gosec error in semver
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.

4 participants