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

Migrate from using deprecated GCP SDK APIs #389

Open
christophetd opened this issue Jul 25, 2023 · 0 comments
Open

Migrate from using deprecated GCP SDK APIs #389

christophetd opened this issue Jul 25, 2023 · 0 comments
Labels
good first issue Good for newcomers kind/enhancement New feature or request

Comments

@christophetd
Copy link
Contributor

Seems that we can't upgrade to grpc 1.53.0 because of the following error message in #383

https://github.com/DataDog/stratus-red-team/actions/runs/5643099899/job/15284253032?pr=383

Error: internal/attacktechniques/gcp/exfiltration/share-compute-disk/main.go:6:2: package google.golang.org/genproto/googleapis/cloud/compute/v1 is deprecated: Please use types in: cloud.google.com/go/compute/apiv1/computepb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details. (SA1019)
Error: internal/attacktechniques/gcp/exfiltration/share-compute-disk/main.go:165:58: computepb.SetIamPolicyDiskRequest is deprecated: Please use types in: cloud.google.com/go/compute/apiv1/computepb (SA1019)
Error: internal/attacktechniques/gcp/exfiltration/share-compute-disk/main.go:170:13: computepb.Policy is deprecated: Please use types in: cloud.google.com/go/compute/apiv1/computepb (SA1019)
Error: internal/attacktechniques/gcp/exfiltration/share-compute-disk/main.go:171:18: computepb.Binding is deprecated: Please use types in: cloud.google.com/go/compute/apiv1/computepb (SA1019)
Error: internal/attacktechniques/gcp/exfiltration/share-compute-disk/main.go:192:58: computepb.SetIamPolicyDiskRequest is deprecated: Please use types in: cloud.google.com/go/compute/apiv1/computepb (SA1019)
Error: internal/attacktechniques/gcp/exfiltration/share-compute-disk/main.go:197:13: computepb.Policy is deprecated: Please use types in: cloud.google.com/go/compute/apiv1/computepb (SA1019)
Error: internal/attacktechniques/gcp/exfiltration/share-compute-disk/main.go:198:18: computepb.Binding is deprecated: Please use types in: cloud.google.com/go/compute/apiv1/computepb (SA1019)
Error: Process completed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant