Kubernetes operation protection

Reviews cluster mutations, remote execution, file transfer, tunnels, certificate decisions, and Helm lifecycle operations.

command.kubernetes-operations · v1.0.0 · Cloud and infrastructure

By HOL Guard TeamBuilt-in coverageCommand coverage
Protection rules
33
Permission checks
33
Mapped commands
33

Overview

What this coverage does

Reviews cluster mutations, remote execution, file transfer, tunnels, certificate decisions, and Helm lifecycle operations.

Key facts

Catalog ID
command.kubernetes-operations
Version
v1.0.0
Kind
Command coverage
Category
Cloud and infrastructure
Protection rules
33
Permission checks
33
Mapped commands
33
Maintainer
HOL Guard Team(project-maintained)
Source commit
ff3d4eb
Protection model
Built-in coverage
Built-in coverage

This coverage is built into the native Guard runtime.

Stated limits

  • Coverage is limited to the reviewed operations and the surrounding Guard policy.
  • A maintainer profile is not a security certification or an official upstream endorsement.

Use cases

Reviewed workflows that reference this coverage

Browse all use cases

Command mapping

Every command this extension recognizes, with the catalog default floor Guard applies before workspace policy. Search the table, then open an operation for safe variants and the permission ID.

33 operations · 32 reviewed by default · 1 allowed by default These are catalog defaults, not your workspace policy.

33 operations32 reviewed1 allowed
Default floor

Showing 33 of 33 operations

  • Reviewed Guard intercepts the command for review before it runs.Critical
    • kubectl certificate approve agent-access
    Kubernetes certificate request decision
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies approval or denial of certificate signing requests that affect cluster identities.
    Documented safe variants
    Command helpskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.certificate-decision
  • Reviewed Guard intercepts the command for review before it runs.Critical
    • kubectl debug node/node-a -it --image=busybox
    Kubernetes debug session
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies debug operations that can add ephemeral containers, copy Pods, or enter node namespaces.
    Permission ID
    command.kubernetes-operations.permission.debug
  • Reviewed Guard intercepts the command for review before it runs.Critical
    • kubectl exec deployment/api -- sh -lc 'id'
    Kubernetes remote execution
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies arbitrary command execution inside a running container.
    Permission ID
    command.kubernetes-operations.permission.exec
  • Reviewed Guard intercepts the command for review before it runs.Critical
    • kubectl replace --force -f deployment.yaml
    Forced Kubernetes replace
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies forced replacement that deletes and recreates a resource without graceful handoff.
    Documented safe variants
    Command helpForced replace previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.force-replace-resources
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl annotate deployment api owner=platform --overwrite
    Kubernetes annotate
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies annotation mutations on cluster resources.
    Documented safe variants
    Command helpKubernetes annotate previewLocal-only renderingskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.annotate-resources
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl proxy --port=8001
    Kubernetes API proxy
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Opens a local proxy that provides access to the configured cluster API.
    Documented safe variants
    Command helpskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.api-proxy
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl apply -f deployment.yaml
    Kubernetes apply
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies declarative create or update operations against cluster resources.
    Documented safe variants
    Command helpKubernetes apply previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.apply-resources
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl auth reconcile -f roles.yaml
    Kubernetes access reconciliation
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Creates or updates role and role-binding permissions from a manifest.
    Documented safe variants
    Command helpskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.auth-reconcile
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl autoscale deployment api --min=2 --max=10 --cpu-percent=80
    Kubernetes autoscale
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies creation or mutation of autoscaling behavior for workloads.
    Documented safe variants
    Command helpKubernetes autoscale previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.autoscale-resources
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl config use-context development
    Kubernetes client configuration change
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Changes saved cluster connections, credentials, or the active context.
    Documented safe variants
    Command helpskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.config-write
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl cp ./config.json default/api:/tmp/config.json
    Kubernetes file copy
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies file transfer between the local machine and a container.
    Permission ID
    command.kubernetes-operations.permission.copy-files
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl create -f service.yaml
    Kubernetes create
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies imperative creation of cluster resources and generated resource requests.
    Documented safe variants
    Command helpKubernetes create previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.create-resources
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl delete
    Kubernetes resource deletion
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies deletion of live cluster resources.
    Documented safe variants
    Command helpKubernetes delete previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.delete-resources
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl drain
    Kubernetes node drain
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies node drains that evict workloads and make a node unschedulable.
    Documented safe variants
    Command helpKubernetes drain previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.drain-node
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl edit deployment api
    Kubernetes edit
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies interactive editing that writes modified resources back to the cluster.
    Documented safe variants
    Command helpskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.edit-resources
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl expose deployment api --port=80 --type=LoadBalancer
    Kubernetes expose
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies creation of Services that expose workloads on cluster networking.
    Documented safe variants
    Command helpKubernetes expose previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.expose-resources
  • Reviewed Guard intercepts the command for review before it runs.High
    • helm install api ./chart --namespace prod
    Helm release install
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies installation of a chart and its rendered resources into a cluster.
    Documented safe variants
    Command helpHelm install previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.helm-install
  • Reviewed Guard intercepts the command for review before it runs.High
    • helm rollback api 2 --namespace prod
    Helm release rollback
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies rollback of a release to a previous revision.
    Documented safe variants
    Command helpHelm rollback previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.helm-rollback
  • Reviewed Guard intercepts the command for review before it runs.High
    • helm uninstall
    Helm release removal
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies uninstall operations that remove a release and its managed cluster resources.
    Documented safe variants
    Command helpHelm uninstall previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.helm-uninstall
  • Reviewed Guard intercepts the command for review before it runs.High
    • helm upgrade api ./chart --namespace prod
    Helm release upgrade
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies upgrades that replace or mutate resources owned by an existing release.
    Documented safe variants
    Command helpHelm upgrade previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.helm-upgrade
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl label namespace prod environment=restricted --overwrite
    Kubernetes label
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies label mutations that can change selectors, policy scope, or automation behavior.
    Documented safe variants
    Command helpKubernetes label previewLocal-only renderingskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.label-resources
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl cordon node-a
    Kubernetes node scheduling change
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies cordon and uncordon operations that change whether a node accepts new workloads.
    Documented safe variants
    Command helpKubernetes scheduling previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.node-scheduling
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl patch deployment api -p '{"spec":{"replicas":2}}'
    Kubernetes patch
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies partial mutation of live cluster resources.
    Documented safe variants
    Command helpKubernetes patch previewLocal-only renderingskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.patch-resources
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl port-forward service/api 8080:80
    Kubernetes port forward
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies local network tunnels to Pods, Services, or other cluster resources.
    Permission ID
    command.kubernetes-operations.permission.port-forward
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl replace -f deployment.yaml
    Kubernetes replace
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies replacement of live cluster resources without forced deletion.
    Documented safe variants
    Command helpKubernetes replace previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.replace-resources
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl rollout pause deployment/api
    Kubernetes rollout pause or resume
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Pauses or resumes changes to a workload rollout.
    Documented safe variants
    Command helpskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.rollout-pause-resume
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl rollout restart deployment/api
    Kubernetes rollout restart
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies workload restarts that replace running Pods.
    Documented safe variants
    Command helpskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.rollout-restart
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl rollout undo deployment/api --to-revision=2
    Kubernetes rollout undo
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies rollback of a workload to a previous rollout revision.
    Documented safe variants
    Command helpKubernetes rollout undo previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.rollout-undo
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl run debug --image=alpine -- sh
    Kubernetes run
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies creation and execution of a new Pod from a container image.
    Documented safe variants
    Command helpKubernetes run previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.run-pod
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl scale deployment api --replicas=0
    Kubernetes scale
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies replica-count changes that can add or remove live workload instances.
    Documented safe variants
    Command helpKubernetes scale previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.scale-resources
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl set image deployment/api api=registry.example.com/api:v2
    Kubernetes set
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies declarative set operations that mutate image, environment, resources, selectors, or identity.
    Documented safe variants
    Command helpKubernetes set previewLocal-only renderingskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.set-resources
  • Reviewed Guard intercepts the command for review before it runs.High
    • kubectl taint nodes node-a dedicated=ops:NoExecute
    Kubernetes node taint
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies node taint changes that can alter workload placement or trigger evictions.
    Documented safe variants
    Command helpKubernetes taint previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.kubernetes-operations.permission.taint-nodes
  • Allowed Guard recognizes the command and does not intercept it unless workspace policy tightens it.Low
    • kubectl --context example -n example-namespace get deploy example-app -o jsonpath='{.status.readyReplicas}'
    Kubernetes resource reads
    Default floor
    Allowed by default. Guard recognizes the command and does not intercept it unless workspace policy tightens it.
    Detector mode
    disabled
    What it matches
    Identifies kubectl get and describe reads that cannot stream, impersonate, override the server, or load a kubeconfig.
    Permission ID
    command.kubernetes-operations.permission.read-resources

Tool state mapping

No per-tool overrides are declared. Command defaults above resolve through the workspace Guard policy unless a later policy layer changes them.

Runtime identity

Catalog ID
command.kubernetes-operations
Guard enforcement ID
command.kubernetes-operations
Source path
contributions/extensions/command.kubernetes-operations.json
Contribution digest
sha256…61d0da

Action classes

Kubernetes destructive commandKubernetes remote execution commandKubernetes network tunnel commandKubernetes remote file transfer commandKubernetes security administration commandKubernetes read-only command

Technical profile

No independent profile published

This extension has no current independent technical profile. Catalog facts and any legacy launch remain separate and are not presented as profile evidence.

FAQ

Frequently asked questions

Reviews cluster mutations, remote execution, file transfer, tunnels, certificate decisions, and Helm lifecycle operations. The listing declares 33 rules and 33 permission checks. 33 operations · 32 reviewed by default · 1 allowed by default. Coverage is limited to these reviewed operations and the surrounding Guard policy.

Built-in coverage: This coverage is built into the native Guard runtime. Enabling state is always controlled through Guard policy, never from this directory.

This listing is maintained by the HOL Guard project itself as part of the native runtime catalog.

No. Every listing documents source, activation model, maintainer identity, and stated limitations so you can evaluate coverage before enabling it. Review the stated limitations and the exact source tree before relying on any single control.

33 operations · 32 reviewed by default · 1 allowed by default. Examples: kubectl certificate approve agent-access (reviewed by default); kubectl debug node/node-a -it --image=busybox (reviewed by default); kubectl exec deployment/api -- sh -lc 'id' (reviewed by default); kubectl replace --force -f deployment.yaml (reviewed by default); kubectl annotate deployment api owner=platform --overwrite (reviewed by default); kubectl proxy --port=8001 (reviewed by default); kubectl apply -f deployment.yaml (reviewed by default); kubectl auth reconcile -f roles.yaml (reviewed by default). The remaining 25 operations are listed in the command mapping table. These are catalog defaults, not your workspace policy.

This coverage is built into the native Guard runtime. Enablement is managed through your workspace's Guard policy and controls — never from this directory. Open the install guidance for the setup flow, then adjust the command coverage for command.kubernetes-operations in Guard's policy surface.

The matching action is stopped at Guard's pre-action boundary before it executes, and the decision is recorded with evidence your workspace can review. Exact behavior follows your Guard policy combined with this entry's 33 rules and 33 permission checks.

No. Guard is local-first: interception, decisions, and evidence stay on your machine unless your workspace explicitly configures cloud features. This page is documentation only — it never executes a command or changes protection state.

Guard runs locally alongside the major AI coding agents and MCP-capable harnesses, so this coverage applies wherever Guard intercepts actions. See the supported harness guides at https://hol.org/guard/harnesses for per-tool approval behavior and limitations.

Guard has a free local tier that includes command interception, evidence, and the policy controls this listing documents. Team plans add shared policy, review queues, and audit surfaces. Current plans: https://hol.org/guard/pricing

Open an issue or pull request against the hol-guard repository, where the canonical catalog lives: https://github.com/hashgraph-online/hol-guard Listings are corrected through the same public review process that adds them.

Yes — community coverage is accepted through public pull requests with recorded provenance. Project-maintained listings like this one are extended by the HOL Guard team; propose new operations through the hol-guard repository.

The command mapping table is the audit trail for covered commands and catalog default floors. Pair it with the reviewed rule and permission counts, the per-tool state mapping, and the exact source tree linked from View exact source at the reviewed commit. Guard records enforcement decisions with evidence locally, so what ships matches what you reviewed.