Configure EDM CLI App Connectivity to Enterprise DLP
Focus
Focus
Enterprise DLP

Configure EDM CLI App Connectivity to Enterprise DLP

Table of Contents

Configure EDM CLI App Connectivity to Enterprise DLP

Configure connectivity between the Exact Data Matcing (EDM) CLI app and Enterprise DLP on your local device.
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)
  • 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
To configure connectivity to Enterprise Data Loss Prevention (E-DLP), you must create an access token and then configure the upload_config.properties file included with the EDM CLI app. The access token you create is how Enterprise DLP authenticates you and understands which DLP user is uploading an EDM data set to Enterprise DLP. If you use a proxy server to connect to the internet, you must enter the proxy server details in the upload_config.properties file as well to successfully upload an EDM data set.
  1. Access the Common Services Identity and & Access settings and add a Service Account to generate the Client ID and Client Secret.
    If you already have a Service Account created, you can Reset Client Secret to recover a lost Client Secret.
    • The Client ID and Client Secret are used to authenticate and connect the EDM CLI app to Enterprise DLP.
      When you create the Service Account, the Client ID and Client Secret are displayed in the Client Credentials. You can manually copy the Client Credentials or Download CSV File to download the Client Credentials in plaintext locally to your device.
    • The service account must be assigned a role to upload EDM data sets to Enterprise DLP. EDM data set uploads fail if the service account does not have a role assigned with write access privileges to Enterprise DLP.
      You can assign any predefined role on Strata Cloud Manager or a predefined or custom role specific to the Enterprise DLP app on Strata Cloud Manager.
      If you're creating a service account only for EDM data set uploads, Palo Alto Networks recommends assigning the DLP Policy Administrator role for the Enterprise DLP app. The service account uploading EDM data sets to Enterprise DLP requires write privileges to successfully upload.
  2. Set Up the EDM CLI App.
    Download EDM CLI app version 3.0 or later version to upload an EDM data set to a TSG-supported tenant.
    Download EDM CLI app version 3.5 or later to create an encrypted EDM data set in an air gapped environment.
  3. On the local device where you downloaded the EDM CLI app, navigate to and open the upload configuration file.
    The upload configuration file is bundled with the package-edm-secure-cli-<version>-<platform>.zip file contents you extracted when you set up the EDM CLI app.
    The name of the upload configuration file for Linux and Windows versions of the EDM CLI display as:
    • Linuxupload_config.properties
    • Windowsupload_config
  4. Configure the upload configuration file to enable connectivity to Enterprise DLP.
    • EDM CLI App Version 3.0
      1. In the have_access_token_refresh_token field, enter no.
      2. Add the client_id and client_secret.
      3. (Proxy server only) Configure the proxy server settings.
        Skip this step if a proxy server isn’t required for the local device to connect to the internet.
        • Specify whether the local device uploading the EDM data set to Enterprise DLP requires a proxy server to the connect to the internet.
          If a proxy server isn’t required, enter no (default).
          If a proxy server is required, enter yes.
        • Enter the proxy_host_name and proxy_port_number.
        • Enter the proxy_user_name and proxy_password.
      4. Enter the dataset_name for the EDM data set you want to upload. The data set name entered here is used in Strata Cloud Manager for the uploaded EDM data set.
      5. Save the changes to the upload configuration file.
    • EDM CLI App Version 3.1 and Later
      1. In the have_access_token_refresh_token, enter no.
      2. Add the client_id and client_secret.
      3. (Proxy server only) Configure the proxy server settings.
        Skip this step if a proxy server isn’t required for the local device to connect to the internet.
        • Specify whether the local device uploading the EDM data set to Enterprise DLP requires a proxy server to the connect to the internet.
          If a proxy server isn’t required, enter no (default).
          If a proxy server is required, enter yes.
        • Enter the proxy_host_name and proxy_port_number.
        • Enter the proxy_user_name and proxy_password.
      4. Enter the dataset_name for the EDM data set you want to upload. The data set name entered here is used in Strata Cloud Manager for the uploaded EDM data set.
      5. (FedRAMP only) Configure the FedRAMP settings.
        Skip this step if not uploading to a FedRAMP Enterprise DLP environment.
        • In the fed_ramp field, enter yes if uploading an EDM data set to a FedRAMP Enterprise DLP environment.
        • In the fed_ramp_level field, enter the FedRAMP impact level (moderate or high)
      6. Save the changes to the upload configuration file.
  5. (Air Gapped Environments only) Create the environment.properties file to instruct the EDM CLI app to skip checking for a connection to Enterprise DLP.
    Requires EDM CLI app version 3.5 or later version.
    By default, the EDM CLI app connects to Enterprise DLP each time you create an encrypted EDM data set to verify the CLI app version. Encrypted EDM data set creation fails when running an unsupported EDM CLI app version or if the EDM CLI app can't connect to Enterprise DLP.
    The EDM CLI app version 3.5 and later check for the existence of environment.properties file every time you create an encrypted EDM data set. The environment.properties file instructs the EDM CLI app to skip connecting to Enterprise DLP to allow you to create the encrypted EDM data set.
    1. In the same folder as your other EDM CLI app config files, create the following new configuration file with the exact file name provided below.
      environment.properties
    2. Enter the following:
      skip_dlp_api_call_for_create_cmd=true
    3. Save the changes to the environment.properties file.