Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HIPAA Security - Implement cloud-trail-encryption-enabled config rule #168

Closed
dontirun opened this issue Aug 10, 2021 · 0 comments · Fixed by #313
Closed

HIPAA Security - Implement cloud-trail-encryption-enabled config rule #168

dontirun opened this issue Aug 10, 2021 · 0 comments · Fixed by #313
Assignees

Comments

@dontirun
Copy link
Collaborator

Summary

As a developer

I would like to implement the cloud-trail-encryption-enabled config rule

So that I can check if qualified resources in my CDK app conforms to the following HIPAA Security control(s): 164.312(a)(2)(iv), 164.312(e)(2)(ii)

Details

ruleId: HIPAA.Security-CloudTrailEncryptionEnabled

info: The trail does not have encryption enabled - (Control IDs: 164.312(a)(2)(iv), 164.312(e)(2)(ii))

Given Reason: Because sensitive data may exist and to help protect data at rest, ensure encryption is enabled for your AWS CloudTrail trails.

Acceptance Criteria

If the rule can be implemented

Given a CDK app with a non-compliant resource

  • When HIPAA Security Pack is enabled
  • Then the CDK stack does not deploy and the user receives an ERROR with relevant Control ID information about the non compliant resource

Given a CDK app with a compliant resource

  • When HIPAA Security Pack is enabled
  • Then the CDK stack deploys and the user does not receive an ERROR about the compliant resource

Given the cdk-nag RULES file

  • When the HIPAA.Security-CloudTrailEncryptionEnabled rule is added to the rule pack
  • Then the HIPAA Security Errors section is updated with the rule information

If the rule cannot be implemented

Given the cdk-nag RULES file

  • When the cloud-trail-encryption-enabled check is not added to the rule pack
  • Then the HIPAA Security Excluded Rules section is updated with the check information
@dontirun dontirun added this to the HIPAA Security milestone Aug 10, 2021
@maafk maafk self-assigned this Aug 20, 2021
dontirun added a commit that referenced this issue Aug 20, 2021
* feat(HIPAAA-Security): Add Cloudtrail checks. closes #166, closes #168, closes #169

* fix syntax error in 'Commit and push changes (if changed) stage

* ci: fix syntax error in 'Commit and push changes (if changed) stage'

* ci: fix syntax error in 'Commit and push changes (if changed) stage'

* Update rule IDs and alphabetize in RULES.md

Co-authored-by: Taylor Ondrey <ondreyt@amazon.com>
Co-authored-by: Arun Donti <dontirun@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants