Files
hacktricks-cloud/src/pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-cloud-build-post-exploitation.md

1.1 KiB

GCP - Cloud Build Post Exploitation

{{#include ../../../banners/hacktricks-training.md}}

Cloud Build

Cloud Build के बारे में अधिक जानकारी के लिए देखें:

{{#ref}} ../gcp-services/gcp-cloud-build-enum.md {{#endref}}

cloudbuild.builds.approve

इस अनुमति के साथ आप codebuild जिन्हें अनुमोदन की आवश्यकता होती है के निष्पादन को अनुमोदित कर सकते हैं।

Cloud Build निष्पादन को अनुमोदित करें ```bash # 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) }}' \ "https://cloudbuild.googleapis.com/v1/projects//locations//builds/:approve" ```

{{#include ../../../banners/hacktricks-training.md}}