RDS cluster snapshots should not be publicly shared

이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

Description

Ensures that your Amazon RDS cluster snapshots are not publicly accessible to protect sensitive data from unauthorized access.

Rationale

Public RDS snapshots can be accessed and restored by any AWS account worldwide. This could expose confidential database contents, leading to data breaches or regulatory violations. Snapshots should never be publicly shared unless explicitly required and controlled.

Remediation

From the console

Follow the instructions in the Stop sharing a manual DB snapshot with an AWS account AWS Console docs.

From the command line

Run modify-db-cluster-snapshot-attribute with the cluster snapshot identifier, attribute name, and values to remove to revoke a specific AWS account’s permission to restore the DB snapshot.

aws rds modify-db-cluster-snapshot-attribute \
    --db-cluster-snapshot-identifier yourdbsnapshot \
    --attribute-name restore \
    --values-to-remove "all"