hlxsites / hlxsites/prisma-cloud-docs

CKV_AWS_312: Terraform code provided to fix issue is incorrect

Open
#404 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
21
Forks
92
PR merge metrics
No merged PRs in 30d

Description

As per [CKV_AWS_312](https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/bc-aws-312), the way to enable EnhancedHealthStreaming for Elastic BeanStalk environment is to set `HealthStreamingEnabled` to `true`. However this attribute does not exist in the [AWS docs](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-elasticbeanstalkhealthreporting) for Elastic BeanStalk environments configuration.

I suppose that the correct settings instead are:
```go
setting {
namespace = "aws:elasticbeanstalk:healthreporting:system"
name = "SystemType"
value = "enhanced"
}
setting {
namespace = "aws:elasticbeanstalk:healthreporting:system"
name = "EnhancedHealthAuthEnabled"
value = "true"
}
```

I will attempt to create a PR to fix this, however I am not familiar with go neither this project so I'd truly appreciate your input.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.