AWS ivs medium security documentation change
Summary
Added documentation for security-related HTTP response headers (e.g., Content-Security-Policy, Strict-Transport-Security) and expanded error codes including AccessDeniedException.
Security assessment
The addition of security headers like Content-Security-Policy and Strict-Transport-Security directly addresses web security vulnerabilities (e.g., XSS, HTTPS enforcement). The AccessDeniedException clarification improves access control documentation, though no explicit vulnerability is mentioned.
Diff
diff --git a/ivs/latest/LowLatencyAPIReference/API_BatchGetStreamKey.md b/ivs/latest/LowLatencyAPIReference/API_BatchGetStreamKey.md index e45580d9e..865931d2c 100644 --- a//ivs/latest/LowLatencyAPIReference/API_BatchGetStreamKey.md +++ b//ivs/latest/LowLatencyAPIReference/API_BatchGetStreamKey.md @@ -47,0 +48,7 @@ Required: Yes + Access-Control-Allow-Origin: accessControlAllowOrigin + Access-Control-Expose-Headers: accessControlExposeHeaders + Cache-Control: cacheControl + Content-Security-Policy: contentSecurityPolicy + Strict-Transport-Security: strictTransportSecurity + X-Content-Type-Options: xContentTypeOptions + X-Frame-Options: xFrameOptions @@ -73,0 +81,23 @@ If the action is successful, the service sends back an HTTP 200 response. +The response returns the following HTTP headers. + +**accessControlAllowOrigin ** + + +**accessControlExposeHeaders ** + + +**cacheControl ** + + +**contentSecurityPolicy ** + + +**strictTransportSecurity ** + + +**xContentTypeOptions ** + + +**xFrameOptions ** + + @@ -89,0 +120,25 @@ For information about the errors that are common to all actions, see [Common Err +**AccessDeniedException** + + +**exceptionMessage** + + +User does not have sufficient access to perform this action. + +HTTP Status Code: 403 + +**ServiceUnavailable** + + +HTTP Status Code: 503 + +**ValidationException** + + +**exceptionMessage** + + +The input fails to satisfy the constraints specified by an AWS service. + +HTTP Status Code: 400 +