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

fix: ensure resource policy matches the whole arn #1798

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

G-Rath
Copy link
Contributor

@G-Rath G-Rath commented Jun 15, 2024

Description

This changes the regexp used to test resource arns with wildcards so that they don't have an implicit wildcard at the end

Motivation and Context

Resolves #1191

How Has This Been Tested?

I have run the tests and used this locally

Screenshots (if appropriate):

@DorianMazur DorianMazur merged commit 600c93e into dherault:master Jun 18, 2024
9 checks passed
@DorianMazur
Copy link
Collaborator

Thank you @G-Rath for PR

cnuss added a commit to scaffoldly/serverless-offline that referenced this pull request Jun 19, 2024
* master:
  fix: improve wildcard handling in authorizer policy resource parser (dherault#1797)
  fix: ensure resource policy matches the whole arn (dherault#1798)
@G-Rath G-Rath deleted the check-end-of-resource branch June 21, 2024 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom Authorizer not replicating IAM permissions correctly
2 participants