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

Discover Wizard: allow label filters when creating auto-enrollment configurations #52419

Open
marcoandredinis opened this issue Feb 24, 2025 · 0 comments
Labels
discover Issues related to Teleport Discover feature-request Used for new features in Teleport, improvements to current should be #enhancements

Comments

@marcoandredinis
Copy link
Contributor

What would you like Teleport to do?
When enrolling a new resource in Teleport Web UI, for AWS resources we can set the region (and VPC for RDS DBs) that we want to auto discover.

This might be too generic for some users, and bring resources that the user doesn't want to be controlled by Teleport.

Users should be able to set label matchers as filters for the resources they would like to access from Teleport.

What problem does this solve?

Being able to enroll only a subset of resources instead of everything from a region.

If a workaround exists, please include it.
For users to do this, they need to change the discovery_config resource created during the flow.
tctl get discovery_config gets all the discovery configs.
Locate the one you want to change.
tctl edit discovery_config/<name> and add the labels like so

  aws:
   - types: ["ec2"]
     regions: ["us-east-1"]
     tags:
       env: stg
@marcoandredinis marcoandredinis added discover Issues related to Teleport Discover feature-request Used for new features in Teleport, improvements to current should be #enhancements labels Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discover Issues related to Teleport Discover feature-request Used for new features in Teleport, improvements to current should be #enhancements
Projects
None yet
Development

No branches or pull requests

1 participant