More Info:

Checks if Amazon Elastic File System (Amazon EFS) access points are configured to enforce a user identity. The rule is NON_COMPLIANT if ‘PosixUser’ is not defined or if parameters are provided and there is no match in the corresponding parameter.

Risk Level

Medium

Address

Security

Compliance Standards

CBP,RBI_MD_ITF

Triage and Remediation

Remediation

To remediate the misconfiguration of EFS Access Point not enforcing the root directory for AWS Kubernetes using the AWS console, you can follow these steps:

  1. Access AWS Management Console: Navigate to the AWS Management Console at https://aws.amazon.com and log in to your account.

  2. Go to Amazon EFS Service: Click on the “Services” dropdown menu at the top of the page, search for “EFS” and click on “Amazon EFS” to open the Amazon Elastic File System dashboard.

  3. Select the EFS File System: From the list of available EFS file systems, select the EFS file system that is associated with your EFS Access Point that needs to enforce the root directory.

  4. Navigate to Access Points: In the EFS file system details page, click on the “Access points” tab in the left-hand menu to view the list of access points associated with the selected EFS file system.

  5. Select the Access Point: Identify and select the Access Point that needs to enforce the root directory by clicking on its name.

  6. Edit Access Point Policy: In the Access Point details page, click on the “Edit” button next to the “Policy” section to modify the access point policy.

  7. Update the Policy: In the policy editor, update the policy document to include the following statement to enforce the root directory:

    "RootDirectory": "/"
    
  8. Save Changes: After adding the “RootDirectory” statement to the policy document, click on the “Save changes” button to apply the updated policy to the EFS Access Point.

  9. Verify Changes: Verify that the policy update has been successfully applied by checking the Access Point details and ensuring that the root directory is enforced.

By following these steps, you can remediate the misconfiguration of EFS Access Point not enforcing the root directory for AWS Kubernetes using the AWS console.