Splunk Search

Add-on Microsoft Office 365: what is the most efficient way of tracking what the token expiry date is?

tomapatan
Communicator

Recently we needed to update the Client Secret for one of our tenants and I wanted to ask what is the most efficient way of tracking what the token expiry date is  and to create an alert in Splunk?

I had a look at the logs and couldn`t find anything to indicate when the access token is about to expire.

Labels (1)
Tags (2)
0 Karma
1 Solution

PaulPanther
Motivator

1. Easiest but static & manual way could be filling token name and expiry date into a lookup table & set a scheduled search on top

2. Setup a scripted input and call the API endpoint to get the expiry date for the token, write the information in a index, save them into a lookup table & set a scheduled search on top

View solution in original post

0 Karma

PaulPanther
Motivator

1. Easiest but static & manual way could be filling token name and expiry date into a lookup table & set a scheduled search on top

2. Setup a scripted input and call the API endpoint to get the expiry date for the token, write the information in a index, save them into a lookup table & set a scheduled search on top

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...