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

Initial subscription limited to 50 groups #1

Open
kichik opened this Issue Feb 5, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@kichik
Copy link

kichik commented Feb 5, 2019

The following function uses describe_log_groups() but ignores nextToken. By default limit is set to 50 so that means no more than 50 log groups will be subscribed.

def add_subscriptions_to_existing_log_groups(self):
# Retrieve all of the existing log groups
log_group_response = self.log_client.describe_log_groups()

CloudTrail events will catch new log groups, but existing groups will remain unsubscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.