---
title: "# Detection Content Rules"
method: GET
path: "/v1/mitigation/detection-content/{source}/rules"
tags: ["Mitigation"]
---

# # Detection Content Rules

`GET /v1/mitigation/detection-content/{source}/rules`

Returns the rules of the account for the provided content source.

## Path parameters

- `source` string, required

## Query parameters

- `limit` integer
- `offset` integer
- `search` string
- `orderBy` string
- `asc` boolean
- `ruleSeverity` string[]
- `logSources` string[]
- `alerted` boolean
- `threats` integer[]
- `type` string

## Response `200`

RulesResponse

- object
  - `pagination` PaginationDTO
    - `currentPage` integer
    - `currentPageSize` integer
    - `pageSize` integer
    - `totalCount` integer
    - `totalPageCount` integer
  - `rules` RuleDTO[]
    - `actions` IdNameInfoDTO[]
      - `id` integer
      - `name` string
    - `id` string
    - `mitre` TechniqueInfoDTO[]
      - `mitreId` string
      - `name` string
      - `url` string
    - `name` string
    - `releaseDate` integer
    - `score` integer
    - `severity` string
    - `type` string
    - `updateDate` integer

## Other responses

- `422` — validationErrorSwagger is represents the erroneous cases
- `default` — genericErrorSwagger is represents the erroneous cases

---

[API](https://skmtc.net/picussecurity/apis/picus-rest-api.md) · [All operations](https://skmtc.net/picussecurity/apis/picus-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/picussecurity/picus-rest-api/versions/cb0d02ee28f8/schema)
