Restrict content based on a blacklist of words

I have a requirement to block / redact or at the very minimum provide the ability to report and alert administrators when certain terms are published within confluence pages. I appreciate that in general this such an approach is not best practice in terms of Wiki openness etc but I need a solution to support corporate governance policies.

4 answers

1 accepted

This widget could not be displayed.
David Simpson Community Champion Aug 08, 2011
Sounds like you need WTFilter:
This widget could not be displayed.

G'day @Jean-Paul,

Redaction for Confluence provides a more granular level of content visibility, enabling you to hide words or paragraphs within a page. Redacted content is not included in page exports or search results, ensuring that sensitive information stays private.

redaction-for-confluence 1120x548px Marketplace.png

May be useful for your scenario.

If you want more details on the add-on contact me via or +1 415 568 7064.

Nicholas Muldoon

This widget could not be displayed.

Using the reporting plug-in, you could create a table of violators:













This only searches a single space (whichever space contains the page with this content. It can search all spaces by changed "@self" to "@all". It may be slow in refreshing, depending upon your volume. It may make more sense to do a database query.
This example searches for the strings: "cat" and "dog". Replace that with your blacklist.
I do not know if you can subscribe to the page and it will run automatically. It may be a manual page visit, 1/day or whatever you need.
This widget could not be displayed.

If you are able to hit the database with an sql query, or schedule a report, you could use a variant of this query. Pros: no plugin; cons: sql.

-- Query to locate current pages containing a specified string
-- Jim Birch 2011.01.28
select  -- top 100
 s.spacekey, c.TITLE, c.CREATOR, c.LASTMODIFIER, c.LASTMODDATE --, bc.body 
  dbo.CONTENT c
-- note: spaceid is null on old page versions so join on
-- space id selects only current pages.  Nice.
 dbo.SPACES s
 bc.BODY like '%sometext%' 
order by
 s.spacekey, c.title

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

547 views 7 6
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