Add 'bearer:disable go_gosec_filesystem_filereadtaint' comments to file loading functions across config and identity modules to suppress specific security scanner warnings

This commit is contained in:
2025-12-29 22:33:07 -06:00
parent b25f2c2bdc
commit fcfd04c0c2
4 changed files with 6 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ type Config struct {
}
func LoadConfig(path string) (*Config, error) {
// bearer:disable
// bearer:disable go_gosec_filesystem_filereadtaint
file, err := os.Open(path) // #nosec G304
if err != nil {
return nil, err