Skip to main content

Supported Scan Targets

cnspec can make assertions against and scan:

TargetExample
Ansible playbookscnspec scan ansible YOUR_PLAYBOOK.yml
Arista network devicescnspec scan arista DEVICE_PUBLIC_IP --ask-pass
Atlassian organizationscnspec scan atlassian --host YOUR_HOST_URL --admin-token YOUR_TOKEN
AWS accountscnspec scan aws
AWS CloudFormation templatescnspec scan cloudformation cloudformation_file.json
AWS EC2 EBS snapshotcnspec scan aws ec2 ebs snapshot SNAPSHOTID
AWS EC2 EBS volumecnspec scan aws ec2 ebs volume VOLUMEID
AWS EC2 Instance Connectcnspec scan aws ec2 instance-connect ec2-user@INSTANCEID
AWS EC2 instancescnspec scan ssh user@host
Cisco IOS / NX-OS devicescnspec scan nd-ssh USER_NAME@DEVICE_IP --ask-pass
Cloudflarecnspec scan cloudflare --token TOKEN
Confluence userscnspec scan atlassian --host YOUR_HOST_URL --admin-token YOUR_TOKEN
Container imagescnspec scan container ubuntu:latest
Container registriescnspec scan container registry index.docker.io/library/rockylinux:8
DNS recordscnspec scan host mondoo.com
Dockerfilescnspec scan docker file FILENAME
GitHub organizationscnspec scan github org mondoohq
GitHub repositoriescnspec scan github repo mondoohq/cnquery
GitLab groupscnspec scan gitlab --group mondoohq
Google Cloud projectscnspec scan gcp
Google Workspacecnspec scan google-workspace --customer-id CUSTOMER_ID --impersonated-user-email EMAIL --credentials-path JSON_FILE
IoT devicescnspec scan opcua
Jira projectscnspec scan atlassian --host YOUR_HOST_URL --admin-token YOUR_TOKEN
Kubernetes cluster nodescnspec scan ssh user@host
Kubernetes clusterscnspec scan k8s
Kubernetes manifestscnspec scan k8s manifest.yaml
Kubernetes workloadscnspec scan k8s --discover pods,deployments
Linux hostscnspec scan local or
cnspec scan ssh user@host
macOS hostscnspec scan local or
cnspec scan ssh user@IP_ADDRESS
Microsoft 365 tenantscnspec scan ms365 --tenant-id TENANT_ID --client-id CLIENT_ID --certificate-path PFX_FILE
Microsoft Azure instancescnspec scan ssh user@host
Microsoft Azure subscriptionscnspec scan azure --subscription SUBSCRIPTION_ID
Okta orgcnspec scan okta --token TOKEN --organization ORGANIZATION
Oracle Cloud Interface (OCI)cnspec scan oci
Running containerscnspec scan docker CONTAINER_ID
Shodan search enginecnspec scan shodan --token TOKEN
Slack teamcnspec scan slack --token TOKEN
Snowflakecnspec scan snowflake --account ACCOUNT-ID --region REGION --user YOUR-USER-ID --role YOUR-ROLE --ask-pass
SSL certificates on websitescnspec scan host mondoo.com
Tailscalecnspec scan tailscale --token TOKEN
Terraform HCLcnspec scan terraform HCL_FILE_OR_PATH
Terraform plancnspec scan terraform plan plan.json
Terraform statecnspec scan terraform state state.json
Vagrant virtual machinescnspec scan vagrant HOST
VMware Cloud Directorcnspec scan vcd user@domain@host --ask-pass
VMware vSpherecnspec scan vsphere user@domain@host --ask-pass
Windows hostscnspec scan local,
cnspec scan ssh Administrator@IP_ADDRESS --ask-pass or
cnspec scan winrm Administrator@IP_ADDRESS --ask-pass