Documentation
Docs Home › Configuration › Agent Configuration

Agent Configuration

Agent configuration reference

File (Enterprise virt unit). /etc/zcs/agent.yml
Source authority. configs/agent.example.yml

Restart the Agent after YAML changes. Hosting profile uses a different file — Hosting Agent Configuration.

Do not treat agent.operating_mode: edge as a certified public product. Default example protection_model: hybrid does not match the Hosting profile identity. UID/GID filtering is not a stable customer contract.

server

Scroll sideways to see the full table. Use the arrow keys when focused.

KeyComponentDescriptionTypeRequiredDefaultAllowed valuesExampleSecret/sensitiveRestart/reloadEditionInteractionsSource authority
server.manager_urlAgentPrimary Manager URLURLyeshttps URLhttps://manager.example.com:8443norestartSharedignored if manager_urls non-emptyagent.example.yml
server.manager_urlsAgentFailover URL listURL[]noemptyhttps URLsnorestartSharedtakes priority when setagent.example.yml
server.tokenAgentOne-time bootstrap JWTstringno""yesrestartSharedprefer AGENT_TOKEN; do not keep steady-state JWT in YAMLagent.example.yml
server.verify_tlsAgentVerify Manager TLSboolnotruetrue/falsetruenorestartSharedkeep trueagent.example.yml
server.allow_insecure_remote_tlsAgentBreak-glass skip verify for non-loopbackboolnofalsetrue/falsefalsenorestartSharedonly with verify_tls=falseagent.example.yml
server.heartbeat_intervalAgentHeartbeat perioddurationno30sGo duration30snorestartSharedvs Manager agents.timeoutagent.example.yml
server.custom_ca_pathAgentExtra CA bundlepathnonorestartSharedServerConfig
server.pre_tokenAgentPre-registration tokenstringenrollyesfirst enrollSharedServerConfig

agent

Scroll sideways to see the full table. Use the arrow keys when focused.

KeyComponentDescriptionTypeRequiredDefaultAllowed valuesExampleSecret/sensitiveRestart/reloadEditionInteractionsSource authority
agent.hostnameAgentReported hostnamestringnohost-01hostname not IPhost-01norestartSharedpre-register hostnameagent.example.yml
agent.interfacesAgentExplicit NICslistno[]interface names[]norestartSharedempty = validated default-route set, never all NICsagent.example.yml
agent.vm_bridge_nameAgentVM bridge for TAP discoverystringnoviifbr0ifaceviifbr0norestartSharedexample name not globalagent.example.yml
agent.log_levelAgentAgent log levelstringnoinfodebug/info/warn/errorinfonorestartSharedagent.example.yml
agent.log_fileAgentLog pathpathno/var/log/zcs/firewall-agent.logpath or empty stdoutnorestartSharedagent.example.yml
agent.protection_modelAgentProfile familyenumnoexample hybridvirtualization | hosting | hybridvirtualizationnorestartSharedthe hybrid example misleads vs Hosting identity; Hosting v2 uses hosting YAMLagent.example.yml
agent.operating_modeAgenthost vs edgeenumnohosthost | edgehostnorestartSharededge is not a certified public productagent.example.yml
agent.edge.transit_interfacesAgentEdge transit NICslistif edge[]norestartSharednot public productAgentEdgeConfig
agent.edge.recovery_modeAgentEdge recoverystringif edgefail_openfail_opennorestartSharedAgentEdgeConfig

ebpf

Scroll sideways to see the full table. Use the arrow keys when focused.

KeyComponentDescriptionTypeRequiredDefaultAllowed valuesExampleSecret/sensitiveRestart/reloadEditionInteractionsSource authority
ebpf.program_pathAgentXDP objectpathvirt/opt/zcs/ebpf/firewall.opathnorestartSharedchecksumsagent.example.yml
ebpf.tc_program_pathAgentTC egress objectpathvirt/opt/zcs/ebpf/firewall_egress.opathnorestartSharedagent.example.yml
ebpf.cgroup_program_pathAgentUID/GID V3 objectpathno/opt/zcs/ebpf/uid_gid_filter_v3.opathnorestartSharedUID/GID not a stable customer contractagent.example.yml
ebpf.enable_uid_gid_filteringAgentUID/GID hooksboolnoexample truetrue/falsefalse until a stable customer contract is publishednorestartSharednot packet filteragent.example.yml
ebpf.xdp_attach_modeAgentXDP attachenumnoautoauto | native | generic | offloadautonorestartSharedagent.example.yml
ebpf.min_kernel_versionAgentPreflight kernelstringno5.8.0dotted version5.8.0norestartSharedno certified OS/kernel matrixagent.example.yml
ebpf.strict_kernel_version_checkAgentFail if unreadableboolnotruetrue/falsetruenorestartSharedagent.example.yml
ebpf.verify_artifact_integrityAgentChecksum objectsboolnotruetrue/falsetruenorestartSharedkeep onagent.example.yml
ebpf.allow_unsigned_artifactsAgentBreak-glass unsignedboolnofalsetrue/falsefalsenorestartSharedincident onlyagent.example.yml
ebpf.enable_pinned_mapsAgentPersist mapsboolnotruetrue/falsetruenorestartSharedzwallctl mapagent.example.yml
ebpf.checksums_manifest_pathAgentChecksum manifestpathno/opt/zcs/ebpf/ebpf_checksums.txtpathnorestartSharedagent.example.yml

virtualization / metrics / geoip

Scroll sideways to see the full table. Use the arrow keys when focused.

KeyComponentDescriptionTypeRequiredDefaultAllowed valuesExampleSecret/sensitiveRestart/reloadEditionInteractionsSource authority
virtualization.enabledAgentlibvirt inventoryboolnotrue/falsetrue on KVM hostsnorestartSharedVirtualizationConfig
virtualization.platformAgentVirt platformstringnokvmkvm (proxmox/xen strings exist; KVM is the documented path)kvmnorestartSharedVirtualizationConfig
virtualization.libvirt.uriAgentlibvirt URIstringnoqemu:///systemURIqemu:///systemnorestartSharedLibvirtConfig
virtualization.libvirt.read_onlyAgentRead-only libvirtboolnofalsetrue/falsefalsenorestartSharedLibvirtConfig
metrics.enabledAgentLocal metrics serverboolnofalsetrue/falsefalsenorestartSharedbind localhostAgentMetricsConfig
metrics.bind_addressAgentMetrics bindstringno127.0.0.1IP127.0.0.1norestartSharedAgentMetricsConfig
metrics.portAgentMetrics portintno90909090norestartSharedAgentMetricsConfig
geoip.enabledAgentLocal GeoIPboolnofalsetrue/falsefalsenorestartSharedManager sync preferredAgentGeoIPConfig
geoip.database_pathAgentLocal MMDBpathif enablednorestartSharedAgentGeoIPConfig

Updater YAML on the Agent is not a production upgrade path.

Warning: the shipped example serializes detection.profiles as a YAML list (- name: …). The Agent loader expects a map. Do not copy the example list as a guaranteed load; that format is under engineering review. If a copied example fails to parse, this gap is the likely cause.

See also Virtualization Behavior.