Skip to content
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

Level validation does not check hasTag or getTag #1503

Open
3 tasks done
john-h-kastner-aws opened this issue Feb 26, 2025 · 0 comments
Open
3 tasks done

Level validation does not check hasTag or getTag #1503

john-h-kastner-aws opened this issue Feb 26, 2025 · 0 comments
Labels
bug Something isn't working. This is as high priority issue.

Comments

@john-h-kastner-aws
Copy link
Contributor

Before opening, please confirm:

Bug Category

Schemas and Validation

Describe the bug

This policy validates at level 0, but it required dereferencing principal, so it should only validate at a level greater than or equal to 1

permit(principal, action, resource) when { principal.hasTag("foo") };

Expected behavior

.

Reproduction steps

.

Code Snippet

// Put your code below this line.

Log output

// Put your output below this line

Additional configuration

No response

Operating System

No response

Additional information and screenshots

No response

@john-h-kastner-aws john-h-kastner-aws added bug Something isn't working. This is as high priority issue. pending-triage The cedar maintainers haven't looked at this yet. Automicaly added to all new issues. and removed pending-triage The cedar maintainers haven't looked at this yet. Automicaly added to all new issues. labels Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. This is as high priority issue.
Projects
None yet
Development

No branches or pull requests

1 participant