Class SensitiveResponseFieldRule
- Namespace
- Kuestenlogik.Bowire.Linting.Rules
- Assembly
- Kuestenlogik.Bowire.dll
Flags a response that carries a field which looks like a credential or secret (password, api key, token, SSN, card number, ...). Returning secrets is a classic data-exposure defect that a schema makes visible before a single request is sent.
public sealed class SensitiveResponseFieldRule : IBowireLintRule
- Inheritance
-
SensitiveResponseFieldRule
- Implements
- Inherited Members
Constructors
SensitiveResponseFieldRule()
public SensitiveResponseFieldRule()
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