-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Working in a new environment I had to do a fresh install of the detect-secrets CLI tool, which I did following the instructions from the README (i.e. running pip install --upgrade "git+https://github.com/ibm/detect-secrets.git@master#egg=detect-secrets").
When I ran the command detect-secrets scan --update .secrets.baseline all the results which previously existed in the .secrets.baseline file were wiped away and the results was just an empty object.
When I switched to a different environment that already had the detect-secrets CLI tool installed with version 0.13.1+ibm.61.dss and I ran the same command, it worked as expected.
To Reproduce
Steps to reproduce the behavior:
- Have an established baseline file which was created using [email protected]+ibm.61.dss
- Install [email protected]+ibm.62.dss
- Run
detect-secrets scan --update .secrets.baseline
Expected behavior
Running the aforementioned command should not result in an empty object for the results key in the baseline file
Impact
Medium
Consistent behavior when using the detect-secrets CLI tool
Additional context:
- Operating environment,
0.13.1+ibm.62.dss was installed and run in a CentOS 7 environment while 0.13.1+ibm.61.dss was installed and run on MacOS Ventura 13.6.4