Exporting an application or environment
As needed, you can export an application or environment defined in your IBM® Sovereign Core Compliance center instance, and then import it into a new IBM Sovereign Core Compliance center instance as part of a migration or replication process. The output of the export will be a .tar file and is stored in the LZ bucket.
You can export the application SBOM, build SBOM, deploy SBOM, and package SBOM. For environments, the exported file includes basic environment details and related certificate data.
Before you begin
- You must have Admin access to the IBM Sovereign Core Compliance center instance, as well as access to the specific application or environment you are exporting.
You can export an application or environment definition using the IBM Sovereign Core Compliance center API or from the user interface (UI).
Instructions: Exporting an application or environment definition using the API
You can export a single or multiple application definition by specifying its name in the URL path.
- Use the following command to export an application definition. You can specify multiple application names using a comma-separated list.
curl -vvv '<concert_domain>/core/api/v1/export_applications' \ -H 'accept: application/json' \ -H 'InstanceId: <instance_id>' \ -H 'Authorization: Bearer <token>' \ -H 'Content-Type: application/json' \ -d '{ "names": ["<application_name>"], "exclude_digest": true/false, "exclude_commitsha": true/false }' -kNote: Record thetoc_idincluded in the response. You need this to download the exported file. - Download the exported
.tarfile:curl '<concert_domain>/core/api/v1/table_of_contents/job/<toc_id>/download' \ -H 'accept: application/json' \ -H 'InstanceId: <InstanceId>' \ -H 'Authorization: Bearer <token>' -k -O -J -L
The exported file is located in the LZ bucket.
You can export a single environment by specifying its name in the URL path.
- Export an environment:
curl -vvv '<concert_domain>/core/api/v1/environments/<env-name>/export' \ -H 'accept: application/json' \ -H 'InstanceId: <instance_id>' \ -H 'Authorization: Bearer <token>' \ -d '' -kNote: Record thetoc_idincluded in the response. You need this to download the exported file. - Download the exported
.tarfile:curl '<concert_domain>/core/api/v1/table_of_contents/job/<toc_id>/download' \ -H 'accept: application/json' \ -H 'InstanceId: <InstanceId>' \ -H 'Authorization: Bearer <token>' -k -O -J -L
The exported file is located in the LZ bucket.
Instructions: Exporting an application or environment definition from the UI
- In your IBM Sovereign Core Compliance center instance, select from the navigation.
- Click the Definitions tab in the sub-navigation to view a list of application definitions.
- Click to enable the check box(es) next to the relevant application definition(s).
- Click Export.
- Click View event status or select to view the exported file. Click the refresh icon, if needed.
- Click the overflow menu icon next to the exported file and select Download. The output is a
.tarfile downloaded to your workstation.
- Navigate to .
- Click the Definitions tab in the sub-navigation to view a list of environment definitions.
- Next to the desired environment definition, click the overflow menu icon and select Export.
- Click to view the status of the exported file. Click the refresh icon, if needed.
- Click the overflow menu icon next to the exported file and select Download. The output is a
.tarfile downloaded to your workstation.