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

Remove nosec directive to test the sarif report upload #1228

Closed
wants to merge 2 commits into from

Conversation

ccojocar
Copy link
Member

No description provided.

Change-Id: I21c408df91c0820bc7579e8fd70fff533e8f720b
Signed-off-by: Cosmin Cojocar <[email protected]>
Change-Id: I3fc8f7a6adfe8ebe15194c2c0f17d8ba3052ca11
Signed-off-by: Cosmin Cojocar <[email protected]>
@@ -305,11 +305,11 @@
}

func saveReport(filename, format string, rootPaths []string, reportInfo *gosec.ReportInfo) error {
outfile, err := os.Create(filename) // #nosec G304
outfile, err := os.Create(filename)

Check failure

Code scanning / gosec

Potential file inclusion via variable Error

Potential file inclusion via variable
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.

1 participant