GCP - Cloud Build Post Exploitation

Support HackTricks

Cloud Build

For more information about Cloud Build check:

GCP - Cloud Build Enum


With this permission you can approve the execution of a codebuild that require approvals.

# Check the REST API in https://cloud.google.com/build/docs/api/reference/rest/v1/projects.locations.builds/approve
curl -X POST \
     -H "Authorization: Bearer $(gcloud auth print-access-token)" \
     -H "Content-Type: application/json" \
     -d '{{
         "approvalResult": {
           object (ApprovalResult)
       }' \
Support HackTricks

Last updated