Upgrading or updating the AppScan 360° platform
- Update the current version
- Upgrade to a new version of AppScan 360° without migrating data
- Upgrade to a new version of AppScan 360° and migrate data
- Upgrading AppScan Remediation Advisories only
- Upgrading or rolling back AppScan 360° using Helm
Update the current version
- Update the
singular-singular.clusterKit.propertiesfile. See Preparing the configuration file for file parameters. - From the folder location that contains the extracted
kit,
type:
./setup.sh $PWD/..
Upgrade to a new version of AppScan 360° without migrating data
Perform an upgrade only when there are no active scans running.
Upgrade to a new version of AppScan 360° and migrate data
To upgrade AppScan 360° version 1.2 or later to a newer version:
Data is migrated automatically.
- Make a backup of
singular-singular.clusterKit.propertiesif you want to maintain the same configuration. - Download the new AppScan 360° installation package from MyHCLSoftware.
- Install AppScan 360° as described in Installing the platform and ASRA together.Note: When upgrading the installation, use
--target <newfolder>. Upon upgrading successfully, delete previous installation folders to free up space.When it's complete you receive confirmation that the AppScan 360° update is installed and ready to use.
Upgrading AppScan Remediation Advisories only
- Download the new AppScan 360° installation package from MyHCLSoftware.
- Provide executable permission to the installer by
running
chmod +x <PATH-OF-INSTALLER/APPSEC-INSTALLER-FILENAME> - Run the installation file, specifying registry
information in the command line.For example:
AppScan360_v1.6.0_ASRA.run -- [registry information] -f ~/.docker/config.jsonYou can specify registry information in one of three ways:- Directly. For
example:
./AppScan360_v1.6.0_ASRA.run -- -server <registry[:port]> -f ~/.docker/config.jsonThis method pushes the AppScan Remediation Advisories image to the registry and installs Helm. It does not attempt to create a secret, but verifies that a secret is available in the cluster.
- From the configuration file specified during
ASCP
installation. For
example:
./AppScan360_v1.6.0_ASRA.run -- -config <singular-singular.clusterKit.properties> -f ~/.docker/config.jsonThe method pushes the AppScan Remediation Advisories image to the registry and installs Helm, and creates or replaces the secret.
- From a separate configuration file. For
example:
./AppScan360_v1.6.0_ASRA.run -- -file <docker_config_file> -f ~/.docker/config.jsonThis method The method pushes the AppScan Remediation Advisories image to the registry and installs Helm, uses the config file as input to create a
secret.yamlfile for Helm, and removes any existing secret in the cluster.If you choose to use a separate configuration file, the file must contain the following information:-
CK_DOCKER_REGISTRY_ADDRESS=<registry[:port]> -
CK_DOCKER_REGISTRY_USERNAME=<username> -
CK_DOCKER_REGISTRY_PASSWORD=<password>
-
- Directly. For
example:
- When installation is complete, you see an appropriate message:
Upgrading or rolling back AppScan 360° using Helm
- From inside the cloned repository,
run:
git pull
- Review available
versions:
helm history <release-name> -n <namespace>Where<release-name>and<namespace>refer to AppScan 360° components and their relative locations in the repository:- AppScan Central Platform
<release-name>:appscan360-ascp<namespace>:hcl-appscan-ascp
- AppScan Remediation Advisories
<release-name>:asra<namespace>:hcl-asra
- AppScan Central Platform
- Specify the version to which to
rollback:
helm rollback <release-name> <revision-number> -n <namespace>