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

Upstream sync #5

Closed
wants to merge 108 commits into from
Closed

Upstream sync #5

wants to merge 108 commits into from

Conversation

gustavclausen
Copy link

No description provided.

Dermah and others added 30 commits December 23, 2022 09:52
Update actions/checkout from v2 to v3 to resolve node EOL issue.
Update actions/setup-go from v2 to v4 for improved Go features
Update actions to latest version to remove node EOL warnings
commit c1d41c0
Author: Chris Pates <[email protected]>
Date:   Wed Oct 25 18:24:20 2023 +0100

    Update Makefile

commit 09acff4
Author: Chris Pates <[email protected]>
Date:   Wed Oct 25 16:21:56 2023 +0100

    Update buildspec.yml

commit 95c1fec
Author: Chris Pates <[email protected]>
Date:   Wed Oct 25 16:05:18 2023 +0100

    Switching to bootstrap

commit 038c4d8
Author: Chris Pates <[email protected]>
Date:   Wed Oct 25 15:26:48 2023 +0100

    Adjust for testing

commit fce63c4
Author: Chris Pates <[email protected]>
Date:   Wed Oct 25 14:25:32 2023 +0100

    updates for the developer pipeline

commit 0542ed4
Author: Chris Pates <[email protected]>
Date:   Wed Oct 25 12:30:09 2023 +0100

    Update buildspec.yml

commit 627c24c
Author: Chris Pates <[email protected]>
Date:   Wed Oct 25 11:49:56 2023 +0100

    Updates to CICD for arm64

commit b3a4c8c
Author: Chris Pates <[email protected]>
Date:   Wed Oct 25 11:09:20 2023 +0100

    Update buildspec.yml

commit 323eaf6
Author: Chris Pates <[email protected]>
Date:   Wed Oct 25 10:55:37 2023 +0100

    Update buildspec.yml

commit da30515
Author: Chris Pates <[email protected]>
Date:   Wed Oct 25 10:46:16 2023 +0100

    Update buildspec.yml

commit 64a25b2
Author: Chris Pates <[email protected]>
Date:   Wed Oct 25 09:47:32 2023 +0100

    Switching back to amd64 images for codebuild

commit 7b87d0f
Author: Chris Pates <[email protected]>
Date:   Tue Oct 24 20:29:53 2023 +0100

    update codebuild image and fix golang version.

commit 338b61f
Author: Chris Pates <[email protected]>
Date:   Tue Oct 24 17:45:14 2023 +0100

    Update buildspec.yml

commit 21c941d
Author: Chris Pates <[email protected]>
Date:   Tue Oct 24 17:41:01 2023 +0100

    Update buildspec.yml

commit cb9d94b
Author: Chris Pates <[email protected]>
Date:   Tue Oct 24 17:39:09 2023 +0100

    Update buildspec.yml

commit 0dc4087
Author: Chris Pates <[email protected]>
Date:   Tue Oct 24 17:31:21 2023 +0100

    Update buildspec.yml

commit dd0f19c
Author: Chris Pates <[email protected]>
Date:   Tue Oct 24 17:27:17 2023 +0100

    Update buildspec.yml

commit 71ba543
Author: Chris Pates <[email protected]>
Date:   Tue Oct 24 17:20:44 2023 +0100

    Update buildspec.yml

commit 43af171
Author: Chris Pates <[email protected]>
Date:   Tue Oct 24 17:13:25 2023 +0100

    updating cicd to arm64
Make the Lambda timeout setting user configurable
Reinstate Region parameter for continuity, postpone retirement until v3.x
Update regexes to validate parameters
Allow empty parameters and use conditions to only create env vars where parameters have been set.
Added Empty string Default values.
Additional parameter condition logic.
Adding log retention parameter
Improving UI feedback for parameters.
ChrisPates and others added 28 commits March 4, 2024 19:10
* Improve connection testing

for each connection:
- Perform simple test
- improve error message per connection

* Update sync.go
* Add explicit EnvVar handling for Lambda

* Update root.go
* Implement multi-pattern support for groups and users

* adjust regex for multi-pattern

* Allow - and ' ' in names

* UPDATE envVar creation logic for Match

* Update template.yaml

* Update template.yaml

* Adding support for '*' to sync all and empty to sync nothing.

* Improvements to Filtering

UserMatch now considered in addition to GroupMatch.

Improved filtering for external users
proper handling of nested groups.

* Improve logging

Added dump of envVars
Corrected copy&paste error in log message.

* Adding user detail caching

To reduce repeated calls to the directory api, prefetch all users and use when processing groups.

* Update README.md
Adding additional guidance and updated information on manually created resource handling.
* Update sync.go

* Update sync.go

* Update sync.go
ignoring read only vim tmp files.
Reinstating original behavior from pre v2.2.x
Reinstating original behavior from pre v2.2.x
* Improve error handling for failed google api calls
*When the google api appears to return zero groups or users, then an error is thrown to terminate execution.
Google directory will accept a 'zero width space' for an empty name but will not accept a 'space', conversely AWS IAM Identity Store will accept a 'space' for an empty name but not a 'zero width space'. This change replaces 'zero width space' characters with a 'space' in the name fields of users fetched from the Google directory.
Switch to node20
adopt --clean for goreleaser
Upgrade actions/setup-go from v4 to v5
…bs#205)

Bumps [github.com/hashicorp/go-retryablehttp](https://github.com/hashicorp/go-retryablehttp) from 0.7.0 to 0.7.7.
- [Changelog](https://github.com/hashicorp/go-retryablehttp/blob/main/CHANGELOG.md)
- [Commits](hashicorp/go-retryablehttp@v0.7.0...v0.7.7)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-retryablehttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Issue #, if available:
awslabs#206

Description of changes:
Updated the CloudFormation template to hardcode the maximum allowed concurrency for the lambda function to 1. There is no situation under which it would be safe to run more than one instance.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
* Addressing issues from golint
Concurrently fetches Google Group users. Retries on failures with exponential back-off.
Property `replacements` is now removed.
@gustavclausen gustavclausen deleted the feat/sync-upstream branch October 4, 2024 10:44
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

Successfully merging this pull request may close these issues.