Skip to content

Commit 600e109

Browse files
committed
eli-389 adding security headers to our API gateway 400 response
1 parent 6548165 commit 600e109

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

infrastructure/stacks/api-layer/patient_check.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,8 @@ resource "aws_api_gateway_gateway_response" "bad_request_parameters" {
112112
response_parameters = {
113113
"gatewayresponse.header.Access-Control-Allow-Origin" = "'*'"
114114
"gatewayresponse.header.Content-Type" = "'application/fhir+json'"
115+
"gatewayresponse.header.Cache-Control" = "'no-store, private'"
116+
"gatewayresponse.header.Strict-Transport-Security" = "'max-age=31536000; includeSubDomains'"
117+
"gatewayresponse.header.X-Content-Type-Options" = "'nosniff'"
115118
}
116119
}

0 commit comments

Comments
 (0)