CKV2_AWS_74 - Wrong suggested fix

Open Beginner friendly
#1,348 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
aws, terraform

Research direction

Start with the CKV2_AWS_74 policy reference and compare the suggested fix against the Terraform aws_lb and aws_lb_listener argument references linked in the issue. Update the documentation so the setting targets aws_lb_listener, then verify that the corrected resource and argument are reflected in the policy guidance.

Written by the indexing model from the issue text.

Description

Suggested fix for CKV2_AWS_74 should apply to aws_lb_listener not the aws_lb resource, as that does not support the setting.

aws_lb argument reference: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb#argument-reference
aws_lb_listener argument reference: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener#ssl_policy-2

Dominant language
JavaScript
Stars
21
Forks
93
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hlxsites/prisma-cloud-docs

All issues in hlxsites/prisma-cloud-docs

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.