For the complete documentation index, see llms.txt. This page is also available as Markdown.

Count Test Suites

Description

Returns the number of AttackForge testsuites matching the optional filter. A testsuite is a reusable methodology - a named, taggable collection of test cases that can be added to a project's testing plan or proposed on a project request. Use this when you only need a total - call find_testsuites to retrieve the records.

See Test Cases and Methodology for how testsuites, test cases and project test cases relate.

How To Enable

  1. Go to Users

  2. Select the user you would like to provide access to this tool

  3. Click on Access > MCP

  4. Click on Add Tools

  5. Select the tool count_testsuites and click Add

Example Prompts

  • How many testsuites do I have in AttackForge?

  • How many testsuites are available on project requests?

  • How many testsuites are tagged OWASP Top 10?

  • How many testsuites were created this year?

Parameters

Parameter
Type
Required
Description

filter

object

No

A MongoDB-style filter. Supported fields are listed below.

Supported filter fields:

Field
Type / Values

id

ObjectId('<24 hex>')

created, modified

ISO-8601 datetime

name

string

code

string

is_visible_on_project_requests

boolean - supports $eq, $ne and $exists only

tags

array of string

user_id

ObjectId('<24 hex>')

A testsuite can be used on project requests unless is_visible_on_project_requests is explicitly set to false - testsuites where it has never been set are usable. Matching on true covers both, so { is_visible_on_project_requests: { $eq: true } } needs no special handling.

Example Response

Last updated