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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...