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 elb-deletion-protection-enabled config rule #255

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

HIPAA Security - Implement elb-deletion-protection-enabled config rule #255

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

Comments

@dontirun
Copy link
Collaborator

Summary

As a developer

I would like to implement the elb-deletion-protection-enabled config rule

So that I can check if qualified resources in my CDK app conforms to the following HIPAA Security control(s): 164.308(a)(7)(i), 164.308(a)(7)(ii)(C)

Details

ruleId: HIPAA.Security-ELBDeletionProtectionEnabled

info: The Elastic�Load�Balancer does not have deletion protection enabled - (Control IDs: 164.308(a)(7)(i), 164.308(a)(7)(ii)(C))

Given Reason: This rule ensures that Elastic Load Balancing has deletion protection enabled. Use this feature to prevent your load balancer from being accidentally or maliciously deleted, which can lead to loss of availability for your applications.

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-ELBDeletionProtectionEnabled 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 elb-deletion-protection-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
@dontirun dontirun self-assigned this Sep 10, 2021
@mergify mergify bot closed this as completed in #349 Sep 14, 2021
mergify bot pushed a commit that referenced this issue Sep 14, 2021
Closes #158
Closes #159
Closes #253
Closes #254
Closes #255
Closes #256
Closes #257
Closes #258

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
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.

1 participant