Skip to main content

stave exempt suggest

Suggest exemptions for chronic/oscillating findings

Usage

stave exempt suggest [flags]

Description

Analyze assessment history to identify findings that have been open long enough to warrant a formal governance decision: fix, formally accept the risk, or escalate.

Oscillating findings (fixed then returned) are separated from chronic findings (continuously open). Each includes a copy-paste exemption command.

Exit Codes: 0 Suggestions produced 2 Invalid input

Flags

FlagTypeDescription
--filestringpath to acceptance file (for excluding already-exempted findings) (default: ./stave-acknowledgments.yaml)
-f, --formatstringoutput format: table | json (default: table)
--historystringdirectory of historical assessment JSON files (required)
--min-dwellstringminimum time a finding must be open to be chronic (e.g. 14d) (default: 14d)
--windowstringhow far back to look for patterns (e.g. 30d, 90d) (default: 30d)

Examples

stave exempt suggest --history ./history --window 30d --min-dwell 14d
stave exempt suggest --history ./history --format json