google / cloud-forensics-utils

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

Google Cloud Functions API name or version (v1) not supported anymore #421

Closed hacktobeer closed 5 months ago

hacktobeer commented 2 years ago

https://github.com/google/cloud-forensics-utils/blob/main/libcloudforensics/providers/gcp/internal/function.py#L38

Traceback (most recent call last):
  File "/root/turbinia-client/bin/turbiniactl", line 8, in <module>
  File "/root/turbinia-client/lib/python3.6/site-packages/turbinia/turbiniactl.py", line 857, in main
  File "/root/turbinia-client/lib/python3.6/site-packages/turbinia/client.py", line 195, in wait_for_request
  File "/root/turbinia-client/lib/python3.6/site-packages/turbinia/client.py", line 287, in get_task_data
  File "/root/turbinia-client/lib/python3.6/site-packages/libcloudforensics/providers/gcp/internal/function.py", line 81, in ExecuteFunction
  File "/root/turbinia-client/lib/python3.6/site-packages/libcloudforensics/providers/gcp/internal/function.py", line 58, in GcfApi
  File "/root/turbinia-client/lib/python3.6/site-packages/libcloudforensics/providers/gcp/internal/common.py", line 186, in CreateService
  File "/root/turbinia-client/lib/python3.6/site-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
  File "/root/turbinia-client/lib/python3.6/site-packages/googleapiclient/discovery.py", line 296, in build
  File "/root/turbinia-client/lib/python3.6/site-packages/googleapiclient/discovery.py", line 404, in _retrieve_discovery_doc
googleapiclient.errors.UnknownApiNameOrVersion: name: cloudfunctions  version: v1
tomchop commented 2 years ago

Maybe we should also add cloud functions to the e2e tests?

hacktobeer commented 5 months ago

obsolete