chore(tools): update fetchml-vet analyzers

Analyzer improvements:
- hipaacomplete.go: refined HIPAA compliance checks
- manifestenv.go: environment variable validation in manifests
- nobaredetector.go: detection of bare credential exposures
- noinlinecredentials.go: inline credential scanning improvements
This commit is contained in:
Jeremie Fraeys 2026-03-12 12:09:34 -04:00
parent 2bd7f97ae2
commit a49e8f593c
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View file

@ -27,7 +27,7 @@ var hipaaRequiredFields = []string{
"ComplianceMode",
}
func runHIPAACompleteness(pass *analysis.Pass) (interface{}, error) {
func runHIPAACompleteness(pass *analysis.Pass) (any, error) {
for _, file := range pass.Files {
ast.Inspect(file, func(n ast.Node) bool {
// Look for if statements

View file

@ -16,7 +16,7 @@ var ManifestEnvironmentAnalyzer = &analysis.Analyzer{
Run: runManifestEnvironment,
}
func runManifestEnvironment(pass *analysis.Pass) (interface{}, error) {
func runManifestEnvironment(pass *analysis.Pass) (any, error) {
for _, file := range pass.Files {
ast.Inspect(file, func(n ast.Node) bool {
// Look for return statements

View file

@ -16,7 +16,7 @@ var NoBareDetectorAnalyzer = &analysis.Analyzer{
Run: runNoBareDetector,
}
func runNoBareDetector(pass *analysis.Pass) (interface{}, error) {
func runNoBareDetector(pass *analysis.Pass) (any, error) {
for _, file := range pass.Files {
ast.Inspect(file, func(n ast.Node) bool {
// Look for call expressions

View file

@ -29,7 +29,7 @@ var sensitiveCredentialFields = []string{
"PrivateKey",
}
func runNoInlineCredentials(pass *analysis.Pass) (interface{}, error) {
func runNoInlineCredentials(pass *analysis.Pass) (any, error) {
for _, file := range pass.Files {
ast.Inspect(file, func(n ast.Node) bool {
// Look for composite literals (struct initialization)