Products
Access Scan Tool information
List a collection of Scan Tools
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Page number to fetch (starting from 0)
0Example: 4Number of results per page
30Example: 50Resource name
NodeGoatOK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
GET /gateway/sto/api/v2/products HTTP/1.1
Host: app.harness.io
Accept: */*
{
"pagination": {
"link": "",
"page": 4,
"pageSize": 20,
"totalItems": 230,
"totalPages": 12
},
"results": [
{
"created": 1651578240,
"description": "OWASP 5.x SCA scanner",
"id": "abcdef1234567890ghijkl",
"isEnabled": true,
"lastModified": 1651578240,
"name": "owasp",
"prettyName": "owasp"
},
{
"created": 1651578240,
"description": "OWASP 5.x SCA scanner",
"id": "abcdef1234567890ghijkl",
"isEnabled": true,
"lastModified": 1651578240,
"name": "owasp",
"prettyName": "owasp"
},
{
"created": 1651578240,
"description": "OWASP 5.x SCA scanner",
"id": "abcdef1234567890ghijkl",
"isEnabled": true,
"lastModified": 1651578240,
"name": "owasp",
"prettyName": "owasp"
},
{
"created": 1651578240,
"description": "OWASP 5.x SCA scanner",
"id": "abcdef1234567890ghijkl",
"isEnabled": true,
"lastModified": 1651578240,
"name": "owasp",
"prettyName": "owasp"
}
]
}Find Scan Tool by ID
The ID of the Scan Tool to retrieve
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$OK response.
Information about a Scan Tool
Unix timestamp at which the resource was created
1651578240Scan Tool's description
OWASP 5.x SCA scannerResource identifier
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$'true' if this Scan Tool is enabled for use
trueUnix timestamp at which the resource was most recently modified
1651578240Name of the Scan Tool
owaspName of the Scan Tool
owaspBadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
GET /gateway/sto/api/v2/products/{id} HTTP/1.1
Host: app.harness.io
Accept: */*
{
"created": 1651578240,
"description": "OWASP 5.x SCA scanner",
"id": "abcdef1234567890ghijkl",
"isEnabled": true,
"lastModified": 1651578240,
"name": "owasp",
"prettyName": "owasp"
}Last updated
Was this helpful?