---
title: "List All Alert Profiles"
method: GET
path: "/api/v2/AlertProfiles"
tags: ["AlertProfiles"]
---

# List All Alert Profiles

`GET /api/v2/AlertProfiles`

Get all the alert profiles for the current user by invoking the following endpoint:

  > `GET https://YourAccount.lacework.net/api/v2/AlertProfiles`

## Headers

- `Authorization` string, required
- `Content-Type` string, required

## Response `200`

No Error (List of Alert Profiles)

- object
  - `data` AlertProfilesResponseSchema[]
    - `alerts` object[], required — An alert is a definition of content to create from the results of a resource's policy violation. The event name, subject, and description contained in the alert appear in pushed alerts and in the FortiCNAPP Console.
      - `name` string, required — A name that policies can use to refer to this definition when generating alerts
      - `eventName` string, required — The name of the resulting alert
      - `description` string, required — Summary of the resulting alert
      - `subject` string, required — A high-level observation of the resulting alert
    - `alertProfileId` string, required — Unique id within customer account for Alert Profile
    - `extends` string, required — Base FortiCNAPP defined Alert Profile to inherit properties
    - `fields` object[] — A field is a declaration of a field to be mapped in from an LQL query. Only LQL result fields that are declared as an alert profile field are mapped into event details and alerts. Fields returned by a query that are not listed as an alert profile field won't be mapped into event details and alerts.
      - `name` string — Name of the field
    - `descriptionKeys` object[] — A description key is a placeholder variable that you can use in an alert definition's subject and/or description. Description keys can refer to LQL query result fields and can also refer to other available data (such as metadata, like the name of a policy). Only description keys can be referred to by an alert definition. A field must be used in a description key to be available in an alert.
      - `name` string — Name of the description key
      - `spec` string — Specification of the description key

## Other responses

- `4XX` — Client Error
- `5XX` — Internal Server Error

---

[API](https://skmtc.net/lacework/apis/forticnapp-api-2-0-documentation.md) · [All operations](https://skmtc.net/lacework/apis/forticnapp-api-2-0-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lacework/forticnapp-api-2-0-documentation/revisions/7015f76895f2/schema)
