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!

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...

New Dates, New City: Save the Date for .conf25!

Wake up, babe! New .conf25 dates AND location just dropped!! That's right, this year, .conf25 is taking place ...

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...