Package org.graylog2.audit
Class AuditEventType
java.lang.Object
org.graylog2.audit.AuditEventType
Represents an audit event with namespace, object and action.
Plugins should use their own namespace for audit events.
The
create(String)
method expects an event type string with the following format:
namespace:object:action
Examples:
server:message_input:create
pipeline-processor:configuration:update
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
action()
static AuditEventType
CreatesAuditEventType
from an audit event type string with the following format.static AuditEventType
abstract String
abstract String
object()
-
Constructor Details
-
AuditEventType
public AuditEventType()
-
-
Method Details
-
namespace
-
object
-
action
-
toTypeString
-
create
-
create
CreatesAuditEventType
from an audit event type string with the following format.namespace:object:action
See class documentation for details.- Parameters:
type
- the audit event type string- Returns:
- the object
-