Skip to content

Commit

Permalink
Fixes Regexes
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPates committed Oct 27, 2023
1 parent 971e99d commit 217e744
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
4 changes: 2 additions & 2 deletions cicd/build/package/release.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- template.yaml 2023-10-27 16:02:11
+++ release.yaml 2023-10-27 16:06:09
--- template.yaml 2023-10-27 16:34:16
+++ release.yaml 2023-10-27 16:34:37
@@ -36,7 +36,7 @@
- ScheduleExpression

Expand Down
8 changes: 4 additions & 4 deletions cicd/build/package/staging.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- template.yaml 2023-10-27 16:02:11
+++ staging.yaml 2023-10-27 16:04:04
--- template.yaml 2023-10-27 16:34:16
+++ staging.yaml 2023-10-27 16:33:15
@@ -36,7 +36,7 @@
- ScheduleExpression

Expand All @@ -9,15 +9,15 @@
Description: Helping you populate AWS SSO directly with your Google Apps users.
Author: Sebastian Doell
SpdxLicenseId: Apache-2.0
@@ -147,6 +147,7 @@
@@ -143,6 +143,7 @@
SSOSyncFunction:
Type: AWS::Serverless::Function
Properties:
+ FunctionName: SSOSyncFunction
Runtime: provided.al2
Handler: bootstrap
Architectures:
@@ -246,3 +247,10 @@
@@ -242,3 +243,10 @@
Properties:
Name: SSOSyncIdentityStoreID
SecretString: !Ref IdentityStoreID
Expand Down
10 changes: 3 additions & 7 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Metadata:
Parameters:
- SCIMEndpointUrl
- SCIMEndpointAccessToken
- IdentityStoreId
- IdentityStoreID
- Label:
default: Google Workspace Credentials
Parameters:
Expand Down Expand Up @@ -98,10 +98,6 @@ Parameters:
Type: String
Description: AWS SSO SCIM AccessToken
NoEcho: true
Region:
Type: String
Description: AWS Region where AWS SSO is enabled
NoEcho: true
IdentityStoreID:
Type: String
Description: Identifier of Identity Store in AWS SSO
Expand All @@ -113,13 +109,13 @@ Parameters:
Description: |
Google Workspace user filter query parameter, example: 'name:John* email:admin*', see: https://developers.google.com/admin-sdk/directory/v1/guides/search-users
Default: '*'
AllowedPattern: "(*)|(name|Name|NAME)(:([a-zA-Z0-9]{1,64})(\*))|(name|Name|NAME)(=([a-zA-Z0-9 ]{1,64}))|(email|Email|EMAIL)(:([a-zA-Z0-9.-_]{1,64})(\*))|(email|Email|EMAIL)(=([a-zA-Z0-9.-_]{1,64})@([a-zA-Z0-9.-]{5,260}))"
AllowedPattern: '(*)|(name|Name|NAME)(:([a-zA-Z0-9]{1,64})(\*))|(name|Name|NAME)(=([a-zA-Z0-9 ]{1,64}))|(email|Email|EMAIL)(:([a-zA-Z0-9.-_]{1,64})(\*))|(email|Email|EMAIL)(=([a-zA-Z0-9.-_]{1,64})@([a-zA-Z0-9.-]{5,260}))'
GoogleGroupMatch:
Type: String
Description: |
Google Workspace group filter query parameter, example: 'name:Admin* email:aws-*', see: https://developers.google.com/admin-sdk/directory/v1/guides/search-groups
Default: 'name:AWS*'
AllowedPattern: "((name|Name|NAME)(:([a-zA-Z0-9]{1,64})\*)|(name|Name|NAME)(=([a-zA-Z0-9 ]{1,64})))|((email|Email|EMAIL)(:([a-zA-Z0-9.-_]{1,64})\*)|(email|Email|EMAIL)(=([a-zA-Z0-9.-_]{1,64})@([a-zA-Z0-9.-]{5,260})))"
AllowedPattern: '(name|Name|NAME)(:([a-zA-Z0-9]{1,64})\*)|(name|Name|NAME)(=([a-zA-Z0-9 ]{1,64}))|(email|Email|EMAIL)(:([a-zA-Z0-9.-_]{1,64})\*)|(email|Email|EMAIL)(=([a-zA-Z0-9.-_]{1,64})@([a-zA-Z0-9.-]{5,260}))'
IgnoreGroups:
Type: String
Description: |
Expand Down

0 comments on commit 217e744

Please sign in to comment.