Skip to content

chore(deps): bump OpenShell crates to v0.1.7 - #71

Merged
ilanh merged 1 commit into
mainfrom
chore/68-openshell-v0.1.7
Nov 9, 2026
Merged

ilanh merged 1 commit into
mainfrom
chore/68-openshell-v0.1.7

Conversation

@ilanh

@ilanh ilanh commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Closes #68

Builds openshell-annotate against OpenShell v0.1.7.

  • Cargo.toml: openshell-policy-schema and openshell-policy move to tag = "v0.1.7". Cargo.lock now pins 5d25211b, and the update dropped rustls-pemfile.
  • Updated the "0.1.6" mentions in README, AGENTS.md, docs/DEVELOPING.md, ROADMAP, the Dockerfile, and the strings in src/ (validate, diff_logs, render, image, generate). Regenerated tests/golden/diff_logs_human_*, tests/fixtures/sample/policy.expected.yaml and examples/polyglot/openshell/policy.yaml. The only change in each is the version on the header or note line.
  • Left as-is: docs/DIRECTIVES.md:67 and src/spec.rs:83, which record what openshell-prover reported on 0.1.6 (Tracking: OpenShell 0.1.6 behaviours observed (local tracking only, nothing filed upstream) #19).
  • Checked: PROXY_BASELINE_READ_ONLY and PROXY_BASELINE_READ_WRITE in the v0.1.7 supervisor are identical to v0.1.6, so the README and image.rs baseline notes still hold.
  • CHANGELOG: added an Unreleased entry.

No code changes were needed. Ran locally on macOS: fmt, clippy -D warnings, cargo test --locked, --test gateway_policies and gen-docs.sh --check all pass.

NVIDIA/OpenShell#5036 (OCSF 1.8.0 only) doesn't affect diff-logs: it was tested against a real v0.1.7 sandbox, see #69 and #70.

Bump openshell-policy-schema and openshell-policy to tag v0.1.7 (5d25211b) and refresh Cargo.lock. Update version mentions in docs, source strings, generated policy headers and goldens. PROXY_BASELINE_* paths are unchanged in v0.1.7. The historical tls/prover note (#19) in DIRECTIVES.md and spec.rs is kept as-is.

Closes #68

Signed-off-by: Ilan Harel <[email protected]>
@ilanh
ilanh merged commit 0f413a1 into main Nov 9, 2026
19 checks passed
@ilanh
ilanh deleted the chore/68-openshell-v0.1.7 branch November 9, 2026 07:35
ilanh added a commit that referenced this pull request Nov 9, 2026
Closes #70

Rebased onto main after #71 and #72 merged. The golden note now says
OpenShell 0.1.7.

Adds a log fixture captured from a real OpenShell v0.1.7 sandbox: the
playground image and policy, with `ocsf_json_enabled=true`.

- `tests/fixtures/logs/ocsf-1.8.0.jsonl`: 17 native OCSF 1.8.0 records
(`metadata.version` is `1.8.0` on every line):
  - 4001 Open, allowed and denied
  - two 4001 Refuse records with `policy_dns_ineligible`
  - 4002 L7 allow and deny
- one record each of 0 (relay open/close), 4007 (SSH) and 5019 (policy
DNS mapped/staged), which `diff-logs` ignores
- Scrubbed:
  - Device hostname → `sandbox`.
  - Container → `fixture` with an all-zero UUID.
- `metadata.uid`, SSH channel ids and DNS mapping ids → fixed fake
UUIDs.
  - Real resolved IPs → 203.0.113.x (TEST-NET-3).
- The 198.18.x synthetic IPs, the proxy loopback address and the public
test hostnames are unchanged.
  - Timestamps rebased.
  - No usernames or tokens.
- `tests/fixtures/ocsf-1.8.0-app/`: a minimal annotated app that matches
the captured run.
- `tests/cli.rs` `diff_logs_reads_openshell_0_1_7_ocsf_1_8_0_records`:
  - Checks `10 events: 3 denied, 7 allowed`.
- Expects `missing_egress` for example.com (curl) and pypi.org
(python3.12), and `l7_allow` for httpbin.org POST /post.
  - Expects no `manual` items.
- Adds the plain human golden
`tests/golden/diff_logs_ocsf_1_8_0_plain.txt`.

Filesystem denials (two in the run) were not logged at all, which
matches NVIDIA/OpenShell#4270 (still open).

Ran locally: fmt, clippy `-D warnings`, `cargo test --locked`, `--test
gateway_policies` and `gen-docs.sh --check` all pass.

Signed-off-by: Ilan Harel <[email protected]>
Co-authored-by: Ilan Harel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(deps): bump OpenShell crates to v0.1.7

1 participant