---
updatedAt: 2026-05-12T10:01:06.000Z
---

# Retrieve a custom policy

This operation returns an object containing information about the specified vulnerability custom policy.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "x-explorer-enabled": false,
  "info": {
    "title": "Vuln Custom Policy API (Legacy)",
    "license": {
      "name": "(c) Copyright 2020 WhiteHat Security"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://sentinel.whitehatsec.com"
    }
  ],
  "paths": {
    "/api/vuln_custom_policy/{id}": {
      "get": {
        "tags": [
          "Vuln Custom Policy API v1.0"
        ],
        "summary": "Retrieve a custom policy",
        "description": "This operation returns an object containing information about the specified vulnerability custom policy.",
        "operationId": "getParticularVulnCustomPolicy",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Custom policy id.",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "format",
            "in": "query",
            "description": "Format of results.",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "string",
              "default": "json",
              "example": "json",
              "enum": [
                "json"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Provides the information about custom policy for the specified policy ID.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VulnCustomPolicyResponse"
                }
              }
            }
          },
          "400": {
            "description": "BadRequestResponse indicates a request with invalid parameters.",
            "content": {}
          },
          "401": {
            "description": "UnauthorizedResponse signals an unauthorized API access.",
            "content": {}
          },
          "403": {
            "description": "ForbiddenResponse signals a request for a resource that does not exist or is not authorized.",
            "content": {}
          },
          "500": {
            "description": "GenericError generic error.",
            "content": {}
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {
      "VulnCustomPolicyResponse": {
        "properties": {
          "customized_on": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "href": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "risk_scores": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "vuln_class_id": {
                  "type": "string"
                },
                "accepted": {
                  "type": "number"
                },
                "risk_score": {
                  "type": "string"
                }
              }
            }
          },
          "customized_by": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      }
    }
  },
  "x-readme": {
    "proxy-enabled": true
  }
}
```