Class PiiResponseFieldRule

Namespace
Kuestenlogik.Bowire.Linting.Rules
Assembly
Kuestenlogik.Bowire.dll

Flags a response that carries a field which looks like personal data (PII) — an email, phone number, SSN, date of birth, address, passport or tax id. Unlike SensitiveResponseFieldRule (secrets / credentials, a likely defect at High), returning PII is a privacy design smell worth a second look rather than an outright leak, so it carries Medium severity.

public sealed class PiiResponseFieldRule : IBowireLintRule
Inheritance
PiiResponseFieldRule
Implements
Inherited Members

Constructors

PiiResponseFieldRule()

public PiiResponseFieldRule()

Properties

Id

Stable machine id, e.g. BWR-LINT-MISSING-PAGINATION.

public string Id { get; }

Property Value

string

Severity

The severity every finding from this rule carries.

public BowireLintSeverity Severity { get; }

Property Value

BowireLintSeverity

Title

One-line human title for reports.

public string Title { get; }

Property Value

string

Methods

Inspect(BowireServiceInfo)

Inspect one service and yield any findings.

public IEnumerable<BowireLintFinding> Inspect(BowireServiceInfo service)

Parameters

service BowireServiceInfo

Returns

IEnumerable<BowireLintFinding>