awslabs / ssosync

Populate AWS SSO directly with your G Suite users and groups using either a CLI or AWS Lambda
Apache License 2.0
525 stars 181 forks source link

feat: sync-method groups filter by include groups as well #129

Closed ulfox closed 7 months ago

ulfox commented 1 year ago

Description of changes:

In this commit we extend the SyncUsersGroups method to filter groups using the --include-groups flag.

A group is included only if the e-mail elements of the include-groups flag match the e-mail elements of google groups.

The filtering is done after the ignoreGroup method is executed. This way we ensure that ignore takes priority.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

ulfox commented 1 year ago

Hi, could you give an update for this PR?

ulfox commented 1 year ago

Hi team, can someone have a look at this?

ChrisPates commented 7 months ago

Addressed by v2.2.0, includes an alternate approach allowing multiple group and user match patterns to be specified. This achieves the same outcome by a different method.