Repository navigation
Tags
Tags
Classify cloud provider RBAC as default roles (#528) * Classify cloud provider RBAC as default roles Most risk rules skip roles the operator did not author, on the basis that a finding against a role nobody can edit is noise rather than a risk. That skip keys off `is_default`, which was set solely from the `kubernetes.io/bootstrapping: rbac-defaults` label - so it covered the roles Kubernetes bootstraps and nothing else. Managed control planes install their own RBAC and reconcile it on the operator's behalf, and none of it carries that label. On EKS the report opens with `aws-node` and `eks:addon-manager` flagged as danger under risky-any-resource-list, findings the reader can neither act on nor suppress: whitelist_role_names matches exact names only, and the chart has no way to supply a whitelist at all. GKE, AKS and OpenShift all ship equivalent RBAC. Fold vendor managed roles into `is_default` at graph build time, so every rule that already filters on it - and the risky-role template exclusion - picks them up without a query change. Detection is marker based rather than an enumeration of role names, which would go stale with each provider release: a role qualifies on a label the provider stamps on the RBAC it owns, or on a name prefix it has reserved. The classification is deliberately coarse, so it is escapable in both directions. TREAT_VENDOR_MANAGED_ROLES_AS_DEFAULT=false judges vendor roles like any other while leaving the Kubernetes defaults excluded, and RISK_RULE_QUERY_EXCLUDE_DEFAULT_ROLES=false brings both back. Closes #326 * Expose vendor managed role handling in the chart The classification is on by default, so a chart user gets the quieter report without touching anything - but opting back out meant setting an environment variable the deployment template has no slot for, and its env list is fixed rather than merged from values. Add the value alongside the other params. Kubernetes' own defaults are still governed by RISK_RULE_QUERY_EXCLUDE_DEFAULT_ROLES, which the chart does not expose, as bringing those back is an unusual thing to want from a Helm value. * Bump the chart, the gem and the manifests to v0.1.6 Chart 0.1.5 is already published, so the vendor managed role change ships as a new version rather than in place. The chart's image tag defaults to .Chart.AppVersion, which follows so that installing chart 0.1.6 pulls quay.io/appvia/krane:v0.1.6 rather than the previous image. Krane::VERSION and the raw manifests carry the same version, and the lockfile follows because the gem is resolved from the path. The tag itself is not cut here.
Migrate from end-of-life RedisGraph to FalkorDB (#526) * Migrate from end-of-life RedisGraph to FalkorDB * Note the FalkorDB licence in the README * Drop the hosted-service caveat from the licence note * Bump the chart to 0.1.5 for the FalkorDB switch * Point the chart, the gem and the manifests at v0.1.5
Classify cloud provider RBAC as default roles (#528) * Classify cloud provider RBAC as default roles Most risk rules skip roles the operator did not author, on the basis that a finding against a role nobody can edit is noise rather than a risk. That skip keys off `is_default`, which was set solely from the `kubernetes.io/bootstrapping: rbac-defaults` label - so it covered the roles Kubernetes bootstraps and nothing else. Managed control planes install their own RBAC and reconcile it on the operator's behalf, and none of it carries that label. On EKS the report opens with `aws-node` and `eks:addon-manager` flagged as danger under risky-any-resource-list, findings the reader can neither act on nor suppress: whitelist_role_names matches exact names only, and the chart has no way to supply a whitelist at all. GKE, AKS and OpenShift all ship equivalent RBAC. Fold vendor managed roles into `is_default` at graph build time, so every rule that already filters on it - and the risky-role template exclusion - picks them up without a query change. Detection is marker based rather than an enumeration of role names, which would go stale with each provider release: a role qualifies on a label the provider stamps on the RBAC it owns, or on a name prefix it has reserved. The classification is deliberately coarse, so it is escapable in both directions. TREAT_VENDOR_MANAGED_ROLES_AS_DEFAULT=false judges vendor roles like any other while leaving the Kubernetes defaults excluded, and RISK_RULE_QUERY_EXCLUDE_DEFAULT_ROLES=false brings both back. Closes #326 * Expose vendor managed role handling in the chart The classification is on by default, so a chart user gets the quieter report without touching anything - but opting back out meant setting an environment variable the deployment template has no slot for, and its env list is fixed rather than merged from values. Add the value alongside the other params. Kubernetes' own defaults are still governed by RISK_RULE_QUERY_EXCLUDE_DEFAULT_ROLES, which the chart does not expose, as bringing those back is an unusual thing to want from a Helm value. * Bump the chart, the gem and the manifests to v0.1.6 Chart 0.1.5 is already published, so the vendor managed role change ships as a new version rather than in place. The chart's image tag defaults to .Chart.AppVersion, which follows so that installing chart 0.1.6 pulls quay.io/appvia/krane:v0.1.6 rather than the previous image. Krane::VERSION and the raw manifests carry the same version, and the lockfile follows because the gem is resolved from the path. The tag itself is not cut here.
Migrate from end-of-life RedisGraph to FalkorDB (#526) * Migrate from end-of-life RedisGraph to FalkorDB * Note the FalkorDB licence in the README * Drop the hosted-service caveat from the licence note * Bump the chart to 0.1.5 for the FalkorDB switch * Point the chart, the gem and the manifests at v0.1.5
Point the chart and the gem at v0.1.4 (#522) The chart's image tag defaults to .Chart.AppVersion, which still read v0.1.3, so installing chart 0.1.4 pulled the previous image. It now renders quay.io/appvia/krane:v0.1.4. The chart version itself is left at 0.1.4. Nothing has consumed that release yet, so it is corrected in place rather than superseded. Krane::VERSION had been left at 0.1.0 since the initial release, so `krane --version` and the built gem both understated what was shipped. The lockfile follows because the gem is resolved from the path.
Point the chart and the gem at v0.1.4 (#522) The chart's image tag defaults to .Chart.AppVersion, which still read v0.1.3, so installing chart 0.1.4 pulled the previous image. It now renders quay.io/appvia/krane:v0.1.4. The chart version itself is left at 0.1.4. Nothing has consumed that release yet, so it is corrected in place rather than superseded. Krane::VERSION had been left at 0.1.0 since the initial release, so `krane --version` and the built gem both understated what was shipped. The lockfile follows because the gem is resolved from the path.
Bump nanoid from 3.3.7 to 3.3.8 in /dashboard (#420) Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](ai/nanoid@3.3.7...3.3.8) --- updated-dependencies: - dependency-name: nanoid dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump chart version (#400) * Bump helm chart version * CI config tweak
PreviousNext