gcp_scanner
gcp_scanner copied to clipboard
Scanning with multiple keys from the same project fails
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
- Put two different keys for the same project in a directory
- 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.