This rule mandates that KMS keys should not be in pending deletion status.
Rule | KMS keys should not be pending deletion |
Framework | HIPAA |
Severity | ✔ High |
Rule Description
KMS (Key Management Service) keys should not be in the "pending deletion" state for HIPAA compliance. The "pending deletion" state indicates that the key is scheduled for permanent deletion and is no longer available for use. This rule ensures that all KMS keys remain active and accessible to comply with the security requirements of the Health Insurance Portability and Accountability Act (HIPAA).
Troubleshooting Steps (if applicable)
If you encounter a KMS key in the "pending deletion" state for HIPAA compliance, follow these troubleshooting steps to rectify the issue:
Identify the key: Determine the KMS key that is in the "pending deletion" state.
Verify the key's status: Confirm if the key is indeed in the "pending deletion" state by accessing the key details.
Understand the circumstances: Determine the reason behind the key being in the "pending deletion" state. It could be intentional, accidental, or the result of an error.
Check key dependencies: Ensure that there are no resources or applications relying on the key for encryption or decryption purposes.
Determine the appropriate action: Based on the circumstances, decide whether the key should be permanently deleted or restored to an active state.
Necessary Codes (if applicable)
If the KMS key needs to be restored to an active state, you may require the AWS CLI (Command Line Interface) to execute the following commands:
aws kms describe-key --key-id <key-id>
aws kms cancel-key-deletion --key-id <key-id>
Step-by-Step Guide for Remediation
To remediate the issue of a KMS key being in the "pending deletion" state for HIPAA compliance, follow these step-by-step instructions:
Identify the key:
Verify the key's status:
Understand the circumstances:
Check key dependencies:
Determine the appropriate action:
Remediation for permanent deletion:
Remediation for restoring an active key:
Validation:
By following these steps, you can ensure that KMS keys are not in the "pending deletion" state, maintaining compliance with HIPAA regulations.