MCPcopy Create free account
hub / github.com/astercloud/aster / containsAuditType

Function containsAuditType

pkg/security/audit.go:890–897  ·  view source on GitHub ↗
(slice []AuditType, item AuditType)

Source from the content-addressed store, hash-verified

888}
889
890func containsAuditType(slice []AuditType, item AuditType) bool {
891 for _, s := range slice {
892 if s == item {
893 return true
894 }
895 }
896 return false
897}
898
899func containsAuditSeverity(slice []AuditSeverity, item AuditSeverity) bool {
900 for _, s := range slice {

Callers 2

matchesQueryMethod · 0.85
GetStatisticsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected