Table of Contents

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

fingerprintId string

The finding's fingerprint identifier, if it has one.

tags IReadOnlyList<string>

The tags recognized on the finding's query.

Returns

string

The reason, or null when no entry matches.

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.