gosec/testutils
Cosmin Cojocar 0d332a1027 Add a new rule which detects when a file is created with os.Create but the configured permissions are less than 0666
It seems that the os.Create will create by default a file with 0666 permissions.

This should be detected when the configured permissions are less than 0666. By default will not detect this case
unless the more restrictive mode is configured.

Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
2023-09-25 13:24:34 +02:00
..
log.go Major rework of codebase 2017-07-19 15:17:00 -06:00
pkg.go correct gci linter (#946) 2023-03-30 09:31:24 +02:00
source.go Add a new rule which detects when a file is created with os.Create but the configured permissions are less than 0666 2023-09-25 13:24:34 +02:00
visitor.go Handle properly the gosec module version v2 2020-04-06 09:06:23 -07:00