Updated on 2024-06-28 GMT+08:00

Enabling Application Protection

To protect Java applications on Linux servers, enable application protection for the servers. HSS will install the RASP plug-in on the servers, and you will need to configure startup parameters.

Procedure

  1. Log in to the management console.
  2. In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
  3. Choose Server Protection > Application Protection. Click the Protected Servers tab.

    If your servers are managed by enterprise projects, you can select an enterprise project to view or operate the asset and scan information.

    Figure 1 Viewing protection settings

  4. Click Add Server. Select servers in the dialog box that is displayed.

    You can select a default security policy or create a security policy.

    Figure 2 Selecting the target server and policy

  5. Click Add and Enable Protection.
  6. On the Protected Servers tab, click the status in the RASP Protection column.

    Figure 3 Viewing the progress of enabling protection

  7. Check the RASP software installation progress. Wait until the message "Installation completed." is displayed.

    Figure 4 Installation completed

  8. Log in to the server, go to the Spring Boot startup path, and copy the parameters from the Configure Startup Parameters step to the command box.

    Figure 5 Configuring startup parameters

  9. Restart the microservice to apply the protection settings.
  10. On the Protected Servers tab, check the protection status in the Microservice Protection column. If the status is Active, the protection has been enabled.