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

224 scimendpointurl with anoother pattern #225

Merged
merged 3 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ staging.yaml
*.rej
cicd/.DS_Store
*.swo
cicd/.DS_Store
4 changes: 2 additions & 2 deletions cicd/build/package/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ phases:
# Check that the files need to package exist
- ls README.md
- ls SAR.md
- ls dist/ssosync_linux_arm64/ssosync
- ls dist/ssosync_linux_arm64_v8.0/ssosync
- ls dist/ssosync_linux_amd64_v1/ssosync

# Check that the executable works
- ./dist/ssosync_linux_amd64_v1/ssosync --version
- mv dist/ssosync_linux_arm64/ssosync bootstrap
- mv dist/ssosync_linux_arm64_v8.0/ssosync bootstrap

build:
commands:
Expand Down
4 changes: 2 additions & 2 deletions cicd/cloudformation/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ Parameters:
SCIMEndpointUrl:
Description: AWS IAM Identity Center SCIM Endpoint Url
Type: String
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/"
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/?"
NoEcho: true

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

IdentityStoreId:
Expand Down
2 changes: 1 addition & 1 deletion template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Parameters:
Description: |
AWS IAM Identity Center - SCIM Endpoint Url
Default: ""
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/?)'
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/?)'

SCIMEndpointAccessToken:
Type: String
Expand Down
Loading