Click or drag to resize

AuditLogExtensionsGetEvents Method

Gets audit events in descending order.

Namespace: KeeperSecurity.Enterprise
Assembly: KeeperSdk (in KeeperSdk.dll) Version: 1.0.5-beta11
Syntax
C#
public static Task<Tuple<GetAuditEventReportsResponse, long>> GetEvents(
	this IAuthentication auth,
	ReportFilter filter,
	long recentUnixTime,
	long latestUnixTime = 0
)

Parameters

auth  IAuthentication
Keeper Connection
filter  ReportFilter
Audit report filetr
recentUnixTime  Int64
Recent event epoch time in seconds
latestUnixTime  Int64  (Optional)
Latest event epoch time in seconds

Return Value

TaskTupleGetAuditEventReportsResponse, Int64
Awaitable task returning a tuple. Item1 contains the audit event list. Item2 the epoch time in seconds to resume

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAuthentication. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
This method returns first 1000 events. To get the next chunk of audit events pass the second parameter of result into recentUnixTime parameter. Created property of filter is ignored.
See Also