Skip to content

Instantly share code, notes, and snippets.

@lurumad
Created September 25, 2018 07:27
Show Gist options
  • Select an option

  • Save lurumad/c9423cda06aafedcb671188ba3151bd1 to your computer and use it in GitHub Desktop.

Select an option

Save lurumad/c9423cda06aafedcb671188ba3151bd1 to your computer and use it in GitHub Desktop.
Monitoring APIM

Create an alert rule

Alert criteria: (Whenever the Unauthorized Gateway Requests is Greater than 1 count)

  • Unauthorized Gateway Requests
  • Greater than Total > 1
  • Over the last 5 minutes - Every minute

Alert details:

  • Unauthorized access
  • Unauthorized alert to the APIM

Action group:

  • Login App webhook

Create Logic App

  • When an HTTP Request is received
  • Post message Teams

Copy the webhook url.

Test APIM with invalid key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment