Table of Contents

Class RuleNames

Namespace
QueryGuard
Assembly
QueryGuard.Core.dll

The identifiers of the rules QueryGuard evaluates.

public static class RuleNames
Inheritance
RuleNames
Inherited Members

Remarks

These names reach users: they appear in every finding, in JSON reports, and as JUnit test-case names, so a CI dashboard or a saved query can be built on them. That makes them part of the public contract: renaming one is a breaking change to the report schema, not a refactor. See docs/decisions/0011-versioning.md.

Fields

CommandFailure

A database command failed.

MaxDuplicateGroups

More fingerprints reached the repetition threshold than the budget allows.

MaxOccurrencesPerFingerprint

A single fingerprint occurred more times than its budget allows.

MaxQueries

The session executed more counted commands than its budget allows.

MaxTotalDuration

The summed duration of captured commands exceeded its budget.

RepeatedQuery

The same normalized SQL was executed repeatedly inside one scope.

SlowQuery

A single command took longer than the configured threshold.