Method FindAllowlistReason
- Namespace
- QueryGuard
- Assembly
- QueryGuard.Core.dll
FindAllowlistReason(string?, IReadOnlyList<string>?)
Finds the reason a finding is allowlisted, if it is.
public string? FindAllowlistReason(string? fingerprintId, IReadOnlyList<string>? tags)
Parameters
fingerprintIdstringThe finding's fingerprint identifier, if it has one.
tagsIReadOnlyList<string>The tags recognized on the finding's query.
Returns
Remarks
A QueryGuard:Ignore directive on the query itself is handled separately, by the
detector. Both routes produce the same outcome: a finding marked ignored, with its reason, so
a user can declare an exception wherever it belongs: next to the query, or next to the
policy that guards the endpoint.