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

Add validation for AccountId in S3 AccessPoint #3362

Merged
merged 4 commits into from
Jul 22, 2020
Merged

Add validation for AccountId in S3 AccessPoint #3362

merged 4 commits into from
Jul 22, 2020

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Jul 21, 2020

Added validation for AccountId in S3 AccessPoint
Fixes: #3363

Checklist
  • npm run test passes
  • changelog is added, npm run add-change

@aws-sdk-js-automation

This comment has been minimized.

@aws-sdk-js-automation

This comment has been minimized.

@aws-sdk-js-automation
Copy link

AWS CodeBuild CI Report

  • CodeBuild project: sdk-v2-github
  • Commit ID: 534f4dc
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Copy link
Contributor

@AllanZhengYP AllanZhengYP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Can you also change the function isDnsCompatible name back to dnsCompatibleBucketName()? I changed the name of this function as part of access point PR. But in fact this function only validates the bucket name. And the host label is actually more permissible(allowing [A-Z])

@trivikr
Copy link
Member Author

trivikr commented Jul 22, 2020

Can you also change the function isDnsCompatible name back to dnsCompatibleBucketName()?

Updated in a separate PR #3364

@trivikr trivikr requested a review from AllanZhengYP July 22, 2020 02:21
@trivikr trivikr merged commit 5932ad4 into aws:master Jul 22, 2020
@trivikr trivikr deleted the s3-accountId-validation branch July 22, 2020 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Access point ARN is not DNS compatible error when S3 Access point ARN is passed with empty accountID
3 participants