Interface AgentAuditPolicy
- All Superinterfaces:
EventListener, FileAuditListener, MOServerLookupListener, org.snmp4j.transport.TransportAuditListener
- All Known Implementing Classes:
DefaultAgentAuditPolicy
public interface AgentAuditPolicy
extends MOServerLookupListener, org.snmp4j.transport.TransportAuditListener, FileAuditListener
The
AgentAuditPolicy interface defines the audit policy for an SNMP agent to audit
managed object access, transport access, and file access.- Since:
- 3.12.0
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the current audit level for the agent.Methods inherited from interface FileAuditListener
fileAuditMethods inherited from interface MOServerLookupListener
completedUse, lookupEvent, queryEventMethods inherited from interface org.snmp4j.transport.TransportAuditListener
transportAudit
-
Method Details
-
getAuditLevel
AgentAuditLevel getAuditLevel()Retrieves the current audit level for the agent. The audit level specifies the behavior of the agent in logging and enforcing access to managed objects and transport operations.- Returns:
- the current audit level, which can be one of the following:
OFF,LOG,WARN, orRESTRICT.
-