[K9VULN-10951] feat(agentless-gcp): add destroy command, multi-region support and security hardening#120
Merged
mohamed-challal merged 22 commits intoJan 23, 2026
Conversation
…ion to the tf context gcs bucket
diogocp
approved these changes
Jan 19, 2026
37bf471 to
c765801
Compare
tedkahwaji
approved these changes
Jan 22, 2026
Collaborator
tedkahwaji
left a comment
There was a problem hiding this comment.
Changes under gcp/shared LGTM 👍
Contributor
Author
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
mohamed.challal@datadoghq.com cancelled this merge request build |
Contributor
Author
|
/remove |
|
View all feedbacks in Devflow UI.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds several improvements to the agentless GCP Cloud Shell setup wizard: CLI verbs, destroy command, multi-region support, security hardening, and performance optimizations.
All the details of the initiative are available in this RFC.
Changes
CLI Commands
deploy/destroy/helpverbs for better UX and future extensibilitydestroycommand with interactive cleanup prompts (API key secret deletion)Multi-Region Support
SCANNER_REGIONSnow accepts comma-separated list (max 4 regions)dd-agentless-{region}to avoid GCP 63-char limitSecurity Hardening
--pap), regional storage and versioningPerformance
TERRAFORM_PARALLELISM = 10constantbuild.sh(skips rebuild if no source changes)terraform applyCommands & Environment Variables (updated)
SCANNER_REGIONSGCP_REGION)TF_STATE_BUCKETGCP_STATE_BUCKET)SCANNER_PROJECTGCP_SCANNER_PROJECT)PROJECTS_TO_SCANGCP_PROJECTS_TO_SCAN)Deploy
Destroy
Next Steps