Skip to main content

Workspace security in ASH

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

Updated 3 min readMarkdown
Workspace security in ASH

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.

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.

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.

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.

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.

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.

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

Read the illustrated essay on mh0pe.github.io

About the author

  • Principal AI Architect. I help teams govern, ship, and scale AI, security, cloud, and developer systems. Illustrated essays and selected work at https://mh0pe.github.io/

No comments yet. Be the first to comment.