Skip to content

Commit aea8dbb

Browse files
authored
224 scimendpointurl with anoother pattern (#225)
* Updating scim api endpoint regex * Update paths for go releaser go releaser is now using different paths for arm64 build. dist/ssosync_linux_arm64/ssosync has become dist/ssosync_linux_arm64_v8.0/ssosync
1 parent 4694c56 commit aea8dbb

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ staging.yaml
4242
*.rej
4343
cicd/.DS_Store
4444
*.swo
45+
cicd/.DS_Store

cicd/build/package/buildspec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ phases:
1616
# Check that the files need to package exist
1717
- ls README.md
1818
- ls SAR.md
19-
- ls dist/ssosync_linux_arm64/ssosync
19+
- ls dist/ssosync_linux_arm64_v8.0/ssosync
2020
- ls dist/ssosync_linux_amd64_v1/ssosync
2121

2222
# Check that the executable works
2323
- ./dist/ssosync_linux_amd64_v1/ssosync --version
24-
- mv dist/ssosync_linux_arm64/ssosync bootstrap
24+
- mv dist/ssosync_linux_arm64_v8.0/ssosync bootstrap
2525

2626
build:
2727
commands:

cicd/cloudformation/secrets.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ Parameters:
5656
SCIMEndpointUrl:
5757
Description: AWS IAM Identity Center SCIM Endpoint Url
5858
Type: String
59-
AllowedPattern: "https://scim.(us(-gov)?|ap|ca|cn|eu|sa)-(central|(north|south)?(east|west)?)-([0-9]{1}).amazonaws.com/(.*)-([a-z0-9]{4})-([a-z0-9]{4})-([a-z0-9]{12})/scim/v2/"
59+
AllowedPattern: "https://scim.(us(-gov)?|ap|ca|cn|eu|sa)-(central|(north|south)?(east|west)?)-([0-9]{1}).amazonaws.com/([A-Za-z0-9]{11})-([A-Za-z0-9]{4})-([A-Za-z0-9]{4})-([A-Za-z0-9]{4})-([A-Za-z0-9]{12})/scim/v2/?"
6060
NoEcho: true
6161

6262
SCIMEndpointAccessToken:
6363
Description: AWS IAM Identity Center SCIM AccessToken
6464
Type: String
65-
AllowedPattern: '([0-9a-zA-Z/=+-\\]{500,600})'
65+
AllowedPattern: '([0-9a-zA-Z/=+-\\]{500,620})'
6666
NoEcho: true
6767

6868
IdentityStoreId:

template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Parameters:
148148
Description: |
149149
AWS IAM Identity Center - SCIM Endpoint Url
150150
Default: ""
151-
AllowedPattern: '(?!.*\s)|(https://scim.(us(-gov)?|ap|ca|cn|eu|sa)-(central|(north|south)?(east|west)?)-([0-9]{1}).amazonaws.com/(.*)-([a-z0-9]{4})-([a-z0-9]{4})-([a-z0-9]{12})/scim/v2/?)'
151+
AllowedPattern: '(?!.*\s)|(https://scim.(us(-gov)?|ap|ca|cn|eu|sa)-(central|(north|south)?(east|west)?)-([0-9]{1}).amazonaws.com/([A-Za-z0-9]{11})-([A-Za-z0-9]{4})-([A-Za-z0-9]{4})-([A-Za-z0-9]{4})-([A-Za-z0-9]{12})/scim/v2/?)'
152152

153153
SCIMEndpointAccessToken:
154154
Type: String

0 commit comments

Comments
 (0)