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

Diff in resourceOwnerTag naming #30

Open
aivo-veriff opened this issue Sep 25, 2023 · 0 comments
Open

Diff in resourceOwnerTag naming #30

aivo-veriff opened this issue Sep 25, 2023 · 0 comments

Comments

@aivo-veriff
Copy link

In access_key_auto_rotation\account_scan.py one adds resource_email

            # Update actions with resource owner email from tag
            if config.resourceOwnerTag is not '':
..
                    for action in user_actions:
                        action.update({"resource_email": resource_owner_email})

but in access_key_auto_rotation\main.py one is looking for resource_owner

        # Extract subsets of actions for resource owners
        resource_owners = {action.get("resource_owner") for action in action_queue}

resulting no resource_owners being found ..

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

1 participant