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
9 changes: 8 additions & 1 deletion .cargo/audit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@
ignore = [
# RUSTSEC-2026-0459: libsqlite3-sys 0.37.0 (C SQLite CVE-2026-119375), fixed in >= 0.39.0.
# https://rustsec.org/advisories/RUSTSEC-2026-0459 - tracked in https://github.com/ilanh/openshell-annotate/issues/76
# Transitive and not upgradable from this repo: OpenShell v0.1.7 to v0.1.9 openshell-crypto -> sqlx 0.9.0 -> sqlx-sqlite =0.9.0
# Transitive and not upgradable from this repo: OpenShell v0.1.7 to v0.1.10 openshell-crypto -> sqlx 0.9.0 -> sqlx-sqlite =0.9.0
# (exact pin) -> libsqlite3-sys 0.37.0. openshell-annotate does not use SQLite itself.
# Remove this entry once an OpenShell release bumps sqlx/libsqlite3-sys and we move the pin to it.
"RUSTSEC-2026-0459",
# RUSTSEC-2026-0600: kube-client 5.0.0 `openssl-tls` also trusts OpenSSL's default CA store, fixed in >= 5.2.0.
# https://rustsec.org/advisories/RUSTSEC-2026-0600 - tracked in https://github.com/ilanh/openshell-annotate/issues/114
# Transitive and not upgradable from this repo: OpenShell v0.1.10 openshell-crypto requires kube =5.0.0 (exact pin;
# v0.1.9 locked kube 0.99, also affected), and kube 5.2.0 needs Rust 1.95. kube is only in Cargo.lock, not in any
# build of openshell-annotate (`cargo tree -i kube-client --target all` prints nothing), so cargo-deny does not report it.
# Remove this entry once an OpenShell release moves kube to >= 5.2.0 and we move the pin to it.
"RUSTSEC-2026-0600",
]
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ subprocesses; add directives with reasons; run `scan`, `generate`, `lint`, `drif

## When changing this tool
- Build/test: `cargo build && cargo test` (Rust 1.94+). The schema crate is a git dependency pinned to the
OpenShell `v0.1.9` tag (see `Cargo.toml`, `Cargo.lock` pins the commit). Update the tag deliberately and re-run
OpenShell `v0.1.10` tag (see `Cargo.toml`, `Cargo.lock` pins the commit). Update the tag deliberately and re-run
the golden tests. `openshell-next` builds against the newest upstream tag, prereleases included, and is moved by
`.github/workflows/openshell-next.yml`; fixes that need the newer OpenShell go there, fixes valid on the current pin
go to `main` (see `docs/DEVELOPING.md`, "Tracking the next OpenShell release").
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ version section and adds the squash-merged PR titles since the previous tag. Ver

## [Unreleased]

- chore(deps): build against OpenShell v0.1.10 (`openshell-policy-schema`, `openshell-policy`, commit 152c59d); docs, generated policy headers and the `diff-logs`/`--image` notes now name v0.1.10. v0.1.10 still declares `rust-version = "1.94"`, so main stays on Rust 1.94 (#113)
- feat(validate): `lint --policy`, `drift` and `generate` run the offline checks of `openshell policy lint` (OpenShell v0.1.10, ai-openshell/openshell#5358): `find_endpoint_ambiguities` and `validate_and_canonicalize_authored_policy` (reserved `_provider_` keys, credential bindings, size limit) next to the gateway validator. Endpoints that match the same requests with different protocols are now an error, since a request is authorized only by endpoints using the selected route's protocol (ai-openshell/openshell#5274) (#113)
- feat(validate): a YAML policy file with `endpoint_settings` (a Cedar-only section, ai-openshell/openshell#5006) is rejected by `lint --policy` and `drift` with OpenShell's message (#113)
- feat(lint): warn about hosts in the NAT64 prefix `64:ff9b::/96` in directives and `--policy` files: OpenShell v0.1.10 checks them as the embedded IPv4 address (ai-openshell/openshell#5793) (#113)
- docs: `--scaffold-profiles` mentions `auth_style: path_subtree` (ai-openshell/openshell#5675); README and DEVELOPING cover the v0.1.10 changes, `openshell policy lint`, and the known v0.1.10 regression on Kubernetes nodes with kernels older than 6.4 (ai-openshell/openshell#6069) (#113)
- test: `diff-logs` reads v0.1.10 records with the real process (`pid`, `created_time`, parent `pid`, ai-openshell/openshell#5251) and skips gateway audit records with `resources[].data` (ai-openshell/openshell#5612) (#113)
- chore(audit): ignore RUSTSEC-2026-0600 (kube-client 5.0.0, exact pin in OpenShell `openshell-crypto`, only in `Cargo.lock`) in `.cargo/audit.toml` until an OpenShell release moves kube to >= 5.2.0 (#114)
- chore(deps): build against OpenShell v0.1.9 (`openshell-policy-schema`, `openshell-policy`, commit ce58cf8); docs, generated policy headers and the `diff-logs`/`--image` notes now name v0.1.9 (#107)
- feat(lint): warn when a wildcard host in an `egress` directive or a `--policy` endpoint without `allowed_ips` can match a private IP literal (`10.*.*.*`, `**.*.*`): since OpenShell v0.1.9 a wildcard endpoint no longer allows private IP literals on its own (#107)
- test: the gateway validator rejects middleware selectors with a port (OpenShell v0.1.9); `diff-logs` skips gateway API Activity denials in both the old (`type_uid` 600399) and the new Create/Update/Delete shape (#107)
Expand Down
Loading
Loading