CF-Incidents Gateway - Detect and control software package downloads with package registry security

Cloudflare Service Informational Feeds

ENF News Bot

Automated News Bot
Joined
Apr 15, 2022
Messages
2,591
Cloudflare Gateway can now detect software package downloads and give you policy control over supply chain traffic. When a developer or CI/CD pipeline downloads a package through Gateway, the proxy identifies the registry protocol from the request URL and extracts the package ecosystem, name, version, and namespace. You can then write HTTP policies using pkg.* selectors to allow or block package downloads.

Supported ecosystems​

https://developers.cloudflare.com/changelog/rss/#supported-ecosystems

Gateway detects package downloads for the following ecosystems:

EcosystemNamespace
npmScope (for example, @babel)
PyPI--
RubyGems--
Cargo--
GoModule path
MavenGroup ID
NuGet--

Selectors​

https://developers.cloudflare.com/changelog/rss/#selectors

In the dashboard, select Package Ecosystem to access the package registry selectors. After selecting a single ecosystem, nested fields for package name, version, and namespace become available. Five pkg.* selectors are available for HTTP policies with the Allow and Block actions:

SelectorDescription
pkg.ecosystemThe package ecosystem detected from the request URL.
pkg.nameThe package name extracted from the download URL.
pkg.versionThe package version, with support for ecosystem-aware comparison operators.
pkg.namespaceThe package namespace, when the ecosystem supports one.
pkg.purlThe Package URL (PURL) ↗︎ derived from the detected coordinates. Available in the API only.

Detection is based on the registry protocol rather than the hostname, so it works the same way whether traffic goes to a public registry, a corporate proxy such as Artifactory or Nexus, or a self-hosted mirror.

Package registry security requires TLS decryption to be turned on.

For more information, refer to Package registry security.

Continue reading...
 
Back
Top