MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / validSensitivity

Function validSensitivity

internal/identity/protection.go:40–43  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

38}
39
40func validSensitivity(s string) bool {
41 _, ok := sensitivityBands[s]
42 return ok
43}
44
45// ProtectionConfig is the full per-agent protection posture as the public
46// /protection resource models it: a gate (trust policy + allowlist + action)

Callers 1

ValidateProtectionConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected