Failed Sign-in Hunt - Azure Log Analytics v2
Run a KQL hunt for failed sign-ins and save it as a Log Analytics saved search when it finds rows.
failed-sign-in-hunt-azure-log-analytics-v2-1.0.0.json
Sanitized by the pipeline and shipped inactive. Follow the before turning it on.
Needs a connector that isn't on the Content Hub
azure-log-analytics-v2 - you'll need to obtain this custom connector (or build an equivalent) before it will run.
One use case for the Azure Log Analytics v2 connector (azure-log-analytics-v2, 3.0.0): a KQL hunt that branches on the row count. When the hunt returns rows, the query is saved as a saved search with create_saved_searches; when it returns no rows, nothing is saved.
Needs the connector "Query Azure Log Analytics and manage saved searches" (azure-log-analytics-v2, 3.0.0), which is in this catalogue. Install it and configure it with an Entra ID app registration that has Log Analytics Reader and Log Analytics Contributor on the workspace.
Outcomes: saved, no_rows.
Live-tested on FortiSOAR 8.0.1 against a Log Analytics workspace with seeded placeholder sign-in rows: both branches ran to completion. Not live-tested: none.