Data Loss Prevention

 View Only
  • 1.  Regex to Data Identifier

    Posted Jun 13, 2019 11:38 AM

    Hello,

    I have created a regex expression and convert it as Data Identifier in Symantec DLP. Unfortunately it is not working and no incidents were logged. Can anyone help me out ? 
     

    Here is My regex.

    1.    \B[\(\[](?i)word[\)\]]\B

    2.    [\(\[](?i)word[\)\]]

    I want to search "word" phrase from "Subject" field only.

     

    Thanks



  • 2.  RE: Regex to Data Identifier

    Posted Jun 18, 2019 01:51 PM

    why wouldn't you just use a keyword match detection rule?



  • 3.  RE: Regex to Data Identifier

    Posted Jun 19, 2019 09:15 AM

    @DLP Freak 

    Yes, I know I can use keyword rule, but it would not be efficient if I want to apply to all policies. There would be lots of manual work and I have to go each policy and apply that rule!



  • 4.  RE: Regex to Data Identifier

    Posted Jun 19, 2019 12:02 PM

    Symantec doesn't use traditional regular expression tokens. You will probably need to remove some such as \B and (?i).  I used the Symantec supplied DIs for reference.



  • 5.  RE: Regex to Data Identifier

    Posted Jun 19, 2019 12:25 PM

    Have you tried to put "word" in the Pattern field, using the Pre- adn Post-validator characters to limit what you want and don't want present from a boundary perspective? You definitely cannot use any of the traditional regex patterns inside the DI Pattern field.



  • 6.  RE: Regex to Data Identifier

    Posted Jun 19, 2019 01:38 PM

    Yes, I tried removing "\B", it didn't work. But If I remove "(?i)" the it would create a problem if anyone uses "word" keyword as case sensitive. Any other thoughts, I really appreciate it.



  • 7.  RE: Regex to Data Identifier

    Posted Jun 19, 2019 01:41 PM

    Hello Kollkash,

    Yes I have used as a expression too instead of Data Identifier, but it didn't work. Any other thoughts, really appreciate it.



  • 8.  RE: Regex to Data Identifier

    Posted Jun 25, 2019 10:38 AM

    You could put multiple patterns to address case. For example:

    word

    WORD

    Word



  • 9.  RE: Regex to Data Identifier

    Posted Jul 08, 2019 12:24 PM

    Yes, I created regex pattern and the defined my words into Data Identifier. It's working