Attestkeep docs

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

ObjectDefaultWhat it does
Deployment attestkeep2 replicas, anti-affinity preferred across nodes, PDB minAvailable: 1The 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-scanner1 replicaRuns Trivy scans and cosign verification off the admission path. Never receives admission traffic.
StatefulSet attestkeep-postgresql1 replica, 20 GiB, postgres:16.4-alpineThe 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

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.

PermissionScopeGrantedWhy
attestkeep.com imagesecuritypolicies, imagesecurityreports, attestationrenewals, imagesecurityusages: get, list, watch, create, update, patch, deleteClusterAlwaysPolicies, reports and usage records are CRDs; the operator manages its own resources.
attestkeep.com imagesecurityreports/status, imagesecurityusages/status, imagesecuritypolicies/status: get, update, patchClusterAlwaysThe 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, listClusterAlwaysThe 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, watchClusterAlwaysThe 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: createClusterOnly 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, listClusterAlwaysThe 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, updateClusterOnly 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, watchClusterAlwaysWhether 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, watchClusterAlwaysPolicy 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 listClusterAlwaysRegistry 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: getClusterAlwaysService accounts carry image pull secrets too; attaching the secret to the account is how most clusters configure it.
events: createClusterAlwaysKubernetes 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, updateCluster, restricted by resourceNames to its own configuration (<release>-image-security)AlwaysPublishing 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, patchNamespace (Role <release>-certs); all but create restricted by resourceNames to <release>-webhook-tls, attestkeep-evidence-key and <release>-falco-mtlsAlwaysThe 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, listNamespace (Role <release>-certs)AlwaysCounts 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: getNamespace (Role <release>-rule-validation)AlwaysThe 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.

DestinationPortRequired?KnobIf blocked
lic.attestkeep.com443Yeslicense.serverUrlActivation 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)443For KEV markingkev.source; or kev.existingConfigMap to serve a copied file with no outbound callThe catalogue the scanner already holds keeps marking findings and ages; the dashboard shows when it was last fetched.
ghcr.io (Trivy vulnerability DB)443For scanningtrivy.dbRepository — mirror it into your own registryThe existing database keeps working and ages; attestkeep_vulnerability_db_age_seconds tells you by how much.
Your image registries443For scanningPull secrets resolved from pod specs; scan.insecureRegistries for HTTPScans fail for images there; admission behaviour follows your policy's cold-image setting.
ghcr.io/attestkeep/attestkeep-k8s (kubelet image pull)443At installimage.repository — mirror itPods cannot start.
Sigstore TUF + public Rekor (via cosign)443Noscan.cosignOffline: trueWith keyed signing and offline mode on, verification stays local. See Air-gapped.
Release feed443No — off by default, no default hostupdates.endpointAn installation that was never told where to look never looks. Report-only even when on; nothing is downloaded.
Your OTLP collector4317/4318No — off by defaultOTEL_EXPORTER_OTLP_ENDPOINTExporters are never started.
Your Slack/Teams/webhook URLs, your SMTP server443 / 587 / 465NoConfigured per channel in the consoleSends 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)443No — only when a tracker is configuredConfigured per tracker in the console; see Issue trackersIssues are not opened or updated, and the failure is logged; admission is never blocked by a tracker.
Your SSO identity provider443No — paid plans, config-gatedsso.*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:

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.