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

feat(terraform): add CKV NCP rules about Network ACL. #3630

Merged
merged 43 commits into from
Oct 26, 2022

Conversation

Floodnut
Copy link
Contributor

@Floodnut Floodnut commented Oct 9, 2022

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Description

Add terraform scan rules about provider Naver Cloud Platform.
These rules is associated with Network ACL.

  • CKV_NCP_8 is associated with FTP 20 Port.
  • CKV_NCP_9 is associated with FTP 21 Port.
  • CKV_NCP_10 is associated with SSH 22 Port.
  • CKV_NCP_11 is associated with RDP 3389 Port.

Description

https://registry.terraform.io/providers/NaverCloudPlatform/ncloud/latest/docs/resources/network_acl_rule

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my feature, policy, or fix is effective and works
  • New and existing tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

pj991207 and others added 30 commits September 27, 2022 14:52
@Floodnut Floodnut changed the title Ncp/rule 8 11 feat(terraform): add CKV NCP rules about Network ACL. Oct 9, 2022
Copy link
Contributor

@gruebel gruebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, great work, added a couple of comments

checkov/terraform/checks/resource/ncp/NACLInboundCheck.py Outdated Show resolved Hide resolved
checkov/terraform/checks/resource/ncp/NACLInboundCheck.py Outdated Show resolved Hide resolved
checkov/terraform/checks/resource/ncp/NACLInboundCheck.py Outdated Show resolved Hide resolved
checkov/terraform/checks/resource/ncp/NACLInboundCheck.py Outdated Show resolved Hide resolved
checkov/terraform/checks/resource/ncp/NACLInboundCheck.py Outdated Show resolved Hide resolved
@Floodnut
Copy link
Contributor Author

Floodnut commented Oct 25, 2022

I adjust change with comment!

Copy link
Contributor

@gruebel gruebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the hard work 🥇

Copy link
Contributor

@nimrodkor nimrodkor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TY @Floodnut !

@nimrodkor nimrodkor merged commit ca61501 into bridgecrewio:master Oct 26, 2022
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 this pull request may close these issues.

5 participants