To run Synopsys Detect on an air-gapped computer or network, you must first download and install files that Synopsys Detect normally downloads as it runs. These include inspectors for Docker, Gradle, and NuGet.
As an alternative, you can create an air gap archive by running Synopsys Detect with the -z or --zip command-line option. The archive created contains the Synopsys Detect .jar and the inspectors. The -z or --zip command-line option creates an air gap zip that you can use with the detect.*.air.gap.path arguments for running Synopsys Detect offline. Optionally you can follow --zip with a space and an argument (for example: --zip GRADLE) to customize the air-gap zip. Possible values are as follows:
ALL (produce a full air gap zip; the default)
NUGET (include only the NUGET inspector)
GRADLE (include only the GRADLE inspector)
DOCKER (include only the Docker Inspector)
Running in air-gap mode
Before running Synopsys Detect in air-gap mode, unzip the air-gap archive to create the air gap directory.
To run Synopsys Detect in air-gap mode, invoke the Synopsys Detect .jar file at the top level of the air gap directory. Refer to Running the Synopsys Detect .jar for more information.
To run Synopsys Detect using the Gradle inspector, set the Gradle Inspector air gap path.
To run Synopsys Detect using the NuGet inspector, set the NuGet Inspector air gap path.
To run Synopsys Detect using the Docker inspector, set the Docker Inspector air gap path.