Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-26-2010, 12:52 PM
Starter Member
 
Posts: 1
Default Index Searching for Sensitive Data via a Zimlet

I want to create an index on a contentObject called ssn, which matches potential Social Security Numbers. I have a working regex pattern for Social Security Numbers, but "has:ssn" never returns any valid search results.

From the Zimbra docs it says I can have a regex attribute in serverExtension set to the pattern, but I can't find any examples of this in any working zimlet. I could use some feedback on if my xml for serverExtension is correct.

Btw I have re-indexed my mailbox after deploying this zimlet, so that it would have a chance to index on the "ssn" keyword, but it still doesn't work.

Here is my org_ssn.xml file.


<zimlet name="org_ssn" version="1.2792" description="Highlights Potential Social Security Numbers">
<serverExtension hasKeyword="ssn" regex="^[0-9]{3}[\- ]?[0-9]{2}[\- ]?[0-9]{4}$"/>
<contentObject type="ssn">
<matchOn>
<regex attrs="g">^[0-9]{3}[\- ]?[0-9]{2}[\- ]?[0-9]{4}$</regex>
</matchOn>
<toolTip>HA!</toolTip>
</contentObject>

</zimlet>
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.