Azure Firewall logs Kusto Query and rules processing

Venu Gopal Krishna VV 100 Reputation points
2023-06-14T06:03:49.4733333+00:00

Dear Members,

i have two rule collection groups 1) Allow Rule 2) deny rule group`s

User's image

in allow group there are 40 rules, now i want to check each rule is allowed inside the firewall or not, say for example s as shown below Splunk Cloud is one of the rule in the Allow Action group, now i want to check whether the Splunk Cloud is allowed inside the firewall or not, need help on the Kusto Query please.

User's image

reason for this Ask because here we have deny action group so want to make sure that rules mentioned in the Allow action group were processing correctly.

we are making massive changes in our production firewall by introducing this new Deny action group so making sure nothing is breaking down or effecting the Allow collection group.

can please help on this with the query. appreciate for help in this.

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth 49,861 Reputation points Moderator
    2023-06-14T07:05:41.5566667+00:00

    @Venu Gopal Krishna VV

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you would like to understand the Rule Processing logic of Azure Firewall

    Refer to this for more information on Rule Processing

    Now, wrt your specific scenario,

    • I see your Deny Group has a higher priority than the Allow Group.
    • This means, as long as there is no Deny Rule inside the Deny Group for "SplunkCloud", the traffic is allowed.
    • I understand you would like to know the effective Allow/Deny for the "SplunkCloud" traffic using a KUSTO Query.
      • AFAIK, it is not feasible to get the effective allow/deny for a specific destination without actual traffic.
      • You have to test this by simulating live traffic to "SplunkCloud" and see what rules are being hit on the Firewall.
      • If the Allow rule from ALLOW Group is hit, then it's safe to say no rules in the DENY Group are blocking this traffic
      • However, if a different rule from DENY Group is hit, then you have to edit this rule to not deny the traffic.
    • Without simulating actual live traffic, we will not be able to log a DENY/ALLOW Rule.
      • So, once you start simulating traffic from a particular VM, note it's IP
      • Then you can filter the Firewall Logs using the Source IP as the VM's IP
      • Check if it's allowed or denied

    Kindly let us know if this helps or you need further assistance on this issue.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.