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

AWS OIDC: add aws account id as label to AWS App #49693

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

marcoandredinis
Copy link
Contributor

We were not setting any labels in the AWS App when using the Discover Flow for a given AWS OIDC integration.

This is a bad practice because this means that users must have app_labels: *:* in order to access this particular app. This is not recommended because it grants access to every app.

This PR changes this so that the account id can be used to gate access.

Demo:
image

Fixes #46368

@marcoandredinis marcoandredinis added aws Used for AWS Related Issues. discover Issues related to Teleport Discover no-changelog Indicates that a PR does not require a changelog entry backport/branch/v15 backport/branch/v16 backport/branch/v17 labels Dec 3, 2024
@github-actions github-actions bot requested review from avatus and tcsc December 3, 2024 14:37
We were not setting any labels in the AWS App when using the Discover
Flow for a given AWS OIDC integration.

This is a bad practice because this means that users must have
`app_labels: *:*` in order to access this particular app.
This is not recommended because it grants access to every app.

This PR changes this so that the account id can be used to gate access.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws Used for AWS Related Issues. backport/branch/v15 backport/branch/v16 backport/branch/v17 discover Issues related to Teleport Discover no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS console discovery resource conflicts with Okta Integration
2 participants