Repository navigation
Commit 70338b3
feat(policy): support Cedar in development builds
Add Cedar-authored sandbox policy support behind the `experimental` Cargo
feature flag on `openshell-gateway` and `openshell-supervisor`. Default,
prerelease, and stable builds exclude Cedar.
- Add `CedarPolicy` (tag 7), `provider_credential_rules` (tag 8), and
`endpoint_settings` (tag 9) to `SandboxPolicy`, plus
`supported_capabilities` on `SupervisorHello` and `GetSandboxConfigRequest`.
- Keep Cedar parsing, analysis, and evaluation in dedicated crates behind
`openshell-policy-runtime-interface`, `openshell-policy-cedar-adapter`, and
`openshell-policy-cedar-runtime`.
- Move cross-backend conformance tests to `tests/policy-conformance`.
- Capture vendored git source replacements for offline RPM builds.
Co-authored-by: Vishwanath Raman <vishwanathr@nvidia.com>
Co-authored-by: Johnny Greco <jogreco@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Johnny Greco <jogreco@nvidia.com>1 parent 0d495be commit 70338b3
193 files changed
Lines changed: 51093 additions & 5317 deletions
File tree
- crates
- openshell-cli
- src
- tests
- openshell-core/src
- proto
- openshell-crypto
- openshell-driver-mxc/tests
- openshell-policy-cedar-adapter
- src
- openshell-policy-cedar-runtime
- src
- cedar_only
- openshell-policy-cedar-schema
- schema
- src
- tests
- openshell-policy-cedar
- src
- tests
- fixtures
- openshell-policy-runtime-interface
- src
- l7
- openshell-policy-schema/src
- openshell-policy
- src
- openshell-prover/src
- openshell-server
- src
- compute
- config_delivery
- grpc
- mutation_replay/ordinary
- policy
- openshell-supervisor-network
- src
- l7
- relay
- opa
- policy_dns
- proxy
- tests
- openshell-supervisor-process/src
- openshell-supervisor
- src
- backend_setup
- openshell-tui/src
- deploy/rpm
- docs
- how-it-works/policies
- e2e/cedar
- examples/governance-interceptor/src
- proto
- tasks
- tests
- policy-conformance
- src
- conformance
- suites
- conformance
- continuity
- drivers/podman
- features
- support
- testkit
- testkit/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
355 | 361 | | |
356 | 362 | | |
357 | 363 | | |
| |||
431 | 437 | | |
432 | 438 | | |
433 | 439 | | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
434 | 445 | | |
435 | 446 | | |
436 | 447 | | |
437 | 448 | | |
438 | 449 | | |
439 | 450 | | |
| 451 | + | |
440 | 452 | | |
441 | 453 | | |
442 | 454 | | |
| |||
0 commit comments