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

Using discovery service poll_interval for access graph sync #48556

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

Conversation

mvbrock
Copy link
Contributor

@mvbrock mvbrock commented Nov 6, 2024

@bpdohall noticed that the Access Graph was flooding the AWS IAM API with 200K+ requests per day. We decided per our converstaion that the best approach is to just allow for poll interval configurability.

Changelog: The access graph poll interval is now configurable with the discovery_service.poll_interval field, whereas before it was fixed to a 15 minute interval.

@mvbrock mvbrock requested a review from r0mant November 7, 2024 05:44
lib/srv/discovery/access_graph.go Outdated Show resolved Hide resolved
lib/config/fileconf.go Show resolved Hide resolved
@mvbrock mvbrock force-pushed the mvbrock/access-graph-poll-interval branch from f3ae8f0 to 0f8dd6a Compare November 7, 2024 17:34
api/proto/teleport/legacy/types/types.proto Outdated Show resolved Hide resolved
lib/config/configuration.go Outdated Show resolved Hide resolved
lib/srv/discovery/access_graph.go Outdated Show resolved Hide resolved
lib/srv/discovery/access_graph.go Outdated Show resolved Hide resolved
@mvbrock mvbrock requested a review from tigrato November 8, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants