Skip to content

fix: Included rawPolicy for aws services#12

Merged
tyler-dunkel merged 1 commit intoalphafrom
fix/CG-1074
Apr 25, 2022
Merged

fix: Included rawPolicy for aws services#12
tyler-dunkel merged 1 commit intoalphafrom
fix/CG-1074

Conversation

@mfranceschit
Copy link
Copy Markdown
Contributor

Issue tracker links

CG-1074

Changes/solution

  • Included rawPolicy for AWS services

Comment thread src/services/s3/format.ts Outdated
id: cuid(),
policy: formatIamJsonPolicy(bp.policy)
policy: formatIamJsonPolicy(bp.policy),
rawPolicy: bp.policy,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be top level. Are there cases where there is more than one bucket policy? I only see one in the format function and @ckoning I dont believe is familiar with a case where there is more than one.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made the requested changes here. Although, these changes will change some rules.

@mfranceschit mfranceschit force-pushed the fix/CG-1074 branch 3 times, most recently from d1a629f to e3db960 Compare April 13, 2022 19:03
Copy link
Copy Markdown
Contributor

@hjaraujof hjaraujof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Merge conflicts need to be solved though, also keep in mind the fix for ec2

@tyler-dunkel
Copy link
Copy Markdown
Contributor

This looks good to me, just needs conflicts resolved.

@tyler-dunkel tyler-dunkel merged commit 6f2f4fe into alpha Apr 25, 2022
@tyler-dunkel tyler-dunkel deleted the fix/CG-1074 branch April 25, 2022 16:14
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.

3 participants