Copy a pack

Server: https://{kibana_url}
  • POST /api/osquery/packs/{id}/copy
  • POST /s/{space_id}/api/osquery/packs/{id}/copy

Refer to Spaces for more information.

Create a copy of a query pack with a unique name by appending a _copy suffix. If the name already exists, a numeric suffix is added (e.g., _copy_2). The copied pack is always created with enabled set to false.

Path Parameters

id string required

The ID of the pack to copy.

Response