Skip to content

Commit

Permalink
Updating scim api endpoint regex
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPates committed Dec 6, 2024
1 parent 4694c56 commit 0d97a4a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
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/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/?)"gm'

SCIMEndpointAccessToken:
Type: String
Expand Down

0 comments on commit 0d97a4a

Please sign in to comment.