Managing Which VMs Are Scanned
Aikido gives you precise control over which virtual machines (VMs) are included in security scans through AWS tags. This allows you to customize your scanning scope based on your specific security needs.
Available Tags
AIKIDO_INCLUDE_VM
When this tag is applied to any VM in a region with the value true, Aikido switches to an "opt-in" scanning model, where only VMs with this tag will be scanned in that region.
AIKIDO_EXCLUDE_VM
When this tag is applied to a VM with the value true, Aikido will skip scanning this specific VM, regardless of other scan configurations.
Use Cases
1. Scanning Only Production Environments
If you want to focus your security scans on production workloads while ignoring development environments:
# Tag all production VMs
aws ec2 create-tags --resources i-1234567890abcdef0 i-0987654321fedcba0 --tags Key=AIKIDO_INCLUDE_VM,Value=true2. Excluding Sensitive Systems
For VMs that contain sensitive data or require specialized handling:
3. Region-Specific Scanning Policies
Since the AIKIDO_INCLUDE_VM tag is region-scoped, you can implement different scanning policies per region:
In us-east-1: Tag only critical workloads for scanning
In us-west-2: Allow scanning of all VMs by not using the
AIKIDO_INCLUDE_VMtag
Scanning Frequency
Each day, 10% of all VMs enabled for scanning are rescanned, so on average, every VM is scanned once every 10 days.
Last updated
Was this helpful?