Skip to content

Commit

Permalink
Merge pull request #932 from paddymorgan84/patch-2
Browse files Browse the repository at this point in the history
Update azr-networking-171.adoc
  • Loading branch information
JBakstPaloAlto authored Nov 22, 2024
2 parents a25eb90 + b61c487 commit dd6ad69
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

[width=45%]
[cols="1,1"]
|===
|Prisma Cloud Policy ID
|===
|Prisma Cloud Policy ID
| 6f4b530b-d1e3-406d-8a46-339f417e0065

|Checkov ID
|Checkov ID
| https://github.com/bridgecrewio/checkov/tree/main/checkov/terraform/checks/resource/azure/AKSUpgradeChannel.py[CKV_AZURE_171]

|Severity
Expand All @@ -21,7 +21,7 @@
|Frameworks
|Terraform, Terraform Plan

|===
|===

*Description*

Expand All @@ -34,7 +34,7 @@ This policy checks to make sure that an upgrade channel other than "None" is sel
*Terraform*

* *Resource:* azurerm_kubernetes_cluster
* *Arguments:* automatic_channel_upgrade
* *Arguments:* automatic_upgrade_channel

[source,terraform]
----
Expand All @@ -43,7 +43,10 @@ resource "azurerm_kubernetes_cluster" "example" {
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
# If using azurerm version below 4.0
+ automatic_channel_upgrade = "stable"
# If using azurerm version 4.0 and above
+ automatic_upgrade_channel = "stable"
default_node_pool {
name = "default"
Expand Down

0 comments on commit dd6ad69

Please sign in to comment.