gcp_scanner icon indicating copy to clipboard operation
gcp_scanner copied to clipboard

Scanning with multiple keys from the same project fails

Open ZetaTwo opened this issue 1 year ago • 0 comments

Describe the bug

If you have two different keys for the same project in a scan, only the first scan will be saved since the log files are named [project]_[timestamp].json.

To Reproduce

  1. Put two different keys for the same project in a directory
  2. Run GCP Scanner with these keys

Expected behavior

Perform the scan and create two different log files, one for each key, probably by adding the key id to the filename as well.

Current behavior

The first key works fine but the second will fail with an error since the name of the log files collide.

ZetaTwo avatar Apr 27 '23 10:04 ZetaTwo