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

'SCIMEndpointUrl' must match pattern - CloudFormation / Lambda. #222

Closed
talhelfgott666 opened this issue Oct 31, 2024 · 1 comment · Fixed by #223
Closed

'SCIMEndpointUrl' must match pattern - CloudFormation / Lambda. #222

talhelfgott666 opened this issue Oct 31, 2024 · 1 comment · Fixed by #223
Assignees
Labels
bug Something isn't working

Comments

@talhelfgott666
Copy link

Hey team,
It looks like AWS may have updated their URL scheme for SCIM endpoints, which is causing validation issues.
Parameter 'SCIMEndpointUrl' must match pattern (?!.*\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/) (Service: AmazonCloudFormation; Status Code: 400; Error Code: ValidationError; Request ID: 4939b3d5-24c2-4970-ace8-fc60764adc3d; Proxy: null)

Here’s the URL provided by AWS:
https://scim.eu-central-1.amazonaws.com/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/scim/v2

However, this is the URL pattern currently expected in validation:
https://scim.eu-central-1.amazonaws.com/XXXX-XXXX-XXXXXXXXXXXX/scim/v2

or in a generalized format:
https://scim.{region}.amazonaws.com/{4-char}-{4-char}-{12-char}/scim/v2

Could you help look into adjusting the validation to support the updated format, if this is indeed a change from AWS?

Thanks!

@ChrisPates ChrisPates self-assigned this Oct 31, 2024
@ChrisPates ChrisPates added the bug Something isn't working label Oct 31, 2024
@ChrisPates
Copy link
Contributor

Short term add a trailing '/' and your good.

In the meantime, I'll tweak the regex to make that character optional.

@ChrisPates ChrisPates linked a pull request Oct 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants