Skip to main content

stave catalog matrix

Show taxonomy × service cross-product with gap cells

Usage

stave catalog matrix [flags]

Description

Matrix builds the taxonomy × service cross-product from the control catalog. Each row is a taxonomy category; columns show how many services and controls use that category. Gap cells highlight services where a widely-used category has zero controls.

Inputs: --format F text (default) | json --controls DIR Control catalog directory (default: controls)

Output: Summary table: CATEGORY | SERVICES | CONTROLS Gap cells: (category, service) pairs missing coverage

Exit codes: 0 Success 4 Internal error

Flags

FlagTypeDescription
-i, --controlsstringcontrol catalog directory (default: controls)
-f, --formatstringoutput format: text | json (default: text)

Examples

stave catalog matrix
stave catalog matrix --format json | jq '.gaps'