{
  "id": "WindowsFirewall",
  "title": "Windows Firewall",
  "publisher": "Microsoft",
  "logo": {
    "type": 258,
    "options": null
  },
  "descriptionMarkdown": "Windows Firewall is a Microsoft Windows application that filters information coming to your system from the Internet and blocking potentially harmful programs. The software blocks most programs from communicating through the firewall. Users simply add a program to the list of allowed programs to allow it to communicate through the firewall. When using a public network, Windows Firewall can also secure the system by blocking all unsolicited attempts to connect to your computer. For more information, see the [Microsoft Sentinel documentation](https://go.microsoft.com/fwlink/p/?linkid=2219791&wt.mc_id=sentinel_dataconnectordocs_content_cnl_csasci).",
  "graphQueries": [
    {
      "metricName": "Total data received",
      "legend": "AzureDiagnostics",
      "baseQuery": "WindowsFirewall"
    }
  ],
  "sampleQueries": [
    {
      "description": "All logs",
      "query": "WindowsFirewall\n            | sort by TimeGenerated"
    },
    {
      "description": "Summarize by Firewall actions",
      "query": "WindowsFirewall\n            | summarize count() by FirewallAction"
    }
  ],
  "dataTypes": [
    {
      "name": "WindowsFirewall",
      "lastDataReceivedQuery": "WindowsFirewall\n            | summarize Time = max(TimeGenerated)\n            | where isnotempty(Time)"
    }
  ],
  "connectivityCriterias": [
    {
      "type": "OmsSolutions",
      "value": [
        "WindowsFirewall"
      ]
    }
  ],
  "availability": {
    "status": 1,
    "isPreview": false
  },
  "permissions": {
    "resourceProvider": [
      {
        "provider": "Microsoft.OperationalInsights/workspaces",
        "permissionsDisplayText": "read and write permissions.",
        "providerDisplayName": "Workspace",
        "scope": "Workspace",
        "requiredPermissions": {
          "read": true,
          "write": true,
          "delete": true
        }
      },
      {
        "provider": "Microsoft.OperationalInsights/solutions",
        "permissionsDisplayText": "[read and write permissions](https://docs.microsoft.com/azure/role-based-access-control/built-in-roles#log-analytics-contributor).",
        "providerDisplayName": "Solutions",
        "scope": "ResourceGroup",
        "requiredPermissions": {
          "read": true,
          "write": true
        }
      }
    ]
  },
  "instructionSteps": [
    {
      "title": "1. Download and install the agent",
      "description": ">  Windows Firewall logs are collected only from **Windows** agents.",
      "instructions": [
        {
          "parameters": {
            "title": "Choose where to install the agent:",
            "instructionSteps": [
              {
                "title": "Install agent on Azure Windows Virtual Machine",
                "description": "Download the agent on the relevant machine and follow the instructions.",
                "instructions": [
                  {
                    "parameters": {
                      "linkType": "InstallAgentOnVirtualMachine"
                    },
                    "type": "InstallAgent"
                  }
                ]
              },
              {
                "title": "Install agent on non-Azure Windows Machine",
                "description": "Select the machine to install the agent and then click **Connect**.",
                "instructions": [
                  {
                    "parameters": {
                      "linkType": "InstallAgentOnNonAzure"
                    },
                    "type": "InstallAgent"
                  }
                ]
              }
            ]
          },
          "type": "InstructionStepsGroup"
        }
      ]
    },
    {
      "title": "2. Install Windows Firewall solution",
      "instructions": [
        {
          "parameters": {
            "solutionName": "WindowsFirewall"
          },
          "type": "OmsSolutions"
        }
      ]
    }
  ]
}
