gatekeeper-library icon indicating copy to clipboard operation
gatekeeper-library copied to clipboard

ci: testing with cel policies

Open JaydipGabani opened this issue 9 months ago • 3 comments

What this PR does / why we need it:

  • Modifies the testing workflow to run gator verify with cel and rego engines
  • Tests cel and rego policies with gatekeeper
  • Adds cel source for requiredLables and allow-priviledge-escalation

Which issue(s) does this PR fix (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged): Fixes #

Special notes for your reviewer:

JaydipGabani avatar May 02 '24 19:05 JaydipGabani

@maxsmythe I added CEL source from your draft PR #503 here as well, that leaves you with 3 other policies to write CEL source for.

JaydipGabani avatar May 02 '24 19:05 JaydipGabani

Can you drop the CEL from my draft PR? I'd rather only have one SOT for that, and just rebase/merge once the build system is ready, otherwise feedback will get clobbered.

maxsmythe avatar May 10 '24 23:05 maxsmythe

Can you drop the CEL from my draft PR? I'd rather only have one SOT for that, and just rebase/merge once the build system is ready, otherwise feedback will get clobbered.

Per this https://github.com/open-policy-agent/gatekeeper-library/pull/519#discussion_r1594796796 all updates for "Allow Privilege Escalation" policy have been removed

ritazh avatar May 10 '24 23:05 ritazh

@JaydipGabani ptal conflicts

ritazh avatar May 13 '24 22:05 ritazh