Assess proxy deployment versus embedded fetch enforcement
The team must decide whether every service implements egress checks or shares a constrained gateway.
- Focused work estimate
- 5h + prerequisites
- Priority in the scenario
- High
- Engineering practice
- Network architecture · Tradeoffs
Estimated field mix
- System design50%
- Networking30%
- Security20%
Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.
Review it, then add it to your workspace.
The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.
Project context
A fictional content-import service accepts document URLs. The team needs explicit destination approval, redirect handling, and response limits before enabling imports.
Setup prerequisites
- Create a local HTTP destination simulator and DNS double with authorized address cases; contact no real external hosts.
Preceding work
Complete these dependencies, or supply their agreed outputs before taking this ticket.
- BEGRESS-101 · Define the approved destination contract for imports
- BEGRESS-102 · Normalize import URLs without changing their authority
- BEGRESS-103 · Bind resolved addresses to the approved hostname policy
- BEGRESS-104 · Revalidate every redirect before following it
- BEGRESS-105 · Enforce response byte limits during streaming
- BEGRESS-106 · Constrain total fetch time across DNS and redirects
- BEGRESS-107 · Separate content-type validation from document parser selection
- BEGRESS-108 · Revoke destination approval for queued and cached imports
Acceptance criteria
- Compare enforcement consistency, latency, failure domain, and operations burden.
- Model bypass risks and explicit provider boundaries.
- Choose the smallest design satisfying the scenario.
Implementation constraints
- Do not add microservices without a demonstrated need; a local module may be sufficient.
Verification to include
- Trace an authorized import through the chosen boundary.
- Show how direct unapproved network access is prevented in the model.
Deliverables
- Egress architecture decision record.
Rollout and recovery
Keep the gateway unavailable until enforcement and bypass assumptions are verified.
Value of the work
For the engineer: Practice URL interpretation, network policy enforcement, and resource controls.
For the team: Provide a reusable fetch boundary that makes destination authority and failure behavior inspectable.
Evidence boundaries
Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.
Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.