Is there a way to have a Confluence Doc show Computers in an Active Directory OU?

I'm looking for a way to have a Confluence Doc that keeps an updated list of computers in a few Active Directory OUs that we have.

I was hoping there was a plugin that could do this, but if there isn't would it be possible to do an LDAP query, write the data to a file, and then have Confluence periodically read the file and check for updates?

If there isn't a scheduled service like that would it be possible to have the LDAP query overwrite a file that is set up to display inside of the confluence page?

 

3 answers

If you can find another program or code that does what you want, see if it has REST support and use the REST API in Confluence to read in and display the output.

How do you mean? I can create output files thorough PowerShell fairly easily. Are you saying that the REST API can be set up to read that file?

How would I bring that into a specific Confluence Doc?

 

 

This is a bit out of my wheelhouse, I only mention it to help you begin the journey.

Here is Atlassian's help pages on the REST API:
https://developer.atlassian.com/confdev/confluence-rest-api

A quick googling did produce some information specific to PowerShell + REST API that might get you started:
https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=powershell+REST+api

Here is a non-REST solution for PowerShell to Confluence:
https://answers.atlassian.com/questions/156809

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

995 views 23 13
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you