Test policies

The test policies is a list of web application security scan settings. You can select one of the predefined test policies available when running scans from the ASoC user interface, but other policies can be applied with imported scans or scans run from the API. You can also upload custom test policies that you created in AppScan Standard and AppScan Enterprise.

The number of possible AppScan tests for a site can reach thousands. Rather than manually filter the large number of tests and test variants, you can set a "policy" for the type of tests you want to be run on your application.

The test policy is configured in the DAST scan setup.

Predefined test policies

Policy Name

Description

Complete

Includes all possible tests.

Default

Includes all tests except invasive and port listener tests.

OWASP Top 10 2021

Includes all tests for the latest top 10 vulnerabilities categories mapped by OWASP.

OWASP Top 10 API Security Risks 2023

Includes all tests for the latest top 10 API vulnerability categories mapped by OWASP.

Production Site

Excludes invasive tests that might damage the site, or tests that might result in Denial of Service to other users.

Tip: If you apply Test Optimization to the scan configuration, some of the vulnerabilities in your selected policy may not be tested for. Therefore, if you selected the Complete test policy, and want all its tests to be sent, you should set Test Optimization to No optimization.

Add test policy

You can now add custom test policies that you created using AppScan Standard and AppScan Enterprise.

  1. On the Test policies page, click Add test policy.
  2. Enter the test policy name and optionally add a description.
  3. Click Select file and browse and open the policy file.
  4. Optionally you can set this policy as default test policy.
  5. Click Save.

The custom test policy is added and you can use this during the DAST scan setup.

See also: Test optimization FAQ