readTrivyIgnoreFile
readTrivyIgnoreFile(
text,today,options?):ITrivyIgnoreFile
The entries of the ignore file and what is wrong with it, judged on today
(YYYY-MM-DD, UTC). Every entry needs an id, a statement and an expired_at
that is a real date, not past and at most maxIgnoreDays ahead. An entry
that has expired stops applying in trivy too, so its finding comes back.
Parameters
Section titled “Parameters”string
string
options?
Section titled “options?”Pick<ITrivyOptions, "ignoreFile" | "maxIgnoreDays"> = {}