Lucent Sky AVM supports multiple runtimes (also called application servers), and use the appropriate runtime to scan different applications.
Choosing an appropriate runtime allows Lucent Sky AVM to scan an application effectively. Lucent Sky has several common runtimes built-in, such as different versions of .NET and JDK. Users can use these built-in runtimes, or upload a custom runtime (for example, JDK with a specific version of Jboss). Runtime is set at the application level, and new scans will inherit the application's runtime setting.
This article describes how to scan an application using a specific runtime.
In this article, you will learn how to:
- Create the archive file of a runtime.
- Create a runtime using the Web UI.
- Edit a runtime using the Web UI.
- Delete a runtime using the Web UI.
- Choose a runtime for a new application.
- Change the runtime for an existing application.
At the end, you will be able to create, edit, and delete a runtime using the Web UI, and choose a runtime for an application.
Create the archive file of a runtime
-
In File Explorer, navigate to the directory containing the libraries of the runtime you want to upload.
- Custom runtimes are supported on .NET and Java applications. Custom runtimes for JDK may also contain an application server that will be used in the build process.
- If the runtime only contains library files and not an application server, then all library files to be used (such as .dll, or .jar files) should to be in the root directory. Library files not in the root directory will not be used in the later steps.
- If the runtime contains an application server that will be used in the build process, the root directory must contains a lib directory with at least one file.
- Select all library files (such as .dll or .jar files) and directories (such as lib) to include in the custom runtime.
- Create an archive file with the library files at its root directory.
Create a runtime using the Web UI
- Open the Web UI using a browser and sign in with your credentials.
- Select Settings in the upper-right corner, then select Runtimes on the left.
- Select Create and upload a new runtime, then enter the name of the runtime, choose its framework and version.
- If the runtime contains an application server that will be used in the build process, select Replace built-in.
- If the runtime requires a specific build tool, enter the build tool. If the framework is .NET, possible values are framework (and its deprecated equivalent managed) and visualstudio; if the framework is Java, possible values are ant, gradle, maven, and sbt.
- If the runtime requires a specific non-Unicode encoding, enter the encoding.
- Select the runtime archive file you created previously, then select Create runtime.
Edit a runtime using the Web UI
- Open the Web UI using a browser and sign in with your credentials.
- Select Settings in the upper-right corner, then select Runtimes on the left.
- On the runtime you want to edit, select Edit.
- Update the information in the edit window, then select Save to save the changes. You can also select Cancel or Delete runtime to cancel the change or delete the runtime. Note that only the name of the runtime can be edited. If you want to update the content of the runtime, create a new runtime and edit the applications to use the new runtime.
Delete a runtime using the Web UI
- Open the Web UI using a browser and sign in with your credentials.
- Select Settings in the upper-right corner, then select Runtimes on the left.
- On the runtime you want to edit, select Delete.
- To delete the runtime, enter yes in the confirmation textbox, then select Delete. Once a runtime has been deleted, all applications using that runtime will use the system's default runtime instead.
Choose a runtime for a new application
- Open the Web UI using a browser and sign in with your credentials.
- Select New application, enter the name of application and choose its framework, then select More options.
- In the expanded options, choose the appropriate runtime in the Runtime drop-down list, then select Create to create the application.
Change the runtime of an existing application
- Open the Web UI using a browser and sign in with your credentials.
- On the application you want to modify, select Edit, then select More options.
- In the expanded options, choose the appropriate runtime in the Runtime drop-down list, then select Save to create the application. Note that this modification only affect future scans of this application and does not impact previous scans.