()
| 404 | } |
| 405 | |
| 406 | func (f *envCheckFindings) hasEnvFinding() bool { |
| 407 | for _, svc := range f.services { |
| 408 | if svc.hasEnvFile || len(svc.suspiciousKeys) > 0 { |
| 409 | return true |
| 410 | } |
| 411 | } |
| 412 | return false |
| 413 | } |
| 414 | |
| 415 | // checkEnvironmentVariables walks every compose file that will be serialized |
| 416 | // into the OCI artifact (the top-level files plus any local extends parents) |
no outgoing calls
no test coverage detected