---
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

---

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