This method can be used for the following functionality: Get details for all projects this user has access to. with optional filter. This method can be used with optional filter.
Parameters
The following URL, Headers and Parameters are required for requests to this API endpoint. Where a parameter is optional, it will be indicated. Otherwise treat all parameters as mandatory.
Headers
GET /api/ss/projects HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/json
Connection: close
Query
skip (integer) (optional)
Number of records to skip. Default is 0 (do not skip any records).
Example:
GET /api/ss/projects?skip=10 HTTP/1.1
limit (integer) (optional)
Number of records to limit to. Default limit is 500. Max limit is 500.
Example:
GET /api/ss/projects?limit=100 HTTP/1.1
name (string) (optional)
Name of the project.
Example:
GET /api/ss/projects?name=Test Project HTTP/1.1
code (string) (optional)
Project code.
Example:
GET /api/ss/projects?code=Project123 HTTP/1.1
status (string) (optional)
Status of the project. Must be one of the following: Waiting-to-Start, Testing, Completed, On-Hold
Example:
GET /api/ss/projects?status=Testing HTTP/1.1
startDate (string) (optional)
Start date to query projects from. Must be UTC string e.g. 2021-06-03T23:15:33.008Z.
Example:
GET /api/ss/projects?startDate=2021-06-03T00:00:00.000Z HTTP/1.1
endDate (string) (optional)
End date to query projects to. Must be UTC string e.g. 2021-06-03T23:15:33.008Z.
Example:
GET /api/ss/projects?endDate=2021-06-03T00:00:00.000Z HTTP/1.1
asset_name (string) (optional)
Limit results to projects with scope that has these asset(s). Partial match search. Case insensitive by default.
Example 1 - One asset:
GET /api/ss/projects?asset_name=attackforge.com HTTP/1.1
Example 2 - Multiple assets:
GET /api/ss/projects?asset_name=attackforge.com&asset_name=api.attackforge.com HTTP/1.1
Example 3 - Case sensitive:
GET /api/ss/projects?asset_name=attackforge.com&assets_match_case=true HTTP/1.1
Example 4 - Exact match:
GET /api/ss/projects?asset_name=^attackforge.com$ HTTP/1.1
q (string) (optional)
Provides options to query a custom selection of projects.
The following example is a cURL request to get all projects with status 'Testing' which have a test window between 1st January 2020 to 1st February 2020.
Request
Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.