Pasted from a dftimewolf run using the turbinia client lib same API:
CRITICAL: Error calling cloud function [gettasks]: <HttpError 403 when requesting https://cloudfunctions.googleapis.com/v1beta2/projects/<PROJECT_NAME>/locations/us-central1/functions/gettasks:call?alt=json returned "The GCF v1beta2 API is deprecated. See https://cloud.google.com/functions/docs/migrating". Details: "[{'@type': 'type.googleapis.com/google.rpc.DebugInfo', 'detail': '[ORIGINAL ERROR] generic::permission_denied: userFacingMessage: The GCF v1beta2 API is deprecated. See https://cloud.google.com/functions/docs/migrating; \ncom.google.cloud.eventprocessing.manager.api.error.V1Beta2ApiAccessException: userFacingMessage: The GCF v1beta2 API is deprecated. See https://cloud.google.com/functions/docs/migrating; Code: PERMISSION_DENIED [google.rpc.error_details_ext] { message: "The GCF v1beta2 API is deprecated. See https://cloud.google.com/functions/docs/migrating" }'}]">
We've also opened https://github.com/google/cloud-forensics-utils/issues/177 to fix this in libcloudforensics. it seems that turbinia is using a lib/google_cloud.py module to interact with cloud, wouldn't it be better to use libcloudforensics for that? I think the primitives are all supported, and libcloudforensics is already used in turbiniactl.py
Pasted from a dftimewolf run using the turbinia client lib same API:
We've also opened https://github.com/google/cloud-forensics-utils/issues/177 to fix this in libcloudforensics. it seems that turbinia is using a
lib/google_cloud.py
module to interact with cloud, wouldn't it be better to use libcloudforensics for that? I think the primitives are all supported, and libcloudforensics is already used inturbiniactl.py