Widget to display Active Logged in XSOAR user (SOC Analyst)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Widget to display Active Logged in XSOAR user (SOC Analyst)

L2 Linker

Does anyone have a script or know a way to display the currently signed-in XSOAR users?

Basically, i'd like a dashboard widget with active users signed-in....

 

 

Let me know your thoughts - 

 

Thanks again,

Boyd

1 accepted solution

Accepted Solutions

L4 Transporter

Create a new Automation (GetXSOAROnlineUsers), with a tag of "widget".

 

demisto.results(demisto.executeCommand("getUsers", {"online":"true"})[0]["HumanReadable"])

 

Then basically create a text based widget that uses that automation script. 

 

Screen Shot 2023-02-21 at 9.44.54 AM.pngScreen Shot 2023-02-21 at 9.45.24 AM.pngScreen Shot 2023-02-21 at 9.46.13 AM.png

 

 

View solution in original post

3 REPLIES 3

L4 Transporter

Create a new Automation (GetXSOAROnlineUsers), with a tag of "widget".

 

demisto.results(demisto.executeCommand("getUsers", {"online":"true"})[0]["HumanReadable"])

 

Then basically create a text based widget that uses that automation script. 

 

Screen Shot 2023-02-21 at 9.44.54 AM.pngScreen Shot 2023-02-21 at 9.45.24 AM.pngScreen Shot 2023-02-21 at 9.46.13 AM.png

 

 

This is perfect thank you

@MBeauchamp2 , did you run that on main - 

i did everything per your screenshot, but my widget is coming up blank
if i run the script in the playground of tenant, the script does return with my user account info
But not seeing it on my "Main" tenant dashboard...just a blank widget



Any thoughts?

  • 1 accepted solution
  • 1459 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!