Hello Everyone,
To increase the security of the confluence, we want to be notified/alerted if any of the confluence page/wiki has been made public. Can you please help us how we can achieve this?
We want this to happen in real-time!
Thank you for your support in advance!
@Alagu Jeeva M Welcome to the Atlassian Community.
Please review this page (https://support.atlassian.com/confluence-cloud/docs/how-secure-are-public-links/) for information on how to configure notifications for when public links are created.
Hello @Alagu Jeeva M
Yes there's some solutions to this situation:
Audit Logs:
Confluence's audit logs can provide information about changes in permissions or public access settings on pages. You can use filters in the audit log to track when a page is made public and set up webhooks or external scripts to check these logs periodically and trigger alerts.
Automation with REST API:
Use Confluence's REST API to regularly check page permissions. For example, you could write a script to scan pages for public access and notify you if one is found. This script could be run on a schedule (e.g., daily) and notify you via email or your preferred communication channel if any pages are publicly accessible.
Atlassian Access and Integration with SIEM:
If your company uses Atlassian Access, you can integrate it with a SIEM (Security Information and Event Management) solution to monitor security-related events across Confluence. This integration can help detect changes in page permissions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ugnius,
Thank you!
Can you please share the link to the API docs for this purpose?
I tried Get pages from this link https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-group-page, I am not seeing any content related to the page visibility.
Also, can you please share the permission required for the API user?
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To check page visibility, the Confluence Cloud REST API doesn’t directly provide an endpoint that explicitly shows a page’s public or restricted status. Instead, you can use the Content Permissions API to retrieve permissions for a given page and verify if it’s accessible by anonymous (public) users. Here’s how to do it:
Retrieve Permissions for a Page:
Required Permissions for API User:
Suggested Approach:
Best regards,
Ugnius
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.