← All writing

A shared security view should keep the local context.

An address that survives the mergeThree neighboring project territories. A diamond in Application follows a line to the same diamond beside Application / src/api.py in the combined report.ApplicationServiceInfrastructuresrc/api.pyCombined reportApplicationsrc/api.py
An address that survives the mergeIn this example, the finding comes from the application. The shared report keeps both the project name and its local path, src/api.py.

How I brought many projects into one ASH workflow without flattening the decisions each team owns.

ASH: inspectable workspace planning

Automated Security Helper Security

At a glance

Bring the results together. Keep the meaning of each result with the project that produced it.

A team rarely works on just one piece of software. An application, a service, and the infrastructure around them may live in different places, use different checks, and have different owners. A shared security report is useful only if those distinctions survive the trip into it.

My workspace work in Automated Security Helper starts from that idea. The workspace implementation resolves the projects, runs them with their own context, and brings the results together. The architectural work is in preserving what each result means, not simply collecting more findings.

Make the plan visible before the work starts.

A workspace definition is an instruction to examine a particular set of projects. I made that instruction inspectable before scanning: which folders resolve, which configurations apply, and which projects cannot be included. A dry run lets the person operating the tool check the scope before committing time or compute.

Read the three raised territories from left to right. The amber finding belongs to the application and keeps its file address.

A shared view. Distinct projects.Three project territories sit apart. One amber application finding carries its project and src/api.py address.Applicationsrc/api.pyServicesrc/api.pyInfrastructureNot scannedService · src/api.pyInfrastructure · not scannedApplication · src/api.pyFinding 01 · ownership retained
A shared view. Distinct projects.

Application, service and infrastructure keep their own boundaries inside the wider workspace.

Three project territories sit apart. One amber application finding carries its project and src/api.py address.

Diagram key
Left territoryApplication
The application keeps its own identity.
Middle territoryService
The service remains a separate project.
Right territoryInfrastructure
The supporting infrastructure has its own boundary.
Amber card, lower leftFinding 01
Application · src/api.py stays attached to this finding.

That separation also gives an unresolved folder a clear meaning. It is a planning problem, not a clean scan. If someone deliberately allows missing projects, the plan records what was skipped and why. The report consumer should not need to reconstruct an important decision from terminal messages.

The plan is a useful boundary.
  1. Resolve projects
  2. Inspect scope and configuration
  3. Start the scans

Planning and execution are separate steps, so an operator can inspect the work before it runs.

The same scoping question returns when an agent drives the scan. A directory handed to a tool is the authority granted to it, which I wrote about on LinkedIn in Your agent's permissions live in the parameters, on LinkedIn, opens in a new tab.

Let each project remain itself.

The central execution contract is deliberately simple: a project's findings and verdict should match the result of scanning that project on its own, unless an explicit workspace policy changes the decision. I used a separate orchestrator, configuration, and output tree for each project rather than making every scanner understand a new global workspace.

The dashed frame gathers the three territories into a scan plan without joining them together.

Scope before action.A scope frame gathers separate project territories. The amber finding stays attached to Application and src/api.py.Applicationsrc/api.pyServicesrc/api.pyInfrastructureNot scannedService · src/api.pyInfrastructure · not scannedApplication · src/api.pyFinding 01 · ownership retained
Scope before action.

A selected scope does not erase the project a finding belongs to.

A scope frame gathers separate project territories. The amber finding stays attached to Application and src/api.py.

Diagram key
Dashed outer frameSelected scope
Which projects the plan includes.
Three raised territoriesSeparate ownership
Application, service and infrastructure keep their boundaries.
Amber card, lower leftFinding 01
The application finding keeps the same address within the selected scope.

This matters beyond the scan engine. A project-relative path is meaningful inside that project. When it appears in a combined report, the reader also needs to know which project owns it. Keeping the project and its path together makes the result easier for both a person and another tool to act on.

I followed that identity further in Why workspace identity must survive every entry point, on LinkedIn, opens in a new tab: a project's identity has to survive resolution and every step after it, not only the first one.

Aggregation is a product decision.

A report is where the internal architecture becomes somebody else's decision. Some formats can carry a project column. Others need a separate result per project to preserve the format's meaning. Treating every output format the same would make the implementation shorter, but the result less useful.

Follow each dashed line down to its report strip. A finding keeps the address of the project it came from.

The address travels with the finding.The same amber finding arrives in the combined report with Application and src/api.py intact. Service and Infrastructure remain separate.Applicationsrc/api.pyServicesrc/api.pyInfrastructureNot scannedService · src/api.pyInfrastructure · not scannedApplication · src/api.pyFinding 01 · ownership retained
The address travels with the finding.

A combined report keeps findings connected to their project and project-relative path.

Same filenameDifferent project owners

Imagine Application and Service both have src/api.py. The combined report keeps the Application finding attached to its project. A skipped project is not scanned.

The same amber finding arrives in the combined report with Application and src/api.py intact. Service and Infrastructure remain separate.

Diagram key
Amber card in the left stripApplication · src/api.py
The same finding reaches the shared report with its address intact.
Middle stripService / path
Findings from the service.
Right stripInfrastructure / path
Findings from the infrastructure.

I think of a good shared view as a map with its addresses still attached. It can show the overall picture while letting someone return to the exact project, configuration, and finding. That is the kind of coordination I want a platform to provide: a common view without taking away local ownership.

A combined report also has to say what did not happen. A durable report preserves several kinds of absence, on LinkedIn, opens in a new tab looks at how an empty export can describe very different runs, including a project that was skipped.

For a closer technical look
  • The linked reviews cover the planning, execution, and reporting implementation merged into ASH's workspace feature branch.
  • Projects have stable keys separate from their display names, so folders with the same basename remain distinct.
  • Per-project output retains the shape of a single-project scan, allowing existing consumers to adopt workspace mode incrementally.
  • Workspace policy is an explicit layer. It is not inferred from an editor's unrelated settings block.

What I take from it

Combine the security view while keeping each finding tied to the project and configuration that produced it.

Code and further reading

Also on
The full Automated Security Helper project story