MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / IsWarningOnly

Function IsWarningOnly

tools/bash/security.go:235–245  ·  view source on GitHub ↗
(result SecurityCheckResult)

Source from the content-addressed store, hash-verified

233}
234
235func 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
247func CheckSemantics(command string) string {
248 extraction := ExtractQuotedContent(command)

Callers 1

Calls

no outgoing calls

Tested by 1