Repository navigation
Conversation
…licy change opens Idea credit: NVIDIA OpenShell's policy prover. - PROXY_EGRESS_CEILING: an outer boundary in the policy format, checked before the policy on every request. Outside it is denied outright and never asked about, so no person's answer, timed grant or policy edit can exceed it. Startup logs every policy rule that reaches past it. - python -m secrets_proxy.egress_policy diff OLD NEW [--ceiling] [--forward-map]: every request shape the new policy treats more permissively, marking credential-bearing ones and ones beyond the ceiling; exits 1 when anything opened. An honest comparison over the rules' own vocabulary, not a proof.
Owner
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Idea credit: NVIDIA OpenShell's policy prover (policies must stay within an allowed access boundary; flag proposed rules that add risky access).
Ceiling —
PROXY_EGRESS_CEILING(opt-in)${PROXY_EGRESS_CEILING_FILE:-./egress-ceiling.example.json}.Diff —
python -m secrets_proxy.egress_policy diff OLD NEW [--ceiling C] [--forward-map M]Tests
tests/test_policy_ceiling.py, including: the ceiling beats an allow rule and a remembered answer; the diff finds new allows and credential-bearing opens; the CLI exit codes.docker compose configvalid.