Skip to content

fix(policy): reject unknown endpoint security modes - #3187

Merged
johntmyers merged 2 commits into
NVIDIA:mainfrom
2000krysztof:fix/fail-closed-policy-enums
Sep 18, 2026
Merged

johntmyers merged 2 commits into
NVIDIA:mainfrom
2000krysztof:fix/fail-closed-policy-enums

Conversation

@2000krysztof

@2000krysztof 2000krysztof commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Make security-sensitive network policy values fail closed across all policy ingress paths. Replace the public TLS, enforcement, and access strings with typed protobuf enums so invalid values cannot silently weaken enforcement.

Related Issue

Closes #3046

Changes

  • Added shared validation for endpoint TLS, enforcement, and access values.
  • Rejects unknown values with actionable, field-level errors.
  • Applies validation across sandbox policies, policy updates, provider profiles, and merge operations.
  • Prevents malformed enforcement values such as enforc from falling back to audit mode.
  • Added defensive runtime rejection for invalid endpoint modes.
  • Returns gRPC INVALID_ARGUMENT before invalid policies are persisted or activated.
  • Replaced public protobuf strings for TLS, enforcement, and access with typed enums.
  • Updated generated Go bindings and SDK conversions to use the new enum types.
  • Preserved the documented YAML spellings for compatibility.
  • Added regression coverage across policy, provider-profile, gateway, SDK, and runtime paths.
  • Documented accepted values and fail-closed behavior.

Testing

  • mise run pre-commit passes
  • mise run test passes
  • Unit tests added/updated
  • E2E tests added/updated (not applicable)
  • Manually verified sandbox creation and live policy updates using the Podman gateway
  • Confirmed malformed TLS, enforcement, and access values are rejected
  • Confirmed rejected updates do not alter the active policy

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

@copy-pr-bot

copy-pr-bot Bot commented Sep 4, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@johntmyers
johntmyers marked this pull request as draft September 4, 2026 18:41
@2000krysztof
2000krysztof marked this pull request as ready for review September 7, 2026 11:03
@2000krysztof
2000krysztof force-pushed the fix/fail-closed-policy-enums branch from 267b665 to c1c3bdd Compare September 7, 2026 11:43

@gmenher gmenher left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work on this!! @2000krysztof , the centralization in l7_validate.rs is a clean design and the test coverage there is thorough.

One question: I noticed that sandbox policies are persisted as binary protobuf blobs (encode_to_vec / decode in policy_store.rs). Changing NetworkEndpoint.tls, .enforcement, and .access from string (wire type 2) to enum (wire type 0) means that existing stored blobs with non-empty values for those fields will have those fields silently dropped to 0 (Unspecified) when decoded by the new code, since prost skips fields with a wire type mismatch rather than erroring.

The most sensitive case seems to be tls: skip, which would silently become tls: Unspecified (auto-detect) on upgrade. How is this currently handled for existing deployments?

Comment thread proto/sandbox.proto
Comment thread crates/openshell-policy/src/l7_validate.rs
@2000krysztof

Copy link
Copy Markdown
Contributor Author

Great work on this!! @2000krysztof , the centralization in l7_validate.rs is a clean design and the test coverage there is thorough.

One question: I noticed that sandbox policies are persisted as binary protobuf blobs (encode_to_vec / decode in policy_store.rs). Changing NetworkEndpoint.tls, .enforcement, and .access from string (wire type 2) to enum (wire type 0) means that existing stored blobs with non-empty values for those fields will have those fields silently dropped to 0 (Unspecified) when decoded by the new code, since prost skips fields with a wire type mismatch rather than erroring.

The most sensitive case seems to be tls: skip, which would silently become tls: Unspecified (auto-detect) on upgrade. How is this currently handled for existing deployments?

Good catch I hadn’t called out the persisted wire-format impact. One relevant detail is that this is pre-0.1 work intended to stabilize the contract for the first release, so my assumption was that compatibility with existing development databases isn’t guaranteed. I also checked Prost’s behavior: it returns UnexpectedWireType here rather than silently defaulting the field, so it would fail closed instead of weakening the policy.

If we do want to support upgrades from current development deployments, I’m happy to add a migration path. I’m just not sure the additional legacy support is worthwhile before 0.1. What do you think?

@2000krysztof
2000krysztof force-pushed the fix/fail-closed-policy-enums branch from c1c3bdd to 4d2a055 Compare September 9, 2026 17:59

@johntmyers johntmyers left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gator-agent

PR Review Status

Thanks @2000krysztof. I checked your explanation of the persisted protobuf wire-format concern: Prost does fail closed with UnexpectedWireType, but that still makes existing non-empty policy records unreadable after an in-place gateway upgrade. One blocking compatibility finding remains.

Action required: preserve readable upgrades for persisted policies, or obtain an explicit maintainer waiver of that compatibility requirement.

Blocking findings:

  • GATOR-4d2a055a-01: changing established protobuf tags from strings to enums causes existing policy blobs to fail decoding after upgrade.

Carried findings:

  • None
Gator metadata
  • Validation: Implements the fail-closed security-policy contract in linked issue #3046.
  • Docs: Fern policy-schema and provider-profile docs are updated.
  • Checks: DCO is green; Branch Checks and Helm Lint are pending on the current head.
  • E2E: test:e2e is required for policy-enforcement behavior and will be dispatched after blocking review feedback is resolved or waived.
  • Head SHA: 4d2a055ad370c710b0e857a069b369c5d4bf1a54
  • Base SHA: 8af79a7f4b68abf09299371f20987fde90667139
  • Merge base SHA: 320d4ef79dd572c642133f175f12bafc20d89fd9
  • Patch ID: d0b11f729c98eb3e534292f5774206b0e9686e32
  • Gator payload: 8
  • Review mode: initial
  • Previous reviewed SHA: none
  • Review budget exhausted: no
  • Maintainer decision required: no
  • Next state: gator:in-review

Comment thread proto/sandbox.proto
@johntmyers johntmyers added gator:in-review Gator is reviewing or awaiting PR review feedback test:e2e Requires end-to-end coverage labels Sep 9, 2026
@github-actions

Copy link
Copy Markdown

Label test:e2e applied, but pull-request/3187 does not exist yet. A maintainer needs to comment /ok to test 4d2a055ad370c710b0e857a069b369c5d4bf1a54 to mirror this PR. Once the mirror exists, re-apply the label or re-run Branch E2E Checks from the Actions tab.

@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test 4d2a055

@johntmyers johntmyers added gator:watch-pipeline Gator is monitoring PR CI/CD status gator:in-review Gator is reviewing or awaiting PR review feedback and removed gator:in-review Gator is reviewing or awaiting PR review feedback gator:watch-pipeline Gator is monitoring PR CI/CD status labels Sep 10, 2026
@johntmyers

Copy link
Copy Markdown
Collaborator

Great work on this!! @2000krysztof , the centralization in l7_validate.rs is a clean design and the test coverage there is thorough.
One question: I noticed that sandbox policies are persisted as binary protobuf blobs (encode_to_vec / decode in policy_store.rs). Changing NetworkEndpoint.tls, .enforcement, and .access from string (wire type 2) to enum (wire type 0) means that existing stored blobs with non-empty values for those fields will have those fields silently dropped to 0 (Unspecified) when decoded by the new code, since prost skips fields with a wire type mismatch rather than erroring.
The most sensitive case seems to be tls: skip, which would silently become tls: Unspecified (auto-detect) on upgrade. How is this currently handled for existing deployments?

Good catch I hadn’t called out the persisted wire-format impact. One relevant detail is that this is pre-0.1 work intended to stabilize the contract for the first release, so my assumption was that compatibility with existing development databases isn’t guaranteed. I also checked Prost’s behavior: it returns UnexpectedWireType here rather than silently defaulting the field, so it would fail closed instead of weakening the policy.

If we do want to support upgrades from current development deployments, I’m happy to add a migration path. I’m just not sure the additional legacy support is worthwhile before 0.1. What do you think?

agreed that legacy support isn't required

@2000krysztof
2000krysztof force-pushed the fix/fail-closed-policy-enums branch from 4d2a055 to cc50f9e Compare September 10, 2026 13:30
@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test cc50f9e

@johntmyers johntmyers added test:e2e Requires end-to-end coverage and removed test:e2e Requires end-to-end coverage labels Sep 10, 2026
@github-actions

Copy link
Copy Markdown

Label test:e2e applied for cc50f9e. Open the existing run and click Re-run all jobs to execute with the label set. The run will execute the standard E2E suite after building the required gateway and supervisor images once. The matching required CI gate status on this PR will flip green automatically once the run finishes.

@johntmyers johntmyers left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gator-agent

PR Review Status

Thanks @2000krysztof and @johntmyers. I checked the maintainer-approved pre-0.1 compatibility disposition and reviewed the author-only delta from 4d2a055a to cc50f9ea; it only corrects two generated Go comments and introduces no new blocking findings.

Action required: once current-head Branch E2E run 34484956640 becomes rerunnable, a maintainer must use Re-run all jobs as requested by the E2E Label Help bot.

Blocking findings:

  • No blocking code findings remain.

Carried findings:

  • GATOR-4d2a055a-01: waived by maintainer @johntmyers and its review thread is resolved.
Gator metadata
  • Validation: Implements the fail-closed security-policy contract in linked issue #3046.
  • Docs: Fern policy-schema and provider-profile docs are updated.
  • Checks: DCO is green; current-head Branch Checks and Branch E2E are queued; Helm Lint has a current-head run.
  • E2E: test:e2e is applied; mirror is current; E2E Label Help requires rerunning current-head run 34484956640, but GitHub does not allow the rerun while it remains queued.
  • Head SHA: cc50f9ea6fec00d42f6d33274558fee8ce1d3619
  • Base SHA: a0814443f19c07102b19ff09d6ead3d3ba59f9c5
  • Merge base SHA: 320d4ef79dd572c642133f175f12bafc20d89fd9
  • Patch ID: 91a5b1bfa646a264b1b510d4ee3a00533d8797d8
  • Gator payload: 8
  • Review mode: follow_up
  • Previous reviewed SHA: 4d2a055ad370c710b0e857a069b369c5d4bf1a54
  • Review budget exhausted: no
  • Maintainer decision required: no
  • Next state: gator:blocked
  • Blocked reason: test_dispatch_required

@johntmyers johntmyers added gator:blocked Gator is blocked by process or repository gates and removed gator:in-review Gator is reviewing or awaiting PR review feedback labels Sep 10, 2026

@johntmyers johntmyers left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gator-agent

PR Review Status

I reviewed the author-only rebase delta from c78f132b to dd34d7c1 in critical-only mode. It only updates the expected public-RPC schema hash to account for upstream schema changes and introduces no new Critical defect. @johntmyers's pre-0.1 compatibility waiver remains honored, and the prior Gator thread remains resolved. Current-head Branch Checks and E2E are running.

Blocking findings:

  • No blocking code findings remain.

Carried findings:

  • GATOR-4d2a055a-01: waived by maintainer @johntmyers; its review thread is resolved.
Gator metadata
  • Validation: Implements the fail-closed security-policy contract in linked issue #3046.
  • Docs: Fern policy-schema and provider-profile docs are updated.
  • Checks: Current-head Branch Checks and E2E are running; DCO and Helm Lint are green.
  • E2E: test:e2e is applied; /ok to test dd34d7c1368f18ebfa995509432f517ff82546a4 refreshed the mirror; Branch E2E run 35250388321 is active.
  • Head SHA: dd34d7c1368f18ebfa995509432f517ff82546a4
  • Base SHA: f419b9c1dfc2267cfbbf7d3af848f5c5c2715a73
  • Merge base SHA: f419b9c1dfc2267cfbbf7d3af848f5c5c2715a73
  • Patch ID: 995a54c2a7499435c54b515878787689b1894950
  • Gator payload: 9
  • Review mode: critical_only
  • Previous reviewed SHA: c78f132b0e6510ddaa764f16e2ff079df1bc48a2
  • Review budget exhausted: yes
  • Maintainer decision required: no
  • Next state: gator:watch-pipeline

johntmyers
johntmyers previously approved these changes Sep 17, 2026
@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test d316a0f

@johntmyers johntmyers left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gator-agent

PR Review Status

Thanks @2000krysztof. I reviewed the author-only rebase delta from dd34d7c1 to d316a0f6 in critical-only mode. It only updates schema inventory counts and fingerprints for upstream schema additions and introduces no new Critical defect. @johntmyers's pre-0.1 compatibility waiver remains honored, and the prior Gator thread remains resolved. Current-head Branch Checks and E2E are running.

Blocking findings:

  • No blocking code findings remain.

Carried findings:

  • GATOR-4d2a055a-01: waived by maintainer @johntmyers; its review thread is resolved.
Gator metadata
  • Validation: Implements the fail-closed security-policy contract in linked issue #3046.
  • Docs: Fern policy-schema and provider-profile docs are updated.
  • Checks: Current-head Branch Checks and E2E are running; DCO and Helm Lint are green.
  • E2E: test:e2e is applied; /ok to test d316a0f64dced088127cc7afd2d8862cd7098c55 refreshed the mirror; Branch E2E run 35270180959 is active.
  • Head SHA: d316a0f64dced088127cc7afd2d8862cd7098c55
  • Base SHA: 07d4ac5474f927170a7abd2c5edaa317733408a5
  • Merge base SHA: 07d4ac5474f927170a7abd2c5edaa317733408a5
  • Patch ID: 1b09398d746630c8361be7cbb7f5f2f54321f169
  • Gator payload: 9
  • Review mode: critical_only
  • Previous reviewed SHA: dd34d7c1368f18ebfa995509432f517ff82546a4
  • Review budget exhausted: yes
  • Maintainer decision required: no
  • Next state: gator:watch-pipeline

@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test 55a60ed

@johntmyers

Copy link
Copy Markdown
Collaborator

gator-agent

Blocked

Gator recognizes current head 55a60ed2b65f3f9d963b2162c5bf8f9d483eeeef as rebase-equivalent to the last reviewed patch, so no new code review is needed. The mirrored Branch Checks and E2E workflows are active, but the current-head Trivy Changes run is still action_required and has not produced the required OpenShell / Trivy Changes result.

Next action: a maintainer must approve and run Trivy Changes run 35283244868. Gator will resume pipeline monitoring after that workflow is queued.

Gator metadata
  • Head SHA: 55a60ed2b65f3f9d963b2162c5bf8f9d483eeeef
  • Gator payload: 9
  • Review mode: already_reviewed
  • Patch identity: rebase-equivalent to d316a0f64dced088127cc7afd2d8862cd7098c55
  • Checks: Branch Checks and E2E are active; Helm Lint is green; Trivy Changes awaits approval.
  • Next state: gator:blocked
  • Blocked reason: required_trivy_approval_needed

johntmyers
johntmyers previously approved these changes Sep 17, 2026
@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test 7086a84

@johntmyers johntmyers left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gator-agent

PR Review Status

Thanks @2000krysztof. I reviewed the author-only delta from d316a0f6 to 7086a84b in critical-only mode. The enum fixture corrections, adaptation to the current L7 target shape, and schema snapshot updates introduce no new Critical defect; @johntmyers's pre-0.1 compatibility waiver remains honored, and the prior Gator thread remains resolved.

Action required: a maintainer must approve and run Trivy Changes run 35288133860. Gator will resume pipeline monitoring after that required workflow is queued.

Blocking findings:

  • No blocking code findings remain.

Carried findings:

  • GATOR-4d2a055a-01: waived by maintainer @johntmyers; its review thread is resolved.
Gator metadata
  • Validation: Implements the fail-closed security-policy contract in linked issue #3046.
  • Docs: Fern policy-schema and provider-profile docs are updated.
  • Checks: Current-head Branch Checks and E2E are running; DCO and Helm Lint are green; Trivy Changes awaits approval.
  • E2E: test:e2e is applied and /ok to test 7086a84bb630a49a105be5272319bea99bf11ca1 refreshed the mirror; the current-head Branch E2E workflow is active, and no current-head rerun instruction has been posted by E2E Label Help.
  • Head SHA: 7086a84bb630a49a105be5272319bea99bf11ca1
  • Base SHA: 04146692d9f5805a427c65aaf26252b5b22afadf
  • Merge base SHA: 04146692d9f5805a427c65aaf26252b5b22afadf
  • Patch ID: 52024e119c39a62f4016b572256041da339efb0e
  • Gator payload: 9
  • Review mode: critical_only
  • Previous reviewed SHA: d316a0f64dced088127cc7afd2d8862cd7098c55
  • Review budget exhausted: yes
  • Maintainer decision required: no
  • Next state: gator:blocked
  • Blocked reason: required_trivy_approval_needed

@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test 328f748

@johntmyers johntmyers left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gator-agent

PR Review Status

Thanks @2000krysztof. I reviewed the author-only delta from 7086a84b to 328f7484 in critical-only mode. The policy commits remain equivalent except for schema inventory counts and fingerprints updated for upstream schema additions, and no newly introduced Critical defect was found. @johntmyers's pre-0.1 compatibility waiver remains honored, and the prior Gator thread remains resolved.

Action required: a maintainer must approve and run Trivy Changes run 35293107107. Gator will resume pipeline monitoring after that required workflow is queued.

Blocking findings:

  • No blocking code findings remain.

Carried findings:

  • GATOR-4d2a055a-01: waived by maintainer @johntmyers; its review thread is resolved.
Gator metadata
  • Validation: Implements the fail-closed security-policy contract in linked issue #3046.
  • Docs: Fern policy-schema and provider-profile docs are updated.
  • Checks: Current-head Branch Checks and E2E are active; DCO and Helm Lint are green; Trivy Changes awaits approval.
  • E2E: test:e2e is applied and /ok to test 328f7484c1ecfb95a843e72436fab53930f524d8 refreshed the mirror; the current-head Branch E2E workflow is active, and no current-head rerun instruction has been posted by E2E Label Help.
  • Head SHA: 328f7484c1ecfb95a843e72436fab53930f524d8
  • Base SHA: 1d010f4187830b56535f35a36b203514634f27aa
  • Merge base SHA: 1d010f4187830b56535f35a36b203514634f27aa
  • Patch ID: 661a9f6b310329b2bd0e00dccd8425411e85ac51
  • Gator payload: 9
  • Review mode: critical_only
  • Previous reviewed SHA: 7086a84bb630a49a105be5272319bea99bf11ca1
  • Review budget exhausted: yes
  • Maintainer decision required: no
  • Next state: gator:blocked
  • Blocked reason: required_trivy_approval_needed

@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test dc43601

@johntmyers

Copy link
Copy Markdown
Collaborator

gator-agent

Blocked

Gator recognizes current head dc4360163b3434e96afc992f34e2b675e984e58e as rebase-equivalent to the last reviewed patch, so no new code review is needed. The current-head Branch Checks and E2E workflows are active, but Trivy Changes is still action_required and has not produced the required OpenShell / Trivy Changes result.

Next action: a maintainer must approve and run Trivy Changes run 35295983458. Gator will resume pipeline monitoring after that workflow is queued.

Gator metadata
  • Head SHA: dc4360163b3434e96afc992f34e2b675e984e58e
  • Base SHA: 8b77925eb7a67df5356c510076d6495b08f90058
  • Merge base SHA: 8b77925eb7a67df5356c510076d6495b08f90058
  • Patch ID: 661a9f6b310329b2bd0e00dccd8425411e85ac51
  • Gator payload: 9
  • Review mode: already_reviewed
  • Review budget exhausted: yes
  • Checks: Branch Checks and E2E are active; Helm Lint is green; Trivy Changes awaits approval.
  • E2E: test:e2e is applied and /ok to test dc4360163b3434e96afc992f34e2b675e984e58e refreshed the mirror; the current-head Branch E2E workflow is active.
  • Next state: gator:blocked
  • Blocked reason: required_trivy_approval_needed

@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test 14ae0a8

@johntmyers

Copy link
Copy Markdown
Collaborator

gator-agent

Blocked

Gator recognizes current head 14ae0a8a063e29c05a05e0c048dc5c97519d8893 as rebase-equivalent to the already reviewed patch, so no new code review is needed. The current-head Branch Checks and E2E workflows are running, and Helm Lint is green, but Trivy Changes is still action_required and has not produced the required OpenShell / Trivy Changes result.

Next action: a maintainer must approve and run Trivy Changes run 35305187084. Gator will resume pipeline monitoring after that workflow is queued.

Gator metadata
  • Head SHA: 14ae0a8a063e29c05a05e0c048dc5c97519d8893
  • Base SHA: 4443ae7336c9acad865de864c67b04efa1ebca2b
  • Merge base SHA: 4443ae7336c9acad865de864c67b04efa1ebca2b
  • Patch ID: 661a9f6b310329b2bd0e00dccd8425411e85ac51
  • Gator payload: 9
  • Review mode: already_reviewed
  • Review budget exhausted: yes
  • Checks: Branch Checks and E2E are active; Helm Lint is green; Trivy Changes awaits approval.
  • E2E: test:e2e is applied and /ok to test 14ae0a8a063e29c05a05e0c048dc5c97519d8893 refreshed the mirror; the current-head Branch E2E workflow is active, and no current-head rerun instruction has been posted by E2E Label Help.
  • Next state: gator:blocked
  • Blocked reason: required_trivy_approval_needed

@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test d6fa2ca

@johntmyers

Copy link
Copy Markdown
Collaborator

gator-agent

Blocked

Gator recognizes current head d6fa2caa32d84b08612e1a252544fe3d30c988e1 as rebase-equivalent to the already reviewed patch, so no new code review is needed. The current-head Branch Checks and E2E workflows are active, and Helm Lint is green, but Trivy Changes is still action_required and has not produced the required OpenShell / Trivy Changes result.

Next action: a maintainer must approve and run Trivy Changes run 35307228661. Gator will resume pipeline monitoring after that workflow is queued.

Gator metadata
  • Head SHA: d6fa2caa32d84b08612e1a252544fe3d30c988e1
  • Base SHA: c108c31696bee299a374cda0b2969cf9ffe4e74d
  • Merge base SHA: c108c31696bee299a374cda0b2969cf9ffe4e74d
  • Patch ID: 661a9f6b310329b2bd0e00dccd8425411e85ac51
  • Gator payload: 9
  • Review mode: already_reviewed
  • Review budget exhausted: yes
  • Checks: Branch Checks and E2E are active; Helm Lint is green; Trivy Changes awaits approval.
  • E2E: test:e2e is applied and /ok to test d6fa2caa32d84b08612e1a252544fe3d30c988e1 refreshed the mirror; the current-head Branch E2E workflow is active, and no current-head rerun instruction has been posted by E2E Label Help.
  • Next state: gator:blocked
  • Blocked reason: required_trivy_approval_needed

@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test 37fa4a4

@johntmyers

Copy link
Copy Markdown
Collaborator

gator-agent

Blocked

Gator recognizes current head 37fa4a4c991eefccbb0c4e2144ed0799cebf9be8 as rebase-equivalent to the already reviewed patch, so no new code review is needed. The current-head Branch Checks and E2E workflows are running, and Helm Lint is green, but Trivy Changes is still action_required and has not produced the required OpenShell / Trivy Changes result.

Next action: a maintainer must approve and run Trivy Changes run 35313329805. Gator will resume pipeline monitoring after that workflow is queued.

Gator metadata
  • Head SHA: 37fa4a4c991eefccbb0c4e2144ed0799cebf9be8
  • Base SHA: 473d1e997439c3577fabd9014ba8e8959e3c2444
  • Merge base SHA: 473d1e997439c3577fabd9014ba8e8959e3c2444
  • Patch ID: 661a9f6b310329b2bd0e00dccd8425411e85ac51
  • Gator payload: 9
  • Review mode: already_reviewed
  • Review budget exhausted: yes
  • Checks: Branch Checks and E2E are active; Helm Lint is green; Trivy Changes awaits approval.
  • E2E: test:e2e is applied and /ok to test 37fa4a4c991eefccbb0c4e2144ed0799cebf9be8 refreshed the mirror; the current-head Branch E2E workflow is active, and no current-head rerun instruction has been posted by E2E Label Help.
  • Next state: gator:blocked
  • Blocked reason: required_trivy_approval_needed

@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test 636920e

@johntmyers

Copy link
Copy Markdown
Collaborator

gator-agent

Blocked

Gator recognizes current head 636920e296f0f1b029856b78153f7eb28dbbb3a5 as rebase-equivalent to the already reviewed patch, so no new code review is needed. Current-head Branch Checks and E2E are running, and Helm Lint is green, but Trivy Changes is still action_required and has not produced the required OpenShell / Trivy Changes result.

Next action: a maintainer must approve and run Trivy Changes run 35345200873. Gator will resume pipeline monitoring after that required workflow is queued.

Gator metadata
  • Head SHA: 636920e296f0f1b029856b78153f7eb28dbbb3a5
  • Base SHA: 4b2cb7f007da2f701422daf394643b0fd9d4daef
  • Merge base SHA: 4b2cb7f007da2f701422daf394643b0fd9d4daef
  • Patch ID: 661a9f6b310329b2bd0e00dccd8425411e85ac51
  • Gator payload: 9
  • Review mode: already_reviewed
  • Review budget exhausted: yes
  • Checks: Current-head Branch Checks and E2E are active; Helm Lint is green; Trivy Changes awaits approval.
  • E2E: test:e2e is applied and /ok to test 636920e296f0f1b029856b78153f7eb28dbbb3a5 refreshed the mirror; Branch E2E run 35345204309 is active, and no current-head rerun instruction has been posted by E2E Label Help.
  • Next state: gator:blocked
  • Blocked reason: required_trivy_approval_needed

@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test 864e752

@johntmyers

Copy link
Copy Markdown
Collaborator

gator-agent

Blocked

Gator recognizes current head 864e752ba4c8dec5e35b0910f3073aa12af87f01 as rebase-equivalent to the already reviewed patch, so no new code review is needed. Current-head Branch Checks and E2E are running, and Helm Lint is green, but Trivy Changes is still action_required and has not produced the required OpenShell / Trivy Changes result.

Next action: a maintainer must approve and run Trivy Changes run 35351051545. Gator will resume pipeline monitoring after that required workflow is queued.

Gator metadata
  • Head SHA: 864e752ba4c8dec5e35b0910f3073aa12af87f01
  • Base SHA: 8bd3dcc565f380ddfc464fc41b1faa936d72af3e
  • Merge base SHA: 8bd3dcc565f380ddfc464fc41b1faa936d72af3e
  • Patch ID: 661a9f6b310329b2bd0e00dccd8425411e85ac51
  • Gator payload: 9
  • Review mode: already_reviewed
  • Review budget exhausted: yes
  • Checks: Current-head Branch Checks and E2E are active; Helm Lint is green; Trivy Changes awaits approval.
  • E2E: test:e2e is applied and /ok to test 864e752ba4c8dec5e35b0910f3073aa12af87f01 refreshed the mirror; Branch E2E run 35351054553 is active, and no current-head rerun instruction has been posted by E2E Label Help.
  • Next state: gator:blocked
  • Blocked reason: required_trivy_approval_needed

@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test 0b07ae0

@johntmyers

Copy link
Copy Markdown
Collaborator

gator-agent

Blocked

Gator recognizes current head 0b07ae098487adcca7076dd5085522fa99c5dd1e as rebase-equivalent to the already reviewed patch, so no new code review is needed. Current-head Branch Checks and E2E are running, and Helm Lint is green, but Trivy Changes is still action_required and has not produced the required OpenShell / Trivy Changes result.

Next action: a maintainer must approve and run Trivy Changes run 35357380786. Gator will resume pipeline monitoring after that required workflow is queued.

Gator metadata
  • Head SHA: 0b07ae098487adcca7076dd5085522fa99c5dd1e
  • Base SHA: c5a8c4d220c79185ed27df4494157ac5ca887837
  • Merge base SHA: c5a8c4d220c79185ed27df4494157ac5ca887837
  • Patch ID: 661a9f6b310329b2bd0e00dccd8425411e85ac51
  • Gator payload: 9
  • Review mode: already_reviewed
  • Review budget exhausted: yes
  • Checks: Current-head Branch Checks and E2E are active; Helm Lint is green; Trivy Changes awaits approval.
  • E2E: test:e2e is applied and /ok to test 0b07ae098487adcca7076dd5085522fa99c5dd1e refreshed the mirror; Branch E2E run 35357384903 is active, and no current-head rerun instruction has been posted by E2E Label Help.
  • Next state: gator:blocked
  • Blocked reason: required_trivy_approval_needed

Closes NVIDIA#3046

Validate TLS, enforcement, and access values across policy and provider profile ingress, and prevent runtime parsing from falling back to audit for unknown enforcement values.

Signed-off-by: Krzysztof Malczuk <kmalczuk@redhat.com>
Replace the public TLS, enforcement, and access strings with protobuf enums and carry the typed values through policy composition, provider profiles, drivers, and runtime conversion.

Preserve the documented YAML spellings, reject unknown and invalid numeric enum values consistently, and update generated Go bindings, SDK conversions, tests, and policy documentation.

Signed-off-by: Krzysztof Malczuk <kmalczuk@redhat.com>
@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test cdcb1a3

@johntmyers

Copy link
Copy Markdown
Collaborator

gator-agent

Monitoring Complete

Monitoring is complete because this PR has merged.

Final status: the policy fail-closed change was reviewed and merged from head cdcb1a3fbbb3617f0ec008b1cb2f6de4beaa3763; the remaining gator:watch-pipeline label is stale.

I removed the active gator:* label because there is nothing left for gator to monitor on this PR.

Gator metadata
  • Head SHA: cdcb1a3fbbb3617f0ec008b1cb2f6de4beaa3763
  • Gator payload: 9
  • Final state: merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:e2e Requires end-to-end coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(policy)!: make security-sensitive policy values fail closed

3 participants