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 server instance and public IP #3857

Merged
merged 17 commits into from
Nov 29, 2022

Conversation

pj991207
Copy link
Contributor

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.
CKV_NCP_23 is associated with "ncloud server instance should not have Public IP"

Description

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

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

@nimrodkor nimrodkor changed the base branch from master to main November 27, 2022 07:48
BaseResourceCheck -> BaseResourceNegativeValueCheck
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!

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.

🍺

@gruebel gruebel merged commit 85015a8 into bridgecrewio:main Nov 29, 2022
pj991207 added a commit to init-cloud/checkov that referenced this pull request Nov 30, 2022
bridgecrewio#3857)

* [22.10.27][add]LBListenerUsesSecureProtocols

* [22.11.05][add]NCP_LBTargetGroupUsingHTTPS

* [22.11.05][delete]ncp_13_rule

* [22.11.08][delete]CKVP_NCP_15

* [22.11.08]CKV_NCP_32

* Revert "[22.11.08]CKV_NCP_32"

This reverts commit c3aa017.

* [22.11.08][add]CKV_NCP_32

* Revert "[22.11.08][add]CKV_NCP_32"

This reverts commit b7341f7.

* [22.11.10
][add]CKV_NCP_23

* [22.11.29][fix]CKV_NCP_23

BaseResourceCheck -> BaseResourceNegativeValueCheck

Co-authored-by: Kuemjong Jeong <[email protected]>
pj991207 added a commit to init-cloud/checkov that referenced this pull request Nov 30, 2022
bridgecrewio#3857)

* [22.10.27][add]LBListenerUsesSecureProtocols

* [22.11.05][add]NCP_LBTargetGroupUsingHTTPS

* [22.11.05][delete]ncp_13_rule

* [22.11.08][delete]CKVP_NCP_15

* [22.11.08]CKV_NCP_32

* Revert "[22.11.08]CKV_NCP_32"

This reverts commit c3aa017.

* [22.11.08][add]CKV_NCP_32

* Revert "[22.11.08][add]CKV_NCP_32"

This reverts commit b7341f7.

* [22.11.10
][add]CKV_NCP_23

* [22.11.29][fix]CKV_NCP_23

BaseResourceCheck -> BaseResourceNegativeValueCheck

Co-authored-by: Kuemjong Jeong <[email protected]>
pj991207 added a commit to init-cloud/checkov that referenced this pull request Nov 30, 2022
bridgecrewio#3857)

* [22.10.27][add]LBListenerUsesSecureProtocols

* [22.11.05][add]NCP_LBTargetGroupUsingHTTPS

* [22.11.05][delete]ncp_13_rule

* [22.11.08][delete]CKVP_NCP_15

* [22.11.08]CKV_NCP_32

* Revert "[22.11.08]CKV_NCP_32"

This reverts commit c3aa017.

* [22.11.08][add]CKV_NCP_32

* Revert "[22.11.08][add]CKV_NCP_32"

This reverts commit b7341f7.

* [22.11.10
][add]CKV_NCP_23

* [22.11.29][fix]CKV_NCP_23

BaseResourceCheck -> BaseResourceNegativeValueCheck

Co-authored-by: Kuemjong Jeong <[email protected]>
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.

4 participants