Create and Upload an Encrypted EDM Data Set Using a Configuration File
Focus
Focus
Enterprise DLP

Create and Upload an Encrypted EDM Data Set Using a Configuration File

Table of Contents

Create and Upload an Encrypted EDM Data Set Using a Configuration File

Use the Exact Data Matching (EDM) CLI app to create and upload an encrypted hash EDM dataset in CSV or TSV format using a configuration file.
Where Can I Use This?What Do I Need?
  • NGFW (Managed by Panorama or Strata Cloud Manager)
  • Prisma Access (Managed by Panorama or Strata Cloud Manager)
  • SaaS Security Inline
  • Data Security
  • Prisma AIRS
  • Prisma Browser
  • Enterprise Data Loss Prevention (E-DLP) license
    Review the Supported Platforms for details on the required license for each enforcement point.
Or any of the following licenses that include the Enterprise DLP license
  • Prisma Access CASB license
  • Next-Generation CASB for Prisma Access and NGFW (CASB-X) license
  • Data Security license
  • Prisma Pro
Create and upload an encrypted hash Exact Data Matching (EDM) dataset using a configuration file included with the EDM CLI app. The configuration file allows you to configure the upload parameters for upload ahead of time rather than manually entering each parameter at the time of upload. You can also quickly update an existing EDM dataset on Enterprise DLP when you configure the config.properties and upload_config.properties files.
  1. Create a Service Account for EDM Dataset Uploads.
    You must provide the service account Client ID and Client Secret to successfully authenticate the EDM CLI app and upload EDM datasets.
    (EDM CLI app 6.0 and later) If you encrypted your Client ID and Client Secret, you must provide the 32-byte AES encryption key for each to successfully authenticate the EDM CLI app and upload EDM datasets.
  2. Configure EDM CLI App Connectivity to Enterprise DLP.
    In the upload_config.properties file, you must enter a unique dataset name for EDM dataset you want to create and upload as the dataset_name. Upload to Enterprise DLP fails if you upload an EDM dataset with a dataset name that already exists.
  3. Review the Supported EDM Data Set Formats and prepare the EDM dataset for upload to Enterprise DLP.
  4. Navigate to the package-edm-secure-cli-<version>-<platform> directory and open the config.properties file.
  5. Configure the EDM dataset upload parameters.
    1. Enter the path of the EDM dataset for upload.
    2. Enter the delimiter used to specify boundaries between values in the EDM dataset.
      Enterprise DLP supports the delimiters listed for EDM dataset uploads. An EDM dataset can only use one delimiter.
    3. Enter the EDM dataset encoding method.
    4. Enter the error threshold percentage for the EDM dataset.
      The EDM CLI app does not create an encrypted version of the EDM dataset if it encounters errors exceeding the specified error threshold percentage.
    5. Specify whether the EDM dataset has a header row.
      Enter true if the EDM dataset includes a header row.
      Enter false if the EDM dataset does not include a header row.
    6. Specify whether to allow uploads of EDM datasets that include empty or blank cells.
      Enter true to allow rows that include empty or blank rows in an EDM dataset.
      Enter false to reject rows that include empty or blank cells in an EDM dataset.
    7. Specify whether the EDM CLI app should abort the EDM dataset upload if the EDM dataset includes more than the maximum number of cells supported.
      Enter true to upload the maximum number of dataset cells supported.
      Enter false to abort EDM CLI app if the EDM dataset has more than the maximum number of dataset cells supported.
    8. Map your columns using the supported Data Types Value to accurately map each column in your EDM dataset to a specific Data Type.
      Use the README.txt file packaged with the EDM CLI app to map your EDM dataset columns to the correct Data Type value.
      When you create a data profile on Strata Cloud Manager, you must add at least one column where the column values occurs up to 12 times in the selected EDM dataset for the Primary Field.
      When mapping your columns to a specific Data Type, be sure to include at least one column with up to 12 occurrences across the entire EDM dataset. Otherwise, Enterprise DLP is unable to match traffic against the EDM data profile you create using this EDM dataset.
    9. Select File and Save the configuration file.
  6. Upload the EDM dataset to Enterprise DLP.
    1. Open a terminal and navigate to the package-edm-secure-cli-<version>-<platform> directory where the EDM CLI app is located.
    2. Upload the EDM dataset to Enterprise DLP.
      • All Versions
        Windows
        admin:edm-secure-cli.bat create -u
        Linux
        admin:./edm-secure-cli.sh create -u
      • Encrypted using EDM CLI App 6.0 or Later
        Windows
        admin: edm-secure-cli.bat create -u --key /path/to/folder/<key-name>.key
        Linux
        admin:./edm-secure-cli.sh create -u --key /path/to/folder/<key-name>.key
      The EDM CLI app creates a secured copy of the EDM dataset and the EDM dataset begins uploading to Enterprise DLP.
    3. Verify that the EDM dataset uploaded successfully to Enterprise DLP.
      The EDM CLI app displays a progress bar and success message to notify you whether the upload is successful.
      During the upload process, the EDM CLI app connects to Enterprise DLP to verify that you created the output.zipfile using a supported EDM CLI app version. The upload to Enterprise DLP fails if you created the output.zip file using an unsupported EDM CLI app version.
  7. Monitor the upload status of the EDM dataset.
    The time it takes for an EDM dataset uploaded to Enterprise DLP to be available on Strata Cloud Manager depends on the EDM dataset size and internet connectivity speed. For example, a 4GB EDM dataset upload typically takes about 30 minutes to display on Strata Cloud Manager and be usable in a data profile.
    1. Log in to Strata Cloud Manager.
    2. Select ConfigurationData Loss PreventionDetection MethodsExact Data Matching.
    3. The EDM dataset upload is complete when the Indexing Status column displays Complete.