v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-011189403.1 MB
packs

Upgrade a Pack

Upgrade the specified Pack.<br/><br/>If the Pack includes any user-modified versions of default Cribl Knowledge resources such as lookups, copy the modified files locally for safekeeping before upgrading the Pack. Copy the modified files back to the upgraded Pack after you install it with <code>POST /packs</code> to overwrite the default versions in the Pack.<br/><br/>After you upgrade the Pack, update any Routes, Pipelines, Sources, and Destinations that use the previous Pack version so that they reference the upgraded Pack.

patch/packs/{id}

Path parameters

idstring required

The <code>id</code> of the Pack to upgrade. Use the <code>id</code> field from the list response.

Request body

allowCustomFunctionsboolean

If <code>true</code> or omitted, allow the Pack to use custom JavaScript functions. If <code>false</code>, reject Packs that use custom JavaScript functions.

minorboolean

If <code>true</code>, allow the upgrade to install a minor (non-breaking) version. Otherwise, <code>false</code>.

sourcestring required

Source of the upgraded Pack. Use the <code>source</code> value returned by <code>PUT /packs</code> for an uploaded file, or provide a direct URL to a <code>.crbl</code> file or a <code>git+<repo-url></code> Git repository URL.

specstring

Semver range constraint to apply when resolving the Pack version to install.

Response

The upgraded Pack object in a single-item list.

countinteger required

number of items present in the items array

Example response

{
  "items": [
    {
      "tags": {
        "domain": [
          "security",
          "observability"
        ],
        "technology": [
          "aws",
          "splunk"
        ]
      },
      "version": "1.0.0"
    }
  ]
}