MQL Reference
MQL is a lightweight, ultra-fast query language purpose-built for:
- Searching and filtering infrastructure configuration data
- Making checks about infrastructure configuration
- Building security policies
To learn how to create queries, checks, and policies in MQL, read Write Effective MQL.
Resources
A resource is a source of information about an asset in your infrastructure, such as a file, a container image, or an AWS EC2 instance. We've organized MQL resources into packs to make it easy to find what you need.
Core resource pack: The core pack is essential for queries and checks against many different systems. Use it to retrieve information about users, files, packages, ports, and much more.
Operating system resource pack: Some of the resources in the operating system pack span different operating systems, while others are specific to a single operating system.
Platform-specific resource packs: These specialized packs let you deep-dive into attributes unique to the platforms:
- Amazon Web Services (AWS) resource pack
- Azure resource pack
- GitHub resource pack
- GitLab resource pack
- Google Cloud Platform (GCP) resource pack
- Google Workspace resource pack
- Kubernetes resource pack
- Microsoft 365 resource pack
- Okta resource pack
- Slack resource pack
- Terraform IaC resource pack
- VMware Cloud Director resource pack
- VMware vSphere resource pack
Learn more
To learn about querying your systems with MQL, read the cnquery docs.
To learn how to create queries, checks, and policies in MQL, read Write Effective MQL.