---
title: "Exempt specific packages from your cooldown policies"
description: "Exemptions defined in cooldown policies let specific packages skip the cooldown period and become available immediately, so a new release that fixes a vulnerability doesn’t have to wait. Exempt packages are still evaluated against your other active policies, and any action those policies define still applies."
canonical_url: "https://cloudsmith.com/changelog/exempt-specific-packages-from-your-cooldown-policies"
last_updated: "2026-11-05T14:21:39.204Z"
---
# Exempt specific packages from your cooldown policies

Exemptions defined in cooldown policies let specific packages skip the cooldown period and become available immediately, so a new release that fixes a vulnerability doesn’t have to wait. Exempt packages are still evaluated against your other active policies, and any action those policies define still applies.

```json
{
  "_key": "22fab94fd129",
  "_type": "image",
  "alt": "The 'Create an inline exemption' view for a cooldown policy in the Cloudsmith web app.",
  "asset": {
    "_createdAt": "2026-11-05T13:01:12Z",
    "_id": "image-3f64d74ab8bb45a724bb5b1aa1ee37c7b037a95f-1138x852-png",
    "_rev": "zZKpoFG4B3US41TJhdOqB8",
    "_type": "sanity.imageAsset",
    "_updatedAt": "2026-11-05T13:01:12Z",
    "assetId": "3f64d74ab8bb45a724bb5b1aa1ee37c7b037a95f",
    "extension": "png",
    "metadata": {
      "_type": "sanity.imageMetadata",
      "blurHash": "VDR{.9s$fltS-.%E0Mt6-oRo9b%JofR.xs~pW@WBWARk",
      "dimensions": {
        "_type": "sanity.imageDimensions",
        "aspectRatio": 1.335680751173709,
        "height": 852,
        "width": 1138
      },
      "hasAlpha": true,
      "isOpaque": true,
      "lqip": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAPCAYAAADkmO9VAAAACXBIWXMAAAPoAAAD6AG1e1JrAAACVklEQVQ4jYVTXU/UQBTtTzfxJ5DoA6gPEB9YMOAuJmxIlGiUB03USFYUWFhK2U/KdmY6n+0x97Zll5hok5M7TadnzrnnTuScRyZz3GUSmZBcKwhkUsFah6IoUJTlAkVVSywe2hOKAlGuNcazFDfjKYaTKZLRBMmoqqPpLYRSMNYxtDHQxjLonQjKmrCsD4tIRT++Qe/0Ar2zC/w8v8RJf4CT8wHX08sY8XCMNBMQUrHqTCgIlcM4Ii1RlkQIJo/i4QSdtx+xutnG8609rO/uY+N1Fxu7XbzYfoPVVgd7h0e4Hk2hjYPIDeYyR6Y0r7V1cIHskkIgGiQjbHcPsbK+jScvd7C22cazVgdrrQ6/r2y8ws7BByTjGf+orYfUlqE02XdwfomQpPfjBMenfbZ5NrjG+VWCs6uE7f6+iBGPJsiN5R5R33xYIITiQUiR85SyRDrPIHMN70OVap1aqNfU9H+h4F6WiHwIkDk1W3KKfOLyeDSnNz+SSlYXGKEZqTocVkjKlNa84X9KiIDGRuWGR8eTo/obFparcaB1Y7WxvfxOtREwF3kdSIDn77Vl2jCXqpozpbn5PLjO3YNGY7GmdA2TNgNvneeAmNA2V4+uXT2wRNpsNtYyCa2VcbiTFreiQiotUqrCQmjqaYmIrNB9tt6znQqBVZEl6yoY6xHPHN4dK7Q/C3S+VNir6/tejuuZR7R0v+/vJKUoc3PfAlKptMOPgcHT/RSPNqd4vDWrUa1XD+7w/dL8TdiQUnqkmkcjUBgFhqnHp5Mc+18lut8e4uiXRpJ6/AGZpnYBLxa59gAAAABJRU5ErkJggg==",
      "palette": {
        "_type": "sanity.imagePalette",
        "darkMuted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#2d4657",
          "foreground": "#fff",
          "population": 0.08,
          "title": "#fff"
        },
        "darkVibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#0a2b41",
          "foreground": "#fff",
          "population": 2.14,
          "title": "#fff"
        },
        "dominant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#286fde",
          "foreground": "#fff",
          "population": 2.29,
          "title": "#fff"
        },
        "lightMuted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#acc4cc",
          "foreground": "#000",
          "population": 0,
          "title": "#fff"
        },
        "lightVibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#74bcfc",
          "foreground": "#000",
          "population": 0,
          "title": "#fff"
        },
        "muted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#7087a4",
          "foreground": "#fff",
          "population": 0.37,
          "title": "#fff"
        },
        "vibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#286fde",
          "foreground": "#fff",
          "population": 2.29,
          "title": "#fff"
        }
      },
      "thumbHash": "+/cFDYCFuIcGuYekePl5z30PsMcQ"
    },
    "mimeType": "image/png",
    "originalFilename": "Screenshot 2026-11-05 at 13.01.01.png",
    "path": "images/rafvlnhi/production/3f64d74ab8bb45a724bb5b1aa1ee37c7b037a95f-1138x852.png",
    "sha1hash": "3f64d74ab8bb45a724bb5b1aa1ee37c7b037a95f",
    "size": 112998,
    "uploadId": "20415364df88886acc700ee48057494a03e1975d",
    "url": "https://cdn.sanity.io/images/rafvlnhi/production/3f64d74ab8bb45a724bb5b1aa1ee37c7b037a95f-1138x852.png"
  },
  "link": {
    "_type": "link",
    "href": null,
    "openInNewTab": false
  },
  "markDefs": null
}
```

Add exemptions in the cooldown policy’s Rego (the policy language used by Open Policy Agent) via the Cloudsmith web app, API, or Terraform provider. Each exemption applies to one format and matches by:

- Package name prefix, for example `@acme/`
- Package name, for example `lodash`
- Package name and version, for example `lodash` `4.17.21`

Maven entries use the full `groupId:artifactId` coordinate.

## Existing cooldown policies

Existing policies will continue to work. To add exemptions to one:

- **Created in the web app:** we’ve already migrated these to the new Rego template. Edit the policy in the web app to add exemptions.
- **Created via the API or Terraform provider:** we haven’t migrated these to the new template, because doing so would break on the next `terraform apply` for Terraform-managed policies. To add exemptions, either delete the policy and recreate it from the updated template, including the policy action that sets the package state to `hidden`, or contact us and we’ll help you migrate it. If you recreate it, do so straight away, because packages held in cooldown become available while no policy exists.

For more information, see [Exemptions](https://docs.cloudsmith.com/supply-chain-security/policy-as-code/cooldown-policy#exemptions) in the cooldown policy documentation.
