experience-security.html

Authentication, authorization, and the OWASP API Security Top 10 as machine checks.

68 rules experience: security 61 inlined · 7 from the engine

Run this ruleset

Lint any matching artifact against this ruleset with the Spotlight CLI:

npm i -g @spotlight-rules/spotlight-cli
spotlight lint api.yaml \
  --ruleset https://apicommons.org/assets/rulesets/experience-security.spotlight.yaml

Or load it into the browser validator, post it to the HTTP API, or wire it into a CI gate. 7 of these rules are the engine's built-ins (they come with spotlight:*); the other 61 are inlined in the file below.

Ruleset definition

Download YAML

Loading…

Rules in this ruleset (68)

API Baseurl HTTPS APIs.json
Asyncapi Operation Security AsyncAPI engine
Asyncapi Server Security AsyncAPI engine
No Eval In Markdown OpenAPI engine

← All experience rulesets