v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

List endpoint exceptions

Returns a list of all the endpoint protection exceptions

get/endpoint-protection/{ecosystem}/exceptions

Path parameters

ecosystem'npm' | 'pypi' | 'vscode' | 'open_vsx' | 'maven' | 'nuget' | 'chrome' | 'golang' | 'skills_sh' required

The ecosystem to list the exceptions for

Response

A list of all the endpoint protection exceptions for an ecosystem

idinteger

The ID of the exception

ecosystemstring

The ecosystem of the exception

package_namestring

The name of the package

status'allowed' | 'blocked'

The status of the exception. 'allowed' means the package is allowed to be installed, 'blocked' means the package is blocked from being installed.

permission_group_idinteger

The ID of the permission group related to the exception

permission_group_namestring

The name of the permission group related to the exception

bypass_default_minimum_allowed_ageboolean

Whether the exception bypasses the default minimum allowed age on installation. This is only applicable for allowed exceptions.

Example response

[
  {
    "id": 1,
    "ecosystem": "npm",
    "package_name": "lodash",
    "status": "allowed",
    "permission_group_id": 1,
    "permission_group_name": "Default",
    "bypass_default_minimum_allowed_age": false
  },
  {
    "id": 2,
    "ecosystem": "npm",
    "package_name": "lodash",
    "status": "blocked",
    "permission_group_id": 2,
    "permission_group_name": "Sales"
  }
]