How we check thousands of rules without agents: the architecture behind Onam
Would rather we looked for you? We run a free one-time audit scan of one cloud account and go through the results with you. No charge, no commitment.
Free audit scanHow can a security tool check thousands of rules across dozens of cloud services without an agent on our workloads? By reading configuration from each cloud's control-plane APIs through a read-only role. Posture scanning needs nothing more. Finding vulnerable packages inside a VM is different: Onam's agentless workload scanning reads volume snapshots inside your account, so it deploys scanning resources there. This post shows both, with the exact API calls, and where agentless stops.
Updated 27 November 2026: the data-classification section now describes DSPM content scanning (opt-in since 26 November), and the free plan's scope is stated. "Agentless" means different things in different products, so we are specific below. The clouds are AWS, Azure, Google Cloud, OCI, Alibaba Cloud, IBM Cloud and Kubernetes.
How agentless scanning reads cloud control plane APIs
Everything in a cloud environment has a configuration state. The cloud provider's control plane stores and serves it. That is the management layer that sits above your workloads. AWS, Azure, GCP, and the other clouds expose this configuration state through read-only APIs.
An S3 bucket's public access settings, encryption configuration, and lifecycle policy are all returned by GetBucketAcl, GetBucketEncryption, and GetBucketLifecycleConfiguration. A security group's inbound rules are returned by DescribeSecurityGroups. An IAM user's MFA status is returned by GetLoginProfile and ListMFADevices.
Nearly every security configuration that matters can be read from these control plane APIs. That is the foundation of agentless CSPM: Onam's posture scanning connects with a read-only IAM role, service principal or service account, with no agent on your workloads.
How the discovery phase works
Before we can check rules, we need to know what resources exist. The discovery phase enumerates every resource across all configured cloud accounts.
For AWS, this means calling the List/Describe APIs for each service category in each region across every account: DescribeInstances for EC2, ListBuckets for S3, DescribeDBInstances for RDS, ListFunctions for Lambda, and so on across dozens of service categories. For an account with a couple of thousand resources across five regions, this generates a few hundred API calls.
Discovery output is normalised into a unified resource schema. This is a standard representation that captures the resource type, region, account, ARN, and all configuration attributes relevant to security evaluation. This normalised schema is what the rule evaluation engine operates against.
How rule evaluation works
Each rule in Onam's library is a declarative check against one or more attributes in the normalised resource schema. One cloud-agnostic engine evaluates every rule against every matching resource, and each check returns PASS, FAIL or ERROR.
A rule like "S3 buckets must have server-side encryption enabled" evaluates the encryption.rules[0].apply_server_side_encryption_by_default.sse_algorithm attribute in the normalised S3 bucket schema. If the attribute is present and set to AES256 or aws:kms, the rule passes. If it is absent or set to NONE, it fails.
Rules are written in YAML, a readable format that non-engineers can review. Each rule specifies:
- The resource type it applies to.
- The condition expression that determines PASS or FAIL.
- The severity (Critical, High, Medium, Low), the rationale and references, and compliance framework mappings.
- Written remediation guidance.
This YAML-first approach means adding a new rule for a new cloud service does not require changes to the core evaluation engine. It needs only a new YAML file with the right schema.
Network exposure needs cross-resource correlation
Simple single-resource checks (is this bucket encrypted, is MFA enabled for this user) can be evaluated from the resource's own configuration alone. Effective network exposure is different. Working out whether a resource can be reached from the internet means correlating several resources.
Determining whether an EC2 instance is internet-accessible requires knowing: is it in a public subnet? Does its subnet's route table have a route to an internet gateway? Do the NACLs on that subnet allow inbound traffic on the relevant port? Does the security group allow inbound traffic from 0.0.0.0/0? Is there a load balancer in front of it?
This is why network security analysis runs as a separate phase after discovery, with access to the full normalised resource graph. The graph allows us to traverse VPC, subnet, route table, and internet gateway relationships and compute effective exposure instead of checking each resource configuration on its own.
Where agentless has limits
Agentless works for everything that lives in the cloud control plane. It does not work for everything, and it is worth being precise about the boundaries.
OS-level vulnerability scanning requires enumerating installed packages and kernel versions. Cloud APIs do not expose that information. Onam's agentless workload scanning handles this by reading snapshots of instance volumes inside your own account, which means it deploys scanning resources there with the permissions they need.
Runtime workload behaviour needs a sensor on the host: which processes are running, which network connections are open, which system calls a container makes. Onam does not offer runtime enforcement. Rule evaluation covers the configuration surface and cloud audit logs cover control-plane activity. Live runtime behaviour is a different layer.
Data contents are not read through the control plane. By default, Onam's data classification uses metadata signals: naming patterns, tags, schema metadata and resource configuration, which will not detect sensitive data in an unexpectedly named bucket.
Update, 26 November 2026: Onam's DSPM can now also read data contents, but only where you adopt it: if you deploy Onam's DSPM scanner in your own cloud account or the on-premises collector, it reads samples of files and rows and classifies what they contain. Content scanning is opt-in per tenant; without that scanner, classification works from metadata and Onam does not read data contents.
Why agentless matters for security teams
The operational argument for agentless is usually framed around deployment complexity: no agents to install, no software versions to manage, no compatibility issues with operating systems. That is true, but there is a stronger argument.
Agents expand your attack surface. An agent running on every instance in your fleet is a piece of software with elevated privileges that needs to be patched, monitored and secured, and if it has a vulnerability, every host it runs on is exposed.
Agentless does not mean footprint-free, and it is worth being exact. Posture scanning connects through read-only cloud roles; agentless workload scanning runs inside your account. The workload scanner's resources live in your account, with the permissions the onboarding template grants, and you can read every one of them before you run it. The free plan uses the read-only API part only: it deploys no agent or scanner, which is why vulnerability scanning, Kubernetes posture and data-content classification are on the paid plans.
For organisations in regulated sectors such as healthcare, financial services and government, that precision matters. The question is what a tool adds to your system boundary, and the answer should be a list you can review.
Frequently asked questions
What does agentless cloud security mean?
Reading configuration and activity from the cloud provider's APIs instead of installing software on each workload. Posture checks need only a read-only role; scanning inside VMs for vulnerable packages needs snapshot-based scanning in your account or an agent.
Does Onam install anything in my cloud account?
Posture scanning connects through read-only cloud roles. Agentless workload scanning deploys scanning resources inside your account, with permissions you can review in the onboarding template before running it. The free plan deploys no agent or scanner.
Can agentless scanning see runtime behaviour?
No. Processes, network connections and system calls need a sensor on the host. Onam covers configuration, audit-log activity and snapshot-based workload scanning, and does not offer runtime enforcement.
Try it on your own cloud
Start free. The free plan covers up to 25 units of cloud security, with API-based scanning only: posture (CSPM), identity and permissions (CIEM), data stores found through cloud APIs (DSPM checks, no content classification) and AI-SPM. Posture scanning connects through read-only cloud roles, the free plan deploys no agent or scanner, and no card is needed. Register, and the team emails you the login.