CloudFront distributions should be configured with a default root object

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Description

This evaluation determines if an Amazon CloudFront distribution is set up to provide a designated object as the default root object. The evaluation is marked as failed if the CloudFront distribution lacks a configured default root object.

When a user accesses the root URL of the distribution rather than a specific file, having a default root object specified helps to prevent the disclosure of the entire contents of the web distribution.

Remediation

For instructions on setting up a default root object in a CloudFront distribution, refer to the section on specifying a default root object in the Amazon CloudFront Developer Guide.