Palari Posture

What’s wrong in your clusters, and where to start

Palari Posture puts misconfigurations and vulnerabilities from your Kubernetes clusters in one list, most severe first. Beside it, Posture shows which findings lie on an attack path. An attack path is a chain of steps your configuration allows, from the Internet or from inside the cluster to a Secret, a node or control of the cluster. Posture ranks the paths by score and names the objects the most valuable paths go through. It reads your clusters and changes nothing.

Palari Posture’s findings, grouped: 367 open groups, most severe first, each with its rule, the sources that report it, its object, the attack paths through the object and how long it has been open. The same critical rule, a privileged container, has attack paths through some of its objects and none through others, and a filter splits the groups into the 102 on an attack path and the 265 on none.
On the demo clusters, which are built to be insecure. The rule for privileged containers is critical on each workload it fails on; the Attack paths column shows which of them an attack path goes through.

What it finds

88 rules, written for Kubernetes

A vulnerability is a flaw in what a container runs. A misconfiguration is a choice in how the cluster runs it, such as privileged: true. An attack path can use both.

Palari’s rules judge the configuration. Vulnerabilities come from Trivy Operator, Trivy’s scanner that runs in a cluster and writes a report for each workload’s images.

19 Workloads
10 RBAC
9 Control plane
5 Network
4 Secrets
4 Versions and end of support
2 Nodes
2 Storage
1 Admission control

32 more rules judge the custom resources of Argo CD, cert-manager, External Secrets, Flux, Gatekeeper, Gateway API, Gloo Edge, Istio, Kyverno and Traefik.

  • K8S-001 Privileged container critical
  • K8S-003 hostPath volume high
  • K8S-020 cluster-admin bound to a non-system subject critical
  • K8S-030 Namespace without a NetworkPolicy medium
  • K8S-032 LoadBalancer Service open to any address low

Each finding names what failed, why it matters and the change that fixes it. A K8S-001 finding, for example, says a privileged container has every capability and access to its node’s devices. Its fix is to remove privileged: true and add only the capabilities the container needs.

A rule mapped to a framework also names its CIS or Pod Security Standards control. A finding is open, muted by an exception or resolved once the object changes.

What each area’s rules judge

Findings

One list, whoever found it

Keep Trivy, Kubescape, Prowler and kube-bench. Palari’s CVE findings come from Trivy Operator’s reports, so run Trivy Operator in your clusters: Palari doesn’t install it. A Trivy scan uploaded from CI makes no findings of its own. Without Trivy Operator, Posture still finds misconfigurations and attack paths.

Palari runs Trivy’s Kubernetes checks itself. Kubescape’s, Prowler’s and kube-bench’s results arrive as uploads: from CI, or from Palari’s agent chart once you turn its scans on. When a scanner’s check judges what a Palari rule judges, they make one finding with every source named. Of the 523 checks Palari knows, 272 join a Palari rule’s finding this way.

Palari’s rules add what they find in your configuration beside your CVE findings, so the list may grow at first. Rules judge a workload once, rather than each of its Pods. Silence never resolves a finding: one that no run of its scanner has covered for 48 hours stays open, marked stale.

More about findings

What happens to a CVE

Palari turns Trivy Operator’s report on each container into findings on the workload that runs it:

  • TRIVY-001 when the image has fixable critical or high CVEs. It is one finding per container, however many CVEs. Its fix is to rebuild the image with the fixed versions and roll the workload out.
  • TRIVY-004 when the image has a CVE that CISA, the US government’s cybersecurity agency, lists in its catalogue of Known Exploited Vulnerabilities, whatever the CVE’s severity or fix. The Linux kernel’s entries are left out of the match, and a report with more CVEs than Palari keeps is checked only in part.
  • Other CVEs make no finding. Trivy Operator’s report still lists them.

A match says the CVE has been exploited somewhere. It says neither that the component is used where the workload is reached nor what exploiting it gives. The catalogue lists what CISA has evidence for, so a CVE missing from it may still be exploited.

Where a CVE has no fix yet, look at the attack paths through its workload. A path is made of settings, such as the Service in front of a Pod and the token it mounts, and changing one doesn’t wait for a patch.

Known exploited vulnerabilities, flagged

Exposure and attack paths

Start with the findings on an attack path

Your team fixes part of the list each month, and the order of the work decides which part stays open. Severity sets that order the same way in every cluster: a privileged container is critical whether or not the Internet reaches its Pod.

In Kubernetes, how far a finding leads is written in each cluster’s own objects: the Service in front of a Pod, the ServiceAccount whose token the Pod mounts and what that account may read.

So order the work by where each finding leads in your cluster: whether the Internet reaches its object, what the configuration lets someone do from there and what that is worth.

Palari turns each cluster into a graph of those objects and what each can do to the next. Its 10 queries walk the graph, each looking for one kind of attack path. A graph build is Palari’s picture of a cluster at one moment. Palari builds a new one on a schedule once the cluster has changed, or when someone asks, so the paths and their ranks are as current as the last build.

How Palari builds the graph

Query AP-001, Internet-exposed pod whose ServiceAccount can read Secrets, in the console on the demo clusters: its paths drawn as a graph from the Internet through Services and Pods to ServiceAccounts that can read their namespace’s Secrets, with the open findings on each step. Beside it, path 1 step by step, with its score of 1.75 and its way in: a LoadBalancer on port 80 that nothing restricts.
One query’s paths on the demo clusters, with each path’s steps, way in, guard and score.
  1. What does the list say, and what can’t it say?

    Every finding stays in the list, most severe first. Its severity says how bad the problem is in general. It can’t say how far the finding leads in your cluster, so each finding also says which attack paths go through its object. A filter shows only the findings on an attack path.

    No path means none of Palari’s 10 queries found one through the finding’s object in the latest graph build. The finding keeps its severity and its place in the list, and your patching policy still applies to it. It doesn’t mean the finding is safe: Palari doesn’t follow traffic from one Pod to another and reads no cloud account. The next change in the cluster can put it on a path.

    Findings on an attack path

  2. Can someone reach it?

    A way in is where the Internet reaches a cluster, as its objects configure it: a LoadBalancer or NodePort Service, an Ingress or gateway, a host port, a node’s public kubelet. Its guard says who may connect: open, restricted or blocked. A public kubelet routes to no workload, so Palari judges no guard for it, and no path starts there. Each path from the Internet names its way in and its guard. Palari shows a guard and doesn’t apply it, because a NetworkPolicy is one kubectl delete away and the network plugin may not enforce it. A guard changes no path, score or order.

    Ways in and their guards

  3. What would they get?

    Attack paths run from the ways in, or from inside the cluster, to Secrets, nodes, control of the cluster and the cloud identities a workload can assume. Each step can look minor on its own, such as a load balancer open to any address, which K8S-032 rates low. The console says why each step exists and shows the open findings on its objects. A path is what the configuration allows.

    Each path, step by step

  4. What is each path worth?

    An asset’s value is how much it matters if someone reaches it: High, Medium, Low or None. Palari starts from defaults, such as Medium for most Secrets, and your admins say what’s worth more. A path’s score multiplies four things you can read: what its target is worth, what it lets someone do there, how certain each step is and where it starts. The score orders the work. It isn’t a probability.

    In the attack paths, your CVE findings count in two ways. A critical one on a Pod the Internet reaches is an attack path of its own, AP-007, as any critical finding there is. An open critical TRIVY-001, or an open TRIVY-004, also raises the score of the paths from the Internet that come in through its workload. Other CVEs change no score.

    How a path is scored

  5. What do we change first?

    A choke point is an object the most valuable paths go through, in a place you can change: the way in, a workload on the way or the binding behind a grant.

    Start with the first choke point. The findings on it say what to change. If the change removes a binding or a Service, or stops mounting a token, ask “What would this change?” first.

    A score isn’t a fix: changing the object may not close its paths, because two bindings can grant the same permission and a replica can go round an object.

    Where the paths meet

  6. Will this change help?

    Before you remove an object or stop mounting a workload’s token, Palari runs the queries again without the object, or with the token unmounted. For each outcome it touches, such as reading the Secrets in a namespace, it says Closed, Reachable elsewhere or Still reachable on the path. It changes nothing in the cluster and sees only the paths the build has. A change can create paths it can’t see.

    Any other change, such as dropping privileged: true or patching a CVE, shows in the next graph build, which lists the paths closed since the build before.

    How “What would this change?” works

A path says where someone could go. With Palari Detect, a threat on it says someone may be going there, and the path shows as live. Live changes no score. More about Palari Detect

Compliance

Reports for the auditor, control by control

Each framework is scored from the same findings your engineers fix, for a cluster, a group of clusters or one namespace. Each control shows the rules behind it and the objects that fail them, and the report exports to CSV. A control Palari can’t see says so instead of passing, and a report isn’t an audit.

  • CIS Amazon EKS Benchmark v1.4.0
  • CIS Kubernetes Benchmark v2.0.1
  • Pod Security Standards: Baseline v1.37
  • Pod Security Standards: Restricted v1.37

If your team decides a finding can wait, its exception tells the auditor why, who made it and, if it has one, until when. In Findings, a muted finding still fails, and it opens again when its exception ends. In the report, an object whose findings of a rule are all muted is left out of that rule’s count. Each rule shows how many objects it leaves out this way.

More about compliance

For the board

A CVE count rises with each disclosure. The trend counts what an attacker could reach: each day, how many of a cluster’s High assets an attack path reaches. It falls when the last path to one of them closes. It counts High assets, so say what’s worth High first.

How the trend counts

The CIS Kubernetes Benchmark v2.0.1 report in the console: a score of 82.8, 40 of 80 controls passing, failing evaluations by severity and the top failing rules, then each control with its status, its severity and the rules behind it, the controls Palari can’t see marked Not visible, and a button to export the report to CSV.

How it works

Read-only: findings within seconds, paths at each graph build

Palari runs on a server you install with Helm in a cluster of yours. Attack paths describe how your clusters could be attacked, so Palari builds and keeps them on that server.

  1. Mirror

    Palari reads each cluster through the Kubernetes API with list and watch permissions only. Posture needs no agent in the cluster. Palari never stores a Secret’s values: each becomes a keyed hash before anything is stored.

    The inventory

  2. Judge

    Every 10 seconds, rules judge the objects that changed. Every hour, they judge all of them again.

    When rules run

  3. Connect

    With each graph build, 10 queries walk the cluster’s graph for attack paths.

    Attack paths

  4. Rank

    Posture ranks the paths by score, and choke points list the objects the most valuable paths go through.

    Choke points

  5. Decide

    Fix the object, or accept the finding with an exception that has a reason and, if you choose, an end date.

    Exceptions

Where you use it

The console, the API, the CLI and your coding agents

The API serves everything the console shows, and the palari CLI prints it, so your scripts read the same findings. palari skill install teaches coding agents to use the CLI, for example to triage a workload’s findings and fix its manifests. What a coding agent reads goes where that agent sends it.

A sample cluster, prod, from the CLI’s documentation: each line is what the palari CLI prints for it, and our tests check every line. Sorted by severity, K8S-032 comes last: a load balancer that accepts connections from any address. That severity is the rule’s, the same in every cluster. The row’s ATTACK PATHS column comes from this cluster: both critical paths go through its Service.

Narrowing who may connect to the load balancer would resolve K8S-032 and leave both paths as they are: Palari shows a way in’s guard and doesn’t apply it. Taking the Service off the Internet removes the way in, and “What would this change?” can check that first, with the Service removed.

The CLI and the Agent Skill · The CLI in the docs

$ palari posture findings list
4 open findings in prod: 1 critical, 2 medium, 1 low.

SEVERITY   RULE      RESOURCE                  ATTACK PATHS   SOURCES         MESSAGE                                                        AGE
critical   K8S-001   Deployment/payments/web   2 critical     palari, trivy   Container app runs privileged.                                 3d ago
medium     K8S-005   Deployment/payments/web   2 critical     palari          Container app may run as root: neither runAsNonRoot nor a n…   3d ago
medium     K8S-030   Namespace/payments        -              palari          Namespace payments has no NetworkPolicy: every Pod in it ac…   52d ago
low        K8S-032   Service/payments/web      2 critical     palari          Service web's load balancer accepts connections from any ad…   19d ago

Not yet

What Palari Posture doesn’t do

  • It doesn’t change your clusters. It reads them, and tells you the change to make.
  • It doesn’t scan images itself or install Trivy Operator. Vulnerabilities come from Trivy Operator’s reports in your clusters, and a Trivy scan uploaded from CI makes no findings of its own.
  • It doesn’t make a finding of a medium or low CVE, or of one with no fix, unless the CVE is known exploited. Trivy Operator’s report still lists them.
  • It doesn’t tell whether your code calls a vulnerable function or loads a library. It shows whether the Internet reaches the workload, as the cluster’s objects configure it, and what the workload’s permissions and host access lead to.
  • It doesn’t follow traffic from one Pod to another or read your cloud accounts. A path that gives a cloud identity ends there.
  • It doesn’t judge manifests or charts before they are deployed: its rules judge the objects in your clusters. Judging them before release comes later.

See the attack paths through one of your clusters

Ask your platform team for one cluster, ideally one where Trivy Operator runs, because Palari’s CVE findings come from its reports. Palari installs with one Helm chart and only reads the cluster, with list and watch. Once it has built the cluster’s graph, you see which findings lie on an attack path and where the most valuable paths meet. Nothing about your clusters leaves your network to reach Palari.

During the private preview, Palari’s images and charts aren’t public. Whoever installs it asks for access first, naming the GitHub account that will pull them, and we give it read access.