Skip to main content
availability

This integration is configured through the Invicti ASPM product.

Infrastructure as Code (IaC) overview

What is IaC scanning?

Infrastructure as Code (IaC) scanning analyzes infrastructure configuration files to identify security misconfigurations, vulnerabilities, and compliance violations before infrastructure is deployed. By shifting security checks into the development phase, IaC scanning helps teams catch issues when they are easiest and cheapest to fix.

note

Invicti AppSec Core includes a preconfigured Invicti SCA scanner that is automatically activated with your package. The integrations on this page are for teams using Invicti ASPM who want to connect their own SCA tools instead. See AppSec Core scanners overview for details on the built-in scanner.

How it works

IaC scanning parses infrastructure configuration files and evaluates them against security policies and best practices. The scanning process includes:

  • Configuration analysis — checks resource definitions for security misconfigurations such as open ports, missing encryption, or overly permissive access.
  • Policy evaluation — validates configurations against security benchmarks such as CIS Benchmarks and organizational policies.
  • Compliance checks — identifies deviations from compliance frameworks before deployment.
  • Dependency analysis — detects insecure module references and outdated provider versions.

Supported IaC frameworks

IaC scanning tools support the following configuration formats. The specific formats supported depend on the tool used:

  • Terraform (HCL configuration files)
  • AWS CloudFormation (JSON/YAML templates)
  • Kubernetes manifests (YAML)
  • Helm Charts
  • Dockerfile
  • Ansible
  • Pulumi

What it can discover

IaC scanning detects risks across the following categories:

CategoryExamples
Overly permissive accessSecurity groups allowing ingress from 0.0.0.0/0, IAM policies with wildcard permissions
Public storageS3 buckets or equivalent configured with public access
Unencrypted resourcesDatabases, storage volumes, or EBS volumes defined without encryption
Exposed databasesRDS instances or similar resources configured with public accessibility
Missing loggingResources defined without audit logging or monitoring
Insecure container definitionsContainers running as root, missing resource limits, hardcoded secrets
Compliance violationsDeviations from CIS benchmarks and other security standards

IaC scanning vs. infrastructure scanning

IaC scanning and infrastructure scanning complement each other and cover different stages of the security lifecycle:

IaC scanningInfrastructure scanning
WhenBefore deployment (shift-left)After deployment (runtime)
TargetConfiguration files in source controlRunning hosts and services
Use casePrevent misconfigurations from being deployedDetect vulnerabilities in live systems

Supported IaC scanning tools

The following IaC integrations are available through Invicti ASPM:

ToolTypeSupported frameworks
Checkmarx One IaC / KICSConnectionTerraform, CloudFormation, Kubernetes, Dockerfile, Ansible, and more
Semgrep CE ConfigDockerTerraform, CloudFormation, Kubernetes
Snyk IaCConnectionTerraform, CloudFormation, Kubernetes, Helm, ARM, Pulumi
Trivy IaCDockerTerraform, CloudFormation, Kubernetes, Dockerfile, Helm

Need help?

The Invicti Support team is ready to provide technical assistance. Go to Help Center

Was this page useful?