Skip to content

feat: Supporting multiple Cedar policies per file #471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

reste85
Copy link
Contributor

@reste85 reste85 commented Apr 30, 2025

Fixes #419

  • Adding support for multiple Cedar policies per file
  • Introducing a new annotation @CdkId to specify Policy id in file, at the top of every Policy
  • Bumping jsii version to 5.7 to avoid 5.5 deprecation

BREAKING CHANGE: main changes are on thePolicy.fromFile method which now handles many policies per file. This implies having to introduce a new way of specifying Policy Id in file (via new annotation). For this new feature we prefer bump the major version since it introduces also priority behaviours over ids and changes the meaning and behaviour of some method parameters.

@reste85 reste85 added the enhancement New feature or request label Apr 30, 2025
@reste85 reste85 self-assigned this Apr 30, 2025
@reste85 reste85 marked this pull request as draft April 30, 2025 14:24
auto-merge was automatically disabled April 30, 2025 14:24

Pull request was converted to draft

Signed-off-by: github-actions <github-actions@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feedback after using this
1 participant