source.arazas.com

Internal · Source · Network

Network · ARAZAS-NETWORK-001

Enforcement

How the rules become automatic: zero trust on every request, policy evaluated as code, an audit trail on every use of power, continuous compliance checks, and the same five controls carried by every layer of the network.

A rule that depends on someone remembering is a wish.

Binds
Rule 14
Identities
Identity and access
Failure path
P07 Incident

1. A rule nobody enforces is a wish

Everything else in this constitution is words. This page is the part that makes the words expensive to break - and it is the reason the rest can be trusted as the network grows past the point where any one person can watch it.

The test for every rule we write is simple: what machine checks this, at what moment, and what happens when it fails. If there is no answer, the rule is a note, and it is labelled as one.

2. Zero trust, applied

Identity, scope, and device posture are checked on every request. Being inside a network boundary, on a VPN, or on an office address proves nothing.

Access follows the task, not the title. Scopes are narrow, time-boxed, and reviewed - the same rule the responsibility levels already state for people.

Data and workloads are partitioned by account and by territory. A compromise reaches one segment, not the network.

Every design answers: what does an attacker get if this component is fully owned, and how quickly would we know.

If the answer to the second half is "eventually", the design is not finished.

When a policy check cannot be evaluated, the answer is no. Serving on uncertainty is how private content leaks.

3. Policy as code

Policies are written once, in a repository, and evaluated by an engine that every plane calls - rather than reimplemented as scattered conditionals that drift apart product by product.

Policy familyThe question it answersEvaluated at
Access policyCan this identity do this action, in this account, in this placeEvery API request
Content policyCan this reach people - documents current, stage sufficient, disclosures attachedEvery publish, via clearing
Privacy policyCan this data be read, joined, exported, or trained onEvery read of user-owned data
Spend policyCan this money move, at this size, to this destinationEvery settlement and payout
Place policyIs this feature legal and enabled hereEvery WorldView resolve
Capacity policyIs this within quota, rate, fan-out, and intake limitsEvery write and every notification

Today most of this is code inside each service. Centralizing it is the single highest-value piece of control-plane work we have, because it turns a constitution into a runtime.

4. Audit logging

If an action changes what someone else can do, see, or receive, it is logged with a reason.

  • Who - the identity, human or machine, never a shared account
  • What - the action, the target, and the scope used
  • Why - the reason string, required on privileged actions
  • When and where - timestamp and place context
  • Result - allowed or denied, and which policy decided

Audit logs record that private content was accessed by a system path, never the content itself. Law 02 does not have a logging exception.

  • Private content bodies
  • Credentials, tokens, and keys
  • Payment instruments
  • Location precise enough to follow a person

A log that can be edited by the person it accuses is not evidence.

  • Append-only, with integrity checks
  • Written to a store the acting service cannot rewrite
  • Retained on a stated schedule, then deleted
  • Readable by auditors and reviewers, not by whoever is curious
  • The subject of a decision can see the entries about their own case

5. Automated checks

Continuous, unattended, and blocking where the cost of being wrong is high. Reviewers catch judgement problems; machines catch the boring failures that reviewers stop seeing after the hundredth time.

CheckWhat it catchesCadence
Privacy assertionsPrivate content cannot reach feeds, sitemaps, or anonymous detailEvery build - blocking
Secret scanningNo credentials committed to a repositoryEvery commit - blocking
Dependency and CVE scanKnown-vulnerable packagesDaily and on build
Infrastructure scanMisconfiguration - public buckets, open ports, wide rolesOn plan and continuously
Permission driftAccess granted that no longer matches a roleWeekly
Config driftProduction differs from the repositoryContinuous
Contract testsA plane has not broken a versioned contractEvery build - blocking
Accessibility scanPublic surfaces against WCAGOn build
SLO burnError budget consumption per planeContinuous - freezes features when spent

6. What happens when a check fails

Six responses, ordered by how early they act. Earlier is always cheaper.

Block

The action never happens. Preferred for everything that can be decided at request time.

Quarantine

The actor keeps its identity but loses scope - a device, a key, or a listing is isolated.

Alert

A named owner is notified with the evidence, inside a response window by severity.

Kill switch

A plane, feature, or partner surface is disabled independently, without taking the network down.

Roll back

Config and code return to the last known good state. Tested, not theoretical.

Incident

P07 opens - evidence, notification, decision, and a lesson written into a rule or a gate.

Anything above quarantine opens P07 Incident, which ends with a lesson written into a rule or a gate. A fix that leaves no new check behind has not finished.

7. The same five controls at every layer

This is the working checklist. Nothing new gets built at any layer of the network until each column has an answer - and an unanswered column is a gap, not a detail to sort out later.

LayerIdentityPolicyAuditLimitAutomated check
Device or hostAttested device certificateWorkload and place scopeJoin, attest, heartbeat, quarantineCompute budgetAttestation failure
ServiceService identity, mTLS or scoped keyEndpoint and account scopeEvery call with reason on privileged onesRequest rateDrift and permission scan
APICaller identity requiredVersioned contract plus access policyRequest, decision, and policy that decidedPer-key rate limitContract tests
DataOwner recorded on every recordPrivacy policy on read and joinAccess path, never contentExport and retention limitsPrivacy assertions
Product surfaceHuman session with MFA by levelClearing before publishPublish and moderation actionsPublish volume and fan-outAccessibility and privacy scans
CommunityMembership record and rolesCharter plus network lawRole grants, removals, incidentsIntake capHealth state review
PartnerOrganization identity and agreementsStage-gated scopeSettlement, delivery, and disputesSpend and scope limitsAudit at stage review

Identity, policy, audit, limit, check. Every layer, every time, including the ones that feel too small to bother with.

8. Where this actually stands

The honest state of the control plane today.

ControlWhere it stands
Privacy assertions blocking the buildIn place
Versioned contracts between planesIn place - enforced by convention, not yet by tests
Kill switches per planePartial - flags exist, drill not scheduled
Central policy enginePlanned - policy is currently code inside each service
Audit log with reason strings on privileged actionsPlanned
mTLS between internal servicesPlanned
Continuous infrastructure scanningPlanned
Tamper-evident audit storeGap - required before any external audit

The gaps are listed so they can be scheduled. A gap that is written down and dated is a plan; the same gap unwritten is how an audit becomes an emergency.