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:

A quick googling did produce some information specific to PowerShell + REST API that might get you started:

Here is a non-REST solution for PowerShell to Confluence:

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,821 views 27 11
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