Engineering guide · Security
Threat Intelligence And Reputation Enforcement
On this page
Security ModelActionsAPIConfigure A Corroborated Block PolicyIngest An ObservationEvaluate And ExplainRevoke Without DeletingPersistence And EvidenceFailure BehaviorVerifyAtlas exposes the compatibility-friendly /api/v1/threats/configuration route from the Okta ThreatInsight API.
It supports the familiar none, audit, and block actions.
Atlas extends that contract with tenant isolation, optimistic versions, actor/request-bound idempotency, certificate-bound source ingestion, confidence and freshness limits, independent-source quorum, validated Network Zone exclusions, deterministic decisions, and append-only state evidence.
ThreatInsight is the IP-reputation slice; it is not the entire identity-threat platform. External Security Events Providers, user and entity risk, behavior rules, continuous session detections, session-protection policy, outgoing SSF streams, response correlation, and telemetry have separate completion boundaries. See Identity Threat Platform for the implemented provider/receiver architecture and the remaining gaps.
The production evaluator runs after Atlas resolves the client through explicit trusted-proxy zones and before credentials or federation state are processed. This ordering prevents a spoofed forwarding header from choosing the reputation lookup key and prevents a blocked source from consuming credential-verification work.
Security Model
Threat intelligence is evidence, not an unquestioned authority. Atlas requires each observation to identify its authenticated source and evaluates only bounded, active, unexpired, sufficiently fresh evidence. The policy can require up to five independent sources before an address becomes suspicious. Multiple observations from one source count once toward quorum.
| Control | Behavior |
|---|---|
Source identity |
Derived from the validated access token. A request body cannot choose or impersonate |
Transport binding |
Ingestion requires fresh AAL2, a certificate-bound token, and the same verified client certificate on the current TLS request. Atlas compares the token binding reference with the presented certificate fingerprint in constant time. A bearer-only, mismatched, or unverified request is rejected even when its role grants the ingest capability. |
External identifier privacy |
|
Replay protection |
Every mutation requires |
Confidence and age |
The policy sets a minimum confidence and maximum observation age. Expired, future-dated, stale, revoked, or weak observations cannot contribute. |
Independent-source quorum |
|
Zone exclusion |
Exclusions reference active |
Decision binding |
The decision hash binds the normalized input, configuration version, eligible matches, and the Network Zone decision used for exclusion evaluation. |
Durability |
PostgreSQL guards immutable identifiers, exact version increments, non-reactivation after revocation, matching evidence for every version, and append-only event and replay rows. |
Actions
none-
Evaluates evidence and returns match details but neither logs an enforcement match nor blocks authentication. This is the safe default for an unconfigured tenant.
audit-
Evaluates the production path and records a security log when quorum is met. The log includes only a hashed client reference, action, exclusion state, source count, and decision hash.
block-
Rejects authentication and federation processing when quorum is met and no configured exclusion applies. The public error is generic and does not disclose observations, sources, or confidence.
Changing an action does not rewrite observations. Policy and observations have independent evidence chains.
API
| Method | Route | Purpose | Authorization |
|---|---|---|---|
|
|
Read the policy or the safe version-zero default |
|
|
|
Replace the policy with optimistic concurrency |
|
|
|
Page observations or ingest one source observation |
Read: |
|
|
Read one tenant-scoped observation |
|
|
|
Create a revoked version without deleting evidence |
|
|
|
Run the production evaluator without persisting the supplied address |
|
|
|
Verify and return all configuration and observation evidence chains |
|
All request bodies must be one JSON object, use Content-Type: application/json, reject unknown fields, and fit within 64 KiB.
Mutation keys are 16 to 200 characters.
An exact same-actor replay returns the original response.
A changed request or a different actor using the key returns 409.
Observation listing uses limit from 1 through 1000, with a default of 200.
Pass the returned next observation ID as after.
An unknown cursor is rejected rather than silently restarting the listing.
The complete schemas, enumerations, required properties, assurance level, capabilities, error responses, and examples are available through the gateway Swagger UI at /docs/ and OpenAPI document at /openapi.json.
Configure A Corroborated Block Policy
The following policy requires two sources at 90 percent confidence, ignores observations older than one hour, and excludes only a previously validated policy zone:
curl -sS -X POST "$ATLAS_URL/api/v1/threats/configuration" \
-H "Authorization: Bearer $ATLAS_ADMIN_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: threats-policy-20260724-001" \
--data '{
"action": "block",
"excludeZones": ["managed-egress"],
"minimumConfidence": 90,
"minimumIndependentSources": 2,
"maximumObservationAgeMinutes": 60,
"expectedVersion": 0,
"reason": "require two fresh sources before pre-authentication blocking"
}'
The managed-egress zone must already exist, be active, and use policy.
Atlas revalidates the reference during every evaluation.
If the zone is later deactivated, threat enforcement becomes unavailable until the policy is corrected; Atlas does not silently convert a stale exclusion into either an allow or a deny.
Use the returned version as expectedVersion for the next policy change.
Ingest An Observation
Feed access tokens must be certificate-bound.
The certificate identity, token subject, role assignment, and authenticated actor together define the feed authority.
Do not issue browser users the threat-intelligence-source role.
curl -sS -X POST "$ATLAS_URL/api/v1/threats/observations" \
--cert "$FEED_CERT" \
--key "$FEED_KEY" \
-H "Authorization: Bearer $ATLAS_CERT_BOUND_FEED_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: source-a-observation-88421" \
--data '{
"externalId": "feed-a-indicator-88421",
"cidr": "203.0.113.19/32",
"category": "credential_attack",
"severity": "critical",
"confidence": 97,
"observedAt": "2026-07-24T15:00:00Z",
"expiresAt": "2026-07-25T15:00:00Z",
"expectedVersion": 0,
"reason": "source attested credential attack infrastructure"
}'
Accepted categories are abuse, anonymizer, botnet, credential_attack, malware, scanner, spam, and unknown.
Severity is low, medium, high, or critical.
Confidence is from 1 through 100.
An observation can live for at most 30 days.
The observation time cannot be more than one minute in the future, and expiration must still be in the future when ingested.
An observation ID is deterministic for the tenant, source, and hashed external identifier.
The owning source can submit a new version using the same externalId and current expectedVersion.
Another source cannot overwrite it.
Evaluate And Explain
curl -sS -X POST "$ATLAS_URL/api/v1/threats/evaluate" \
-H "Authorization: Bearer $ATLAS_AUDITOR_TOKEN" \
-H "Content-Type: application/json" \
--data '{"sourceIp":"203.0.113.19"}'
A decision reports:
-
configured action;
-
whether eligible evidence met quorum;
-
whether enforcement blocked;
-
whether a validated Network Zone exclusion applied;
-
independent source count;
-
eligible observation summaries;
-
matched policy zone IDs;
-
input, zone-decision, and final decision hashes.
The evaluated address is not stored by this endpoint. Observation CIDRs remain durable because they are the explicitly ingested security evidence. Do not treat preview access as an unbounded reputation lookup service; capability policy, AAL2, input limits, and normal gateway rate controls still apply.
Revoke Without Deleting
curl -sS -X POST \
"$ATLAS_URL/api/v1/threats/observations/$OBSERVATION_ID/lifecycle/revoke" \
-H "Authorization: Bearer $ATLAS_ADMIN_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: revoke-observation-88421" \
--data '{
"expectedVersion": 1,
"reason": "source withdrew the indicator"
}'
Revocation immediately removes the observation from quorum. The row and all prior events remain immutable. A revoked observation cannot be reactivated; a source must publish a new external identifier when new evidence justifies a new lifecycle.
Persistence And Evidence
threat_intelligence_configurations stores one versioned policy per tenant.
threat_intelligence_observations stores canonical PostgreSQL CIDR values and source-bound external-ID hashes.
threat_intelligence_replays stores only key digests, request digests, actor IDs, response kind, and the safe response document.
threat_intelligence_events stores state and reason digests with the prior and current evidence hashes.
All writes acquire a tenant-scoped PostgreSQL advisory transaction lock. Replay bindings and observation limits are checked again inside that transaction. Optimistic predicates prevent lost updates. The authentication hot path asks PostgreSQL for only active CIDRs containing the normalized source address and applies confidence, observation-age, future-time, and expiration predicates in the same indexed query; the service rechecks those predicates before quorum calculation. Deferred constraint triggers require the matching event and evidence head before commit. Database triggers reject deletion, immutable-field changes, skipped versions, revoked-state reactivation, and event or replay mutation.
The event API recomputes chain continuity and hashes before returning integrity: verified.
A mismatch returns 409; Atlas does not return unverified events as trustworthy evidence.
Failure Behavior
400 indicates invalid JSON, pagination, address, CIDR, enum, time, confidence, or body size semantics.
403 indicates a capability, AAL, freshness, or certificate-binding failure, or a production threat block.
404 indicates a tenant-local observation is absent.
409 indicates optimistic concurrency, replay binding, inactive zone reference, evidence, or storage invariant conflict.
413 indicates a request over 64 KiB.
415 indicates a missing or non-JSON content type.
503 indicates authorization, PostgreSQL, Network Zone, or threat policy authority is unavailable.
Outside a development-like environment, an unavailable durable threat service causes authentication and federation to fail closed. Development can use the in-memory store for focused tests, but that mode is not evidence of persistence.
Verify
Internal implementation checks are omitted from this public guide.
The Docker integration test applies the real migrations, configures two-source blocking, ingests from two certificate-bound actors, proves exact replay, verifies a block decision, reconstructs the SQL service, verifies the same decision after restart, revokes one source, proves quorum disappears, checks that raw external IDs and replay keys did not reach durable storage, and proves PostgreSQL rejects evidence mutation.
Run it through make icam-workflow-docker-test when the validation host has sufficient available memory.