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

Enable Azure Firewall Intrusion Detection policy by default #539

Closed
glennmusa opened this issue Nov 18, 2021 · 2 comments · Fixed by #555
Closed

Enable Azure Firewall Intrusion Detection policy by default #539

glennmusa opened this issue Nov 18, 2021 · 2 comments · Fixed by #555
Assignees

Comments

@glennmusa
Copy link
Contributor

glennmusa commented Nov 18, 2021

Benefit/Result/Outcome

To get closer to SCCA compliance, the Azure Firewall Premium SKU has Intrusion Detection that we can turn on by default.

Description

Update the firewall policy resource to turn on Intrusion Detection defaulted to Alert:

resource firewallPolicy 'Microsoft.Network/firewallPolicies@2021-02-01' = {
name: firewallPolicyName
location: location
tags: tags
properties: {
threatIntelMode: threatIntelMode
sku: {
tier: skuTier
}
}
}

This can be enabled by defining a firewallPolicyIntrusionDetection property on the Azure Firewall Policy resource:

https://docs.microsoft.com/en-us/azure/templates/microsoft.network/firewallpolicies?tabs=bicep#firewallpolicyintrusiondetection

Here's a reference implementation (that has collections defined for signatureOverrides and bypassTrafficSettings that I presume we can leave empty for now):

https://github.com/Azure/azure-quickstart-templates/blob/c4e7342e0046ea4fe120749514b54f37daf05dce/quickstarts/microsoft.network/azurefirewall-premium/azuredeploy.json#L333-L361

Acceptance Criteria

@glennmusa
Copy link
Contributor Author

@shawngib has a working implementation to just turn it on, but we need more detail before committing to this:

For MLZ, what are the correct settings for FirewallPolicyIntrusionDetectionConfiguration?

@shawngib
Copy link
Member

Just wanted to add that there is also currently a bug in the FFX portal preventing users from manually doing this in the portal. So currently only option is set at deployment or script afterwards.

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 a pull request may close this issue.

3 participants