---
title: "Retrieve the default list of available risks to add to a given TestSuite"
method: GET
path: "/test-suites/detected-risks"
tags: ["test-suites"]
---

# Retrieve the default list of available risks to add to a given TestSuite

`GET /test-suites/detected-risks`

Requires the privilege [`TEST_SUITES_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)

## Response `default`

default response

- RiskResponse[]
  - `name` string
  - `id` string
  - `mappingExpression` string
  - `evaluationExpression` string
  - `document` string
  - `summary` string
  - `queryType` 'KUBERNETES_OBJECT' | 'AGENT' | 'AWS_LOAD_BALANCER' | 'AWS_AUTO_SCALING_GROUP' | 'GCP_BACKEND_SERVICE' | 'AZURE_APPLICATION_GATEWAY'
  - `disabled` boolean

## Other responses

- `401` — Authorization header missing or malformed. Please provide proper credentials in the authorization header.
- `403` — User requires privilege: TEST_SUITES_READ

---

[API](https://skmtc.net/gremlin/apis/gremlin-api.md) · [All operations](https://skmtc.net/gremlin/apis/gremlin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gremlin/gremlin-api/revisions/36ee938323f0/schema)
