A candidate set is the subset of rules that still might apply after an initial filter. Authorization engines shrink this set before checking conditions, and the efficiency of that shrink step often determines whether the evaluator stays usable at scale.
Expanded Definition
A candidate set is the working subset of authorization rules that remain plausible after an initial narrowing step. In NHI and policy evaluation systems, that shrink step reduces the number of rules, policies, or conditions an engine must inspect before it can make a decision. The concept is more about evaluation mechanics than policy intent: the candidate set is not the final answer, only the remaining search space.
In practice, the term is used differently across vendors and policy languages, so definitions vary across vendors. Some systems build the candidate set from subject, resource, action, environment, and tenant attributes; others start with role membership or policy index lookups and then refine further. That makes the idea closely related to NIST Cybersecurity Framework 2.0 style access governance, even when the exact implementation details are not standardised. For NHI security, the practical concern is whether the evaluator can eliminate irrelevant rules quickly enough to support high-volume machine authentication and authorization.
The most common misapplication is treating the candidate set as the final entitlement decision, which occurs when engineers stop after the first filter and skip the remaining condition checks.
Examples and Use Cases
Implementing candidate set reduction rigorously often introduces indexing and policy-maintenance overhead, requiring organisations to weigh faster authorization decisions against more complex rule design and testing.
- An API gateway narrows thousands of policy statements to the small set that match the calling service account, then evaluates the remaining conditions for token audience and scope.
- An internal authorization engine uses resource tags and environment attributes to shrink the candidate set before checking time, location, and workload identity constraints.
- A SaaS control plane prefilters tenant-specific rules so a service account only evaluates policies relevant to its namespace, reducing latency during peak traffic.
- A Zero Trust deployment uses candidate-set pruning to keep continuous authorization usable as request volume grows, aligning with the operational direction described in the Ultimate Guide to NHIs.
- In a policy simulation or audit, security teams compare the full rule universe against the candidate set to identify dead rules, overly broad matches, and missing constraints.
For identity-centric access systems, the key is preserving correctness while reducing work. A fast prefilter that excludes the wrong rule can create a latent authorization bypass, so candidate-set design must remain deterministic and testable.
Why It Matters in NHI Security
Candidate sets matter because NHI environments generate large, repetitive, and highly automated authorization traffic. When service accounts, API keys, and workload identities are evaluated at scale, the difference between a small and an unbounded candidate set can decide whether policy enforcement stays reliable or becomes a bottleneck. Weak pruning also increases the chance of inconsistent decisions across distributed gateways, agents, and microservices.
NHI Mgmt Group notes that only 5.7% of organisations have full visibility into their service accounts in the Ultimate Guide to NHIs, which means many teams are already operating with incomplete identity inventories before policy evaluation even begins. That visibility gap makes candidate-set design harder because the engine cannot reliably classify which identities, resources, and conditions should be considered first. The result is slower authorization, noisier exceptions, and weaker governance around privileged automation.
The concept also fits the control intent of NIST Cybersecurity Framework 2.0, where access decisions must be governed consistently and with least privilege in mind. Organisations typically encounter the operational impact only after a policy outage, unexplained deny spike, or latency surge, at which point candidate set tuning becomes operationally unavoidable to address.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-04 | Candidate-set pruning affects how non-human identities are authorized at scale. |
| NIST CSF 2.0 | PR.AC-4 | Least-privilege access decisions depend on evaluating only relevant permissions. |
| NIST Zero Trust (SP 800-207) | AC-6 | Zero Trust decisions rely on continuous, context-aware evaluation of access paths. |
Limit candidate rules by context so continuous authorization remains performant.