Skip to content

Create spectral rule to encourage use of sensitive data flag #8

@milkshakeuk

Description

@milkshakeuk

SHOULD have info sensitive data flag

Create a rule to encourage inclusion of sensitive information flag to indicate that the API has operations which may contain sensitive information such as PII or PHI etc.

Acceptance Criteria

The info block should have a property called x-contains-sensitive-data of type bool which would indicate this API has operations which contain sensitive data.

Example error message

Missing or wrong 'info.x-contains-sensitive-data', should be 'boolean'.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions