--- title: "Create and define a custom vulnerability assessment test" slug: "create-and-define-a-custom-vulnerability-assessment-test" tags: ["Product Usage", "DS 10.x", "Database Security"] updated: 2026-09-10T15:21:27Z published: 2026-09-10T15:21:27Z canonical: "docs.trellix.com/create-and-define-a-custom-vulnerability-assessment-test" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Create and define a custom vulnerability assessment test In addition to using the predefined VA tests, create customized VA tests to suit your organizational needs. Add these custom tests to the preconfigured test groups. 1. On the **VA Tests** page, click **Create New VA Test**. 2. In the **Test Name** field, enter a name for the test. The name entered clearly reflects the nature of the test. 3. From the **Result Type** drop-down list, select the type of test results to return. 4. In the **Test** field, enter the test parameters in SQL command format. For example, this **DBMS Result Set** test would return a list of users granted the DBA role when run on an Oracle database: `select * from dba_role_privs where granted_role = 'DBA'` This Yes/No command would return a Yes result if dynamic SQL is detected in Oracle outside of SYS: `select 'yes' from dual where exists (select 1 from dba_source where upper(text) like '%EXECUTE IMMEDIATE%' and owner <> 'SYS');` 5. From the **Level** drop-down list, select the level of severity to assign to test results. 6. From the **Test Category** drop-down list, select **Custom** or **Data Discovery**. **Data Discovery** is used when the rule is designed to discover particular tables or columns in the database. Choosing this category is essential so that you can later turn the results into rule objects. 7. In the **Test Groups** field, enter the test groups name or enter a space in the field to select test groups from the drop-down list. 8. In the **System Test Groups**, under **All System Groups** list, select one or more test groups to include in the operating system test, then click ![GUID-B56AB1E3-93B6-412E-9193-62D939C2837D-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-aabac432-b8fc-1b96-3614-42ea1e2ded0a(1).png?sv=2026-02-06&spr=https&st=2026-11-22T14%3A21%3A13Z&se=2026-11-22T15%3A21%3A13Z&sr=c&sp=r&sig=WjNkIquPvvvTdkEV0vPq3ciNI8rlp%2FUxbdOr7xyxoXE%3D) to move them to the **Selected System Groups** list. > [!NOTE] > Note > > To remove a test group from the **Selected System Groups** list, select it, then click ![GUID-EEBB1051-A616-46E2-A77C-60115E51DAF1-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-cf315af6-ca4b-2441-9ebf-c90306a248e5(1).png?sv=2026-02-06&spr=https&st=2026-11-22T14%3A21%3A13Z&se=2026-11-22T15%3A21%3A13Z&sr=c&sp=r&sig=WjNkIquPvvvTdkEV0vPq3ciNI8rlp%2FUxbdOr7xyxoXE%3D) to move it to the **All System Groups list**. 9. (Optional) To exclude the test from running on one or more DBMSs, click **Remove test from DBMS**, then select the DBMSs to exclude. Click **Select**. 10. (Optional) Select the **Report test failures to VA scan error log**. 11. (Optional) In the **Description** field, enter a free text/description or test. 12. (Optional) In the **Memo** field, add a advisory memo or an action note. 13. Click **Save**. The test is added to the custom tests list.