AWS healthimaging medium security documentation change
Summary
Multiple clarifications about Lambda authorizer requirements and AWS CLI usage
Security assessment
Explicitly states that execution roles must have permissions to invoke Lambda authorizers to prevent privilege escalation attacks. This addresses a security control requirement.
Diff
diff --git a/healthimaging/latest/devguide/dicomweb-oidc-requirements.md b/healthimaging/latest/devguide/dicomweb-oidc-requirements.md index 8c30351bb..bcdf4eca0 100644 --- a//healthimaging/latest/devguide/dicomweb-oidc-requirements.md +++ b//healthimaging/latest/devguide/dicomweb-oidc-requirements.md @@ -94 +94 @@ Create a Lambda function that will verify the JWT token and return the appropria -The HealthImaging expects the lambda authorizer function to return a JSON struct with the following structure: +The Lambda authorizer function must return a JSON response with the following structure: @@ -108 +108 @@ Because the DICOMWeb request is only answered after the access token is verified -For the HealthImaging to be authorized to invoke the lambda authorizer function it must have a resource policy that allows HealthImaging service to invoke it. This resource policy can be created in the permission menu of the lambda configuration tab or Using AWS AWS CLI: +For the HealthImaging service to be authorized to invoke the lambda authorizer function, it must have a resource policy that allows HealthImaging service to invoke it. This resource policy can be created in the permission menu of the lambda configuration tab or Using AWS CLI: @@ -149 +149 @@ Here is an example of lambda resource policy: -To enable OIDC authentication, you must create a new datastore using the AWS AWS CLI with the parameter "lambda-authorizer-arn". OIDC Authentication cannot be enabled on existing datastores without contacting AWS Support. +To enable OIDC authentication, you must create a new datastore using the AWS CLI with the parameter "lambda-authorizer-arn". OIDC Authentication cannot be enabled on existing datastores without contacting AWS Support. @@ -158 +158 @@ Here's an example of how to create a new datastore with OIDC authentication enab -You can check if a specific datastore has OIDC authentication feature enabled by using the AWS AWS CLI get-datastore command, and verifying if the attribute "lambdaAuthorizerArn" is present: +You can check if a specific datastore has OIDC authentication feature enabled by using the AWS CLI get-datastore command, and verifying if the attribute "lambdaAuthorizerArn" is present: @@ -178 +178 @@ You can check if a specific datastore has OIDC authentication feature enabled by -The execution role for the AWS AWS CLI datastore creation command must have appropriate permissions to invoke the Lambda authorizer function. This mitigates privilege escalation attacks where malicious users could execute unauthorized Lambda functions through the datastore authorizer configuration. +The execution role for the AWS CLI datastore creation command must have appropriate permissions to invoke the Lambda authorizer function. This mitigates privilege escalation attacks where malicious users could execute unauthorized Lambda functions through the datastore authorizer configuration. @@ -402 +402 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please -How it works +How Token Verification Works