Constructor QueryGuardResult
- Namespace
- QueryGuard
- Assembly
- QueryGuard.Core.dll
QueryGuardResult(string, Guid, string, DateTimeOffset, TimeSpan, IReadOnlyList<QueryRecord>, IReadOnlyList<QueryFingerprintGroup>, IReadOnlyList<QueryFinding>)
Initializes a new instance of the QueryGuardResult class.
public QueryGuardResult(string sessionName, Guid sessionId, string policyName, DateTimeOffset startedAt, TimeSpan elapsed, IReadOnlyList<QueryRecord> records, IReadOnlyList<QueryFingerprintGroup> groups, IReadOnlyList<QueryFinding> findings)
Parameters
sessionNamestringThe name of the session that was evaluated.
sessionIdGuidThe identifier of the session that was evaluated.
policyNamestringThe name of the policy it was evaluated against.
startedAtDateTimeOffsetWhen the session opened, in UTC.
elapsedTimeSpanHow long the session was open.
recordsIReadOnlyList<QueryRecord>Every captured command, ordered by sequence number.
groupsIReadOnlyList<QueryFingerprintGroup>Fingerprint groups, ordered by descending occurrence count.
findingsIReadOnlyList<QueryFinding>Findings, ordered by descending severity then by rule name.
Exceptions
- ArgumentNullException
A required argument is null.