We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c7609e commit 2373eccCopy full SHA for 2373ecc
pkg/yara/config/config.go
@@ -165,7 +165,7 @@ func (c Config) ShouldSkipFile(file string) bool {
165
// whether the process scan took place or a file/registry
166
// key was scanned.
167
func (c Config) AlertTitle(e *kevent.Kevent) string {
168
- if (e.Category == ktypes.File && e.Kparams.Contains(kparams.FileName)) || e.Category == ktypes.Registry {
+ if (e.Category == ktypes.File && e.GetParamAsString(kparams.FileName) != "") || e.Category == ktypes.Registry {
169
return FileThreatAlertTitle
170
}
171
return MemoryThreatAlertTitle
0 commit comments