liveBook · Manning

Contextual signal

As explained in Authorization in Action

A contextual or trust signal is an observed or supplied value about the circumstances of an identity or access request that is relevant to an authorization decision.

An employee may be allowed to view a document but not deploy to production unless their device is trusted and they are on call. A contextual signal, or trust signal, is a value about an identity or access request that helps a policy reach a concrete authorization decision. Signals can change independently of the policy that uses them. section 12.0 section 12.3.1

Signals populate attributes used in authorization context. They include identity and role details, device posture, account status, location, fraud scores, and operational status. The relevant combination depends on the action and its risk; authentication establishes identity but does not by itself decide access. section 12.3 section 12.3.1 section 15.2

Design each use case along three dimensions: which signals matter, how they arrive, and how fresh they must be. A low-risk collaboration action may tolerate an hour-old token claim; a production deployment may need current operational data and short-lived device posture information. section 12.0

Delivery and freshness choices affect both assurance and performance:

  • Token-based signals carry signed claims with the request and avoid a query at decision time. Claims can become stale before expiry, and stolen tokens can be reused. section 12.3.2
  • Query-based signals retrieve data from APIs or databases at decision time. They provide fresh data but add latency and dependence on upstream systems. section 12.3.2
  • Hybrid delivery combines stable token context with queries for variable signals. Cached data offers a middle ground between live queries and claims fixed until token expiry. section 12.3.2 section 12.4.1
  • Sidecars or message streams can distribute updates such as risk scores and revocation notices rapidly, but require careful deployment and monitoring. section 12.5.1

A policy information point (PIP) gathers signals; a policy decision point (PDP) uses context to evaluate policy; and a policy enforcement point (PEP) enforces the result. Signals need authenticity, integrity, and confidentiality as they move through this path. Signed tokens depend on validation against a trusted issuer, while API communications typically use Transport Layer Security (TLS), sometimes with mutual TLS. section 12.0 section 12.5 section 12.5.1

Table 12.1 ACME’s trust signals across different contexts. Each system occupies a different point within the three-dimensional choice space—balancing accuracy, latency, and complexity—to align with its risk profile. The Customer Collaboration platform prioritizes performance with token-based context; employees use a hybrid approach combining stable and short-lived signals; and the engineering tools depend on high-assurance, real-time data to avoid stale or unauthorized deployments. The freshness times in the table are typical and may vary depending on actual needs.

Context

Key signals

Delivery method

Freshness model

Customers on the Customer Collaboration platform

Customer ID, role, account status, fraud score

OAuth token (ID plus role); customer authn system API query for status

Token = 1 hour; account/fraud data refreshed every few hours

Employees on the Customer Collaboration platform

Employee identity, HR status, department, Finance limit, device posture

Internal API calls (HR, Finance); signed device-trust token from posture client

HR/Finance cached daily; device-trust token expires in 15 minutes

Engineers using deployment tools

Employee identity, on-call status, device posture, change ticket approval, CI/CD build verification

Internal identity service; real-time PagerDuty API; signed device-posture token; CI/CD and change-management APIs

On-call and posture data ≤ 5 minutes; others cached daily

Compare signal choices, delivery, and freshness across customer collaboration, employee access, and engineering tools. section 12.7

A shared schema and normalization layer can give decision points a consistent way to obtain context from multiple sources. Governance must also establish how signals are trusted and standardized, while revocation and event-driven updates can reduce exposure to stale context. section 12.8 section 13.7

How Authorization in Action covers it

How deep it goes
Explains signal selection, delivery, freshness, transmission security, and normalization through architectural tradeoffs.
Examples
Compares customer collaboration, employee access, and engineering deployment scenarios with different signal and freshness needs.
What you can do after
Evaluate signal choices against risk, latency, assurance, availability, and data exposure requirements.
How it connects
Connects signals to authentication, policy decision points, policy enforcement points, and zero trust.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Authorization in Action. The section links point to the parts of the book it draws on.