What runs in your cluster
You are being asked to give an admission webhook a say over every pod. This page is the full inventory of what that costs: the workloads, the permissions, the network paths — and the honest answer to what our own infrastructure could do to you if it were compromised.
Workloads
| Object | Default | What it does |
|---|---|---|
Deployment attestkeep | 2 replicas, anti-affinity preferred across nodes, PDB minAvailable: 1 | The operator: admission webhook (8443), console and API (8080), metrics (9090), and the Falco integrations listener (8444) only when integrations.falco.enabled is on. Controller work is serialised through a PostgreSQL advisory lock, so replicas scale without a leader-election lease. |
Deployment attestkeep-scanner | 1 replica | Runs Trivy scans and cosign verification off the admission path. Never receives admission traffic. |
StatefulSet attestkeep-postgresql | 1 replica, 20 GiB, postgres:16.4-alpine | The chart-managed database. Renders only when you have not set externalDsn — point that at your own PostgreSQL and this object does not exist. |
All product containers run as non-root (uid 65532), with a read-only root filesystem, all capabilities dropped, and RuntimeDefault seccomp. Requests default to 100m CPU / 256Mi per product workload. Everything lives in the release namespace; nothing is installed outside it except the two cluster-scoped objects below.
Cluster-scoped objects
- Four CRDs in the
attestkeep.comgroup:ImageSecurityPolicy,ImageSecurityReport,AttestationRenewal,ImageSecurityUsage. - One
ValidatingWebhookConfiguration: pod CREATE and UPDATE only,failurePolicy: Ignoreby default (see Admission for the trade), 15-second timeout, and three escape hatches — the bypass namespace list (kube-system,cert-manager, its own namespace), aattestkeep.com/webhook=bypassnamespace label, and an object selector that keeps the operator's own pods out of their own admission loop. There is no mutating webhook: this product never rewrites your workloads.
RBAC — every permission and its reason
One ServiceAccount, used by the operator and the scanner pods; one ClusterRole; two Roles in the release namespace: one for the operator's own Secrets, one for the Falco rule editor's validation pod. With rbac.create: false the chart creates none of them. This is the complete list; there is nothing else.
| Permission | Scope | Granted | Why |
|---|---|---|---|
attestkeep.com imagesecuritypolicies, imagesecurityreports, attestationrenewals, imagesecurityusages: get, list, watch, create, update, patch, delete | Cluster | Always | Policies, reports and usage records are CRDs; the operator manages its own resources. |
attestkeep.com imagesecurityreports/status, imagesecurityusages/status, imagesecuritypolicies/status: get, update, patch | Cluster | Always | The status of reports and usage records, and a policy's SignatureKeysValid condition, which names a signatureKeys entry that is not a public key. |
nodes: get, list | Cluster | Always | The cluster facts the evidence document states, and the count of Ready nodes against the licence's node ceiling: it keeps the count only, never a node's name. |
pods: get, list, watch | Cluster | Always | The reconciliation sweep has to see what is actually running to compare it with what was admitted. The same read counts image references, lists the pods a deny-list entry affects, finds the Falco pods by label to learn their version and image, and lists the pods running an image now (Images › Running pods). With the mitigation pod check on, it also reads the env, command and args of the containers running an image with a listed CVE, in memory, to answer whether a mitigation flag is set: only the variable's name is returned, and nothing is stored. No Secret or ConfigMap is read for it. |
pods/eviction: create | Cluster | Only if rbac.allowEnforce: true or rbac.denyList.takedown: true (take down; both default false) | Runtime enforcement is armed with two keys: the policy chooses enforce mode and the chart grants the permission. A compromised operator on an audit-only install has nothing to evict with. Eviction, not delete, so PodDisruptionBudgets are honoured. A deny-list take down evicts the same way. When only take down grants eviction, a runtime policy's Stop the pod and runtimeReconciliation: enforce still need rbac.allowEnforce: true: without it they are refused and recorded. |
apps deployments, replicasets, statefulsets, daemonsets; batch jobs, cronjobs: get, list | Cluster | Always | The owner chain above a pod: a Deployment's pod names its ReplicaSet, a CronJob's its Job. The deny list counts, lists and takes down the workload above them. Read-only: the operator learns which workload a pod belongs to and the replica count it asks for, nothing it could change. |
apps deployments/scale, statefulsets/scale, replicasets/scale: get, update | Cluster | Only if rbac.denyList.takedown: true (default false) | Deny-list take down, Scale to zero and Restore: an administrator, with a reason, sets a workload running a listed image to zero replicas and later puts the recorded count back. The scale subresource only: the operator can change how many replicas run, not what they run. Update, not patch: the count is written back under the version that was read, so a change in between is refused. Nothing scales a workload without that click. |
services; networking.k8s.io ingresses: get, list, watch | Cluster | Always | Whether a pod is reachable from outside the cluster: a NodePort or LoadBalancer Service selects it, or an Ingress routes to a Service that does. The pod spec alone cannot answer that. Without the read, exposure is derived from the pod spec and the operator says so in its log. |
namespaces: get, list, watch | Cluster | Always | Policy matching by namespace, the reconciliation sweep's and the deny-list What if's namespace scope, and the Warning event for a refused pod nobody owns, which is written on its namespace. The licence fingerprint is a hash of the kube-system namespace's UID. |
secrets: get only — deliberately not list | Cluster | Always | Registry credentials. The operator can read a pull secret whose name it learned from a pod specification; it cannot enumerate what a namespace holds. Credentials are used at scan time and never stored. |
serviceaccounts: get | Cluster | Always | Service accounts carry image pull secrets too; attaching the secret to the account is how most clusters configure it. |
events: create | Cluster | Always | Kubernetes Warning events: on the workload a deny-list refusal stopped, and on a policy with a signature key that is not a PEM public key. |
validatingwebhookconfigurations: get, list, watch, update | Cluster, restricted by resourceNames to its own configuration (<release>-image-security) | Always | Publishing and rotating its own CA bundle, and reading it back: the namespace selector gives the sweep's and the What if's scope, and the published CA bundle is what the availability check handshakes with. It cannot touch any other webhook in the cluster. |
secrets: create; get, list, watch, update, patch | Namespace (Role <release>-certs); all but create restricted by resourceNames to <release>-webhook-tls, attestkeep-evidence-key and <release>-falco-mtls | Always | The serving certificate, the evidence signing key, and the Falco client CA with the certificate issued from it. Create cannot be restricted by name, because the object does not exist yet, so it is limited by namespace alone. The operator creates and rotates exactly these three Secrets in its own namespace; the last exists only once the Falco integration is on. There is no delete verb on Secrets anywhere in the role set. |
pods: get, list | Namespace (Role <release>-certs) | Always | Counts the running operator replicas for the health page. The ClusterRole's pod read already covers it; this rule adds no access. |
pods, configmaps: create, get, delete; pods/log: get | Namespace (Role <release>-rule-validation) | Always | The Falco rule editor validates a rule with the cluster's own Falco: a one-off pod running Falco's image loads the rule from a ConfigMap, its log is read, and both are deleted. Only in the release namespace, which the admission webhook bypasses; the operator cannot start pods anywhere else. |
Every outbound connection
This is the table for your firewall ticket. Nothing else leaves the cluster — there is no analytics, no crash reporting, no telemetry SDK. The one version string that leaves is the operator version on the licence check.
| Destination | Port | Required? | Knob | If blocked |
|---|---|---|---|---|
lic.attestkeep.com | 443 | Yes | license.serverUrl | Activation is impossible; an activated install keeps running on its held certificate and degrades to Community when that certificate expires. See Licensing. |
www.cisa.gov (Known Exploited Vulnerabilities catalogue) | 443 | For KEV marking | kev.source; or kev.existingConfigMap to serve a copied file with no outbound call | The catalogue the scanner already holds keeps marking findings and ages; the dashboard shows when it was last fetched. |
ghcr.io (Trivy vulnerability DB) | 443 | For scanning | trivy.dbRepository — mirror it into your own registry | The existing database keeps working and ages; attestkeep_vulnerability_db_age_seconds tells you by how much. |
| Your image registries | 443 | For scanning | Pull secrets resolved from pod specs; scan.insecureRegistries for HTTP | Scans fail for images there; admission behaviour follows your policy's cold-image setting. |
ghcr.io/attestkeep/attestkeep-k8s (kubelet image pull) | 443 | At install | image.repository — mirror it | Pods cannot start. |
| Sigstore TUF + public Rekor (via cosign) | 443 | No | scan.cosignOffline: true | With keyed signing and offline mode on, verification stays local. See Air-gapped. |
| Release feed | 443 | No — off by default, no default host | updates.endpoint | An installation that was never told where to look never looks. Report-only even when on; nothing is downloaded. |
| Your OTLP collector | 4317/4318 | No — off by default | OTEL_EXPORTER_OTLP_ENDPOINT | Exporters are never started. |
| Your Slack/Teams/webhook URLs, your SMTP server | 443 / 587 / 465 | No | Configured per channel in the console | Sends fail and are logged; admission is never blocked by a notification. Webhook posts refuse loopback and link-local targets at dial time, so a channel URL cannot be pointed at cloud metadata. |
Your issue tracker (api.github.com, gitlab.com or your own instance, api.atlassian.com) | 443 | No — only when a tracker is configured | Configured per tracker in the console; see Issue trackers | Issues are not opened or updated, and the failure is logged; admission is never blocked by a tracker. |
| Your SSO identity provider | 443 | No — paid plans, config-gated | sso.* | That sign-in method fails; local accounts are unaffected. |
The chart ships no NetworkPolicy: your perimeter is yours to define, and the table above is exactly what an egress policy for this namespace needs to allow.
If our licence server were compromised
The question a security team should ask about any vendor with a phone-home path. The honest answer, from how the client is built:
- It cannot instruct your cluster. The licence protocol has two response shapes: a certificate and a renewal status. There is no code path in the operator where a licence-server response selects a policy, a namespace, an image rule, a URL, or an executable. Nothing is ever downloaded from it.
- It cannot grant itself anything. Certificates are Ed25519-signed and verified against a public key compiled into the binary at build time — EdDSA only, so
algdowngrade tricks are out by construction. Certificates are also bound to your cluster's fingerprint: a certificate issued for another cluster does not verify on yours. - What it could do is turn your entitlement off. A hostile server can answer
revoked, and the operator honours that answer. The result is a downgrade, not a takeover — and you should know its exact shape: a deactivated installation stops enforcing at admission and admits with a warning, on the reasoning that a licensing failure must never take down your deployments. If someone can speak for our licence server to your cluster, the blast radius is your enforcement switching off — visibly, in the console and in every admission response warning — never a workload it placed or a policy it changed. - Silence does nothing. Network errors and server failures are deliberately read as outages, not as answers: a bad deploy of the licence server cannot revoke customers. Your install runs on its held certificate until that certificate's own expiry.
The evidence signing key is generated inside your cluster and never issued by the licence server; the server's certificate merely names your key so third parties can tie the two together. See the evidence trust model.