Use isto se
Scan GCP project posture with Prowler via a serverless Cloud Run Job triggered by Cloud Scheduler. One Terraform apply deploys to any number of projects and regions.
Scan GCP project posture with Prowler via a serverless Cloud Run Job triggered by Cloud Scheduler. One Terraform apply deploys to any number of projects and regions. Público: Cloud engineers, security engineers, platform teams. Tempo típico de configuração: 5 minutes.
Scan GCP project posture with Prowler via a serverless Cloud Run Job triggered by Cloud Scheduler. One Terraform apply deploys to any number of projects and regions.
Copy a working starter, run it in your environment, then come back here for the deeper rollout details.
Apenas para demonstração
Esta configuração foi concebida para facilitar a utilização. Para implementar clientes de scanner em escala, planeie a sua arquitetura de implementação adequadamente ou contacte-nos para obter as melhores práticas empresariais.
Descarrega os ficheiros exatos usados neste guia ou executa o instalador de um só comando para os escrever localmente antes do deploy.
Creates the Terraform module under `deploy/gcp-cloud-scanner/` and prefills the current platform API URL so the Cloud Run deployment commands on this page work unchanged.
BLACKSHIELD_CLOUD_IMAGE=public.ecr.aws/blackshield-security/cloud-scanner:1.0.8 \
BLACKSHIELD_SITE_URL=https://blackshield.chaplau.com \
BLACKSHIELD_API_URL=https://api.blackshield.chaplau.com \
bash <(curl -fsSL https://blackshield.chaplau.com/source-bundles/gcp-cloud-scanner.sh)
cd deploy/gcp-cloud-scanner# Bootstrap the local source bundle first
bash <(curl -fsSL https://blackshield.chaplau.com/source-bundles/gcp-cloud-scanner.sh)
cd deploy/gcp-cloud-scanner
# Authenticate
gcloud auth application-default login
# Deploy all targets defined in main.tf locals.targets
TF_VAR_blackshield_api_key=sp_xxxx \
terraform init && terraform apply -auto-approve
# View deployed resources
terraform output -json cloud_run_job_names
terraform output -json scheduler_job_names# Trigger a one-off scan
gcloud run jobs execute blackshield-cloud-scanner \
--project my-prod-project \
--region us-central1
# Stream execution logs
gcloud logging read \
'resource.type="cloud_run_job" AND resource.labels.job_name="blackshield-cloud-scanner"' \
--project my-prod-project \
--limit 50 \
--format "table(timestamp,textPayload)"Use the guided steps below when you want to tailor the rollout, validate ownership, or expand the deployment safely.
Passo 1
Install Terraform, authenticate with gcloud, and set your API key.
Como é o sucesso
Set TF_VAR_blackshield_api_key=sp_xxxx in your environment.
Passo 2
Edit the targets map in main.tf, then apply to deploy all project+region pairs at once.
Como é o sucesso
Each project+region pair is an independent deployment unit.
Passo 3
Trigger a manual job execution and confirm findings arrive in the platform.
Como é o sucesso
Check terraform output for all deployed job and scheduler names.
Keep your rollout moving with the next recommended step.
Ingira seus primeiros achados