Log in to IAST platform and download the agent of IAST in the Deploy IAST, and put the agent.jar file on the machine where the WEB server (middleware) is located, Ensure that the content where the agent.jar file is located has writable permissions, such as /tmp/
-
Enter the content where
tomcat
is located -
Edit the
catalina.sh
file under thetomcat/bin
content and add parameters:
CATALINA_OPTS=-javaagent:/path/to/server/agent.jar" "-Dproject.name=<project name>
-Note: -Dproject.name=<project name>
is an optional parameter, <project name>
should be consistent with the name of the created project, the agent will be automatically associated with the project; if you do not configure this parameter, you need to enter the project management for manual binding.