Configuring the Podman container with a license
A Podman container must be configured with a valid license before the container can be used to start a CLI session and perform scans. Specify the required license information in one of the following ways:
- Specify each variable in the container creation command as part of the
--envparameter (--env <name=value>). For example:podman run -it --rm --env AS_LICENSE_URL=<license_server_url> hcl/appscan/source/cli:10.10.0Note: See Supported configurations when creating a container for details on supported configuration variables. - Specify one or more supported variables in a file as name value pair, then specify
file-pathas part of the--env-fileparameter (--env-file <file-path>). For example:- Create a file by specifying the variables as the file content:
> vi ./env.list > AS_LICENSE_URL=<license_server_url> - Specify the file in the container creation
command:
podman run -it --rm --env-file ./env.list hcl/appscan/source/cli:10.10.0
- Create a file by specifying the variables as the file content:
Note: As of version 10.3.0, AppScan®
Source supports containerization using
Podman. Since
Docker is not supported in Red Hat Enterprise Linux 8 and 9, use Podman if your host is
running RHEL 8 or 9. Podman supports all major Docker commands; replace Docker with
Podman in the examples in this topic to create containers and scan in the Podman
environment.