Excluding paths

Exclude certain paths in the application from the scan.

You can filter the scope of the automatic Explore stage by adding URLs (full paths, which may include queries) or Regular Expressions to the Excluded paths list. Possible reasons for doing this may be:

  • Because they are still under development and you know they are problematic and do not want to scan them right now
  • Because you know they are not problematic and you want to reduce scan time
  • To reduce scan time by restricting the scan to certain parts of the application

For any path defined, you can optionally limit the filter to one or more specific parameters. A possible reason for doing this may be:

  • For megascript applications (applications contained in a URL, and controlled by its parameters) where you want to exclude certain parameters (such as the login or log out parameter) from scans.

There are two types of entry in this table:

  • Exclusion: Listed paths are excluded from the scan.

    Any link that matches a path configured to be an exclusion is filtered out of the scan.

    Note: Alternatively, to exclude a path, go to Data view, right-click the path in the Application tree, and then click Exclude from Scan.
  • Exception: Use to include a specific directory within a path that was excluded higher up in the list.
    Note:
    • Use Exception only needed when you want to include a directory that is within a path that you have excluded. For example, if you have excluded: https://demo.testfire.net/bank you could then add https://demo.testfire.net/bank/transfer.aspx as an Inclusion, lower down in the list, to include that subdirectory in scans.
    • If you add Exclusions between the Explore and Test stages of scanning, AppScan® will not test the excluded paths even though they were explored.

Adding new exclusions or exceptions