public final class RuleUtil extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | RuleUtil.MatcherAudit event source name matcher. | 
| Modifier and Type | Method and Description | 
|---|---|
| static String | getCategory(AuditEvent event)Get the rule category from an audit event. | 
| static String | getCategory(String eventSrcName)Get the rule category from an audit event source name. | 
| static String | getName(AuditEvent event)Get the rule name from an audit event. | 
| static String | getName(String eventSrcName)Get the rule name from an audit event source name. | 
| static RuleUtil.Matcher[] | parseMatchers(String[] specs) | 
public static String getName(AuditEvent event)
event - the audit eventpublic static String getName(String eventSrcName)
eventSrcName - the audit event source namepublic static String getCategory(AuditEvent event)
event - the audit eventpublic static String getCategory(String eventSrcName)
eventSrcName - the audit event source namepublic static RuleUtil.Matcher[] parseMatchers(String[] specs)
Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.