Manage false positives and acceptable risks with time-bound exceptions
vet
supports adding packages to an exceptions list, excluding them from scan results and reports.
exceptions.yml
file with the following structure:
expires
field is mandatory and must be in RFC3339 formatid
field must be unique and can be any unique string formatreason
field is recommended for documentationScan and Dump Data
Generate Conditional Exceptions
Review and Refine
--exceptions-till
is parsed as YYYY-mm-dd
and generates a timestamp of 00:00:00
UTC for the specified date in RFC3339 format.Create Exceptions File
.github/vet/exceptions.yml
in your repository with your exceptions configurationUpdate Workflow
vet
:
Package Matching
*
to match any versionScope and Application
Expiration Handling
Exception Hygiene
Documentation
Governance
*
wildcards without specific justification