---
title: "ReadMappingSecurityRules"
method: GET
path: "/v1/vhost/mapping/security-rule/"
tags: ["vhosts"]
---

# ReadMappingSecurityRules

`GET /v1/vhost/mapping/security-rule/`

List mapping security rules.

## Query parameters

- `id` string
- `name` string
- `allowedIp` string
- `blockedIp` string
- `createdBeforeAt` integer
- `createdAfterAt` integer
- `pageNumber` integer
- `itemsPerPage` integer
- `sortBy` string
- `sortDirection` string
- `lastSeenId` string

## Response `200`

OK

- DtoReadMappingSecurityRulesResponse
  - `mappingSecurityRules` EntityMappingSecurityRule[]
    - `allowedIps` string[]
    - `bandwidthBpsLimitPerConnection` integer
    - `bandwidthLimitOnlyAfterBytes` integer
    - `blockedIps` string[]
    - `createdAt` integer
    - `description` string
    - `id` integer
    - `maxConnectionsPerIp` integer
    - `name` string
    - `responseCodeOnMaxConnections` integer
    - `responseCodeOnMaxRequests` integer
    - `rpsHardLimitPerIp` integer
    - `rpsSoftLimitPerIp` integer
    - `updatedAt` integer
  - `pagination` GithubComGoinfiniteTkSrcDomainDtoPagination
    - `itemsPerPage` integer
    - `itemsTotal` integer
    - `lastSeenId` string
    - `pageNumber` integer
    - `pagesTotal` integer
    - `sortBy` string
    - `sortDirection` string

## Changes

- **2025-04-16** `657df1e5d872` — 2 info
  - added the new optional `query` request parameter `createdAfterAt`
  - added the new optional `query` request parameter `createdBeforeAt`
- **2025-04-15** `b7f207bdff30` — 1 info
  - endpoint added
- **2024-12-04** `d7ced1b11534` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/goinfinite/apis/osapi/changes/v1/vhost/mapping/security-rule/get.md)

---

[API](https://skmtc.dev/goinfinite/apis/osapi.md) · [All operations](https://skmtc.dev/goinfinite/apis/osapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goinfinite/osapi/revisions/7320a5d8ef9e/schema)
