Tanium · API Governance Rules
Tanium API Rules
Spectral linting rules defining API design standards and conventions for Tanium.
8 Rules
warn 5
info 1
Rule Categories
tanium
Rules
warn
tanium-operation-ids-camel-case
All operationIds must use camelCase
$.paths[*][*].operationId
warn
tanium-summary-title-case
All operation summaries must use Title Case (no leading vendor prefix)
$.paths[*][*].summary
info
tanium-session-header-auth
API token authentication must use the session header
$.components.securitySchemes[*][?(@.type == 'apiKey')]
hint
tanium-paths-api-versioned
Tanium Platform API paths must be versioned under /api/v2/
$.paths[*]~
hint
tanium-responses-have-data-wrapper
Successful responses should use a data wrapper object
$.paths[*][*].responses['200'].content['application/json'].schema
warn
tanium-parameters-have-descriptions
All path and query parameters must have descriptions
$.paths[*][*].parameters[*]
warn
tanium-operations-have-tags
All operations must have at least one tag
$.paths[*][*]
warn
tanium-error-schema-consistent
4xx/5xx responses should reference the shared Error schema
$.paths[*][*].responses[?(@property >= 400)].content['application/json'].schema