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

Add G204 rule for sys/execabs #660

Merged
merged 2 commits into from
Jul 1, 2021
Merged

Conversation

secjosh
Copy link
Contributor

@secjosh secjosh commented Jul 1, 2021

resolves #659

  • add G204 detection for golang.org/x/sys/execabs

@ccojocar
Copy link
Member

ccojocar commented Jul 1, 2021

@secjosh Thanks for contributing this improvement. It seems that the unit test is failing for Go 1.15. Could you please have a look? Thanks

@secjosh
Copy link
Contributor Author

secjosh commented Jul 1, 2021

it was a syntax error in the test data (missing closing }).

@codecov-commenter
Copy link

Codecov Report

Merging #660 (93f4364) into master (e936c84) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #660      +/-   ##
==========================================
+ Coverage   68.85%   68.88%   +0.03%     
==========================================
  Files          47       47              
  Lines        1997     1999       +2     
==========================================
+ Hits         1375     1377       +2     
  Misses        570      570              
  Partials       52       52              
Impacted Files Coverage Δ
rules/subproc.go 92.59% <100.00%> (+0.59%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e936c84...93f4364. Read the comment docs.

@ccojocar ccojocar merged commit 514f65f into securego:master Jul 1, 2021
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.

G204 detection for sys/execabs
3 participants