Skip to content

Cloud Based VM Scanning (Agentless)ΒΆ

Agent-less VM scanning is supported for AWS, GCP, Azure, and OpenShift. Support for OCI and Nutanix is planned.

VM Scanning

Public Clouds - AWS, GCP, AzureΒΆ

This guide assumes that Terraform and the respective cloud provider CLI are installed. You should have received the Terraform code from AccuKnox.

terraform/
β”œβ”€β”€ aws
β”‚   β”œβ”€β”€ cloud-init.yaml -> ../cloud-init.yaml
β”‚   β”œβ”€β”€ main.tf
β”‚   β”œβ”€β”€ otel-collector-config.yaml -> ../otel-collector-config.yaml
β”‚   β”œβ”€β”€ provider.tf
β”‚   β”œβ”€β”€ terraform.tfvars.example
β”‚   └── variables.tf
β”œβ”€β”€ azure
β”‚   β”œβ”€β”€ cloud-init.yaml -> ../cloud-init.yaml
β”‚   β”œβ”€β”€ main.tf
β”‚   β”œβ”€β”€ otel-collector-config.yaml -> ../otel-collector-config.yaml
β”‚   β”œβ”€β”€ provider.tf
β”‚   β”œβ”€β”€ terraform.tfvars.example
β”‚   └── variables.tf
β”œβ”€β”€ cloud-init.yaml
β”œβ”€β”€ gcp
β”‚   β”œβ”€β”€ cloud-init.yaml -> ../cloud-init.yaml
β”‚   β”œβ”€β”€ main.tf
β”‚   β”œβ”€β”€ otel-collector-config.yaml -> ../otel-collector-config.yaml
β”‚   β”œβ”€β”€ provider.tf
β”‚   β”œβ”€β”€ terraform.tfvars.example
β”‚   └── variables.tf
└── otel-collector-config.yaml

Each cloud provider directory includes a terraform.tfvars.example file. Update the file according to your requirements and save it as terraform.tfvars.

cd aws
cp terraform.tfvars.example terraform.tfvars
  • Artifact API tokens can be created under Settings -> Tokens.
  • Labels can be created under Settings -> Labels.

After configuration, run terraform apply to provision the required infrastructure in the corresponding cloud account.

terraform apply