---
title: "Cooldown policies now support Ruby"
description: "You can now apply cooldown policies to Ruby gem packages, protecting your supply chain from newly published versions that may carry malware or have not yet undergone sufficient community scrutiny."
canonical_url: "https://cloudsmith.com/changelog/cooldown-policies-now-support-ruby"
last_updated: "2026-10-14T15:18:24.579Z"
---
# Cooldown policies now support Ruby

You can now apply cooldown policies to Ruby gem packages, protecting your supply chain from newly published versions that may carry malware or have not yet undergone sufficient community scrutiny.

```json
{
  "_key": "e1e5477395d9",
  "_type": "image",
  "alt": "The cooldown policy edit view in the Cloudsmith web app.",
  "asset": {
    "_createdAt": "2026-10-14T10:39:38Z",
    "_id": "image-527b7b21ff29200b4663ca0d73a7df4fe999f407-2952x1496-png",
    "_rev": "2uDmyGBdp4pbvDhgBpfHjO",
    "_type": "sanity.imageAsset",
    "_updatedAt": "2026-10-14T10:39:38Z",
    "assetId": "527b7b21ff29200b4663ca0d73a7df4fe999f407",
    "extension": "png",
    "metadata": {
      "_type": "sanity.imageMetadata",
      "blurHash": "M#N-1W~qa}ITj[?bIUWBt7WV-;IUayxtaz",
      "dimensions": {
        "_type": "sanity.imageDimensions",
        "aspectRatio": 1.9732620320855614,
        "height": 1496,
        "width": 2952
      },
      "hasAlpha": true,
      "isOpaque": true,
      "lqip": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAKCAYAAAC0VX7mAAAACXBIWXMAABYlAAAWJQFJUiTwAAACTElEQVQokWXRS08TURiA4VlLKS290EK5CuEvgJoiAoISEjQRqAGJ0cREF25M3LghLvxNhouoiVG5G4KUCEIUCqXYTtu5nDkzfc204obFk++s3pNzPiWXL5JVC+SLGoYpEJbEFLI8LWkjXbbLwXEcSqVShVPCkQJLV9k/Uvmc1EgeChRNN9ENE90UmJZ1IWg7lZA7z89ltoNtS6QlKGiCjGqhahJFMwS6aWFYEiFdNsKyy7Ey2yGr5tlO7rC0vMrXpZWLlldYXttgc2sbJZvXSGfznGYL5AoGRd1CMyW6kBimxL1wbWOTmddvSExOM56YYnxiirGJyYrEFGP3HzD9+CkvX82g7B+lWd/+yerWLj9+pTlTDQqGjS5sDGFTNARz7z4wMjpGJNZKONJEMNyAPxih1hWK4g9GaWzpoOfGEMrOQYov35J8Wv9O8uCIbMHEsBxMWUJIB80UzC4sMjQ8SqAuVg55fSGqqmvLPN5aLnn8BMP1dHXHUTKqRiqT4ziTI1fQMC13oyUsu1Se7ubnFha5PXKHUDRGIBzBFwhT7Q/iLQvh8QUIR2J0X+1BcZ+mmZV/c2NCVmLiX9Td/ty8GxwlXB8jUOc+MUy1L4CnphZPTYAqr59QpIGuK3EUVbfJqIJ0TnCqWpwVJH+K9n+ZvODt/Efu3kvQ2tFJ8+V2GlvaqG9qIdrYTKShibpoI23tnfT1D6Gc5CR7KZ3kb42dQ53dlMneicXesag4MZh9v8Kz5y/oG7xF78Ag18/13yTeO8C1eB8Dg8M8fPSEv3lAWdnv+wahAAAAAElFTkSuQmCC",
      "palette": {
        "_type": "sanity.imagePalette",
        "darkMuted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#1c2e3a",
          "foreground": "#fff",
          "population": 0.87,
          "title": "#fff"
        },
        "darkVibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#204055",
          "foreground": "#fff",
          "population": 0.1,
          "title": "#fff"
        },
        "dominant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#bbc7d5",
          "foreground": "#000",
          "population": 1.32,
          "title": "#fff"
        },
        "lightMuted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#bbc7d5",
          "foreground": "#000",
          "population": 1.32,
          "title": "#fff"
        },
        "lightVibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#e6d1a7",
          "foreground": "#000",
          "population": 0.09,
          "title": "#000"
        },
        "muted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#889cb4",
          "foreground": "#000",
          "population": 0.65,
          "title": "#fff"
        },
        "vibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#3f8ef0",
          "foreground": "#fff",
          "population": 0.04,
          "title": "#fff"
        }
      },
      "thumbHash": "6/cVBIB/hIlcl3dbl4c130bzbA=="
    },
    "mimeType": "image/png",
    "originalFilename": "cooldownPolicyView.png",
    "path": "images/rafvlnhi/production/527b7b21ff29200b4663ca0d73a7df4fe999f407-2952x1496.png",
    "sha1hash": "527b7b21ff29200b4663ca0d73a7df4fe999f407",
    "size": 437870,
    "uploadId": "54e1a7e70a18b1bd042c23987558fc2aedd137de",
    "url": "https://cdn.sanity.io/images/rafvlnhi/production/527b7b21ff29200b4663ca0d73a7df4fe999f407-2952x1496.png"
  },
  "link": {
    "_type": "link",
    "href": null,
    "openInNewTab": false
  },
  "markDefs": null
}
```

You can create cooldown policies via the Cloudsmith API, Terraform provider, and web app.

## Getting started

This feature is available for Ultra and Enterprise customers using policy management with policy as code.

Cooldown policies are now supported for:

- Cargo
- Conda
- Docker
- Go
- Maven
- npm
- NuGet
- Python
- Ruby

For more information about using cooldown policies, see [our documentation](https://docs.cloudsmith.com/supply-chain-security/policy-as-code/cooldown-policy).
