generated from TrueCloudLab/basic
Support 'NotPrincipal', 'NotAction' and 'NotResource' in IAM policy #11
Labels
No labels
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/policy-engine#11
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Consider supporting parsing
NotPrincipal
,NotAction
andNotResource
from iam grammar https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_grammar.htmlI think we could have fields for actions and resources (currently they are matched like
StringLike
, can be inverted.Also if there are multiple actions to match, does
NotAction
matchesnot any of these
ornot all of these
?For principal -- if it is a part of a condition, we can invert the operators during translation, right?
If there are multiple actions in a policy (under the
NotAction
section), this means that the policy only applies to requests that attempt to perform any other action not mentioned in the policy.Or did you mean multiple actions in request (but it seems request can have only one action )?