Importing an application or environment

After exporting an application or environment definition (.tar file), you can import it into a new Compliance center instance as part of a migration or replication process. Upon import, the data is reassessed and appears in your Inventory.

Attention: To ensure the security and integrity of your organization's data and resources, it is recommended that you get approval from your CISO or security team before exporting, storing, or sharing Compliance center data.

Before you begin

  • You must have Admin access to the Compliance center instance.
  • Refer to Exporting an application or environment for instructions to export a .tar file containing the application or environment data.

Instructions

You can import an application or environment definition using the Compliance center API or from the user interface (UI).

To import an application or environment definition file using the API:

Use the following command to import a file Compliance center instance:

curl -k -X POST 'https://<concert-domain>/ingestion/api/v1/import_files' \
     -H 'Authorization: Bearer <token>' \
     -H 'Content-Type: multipart/form-data' \
     -H 'InstanceId: <InstanceId>' \
     -F 'file=@<filepath>'
 
To import an application definition file from the UI:
  1. In your Compliance center instance, click Inventory > Application inventory from the navigation.
  2. Click Define application > From exported file.
  3. Upload the relevant exported .tar file from the workstation.
  4. Click Upload.

Refresh the Applications inventory page to view the imported application definition.

To import an environment definition file from the UI:
Warning: If the name of the environment you import to Compliance center is the same as an existing environment, then the existing environment details get overwritten with new one.
  1. In your Compliance center instance, click Inventory > Environment inventory from the navigation.
  2. Click Define environment > From exported file.
  3. Upload the relevant exported .tar file from the workstation.
  4. Click Upload.

Refresh the Environment inventory page to view the imported environment definition.