You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using --import <baseline_filename>, a baseline is created without knowledge of the existing baseline file. This means that the current baseline file will be scanned for secrets (which it will clearly find, due to the secret hashes stored in there).
When we upgrade baselines, we currently need to perform a two-liner (without sponge):
Issues
When using
--import <baseline_filename>
, a baseline is created without knowledge of the existing baseline file. This means that the current baseline file will be scanned for secrets (which it will clearly find, due to the secret hashes stored in there).When we upgrade baselines, we currently need to perform a two-liner (without
sponge
):If we already know the filename we're importing from (as compared to reading from stdin), we should also write to it.
Suggested Fix
This will write results to the provided file, and ignore the false positives in the current baseline file.
The text was updated successfully, but these errors were encountered: