Skip to main content

Check out Interactive Visual Stories to gain hands-on experience with the SSE product features. Click here.

Skyhigh Security

Add BIN Validator

BIN Validator uses the Luhn 10 Validation Algorithm which helps to validate Bank Identification Numbers (BIN). BIN numbers are the first four to six-digit numbers on a payment card that identify the financial institution that issues the card. BINs can be found on various payment cards, including credit cards, charge cards, and debit cards. BIN Validator enables users to add individual BINs or import up to a maximum of 500 BINs from a CSV file. The Luhn 10 Validation Algorithm will then determine whether the provided BINs are valid or invalid based on the following criteria: 

  • BIN must be an integer.
  • BIN length must be between 1 to 6 digits. 
  • BIN must contain unique values and should not be duplicated.

Defining BINs in the custom Advanced Pattern allows you to add the Luhn 10 Validation Algorithm to your custom regex patterns that identify, validate, manage, and classify sensitive data such as Credit Card or Debit Card Numbers. Applying Data Loss Prevention (DLP) policies for the custom classification protects sensitive data from unauthorized access and can help prevent fraudulent activities.

Add BIN Validator to Custom Advanced Pattern

To add a Luhn 10 Validation Algorithm and BINs for your custom Google RE2 Expressions, perform the following activities:

  1. Go to Policy > DLP Policies > Classifications
  2. Click Actions > Create Classification
  3. Classification Name. Enter a name for the classification. For example, Confidential Data.
  4. Add description. Enter an optional description to describe its use or purpose.
  5. Category. Select a Category from the list. For example, Sensitive.
  6. Conditions. Click Select Criteria and choose Advanced Pattern. The Select Advanced Patterns cloud card displays.
    • Count each match string only one time.  When you select this checkbox, a string that matches the advanced pattern in the advanced pattern rule will not be counted again. To learn more about the use case, see Count each match string only one time feature

NOTE:  If you enable the Count each match string only one time checkbox, the unique match criteria apply to each advanced pattern in the classification. For example, if your classification has two advanced patterns with the same regular expression, then the classification will trigger two separate matches for the same regular expression.

 

  1. Click New.

    clipboard_e5f603257c0ba36e61c1cdb0678a5cd5a.png
     
  2. Enter a name and optional description for your custom Advanced Pattern.
  3. Click Add Regex or AI RegEx Generator to define the custom regular expressions. The generated regex expressions are added to Google RE2 expression.
  4. Click No Validation to open the Select Validation Algorithm cloud card.
  5. To add Luhn 10 Validation Algorithm and BINs for your custom regular expressions, click Add BIN Validator. 

    clipboard_eaa35d37321f574d7a313f58f33a2e762.png
     
  6. On the Luhn 10 Validation Algorithm cloud card, configure the following:
    • Luhn 10 Validator Name. Enter a name for the Luhn 10 Validator. For example, Rupay Credit Card Validation.
    • Add description. Enter an optional description to describe its use or purpose.
    • Filter by BIN. Once you enter BINs, you can filter the BINs to narrow your search.

      clipboard_e9dbe8879aee03c2ac44ad22b93441e47.png
       
    • To add the individual BINs, click Add BIN.
    • To import BINs in bulk from the CSV file, click the three-dot menu and select Import.csv. You can import up to a maximum of 500 BINs from a CSV file.

NOTES:

  • The BIN must be an integer and the BIN length must be between 1 to 6 digits. If you attempt to exceed the BIN length, an error message displays as an Invalid value and you cannot save the classification. 
  • BIN must contain unique values and should not be duplicated. If you attempt to add a duplicate BIN value, an error message displays as an Invalid value and you cannot save the classification. 
  • The CSV file used to import BINs should contain a header row with the word "bin" and it should be updated before adding the list of BINs on a separate line of the CSV file.

 

clipboard_e18de7b38db07ac23597bc294027ee787.png
 

  • Click Save.
  1. The new Luhn 10 Validation Algorithm is added to the Select Validation Algorithm list. Select the new Validation Algorithm and click Done.

    clipboard_e56cbbc45e6657137c6cc52b6121e95e0.png
     
  2. The new Validation Algorithm is added to the Custom Advanced Pattern list and click Save.

    clipboard_e20b00f9301fad4ab85bdd964393dae07.png
     
  3. The new Custom Advanced Pattern is added to the Select Advanced Patterns list. Select the new Custom Advanced Pattern and click Done.

    clipboard_e0559658403085a2f45c555536377f712.png
     
  4. The new Advanced Pattern is added to the Classification editor, Optionally, you can edit the threshold by clicking [1]. Enter a number to indicate the weight of the Advanced Pattern in threshold matching and click Save.

    clipboard_e0a6a9c262da95edfbbb4370e891bd021.png
     
  5. Add more classification conditions as needed and click Save.

Your custom classification with the BIN validator is saved to the selected category in the Classifications list. Add the classification to your DLP policies as needed.​​​​​​

  • Was this article helpful?