Skip to content

Keelson v0.17.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 13:36
· 12 commits to main since this release
  • "and 43 more" now opens all of them. Where a row shows the first few of a group, the count is a link that lists every one in place: the images a vulnerability or a component is in (with where each runs and which repository builds it), the versions a vulnerability affects, the workloads that run an image, an image's findings and tags, the repositories that use a package, a workload's hostnames, and the shorter lists on Attack surface, Repositories and Scans. Each list has a filter, Copy for any one column as lines to paste (images, repositories, hostnames, upgrades to make…), and Download CSV with more than the table shows. Picking images on the Images tab copies and exports the same columns.

  • Searching the Images and Dependencies pages no longer feels stuck. The search box keeps up with typing and never loses a key, asks once you pause (or press Enter), drops the search for what you typed before as soon as the next one starts, and shows a spinner while it searches; the rows on screen stay, dimmed, until the new ones arrive instead of the table emptying each time, and Escape or the × clears the box. On the server a search of components takes a few milliseconds whatever the size of the registry, a search of vulnerabilities no longer goes through every image again, and the server keeps answering other requests while it works on a long list.

  • Alibaba Cloud images behind an allowlist now say why they aren't scanned, instead of using up the scan. A Container Registry instance whose internet access admits only an allowlist (or that has no internet access) drops connections from anywhere else, so every pull timed out after minutes of retries, a scan spent its time on a handful of images and none was scanned. Keelson now tries such a registry once per scan, marks its images with the reason and shows a coverage gap, "Connecting to Container Registry from where Keelson runs", that says what to change: add the address Keelson connects from to the instance's allowlist (Container Registry console, the instance's Access Control, Internet), or run Keelson in a VPC linked to the instance. The same applies to an ECR or other registry host Keelson can't reach. Elastic Container Instance in a region that doesn't offer it is no longer a coverage gap, so the container groups that run your images are read again.

  • A scan always reads each repository's latest image, and the rest are read in the background. The images your workloads run and the newest image of every repository are read by the scan itself, however long that takes; before, a scan stopped after 30 minutes of images and left the rest for the next day's scan. A repository's older builds still get what is left of those 30 minutes, and the ones a scan doesn't reach are now read in the background as soon as no scan is running or queued. The top bar shows its progress ("Reading the remaining images in the background (12/80)"), the Images page says how many are being read, and when an account's images are done Keelson scans the account once more, without pulling anything, so their findings and alerts appear (listed on the Scans page as "Images read in the background"). A scan you start always goes first; the background carries on after it. The first scan of a registry with many repositories takes longer than before: about half a minute for each image never read. If Keelson restarts, unread images wait for the account's next scan.

  • Image scans are much faster after the first: an image is pulled once. An image named by its digest never changes, so Keelson keeps Trivy's list of what is in it and, on every later scan, matches that list against Trivy's current vulnerability database instead of pulling the image again. A vulnerability published after an image was read still shows up at the next scan, in a fraction of a second per image and without contacting the registry. Only new images are pulled, plus images your workloads name by a tag alone, which are asked for again once a day because the tag may have moved. Images scanned before this are read once more to make their list. An image's page says when it was read and which database its vulnerabilities are from, and the Images page says how many images the last scan pulled and how many it only checked.

  • An inventory of what your images are made of, and an SBOM for each. The Images page has a Components tab: every package, runtime and operating system across the scanned images, at each version, with how many images hold it, whether it has a known vulnerability, the version that fixes it, and whether it is past its end of life. Filter by kind, package type, vulnerable, unsupported, or only what is in internet-facing or running images, and export it as CSV. Each image's page downloads its software bill of materials as CycloneDX (with vulnerabilities) or SPDX.

  • What the base image brought, and runtimes no scanner matches. Keelson tells an image's base layers from the ones its own build added, so every component and vulnerability says whether it came with the base image (fix: a newer base) or with your build, and an image's page shows what it is built on: the base image it names, the FROM lines of its repository's Dockerfiles, or another of your images whose layers it starts with. The runtime an official image is built around (Node.js, nginx, Python, Go, Java, PHP, Ruby, Redis, PostgreSQL and others) is installed from a tarball and is in no package list; Keelson reads its version from the image and says whether its release line still gets fixes and what its newest release is, from endoflife.date. An image in use on an end-of-life runtime is now part of the end-of-life finding.

  • The Images page no longer slows the machine down. Every tab loads 50 rows at a time from the server instead of every image at once, rows carry the first few images and workloads with a count, searching waits for a pause in typing, and the tables are no longer drawn again each time the scan status refreshes. Scanners (Trivy, Syft, Grype, Grant) run at the lowest priority on at most half the machine's cores, with a ceiling on Trivy's memory, and a scan no longer holds every image's packages in memory. A scan now starts with the images it has never scanned, and keeps the newest three images of a repository that were pulled lately rather than every build of the last month, so a large registry is covered in a few scans instead of refreshing the same images. While several accounts are scanned one after another, pages now show each account's results as soon as its scan is done, not when the last one finishes.

  • Images found by a real registry. An image pushed as an index (several platforms, or with build attestations, as Docker builds by default) is one image: its parts are no longer listed and scanned as images of their own, and attestations aren't reported as failures. Images built only for arm64 are scanned as arm64. When nothing else says which repository builds an image, the one repository of the entity with the image repository's name is shown as its builder. GitHub refusing to list an organization's container packages to a GitHub App is no longer reported as a gap you could close.

  • Container images, from the repository that builds them to where they run. Keelson lists the images in Amazon ECR, Alibaba Cloud Container Registry (Enterprise Edition) and GitHub Container Registry, and scans the ones that matter with Aqua's Trivy when it is installed where Keelson runs (KEELSON_TRIVY, or trivy on the PATH; not in the Docker image yet): every image a workload runs, images pulled in the last 30 days, the newest of each repository, and the images your workloads run from public registries such as Docker Hub. A new Images page shows each image with its vulnerabilities, operating system and stored credentials, the workloads that run it (ECS services, Elastic Container Instance groups, Function Compute functions built from an image), whether the internet reaches them and through which load balancer and hostnames, and the repository that builds it (from the image's source label, the GitHub package's repository, or a workflow that pushes an image of its name). Tabs list running workloads, vulnerabilities and components across every image, with filters for in use, internet-facing, known exploited, has a fix, operating system or application packages; rows can be picked to copy or download. An image's own page says where each vulnerability is fixed: the base image, the repository's code, a rebuild of an image that is behind its code, or the image's build. A repository's page lists the images it builds.

  • Image findings, rated by exposure. Four checks per platform (AIM- on AWS, LIM- on Alibaba Cloud, GIM- on GitHub): an image in use with a vulnerability attackers are exploiting (CISA's catalog), with critical or high vulnerabilities that have a fix, or on an operating system or runtime past its end of life, and a credential stored in an image (in a file, an environment variable or the build history; only its kind and place are kept). A finding is one per image repository, whatever the tag, rated higher when the internet reaches the workload that runs it than when it runs inside the network; images nothing runs or pulls are listed without findings.

  • To scan images, give Keelson permission to pull them. On AWS, add an inline policy to the access key's user that allows ecr:GetAuthorizationToken, ecr:BatchGetImage and ecr:GetDownloadUrlForLayer (SecurityAudit doesn't; all three only read). On Alibaba Cloud, replace the RAM policy with the one Add accounts shows: it gains the Container Registry and Elastic Container Instance reads, and cr:PullRepository, the one action in it that reads data, which you can leave out. Until then images are listed and the pull is a coverage gap. GitHub needs nothing new: public packages are scanned, and private ones are listed only, because GitHub's registry refuses a GitHub App. Trivy gets a registry login that expires within hours, for that registry only, and never an account's own credential.

  • Pick rows and copy what you need. On Dependencies, tick packages, vulnerabilities or licenses (or tick the page, then Select all N that match to take every row the filters match, across pages), then Copy the repositories they affect as owner/repo or as links, the packages, advisory or CVE IDs, or the upgrades to make, or Download affected repositories as CSV with each repository's packages and the version that fixes them. A package's own window has Copy repositories too. Repositories and Attack surface get the same checkboxes, with copying names, links, addresses, open ports (address:port) and hostnames, and a CSV of the picked rows. Selected findings can be copied as resources, locations, links, or one line each for a ticket. Zones, Projects and Resources copy what's shown, and Resources downloads it as CSV. Copying works on a team server over plain HTTP too.

  • Find packages and repositories by language. Dependencies has a language filter on every tab (each package manager under the language it's for: npm under JavaScript and TypeScript, PyPI under Python, Maven under Java and Kotlin…), and the search finds packages by language or package manager ("python", "maven"). Repositories has language and visibility filters, and its search matches languages. The packages CSV gains a language column at the end.

  • On Dependencies, the repository filter could credit an organization's repositories to another account when the view held an account without dependencies before it. Each repository now stays with its own account.

  • Compliance checklists for ISO/IEC 27001 and PCI DSS, as an indication. A new Compliance page lists every Annex A control of ISO/IEC 27001:2022 and every section of PCI DSS v4.0.1's twelve requirements, with what Keelson's checks can say about each in the accounts in view: failing (a check behind it has an open finding), passing (every check behind it ran and nothing is open), not enough permission (a check behind it couldn't read what it needs), undetermined (none of its checks apply to the accounts in view, or one is turned off), or out of scope (policies, people and premises, which no configuration shows). Open a requirement to see the checks behind it on every platform, what each found, and which parts of it they cover. Statuses follow the latest scans and your triage: accepted risks don't fail a requirement. For PCI DSS, pick the accounts in your cardholder data environment with the view picker. The checklist exports as CSV. It's an indication from what Keelson reads, not an assessment or a certificate, and asks you for nothing.


Install: docker pull ghcr.io/r4reetik/keelson:0.17.0. Upgrading? See docs/upgrading.md.