(result SecurityCheckResult)
| 233 | } |
| 234 | |
| 235 | func IsWarningOnly(result SecurityCheckResult) bool { |
| 236 | if len(result.Findings) == 0 { |
| 237 | return false |
| 238 | } |
| 239 | for id := range result.CheckIDs { |
| 240 | if blockingCheckIDs[id] { |
| 241 | return false |
| 242 | } |
| 243 | } |
| 244 | return true |
| 245 | } |
| 246 | |
| 247 | func CheckSemantics(command string) string { |
| 248 | extraction := ExtractQuotedContent(command) |
no outgoing calls