Class MissingPaginationRule
- Namespace
- Kuestenlogik.Bowire.Linting.Rules
- Assembly
- Kuestenlogik.Bowire.dll
Flags a method that returns a list (a repeated field in the response) but accepts no pagination parameter. An unbounded list response is a scaling and denial-of-service risk: it grows with the data set and there is no way for a caller to ask for a page.
public sealed class MissingPaginationRule : IBowireLintRule
- Inheritance
-
MissingPaginationRule
- Implements
- Inherited Members
Constructors
MissingPaginationRule()
public MissingPaginationRule()
Properties
Id
Stable machine id, e.g. BWR-LINT-MISSING-PAGINATION.
public string Id { get; }
Property Value
Severity
The severity every finding from this rule carries.
public BowireLintSeverity Severity { get; }
Property Value
Title
One-line human title for reports.
public string Title { get; }
Property Value
Methods
Inspect(BowireServiceInfo)
Inspect one service and yield any findings.
public IEnumerable<BowireLintFinding> Inspect(BowireServiceInfo service)
Parameters
serviceBowireServiceInfo