Getting Data In

Has anyone indexed Azure Devops audit log?

las
Contributor

Hi.

It seems Microsoft has exposed the audit log for Azure DevOps, https://docs.microsoft.com/en-us/rest/api/azure/devops/audit/audit%20log/query?view=azure-devops-res...
Has anyone tried to index this log and how did you do it?

Kind regards
las

Tags (2)
0 Karma

jscraig2006
Communicator

Hi Ias,
Yes, you will need a PAT created in Azure Devops and use a Python script for the scripted input.

personal_access_token = '<access_token>'
organization_url = 'https://<azure_devops_url>/_apis/audit/auditlog?api-version=5.1-preview.1'
json_data = requests.get(organization_url, auth=('', personal_access_token)).json()

las
Contributor

Thank you for your answer, I was just curious if anybody had done it, and if it was done, if they found an add-on or created either a scripted- or modular-input

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...