Lock your sights on the black box hiding untold vulnerabilities in your repository and shine a light inside to find out what monsters lurk within. Yes, I'm talking about running on-demand security scans against supported packages within your repository. If you are a Velocity or Ultra customer, you can start making use of security scanning today!
Not only can you run security scans, but you can track which packages are vulnerable across your repository, alongside tracing when vulnerabilities were introduced by looking up the vulnerability scan results for a specific package version via our API.
With Cloudsmith's security scanning, you can uncover packages that have become vulnerable over time. The versions that introduced insecurities are visible within our repository view and our new security scanning insights view, leaving those pesky vulnerabilities nowhere left to hide!
On-Demand Security Scanning
All newly uploaded packages and images get scanned for vulnerabilities as soon as they reach Cloudsmith; however, if for any reason you wish to rerun a security scan, you can do so at any time. Don't worry; we still keep all historic security scan results to track and trace when vulnerabilities get discovered, and they are always accessible via our API should you need them.
Our vulnerabilities database is updated 365 days a year, allowing you to scan every image up to a maximum of once a day, every day, to combat emerging threats.
To make this easy, you can schedule multiple images for security scanning and we will process these for you until everything has been rescanned.
Security Scanning UI
You can find a summary report of your repository's health in the Security Scanning view for all supported security scanning formats. From this view, you can view your security scanning queue, check your security scans' age, and even compare pass and fail rates across an entire repository.
If you need more information on a specific vulnerability, you can click on the package name and the vulnerability scan results will be displayed in full for your latest security scan:
Using our Vulnerability API
Finally, we offer programmatic access for scan results and historic scan results via our Vulnerability API. You can discover find vulnerabilities within your namespace, repository, and package, and drill down deeper into the exact CVE's by looking up the sequential scan_id. For example, this is a request that would return the first scan for a package within an organisation/repository using the package identifier.
curl --request GET \
--url https://api.cloudsmith.io/vulnerabilities/ORGANISATION/REPOSITORY/PACKAGE_IDENTIFIER/SCAN_ID \
--header 'X-Api-Key: API-KEY'
In this case, the image has no known vulnerabilities and the structure of the response looks like the following:
However if the image was vulnerable, it would look similar to the following:
"target":"/oci (alpine 3.9.6)",
"title":"vixie-cron: memory consumption DoS via a large crontab file",
"description":"Vixie Cron before the 3.0pl1-133 Debian package allows local users to cause a denial of service (memory consumption) via a large crontab file because an unlimited number of lines is accepted.",
It's that simple to get started!
With the power of security scanning at your side, you've no reason not to keep on top of securing your packages!
A secure, cloud-native repository in minutes. Sign up now.