I have below requirements . Could you please help me to configure it.
I am trying to use OAUTH2 to generate token ,use that token to establish connection with SAAS portal to pull logs using REST API and then pass that logs to the ArcSight.
I have a RESTAPI which works on OAuth 2.0.
A OAuth 2.0 API requires Authorization as header which holds bearer token
This is generated using Refresh Token, ClientID, Client Secret given values.( this are fixed values)
Currently this Authorization Header expired every 5 minutes, i have to go and generate it manually.Is there any plugin/commands i can use or any other means to generate OAUTH2 token every 5min?
In order to run my pipeline forever, i need to have this Authorization header token alive all the time.
Has anyone tried it?
Please let me know how to achieve this solution.
Thank you .