From 151b3c5a51b21e7489169d41a663d7f86686ed95 Mon Sep 17 00:00:00 2001 From: Fintan Hurl Date: Mon, 23 Feb 2026 10:11:36 +0000 Subject: [PATCH 1/2] fix: typo and inconsistent capitalisation of npm --- src/content/supply-chain-security/epm/rego.mdx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/content/supply-chain-security/epm/rego.mdx b/src/content/supply-chain-security/epm/rego.mdx index 9d992f1..dd7a5d4 100644 --- a/src/content/supply-chain-security/epm/rego.mdx +++ b/src/content/supply-chain-security/epm/rego.mdx @@ -1,10 +1,10 @@ -import { BlockImage, Note } from '@/components' +import { BlockImage, Note } from '@/components'; # Enterprise Policy Manager: Rego Recipes ## Recipe 1: Simple Tag Check -**Use case**: Match any package with a certain tag. For example: `ready-for-production`. For this rule, the value of`match` will be `true` when any `tag.name` contains the value provided in `required_tag`. +**Use case**: Match any package with a certain tag. For example: `ready-for-production`. For this rule, the value of `match` will be `true` when any `tag.name` contains the value provided in `required_tag`. ```rego package cloudsmith @@ -455,11 +455,10 @@ To ensure the accuracy of your policies, we pull metadata from the most reliable **Maven**: Since Maven repositories don't always provide a native "publish date," this is a best-effort calculation based on the Last-Modified HTTP header of the package's POM file on the upstream server. - What It Does: -- Evaluates the publish date of your NPM package. -- Triggers if your NPM package was published within the past 14 days. +- Evaluates the publish date of your npm package. +- Triggers if your npm package was published within the past 14 days. ```rego package cloudsmith From 5a6f75bc23a09a04b9de1b745f0532958162984f Mon Sep 17 00:00:00 2001 From: Fintan Hurl Date: Mon, 23 Feb 2026 10:16:06 +0000 Subject: [PATCH 2/2] chore: remove unused imports --- src/content/supply-chain-security/epm/rego.mdx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/content/supply-chain-security/epm/rego.mdx b/src/content/supply-chain-security/epm/rego.mdx index dd7a5d4..48f7adc 100644 --- a/src/content/supply-chain-security/epm/rego.mdx +++ b/src/content/supply-chain-security/epm/rego.mdx @@ -1,5 +1,3 @@ -import { BlockImage, Note } from '@/components'; - # Enterprise Policy Manager: Rego Recipes ## Recipe 1: Simple Tag Check