Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions integrations/openshell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,25 @@ The explicit `--allow-insecure-lab` flag is required for a nonloopback listener;
it does not add authentication. Do not expose this listener publicly. This is
an experimental integration, not an authenticated production deployment.

## Request flow

![Under the sample fail_closed policy, OpenShell enforces network policy, asks Nomos to review selected HTTP requests, and forwards only permitted requests.](docs/images/http-request-review.svg)

For requests selected for review, the supervisor calls Nomos over gRPC before
injecting managed credentials. Nomos validates the request, sends the observation
and configured questions to the decision model, and applies the configured score
thresholds. It returns a decision to OpenShell; the middleware does not forward
the workload request.

For requests selected for review, the sample `fail_closed` policy requires both
network-policy permission and a review allow decision before forwarding. With
`fail_open`, an assessment failure can instead let the request continue without
an allow decision. A content denial blocks under either setting. OpenShell adds
managed credentials where configured and forwards the original payload; Nomos
does neither. A network-policy denial stops the request before assessment.
See [configuration](docs/configuration.md) for questions, thresholds and the
model API, and [lab testing](docs/lab-testing.md) for forwarding evidence.

## Read and run

1. [Setup](docs/setup.md): build, configure a model, register with OpenShell,
Expand Down
75 changes: 75 additions & 0 deletions integrations/openshell/docs/images/http-request-review.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading