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(stepfunctions): Downscope SageMaker permissions #2991

Merged
merged 12 commits into from
Jul 3, 2019

Conversation

RomainMuller
Copy link
Contributor

Previous implementation was using the SageMakerFullAccess managed
policy, which grants extensive permissions to the SageMaker job.
Instead, this commit makes it set permissions very specifically to what
the requirement entities are, and only resorts to the * resource when
the entities are provided by an input to the StepFunction.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

Previous implementation was using the `SageMakerFullAccess` managed
policy, which grants extensive permissions to the SageMaker job.
Instead, this commit makes it set permissions very specifically to what
the requirement entities are, and only resorts to the `*` resource when
the entities are provided by an input to the StepFunction.
@RomainMuller RomainMuller requested a review from a team as a code owner June 21, 2019 12:52
@RomainMuller RomainMuller merged commit 69c82c8 into master Jul 3, 2019
@RomainMuller RomainMuller deleted the rmuller/scope-down-sagemaker branch July 3, 2019 12:19
Kaixiang-AWS pushed a commit to Kaixiang-AWS/aws-cdk that referenced this pull request Jul 3, 2019
Previous implementation was using the `SageMakerFullAccess` managed
policy, which grants extensive permissions to the SageMaker job.
Instead, this commit makes it set permissions very specifically to what
the requirement entities are, and only resorts to the `*` resource when
the entities are provided by an input to the StepFunction.
@NGL321 NGL321 added the contribution/core This is a PR that came from AWS. label Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants