AWS code-library high security documentation change
Summary
Renamed package from 'cognito-scenario' to 'http-config' and replaced AWSCognitoIdentityProvider dependency with AWSS3
Security assessment
Replacing Cognito Identity Provider SDK with S3 SDK in an MFA-related code example could mislead developers into improper authentication implementations, introducing security risks.
Diff
diff --git a/code-library/latest/ug/swift_1_cognito-identity-provider_code_examples.md b/code-library/latest/ug/swift_1_cognito-identity-provider_code_examples.md index 204f70c04..8f088b704 100644 --- a//code-library/latest/ug/swift_1_cognito-identity-provider_code_examples.md +++ b//code-library/latest/ug/swift_1_cognito-identity-provider_code_examples.md @@ -537 +537 @@ The `Package.swift` file. - name: "cognito-scenario", + name: "http-config", @@ -560 +560 @@ The `Package.swift` file. - .product(name: "AWSCognitoIdentityProvider", package: "aws-sdk-swift"), + .product(name: "AWSS3", package: "aws-sdk-swift"),