Topic
3 replies Latest Post - ‏2013-01-04T07:27:45Z by SystemAdmin
copalj1
copalj1
4 Posts
ACCEPTED ANSWER

Pinned topic PCI policy rules

‏2013-01-02T22:54:13Z |
Does anybody know of a good data expression that will tag credit card numbers that have more or less than 16 digits ?

-copalj1
Updated on 2013-01-04T07:27:45Z at 2013-01-04T07:27:45Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    483 Posts
    ACCEPTED ANSWER

    Re: PCI policy rules

    ‏2013-01-03T11:09:10Z  in response to copalj1
    Hi, may I know what do you want to achieve? You want track whether someone accessing to credit card info or you want to mask the credit card value from appearing in Guardium query? However, there is this general regex pattern you can use. “0-9{-, ?0-9{4}4}-, ?0-9{4}-, ?0-9{4}”
  • copalj1
    copalj1
    4 Posts
    ACCEPTED ANSWER

    Re: PCI policy rules

    ‏2013-01-03T15:29:26Z  in response to copalj1
    Thx, we are aware of the general "regular expression" used for 16 digit Credit Cards, which we are currently using to flag commands issued on Credit Card number patterns, but some cards like American express contain 13 digits instead of 16 used for Visa and Master cards.

    We will opt to add a continuation to our extrusion rule, to include a regex for 13 digits credit cards.

    Thx.
    • SystemAdmin
      SystemAdmin
      483 Posts
      ACCEPTED ANSWER

      Re: PCI policy rules

      ‏2013-01-04T07:27:45Z  in response to copalj1
      Hi, you can refer to this URL, there are some sample of credit card pattern specifically for Amex, Master and Visa.

      http://www.regular-expressions.info/creditcard.html