cancel
Showing results for 
Search instead for 
Did you mean: 
Disclaimer
JUMPCLOUD EXPRESSLY DISCLAIMS ALL REPRESENTATIONS, WARRANTIES, CONDITIONS, AND LIABILITIES OF ANY KIND ARISING FROM OR RELATED TO THIRD-PARTY SOFTWARE, SCRIPTS, REPOSITORIES, AND APIS. JUMPCLOUD IS NOT REQUIRED TO SUPPORT ANY SUCH THIRD-PARTY MATERIALS AND ALL RISKS RELATED TO THIRD-PARTY MATERIALS ARE YOUR RESPONSIBILITY. PLEASE ALSO REVIEW THE JUMPCLOUD TOS.

Inactive User Report on all Systems

urvashi
Community Manager Community Manager
Community Manager

Hi everyone, 

Reposting this from the JumpCloud Slack lounge@lmcfadden has shared a whole youtube tutorial that he made that explains how you can pull a report of inactive users from all systems. He's also open to answering any questions that you may have so pop them in the comments below. 

https://www.youtube.com/watch?v=XMu7rm9Sq_U 

He also shared the list of search terms that he mentioned in the video:

 

{
  "service":[
    "systems"
  ],
  "start_time":"2023-06-21T23:37:40.391Z",
  "search_term":{
    "and":[
      {
        "or":[
          {
            "initiated_by.username":[
              "lmcfadden"
            ]
          },
          {
            "resource.username":[
              "lmcfadden"
            ]
          },
          {
            "username":[
              "lmcfadden"
            ]
          },
          {
            "and":[
              {
                "association.connection.from.name":[
                  "lmcfadden"
                ]
              },
              {
                "association.connection.from.type":"USER"
              }
            ]
          },
          {
            "and":[
              {
                "association.connection.to.name":[
                  "lmcfadden"
                ]
              },
              {
                "association.connection.to.type":"USER"
              }
            ]
          }
        ]
      },
      {
        "or":[
          {
            "system.displayName":[
              "ushq040"
            ]
          },
          {
            "and":[
              {
                "resource.displayName":[
                  "ushq040"
                ]
              },
              {
                "resource.type":"system"
              }
            ]
          },
          {
            "and":[
              {
                "association.connection.from.name":[
                  "ushq040"
                ]
              },
              {
                "association.connection.from.type":"SYSTEM"
              }
            ]
          },
          {
            "and":[
              {
                "association.connection.to.name":[
                  "ushq040"
                ]
              },
              {
                "association.connection.to.type":"SYSTEM"
              }
            ]
          }
        ]
      }
    ]
  },
  "timezone":"-0500",
  "interval_unit":"w",
  "interval_value":"1",
  "q":""
}

 

Thank you, Luke!

Here's an example of creating an automation to create a report for inactive users on all systems. This was a question in the JumpCloud Slack. Check out our custom app for Make.com, where you can sign up for a free trial and download some automation templates! ...
1 REPLY 1

lmcfadden
Novitiate II

Thanks for reposting!  The magic is happening thanks to the Directory Insights API.  We've built out a custom app for Make.com, but a similar approach could be used with any scripting / automation platform.  Our app just makes it easier to get started 😄

lmcfadden_0-1695394657762.png

 

 

 

Luke!
http://ifonly.solutions
You Might Like

New to the site? Take a look at these additional resources:

Community created scripts:

Our new Radical Admin blog:

Keep up with Product News:

Read our community guidelines

Ready to join us? You can register here.