Downloading and deploying .NET IAST agent type

You can deploy an IAST agent on the tested application's web server that supports Java, .NET, or Node.js based applications. This section explains about creating .NET IAST agent type on your web server.

Before you begin

  • You have to create an application in the Portfolio tab of the Monitor view in AppScan Enterprise. For more information on creating application in AppScan Enterprise, see Creating an application.

About this task

This section helps you create .NET based IAST agent type on the tested application's web server.

Procedure

  1. Log in to the AppScan Enterprise Server application.
  2. Go to the Monitor page > Portfolio tab to view the list of applications available.
  3. Click the application to which you want to download an IAST agent.
    The application page is displayed. For more information on creating an application, see Creating an application
  4. On the left pane, click the IAST Agents.
    The IAST agents page is displayed on the right-pane.
  5. Click Create a new Agent.
    The Getting started with IAST page is displayed.
  6. Click Create a new Agent.
    The IAST agent creation page is displayed.
  7. From the Agent Type drop-down list, select .NET.
  8. In the Agent Name box, enter a unique name for the agent you are creating for the application. The agent name can contain alphanumeric and special characters with a length of maximum 30 characters.
  9. Click Download Agent.
    Note: You must use the NuGet Package Manager to add the IAST agent to your application.
  10. To add the .NET IAST agent type to your application using NuGet Package Manager through Visual Studio, perform the following:
    1. Open Visual Studio.
    2. Go to Menu > Tools > Options > NuGet Package Manager > Package Source
    3. Select the folder containing SecAgent package.
    4. Click the + sign and give the new source a name.
    5. In the Solution Explorer, right-click on the project you want IAST to monitor, and click Manage NuGet Packages.
    6. Type com.HCL.AppScan.IAST.agent in the search bar and select first package in the results.
    7. Click Install.
  11. Start your application.
    The IAST agent is installed.

Results

As you use or test your application (run functional tests, run a Dynamic Scan, or explore the app manually), the IAST Agent monitors the requests as they are sent, and reports on security issues it finds.