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

Shane Johnson July 31, 2015

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

0 votes
Milo Test
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 4, 2015

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

0 votes
Shane Johnson August 4, 2015

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?

 

 

0 votes
Milo Test
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2015

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events