Class NullAuditLog
- java.lang.Object
-
- com.floragunn.searchguard.auditlog.NullAuditLog
-
- All Implemented Interfaces:
AuditLog,Closeable,AutoCloseable
public class NullAuditLog extends Object implements AuditLog
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.floragunn.searchguard.auditlog.AuditLog
AuditLog.Operation, AuditLog.Origin
-
-
Constructor Summary
Constructors Constructor Description NullAuditLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidlogBadHeaders(org.elasticsearch.rest.RestRequest request)voidlogBadHeaders(org.elasticsearch.transport.TransportRequest request, String action, org.elasticsearch.tasks.Task task)voidlogDocumentDeleted(org.elasticsearch.index.shard.ShardId shardId, org.elasticsearch.index.engine.Engine.Delete delete, org.elasticsearch.index.engine.Engine.DeleteResult result)voidlogDocumentRead(String index, String id, org.elasticsearch.index.shard.ShardId shardId, Map<String,String> fieldNameValues, ComplianceConfig complianceConfig)voidlogDocumentWritten(org.elasticsearch.index.shard.ShardId shardId, org.elasticsearch.index.get.GetResult originalIndex, org.elasticsearch.index.engine.Engine.Index currentIndex, org.elasticsearch.index.engine.Engine.IndexResult result, ComplianceConfig complianceConfig)voidlogExternalConfig(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.env.Environment environment)voidlogFailedLogin(String effectiveUser, boolean sgadmin, String initiatingUser, org.elasticsearch.rest.RestRequest request)voidlogFailedLogin(String effectiveUser, boolean sgadmin, String initiatingUser, org.elasticsearch.transport.TransportRequest request, org.elasticsearch.tasks.Task task)voidlogGrantedPrivileges(String privilege, org.elasticsearch.transport.TransportRequest request, org.elasticsearch.tasks.Task task)voidlogImmutableIndexAttempt(org.elasticsearch.transport.TransportRequest request, String action, org.elasticsearch.tasks.Task task)voidlogMissingPrivileges(String privilege, String effectiveUser, org.elasticsearch.rest.RestRequest request)voidlogMissingPrivileges(String privilege, org.elasticsearch.transport.TransportRequest request, org.elasticsearch.tasks.Task task)voidlogSgIndexAttempt(org.elasticsearch.transport.TransportRequest request, String action, org.elasticsearch.tasks.Task task)voidlogSSLException(org.elasticsearch.rest.RestRequest request, Throwable t)voidlogSSLException(org.elasticsearch.transport.TransportRequest request, Throwable t, String action, org.elasticsearch.tasks.Task task)voidlogSucceededLogin(String effectiveUser, boolean sgadmin, String initiatingUser, org.elasticsearch.rest.RestRequest request)voidlogSucceededLogin(String effectiveUser, boolean sgadmin, String initiatingUser, org.elasticsearch.transport.TransportRequest request, String action, org.elasticsearch.tasks.Task task)voidsetComplianceConfig(ComplianceConfig complianceConfig)
-
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
logFailedLogin
public void logFailedLogin(String effectiveUser, boolean sgadmin, String initiatingUser, org.elasticsearch.transport.TransportRequest request, org.elasticsearch.tasks.Task task)
- Specified by:
logFailedLoginin interfaceAuditLog
-
logFailedLogin
public void logFailedLogin(String effectiveUser, boolean sgadmin, String initiatingUser, org.elasticsearch.rest.RestRequest request)
- Specified by:
logFailedLoginin interfaceAuditLog
-
logSucceededLogin
public void logSucceededLogin(String effectiveUser, boolean sgadmin, String initiatingUser, org.elasticsearch.transport.TransportRequest request, String action, org.elasticsearch.tasks.Task task)
- Specified by:
logSucceededLoginin interfaceAuditLog
-
logSucceededLogin
public void logSucceededLogin(String effectiveUser, boolean sgadmin, String initiatingUser, org.elasticsearch.rest.RestRequest request)
- Specified by:
logSucceededLoginin interfaceAuditLog
-
logMissingPrivileges
public void logMissingPrivileges(String privilege, org.elasticsearch.transport.TransportRequest request, org.elasticsearch.tasks.Task task)
- Specified by:
logMissingPrivilegesin interfaceAuditLog
-
logGrantedPrivileges
public void logGrantedPrivileges(String privilege, org.elasticsearch.transport.TransportRequest request, org.elasticsearch.tasks.Task task)
- Specified by:
logGrantedPrivilegesin interfaceAuditLog
-
logBadHeaders
public void logBadHeaders(org.elasticsearch.transport.TransportRequest request, String action, org.elasticsearch.tasks.Task task)- Specified by:
logBadHeadersin interfaceAuditLog
-
logBadHeaders
public void logBadHeaders(org.elasticsearch.rest.RestRequest request)
- Specified by:
logBadHeadersin interfaceAuditLog
-
logSgIndexAttempt
public void logSgIndexAttempt(org.elasticsearch.transport.TransportRequest request, String action, org.elasticsearch.tasks.Task task)- Specified by:
logSgIndexAttemptin interfaceAuditLog
-
logImmutableIndexAttempt
public void logImmutableIndexAttempt(org.elasticsearch.transport.TransportRequest request, String action, org.elasticsearch.tasks.Task task)- Specified by:
logImmutableIndexAttemptin interfaceAuditLog
-
logSSLException
public void logSSLException(org.elasticsearch.transport.TransportRequest request, Throwable t, String action, org.elasticsearch.tasks.Task task)- Specified by:
logSSLExceptionin interfaceAuditLog
-
logSSLException
public void logSSLException(org.elasticsearch.rest.RestRequest request, Throwable t)- Specified by:
logSSLExceptionin interfaceAuditLog
-
logMissingPrivileges
public void logMissingPrivileges(String privilege, String effectiveUser, org.elasticsearch.rest.RestRequest request)
- Specified by:
logMissingPrivilegesin interfaceAuditLog
-
logDocumentRead
public void logDocumentRead(String index, String id, org.elasticsearch.index.shard.ShardId shardId, Map<String,String> fieldNameValues, ComplianceConfig complianceConfig)
- Specified by:
logDocumentReadin interfaceAuditLog
-
logDocumentWritten
public void logDocumentWritten(org.elasticsearch.index.shard.ShardId shardId, org.elasticsearch.index.get.GetResult originalIndex, org.elasticsearch.index.engine.Engine.Index currentIndex, org.elasticsearch.index.engine.Engine.IndexResult result, ComplianceConfig complianceConfig)- Specified by:
logDocumentWrittenin interfaceAuditLog
-
logDocumentDeleted
public void logDocumentDeleted(org.elasticsearch.index.shard.ShardId shardId, org.elasticsearch.index.engine.Engine.Delete delete, org.elasticsearch.index.engine.Engine.DeleteResult result)- Specified by:
logDocumentDeletedin interfaceAuditLog
-
logExternalConfig
public void logExternalConfig(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.env.Environment environment)- Specified by:
logExternalConfigin interfaceAuditLog
-
setComplianceConfig
public void setComplianceConfig(ComplianceConfig complianceConfig)
- Specified by:
setComplianceConfigin interfaceAuditLog
-
-