google / cloud-forensics-utils

Python library to carry out DFIR analysis on the Cloud
Apache License 2.0
453 stars 89 forks source link

Query GCP logs with multiple projects #335

Closed giovannt0 closed 3 years ago

giovannt0 commented 3 years ago

Closes #245

Add support for multiple project IDs for log listing and querying.

Example usage:

cloudforensics gcp --project=project1,project2 listlogs
cloudforensics gcp --project=project1,project2 querylogs
cloudforensics gcp --project=project1,project2 querylogs --filter="filter_expression_project_1,filter_expression_project_2"
codecov-commenter commented 3 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@943ebc9). Click here to learn what that means. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #335   +/-   ##
=======================================
  Coverage        ?   63.72%           
=======================================
  Files           ?       33           
  Lines           ?     2451           
  Branches        ?        0           
=======================================
  Hits            ?     1562           
  Misses          ?      889           
  Partials        ?        0           
Flag Coverage Δ
nosetests 63.72% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 943ebc9...03b19a0. Read the comment docs.