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

Limit iam:PassRole to the role passed #376

Merged
merged 4 commits into from
Oct 6, 2021

Conversation

kayman-mk
Copy link
Collaborator

Description

The police iam:PassRole was not limited to a certain role ARN. This caused security warnings by ScoutSuite. This PR limits the policy to the role passed to the docker machine instances. See #368

Migrations required

No

Verification

Tried this configuration in the Hapag-Lloyd Gitlab CI without problems.

Documentation

We use pre-commit to update the Terraform inputs and outputs in the documentation via terraform-docs. Ensure you have installed those components.

@kayman-mk kayman-mk force-pushed the kayma/limit-pass-role branch from 9c3ec65 to 0ee37e3 Compare October 6, 2021 19:07
Copy link
Collaborator

@npalm npalm left a comment

Choose a reason for hiding this comment

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

@kayman-mk thanks!

@npalm
Copy link
Collaborator

npalm commented Oct 6, 2021

Fix #368

@npalm npalm merged commit eb354d0 into cattle-ops:develop Oct 6, 2021
semantic-releaser bot pushed a commit that referenced this pull request Oct 6, 2021
### [4.31.1](4.31.0...4.31.1) (2021-10-06)

### Bug Fixes

* Limit iam:PassRole to the role passed ([#376](#376)) ([eb354d0](eb354d0))
@semantic-releaser
Copy link
Contributor

🎉 This PR is included in version 4.31.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants