Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scanning with multiple keys from the same project fails #142

Open
ZetaTwo opened this issue Apr 27, 2023 · 0 comments
Open

Scanning with multiple keys from the same project fails #142

ZetaTwo opened this issue Apr 27, 2023 · 0 comments

Comments

@ZetaTwo
Copy link
Collaborator

ZetaTwo commented Apr 27, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant