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

check_account_age key incorrect for AWS accounts #494

Closed
nathan-williams-lightspeed opened this issue Sep 15, 2022 · 1 comment
Closed

Comments

@nathan-williams-lightspeed

The check for AWS account age uses the account ID as the key:

is_new_account = check_account_age(event.get("recipientAccountId"))

However when a new account is created, the key is "new_account - " + account_id:

"new_account - " + account_id, [account_event_id], expiry_time.strftime("%s")

@arielkr256
Copy link
Contributor

Fixed by #1237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants