Azure Cognitive Search With Global IP Allowance
Description
Code Example
terraform
resource "azurerm_search_service" "example" {
name = "example-search-service"
# ... other configurations ...
+ allowed_ips = [
+ "192.168.1.0/24", # A specific trusted CIDR range.
+ # ... other allowed IPs ...
+ ]
# ... other configurations ...
}Remediation
Terraform
Resource:
- azurerm_search_service
Arguments:
- allowed_ips
Rule Details
| Field | Value |
|---|---|
| ID | IAC-0717 |
| Severity | MEDIUM |
| IaC Type | Terraform |
| Frameworks | Terraform, |
| Checkov ID | CKV_AZURE_210 |