github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/avd_docs/azure/container/AVD-AZU-0041/Terraform.md (about)

     1  
     2  Limit the access to the API server to a limited IP range
     3  
     4  ```hcl
     5   resource "azurerm_kubernetes_cluster" "good_example" {
     6  	api_server_access_profile {
     7  		authorized_ip_ranges = [
     8   		"1.2.3.4/32"
     9   	]
    10  
    11  	}
    12       
    13   }
    14   
    15  ```
    16  
    17  #### Remediation Links
    18   - https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster#authorized_ip_ranges
    19