Send CSV to Box
  • 2 Minutes To Read
  • Print
  • Share
  • Dark
    Light

Send CSV to Box

  • Print
  • Share
  • Dark
    Light

The Send CSV to Box action takes the saved query supplied as a trigger (or entities that have been selected in the asset table), creates a CSV file, and sends it to a specific path on Box.

To configure the Send CSV to Box action, from the Action Library, click Notify, and then click Send CSV to Box.

image.png

Connection Settings

  1. Box Platform private key configuration file (required) - The private key configuration file that provides the Required Permissions to fetch assets.
  2. Folder ID (required) - The folder ID. If the supplied folder ID is 0, the file will be created in the root folder of the app account. Otherwise, the file will be created in the supplied folder ID.
  3. File name (required, default: axonius_data) -The file name.
  4. Append date and time to file name (required, default: False)
    • If enabled, the date and time (in UTC) of enforcement action execution will be added as a suffix to the generated CSV file name. For example, axonius_data_2020-01-06-16:48:13.csv.
    • If disabled, the CSV file will be stored based on the specified/default file name.
  5. HTTPS proxy (optional, default: empty) - A proxy to use when connecting to Box Platform APIs.
    • If supplied, Axonius will utilize the proxy when connecting to Box Platform APIs.
    • If not supplied, Axonius will connect directly to Box Platform APIs.

APIs

Axonius uses the following BOX APIs:

Required Permissions

The values supplied in Box Platform private key configuration file refer to the generated private key configuration file for your Custom App using JWT authentication:

  1. Set up a Custom App - Set up a Custom App using JWT authentication. For details, see Box Guides - Setup with JWT.
  2. Create Box Platform private key configuration file - After a Custom App has been created to use JWT authentication, there is an option available in the Developer Console to have Box create a configuration file. This file will include the keypair as well as a number of other application details that are used during authentication.
    1. Click on the "Configuration" option from the left sidebar in your application and scroll down to the "Add and Manage Public Keys" section.
      image.png
    2. Click the "Generate a Public/Private Keypair" button to have Box generate a keypair. This will trigger the download of a JSON configuration file that you can move to your application code.
    3. Upload this file as the Box Platform private key configuration file.
  3. Application Scopes - The configured app must have the following application scopes:
    • Read all files and folders stored in Box
    • Read and write all files and folders stored in Box
      image.png

For more details on other Enforcements available actions, see Action Library.
For more details on Enforcement Set configuration, see Enforcement Set configuration.

Was This Article Helpful?