Configuring a PAC file

If a proxy auto-config (PAC) file is required in order to reach the various domains in your site, configure the AppScan Presence as follows.

Before you begin

PAC is supported only when for Windows OS. It is not supported on Linux.

Procedure

  1. In the root folder of the presence, locate settings.json and open it with a text editor.
  2. Set the PAC file URL (can be either HTTP or HTTPS):
    For example, you would need to change:
    //"PACFileUrl": "http://example.com/a.pac",
    to
    "PACFileUrl": http://example.com/sample.pac,
    Important: For DAST scans: The Starting URL must be reachable using the PAC file.
    Note: Configuring both a Private Site Server proxy and a PAC file is not supported.
  3. If the Presence is running, terminate it (Ctrl + C) for the changes to take effect.
  4. Start the Presence or, if the Presence is running as a service, stop and start the service.