Skip to content

Commit

Permalink
Merge pull request #4 from qbeyond/feature/add-appclication-rule-for-…
Browse files Browse the repository at this point in the history
…windows-update

Feature/add appclication rule for windows update
  • Loading branch information
QBY-ChristianHartmann authored Nov 21, 2023
2 parents 1d0362a + 65f4d4f commit eed924b
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Changelog

All notable changes to this module will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this module adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.1.0] - 2023-11-17

### Added

- application rule for windows update

### Changed

### Removed

### Fixed

- windows defender can find and download updates

# [1.0.0] - 2023-07-07

Initial release of platform firewall rules
20 changes: 20 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,24 @@ resource "azurerm_firewall_policy_rule_collection_group" "this" {
destination_ports = ["80", "443"]
}
}

application_rule_collection {
name = "rc-application_internet_outbound-${var.stage}"
priority = 130
action = "Allow"

rule {
name = "allow-update-management-outbound"
source_ip_groups = [var.ipg_application_lz_id, var.ipg_platform_id]
destination_fqdn_tags = ["WindowsUpdate"]
protocols {
type = "Http"
port = 80
}
protocols {
type = "Https"
port = 443
}
}
}
}

0 comments on commit eed924b

Please sign in to comment.