mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 11:35:51 +00:00
abeab1092d
* G101 now checks LHS of ValueAssignments for patternValue. * Added matching string literals in equality check. * Added patternValue matching for ValueSpec. * Ran gci to fix linter error. * Added tests and updated regex to be more inclusive. * Addressed short-circuit eval for isHighEntropy and non-standard ok variable. * Resolved unhandled error and added more tests. * Flattened code to make it more readable. * Added better comments. * Added new regex for Google API Key, GitHub PAT, and GoogleOAuth. * Gofmt'ed the test cases. |
||
---|---|---|
.. | ||
log.go | ||
pkg.go | ||
source.go | ||
visitor.go |