(result SecurityCheckResult)
| 224 | } |
| 225 | |
| 226 | func IsBlocking(result SecurityCheckResult) bool { |
| 227 | for id := range result.CheckIDs { |
| 228 | if blockingCheckIDs[id] { |
| 229 | return true |
| 230 | } |
| 231 | } |
| 232 | return false |
| 233 | } |
| 234 | |
| 235 | func IsWarningOnly(result SecurityCheckResult) bool { |
| 236 | if len(result.Findings) == 0 { |
no outgoing calls
no test coverage detected