accessgraph sync: Add AWS IAM role for EKS audit logs#61364
Merged
Conversation
Update the `teleport configure integration acces-graph aws-iam` command to add a permission to access EKS audit logs via CloudWatch Logs if the `--eks-audit-logs` flag is passed. This is necessary so that an integration can pull the EKS audit logs if so configured in a discovery access graph matcher.
marcoandredinis
approved these changes
Nov 14, 2025
Contributor
marcoandredinis
left a comment
There was a problem hiding this comment.
I would also add the new param here
teleport/lib/web/integrations_awsoidc.go
Line 1339 in 57a7f8c
I think it's the only required change in the backend that is missing.
Contributor
Author
Thanks Marco. I've added a query parameter there and added tests for the endpoint since they were missing. |
Extend the web endpoint for the webscript for integrations configure access-graph-cloud-sync-iam.sh to add the `eksAuditLogs` query param to configure with EKS audit logs enabled. Add tests for this endpoint as there were none.
f17feef to
f9a789a
Compare
juliaogris
approved these changes
Nov 17, 2025
r0mant
approved these changes
Nov 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update the
teleport configure integration acces-graph aws-iamcommandto add a permission to access EKS audit logs via CloudWatch Logs if the
--eks-audit-logsflag is passed. This is necessary so that anintegration can pull the EKS audit logs if so configured in a discovery
access graph matcher.
Issue: https://github.com/gravitational/access-graph/issues/1589