{"modulePath":"github.com/DataDog/datadog-agent/pkg/rshell","version":"v0.0.0-20261123183036-22e76aaedc1d","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/DataDog/datadog-agent/pkg/rshell","name":"rshell","synopsis":"Package rshell contains the restricted shell module.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/allowedpaths","name":"allowedpaths","synopsis":"Package allowedpaths implements a filesystem sandbox that restricts access to a set of allowed directories using os.Root (Go 1.24+).","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/allowedpaths/internal/fsstat","name":"fsstat","synopsis":"Package fsstat reads filesystem metadata for a path opened through os.Root.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/allowedpaths/internal/writeopen","name":"writeopen","synopsis":"Package writeopen opens sandboxed files for writing.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/analysis","name":"analysis","synopsis":"Package analysis provides a go/analysis.Analyzer that enforces symbol-level import restrictions on Go source files.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins","name":"builtins","synopsis":"Package builtins defines restricted shell commands and their capabilities.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/awk","name":"awk","synopsis":"Package awk implements a restricted, POSIX-oriented awk interpreter.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/break","name":"breakcmd","synopsis":"Package breakcmd implements the break builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/cat","name":"cat","synopsis":"Package cat implements the cat builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/cd","name":"cd","synopsis":"Package cd implements the cd builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/continue","name":"continuecmd","synopsis":"Package continuecmd implements the continue builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/cut","name":"cut","synopsis":"Package cut implements the cut builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/df","name":"df","synopsis":"Package df implements the df builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/du","name":"du","synopsis":"Package du implements the du builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/echo","name":"echo","synopsis":"Package echo implements the echo builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/exit","name":"exit","synopsis":"Package exit implements the exit builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/false","name":"falsecmd","synopsis":"Package falsecmd implements the false builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/find","name":"find","synopsis":"Package find implements the find builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/free","name":"free","synopsis":"Package free implements the free builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/grep","name":"grep","synopsis":"Package grep implements the grep builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/head","name":"head","synopsis":"Package head implements the head builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/help","name":"help","synopsis":"Package help implements the help builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/boundedreplace","name":"boundedreplace","synopsis":"Package boundedreplace sizes the result of a string replacement before any of it is allocated.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/diskstats","name":"diskstats","synopsis":"Package diskstats reads mounted-filesystem usage information from the kernel and presents it as a normalised cross-platform Mount struct.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/flagparser","name":"flagparser","synopsis":"Package flagparser bridges between pflag and the GNU-getopt wording that rshell builtins are expected to match.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/loopctl","name":"loopctl","synopsis":"Package loopctl bounds command iteration and checks cancellation.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/meminfo","name":"meminfo","synopsis":"Package meminfo reads host memory and swap usage from the kernel and presents it as a normalised cross-platform Info struct.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/ntfsmft","name":"ntfsmft","synopsis":"Package ntfsmft computes disk usage for a target directory on an NTFS volume by reading the raw $MFT.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/procfd","name":"procfd","synopsis":"Package procfd provides Linux open-file-descriptor enumeration for the lsof builtin.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/procinfo","name":"procinfo","synopsis":"Package procinfo provides OS-specific process information for the ps builtin.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/procmaps","name":"procmaps","synopsis":"Package procmaps reads per-process virtual memory mappings for the pmap builtin and presents them as a normalised cross-platform slice of Mapping.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/procnetroute","name":"procnetroute","synopsis":"Package procnetroute reads the Linux IPv4 routing table from /proc/net/route.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/procnetsocket","name":"procnetsocket","synopsis":"Package procnetsocket reads Linux socket state from /proc/net/.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/procpath","name":"procpath","synopsis":"Package procpath provides the single canonical default path to the Linux proc filesystem.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/procsyskernel","name":"procsyskernel","synopsis":"Package procsyskernel reads Linux kernel information from /proc/sys/kernel/.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/sizeparse","name":"sizeparse","synopsis":"Package sizeparse parses coreutils-style non-negative byte sizes.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/sysinfo","name":"sysinfo","synopsis":"Package sysinfo provides cross-platform access to system uptime and load average data.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/vmstat","name":"vmstat","synopsis":"Package vmstat reads virtual-memory, swap, IO-paging, and CPU pressure counters from the kernel and presents them as a normalised cross-platform Stats struct.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/winnet","name":"winnet","synopsis":"Package winnet provides socket enumeration for Windows via iphlpapi.dll.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/internal/winpoll","name":"winpoll","synopsis":"Package winpoll provides a non-consuming readability probe for Windows file handles.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/ip","name":"ip","synopsis":"Package ip implements the ip builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/journalctl","name":"journalctl","synopsis":"Package journalctl implements a bounded systemd journal query builtin.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/jq","name":"jq","synopsis":"Package jq implements a bounded, read-only jq subset without external code or data.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/logrotate","name":"logrotate","synopsis":"Package logrotate implements a remediation-mode log truncation builtin.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/ls","name":"ls","synopsis":"Package ls implements the ls builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/lsof","name":"lsof","synopsis":"Package lsof implements the lsof builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/ntfsdu","name":"ntfsdu","synopsis":"Package ntfsdu implements the Windows-only ntfs-du builtin.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/ping","name":"ping","synopsis":"Package ping implements the ping builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/pmap","name":"pmap","synopsis":"Package pmap implements the pmap builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/printf","name":"printf","synopsis":"Package printf implements the printf builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/ps","name":"ps","synopsis":"Package ps implements the ps builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/pwd","name":"pwd","synopsis":"Package pwd implements the pwd builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/read","name":"read","synopsis":"Package read implements the read builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/rm","name":"rm","synopsis":"Package rm implements the rm builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/sed","name":"sed","synopsis":"Package sed implements the sed builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/sha256sum","name":"sha256sum","synopsis":"Package sha256sum implements the sha256sum builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/sort","name":"sort","synopsis":"Package sort implements the sort builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/ss","name":"ss","synopsis":"Package ss implements the ss builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/stat","name":"stat","synopsis":"Package stat implements the stat filesystem-status builtin.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/strings_cmd","name":"strings_cmd","synopsis":"Package strings_cmd implements the strings builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/systemctl","name":"systemctl","synopsis":"Package systemctl implements a capability-bounded systemd unit manager.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/tail","name":"tail","synopsis":"Package tail implements the tail builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/tee","name":"tee","synopsis":"Package tee implements the tee builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/testcmd","name":"testcmd","synopsis":"Package testcmd implements the POSIX test and [ builtin commands.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/testutil","name":"testutil","synopsis":"Package testutil provides shared test helpers for builtin command tests.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/tr","name":"tr","synopsis":"Package tr implements the tr builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/true","name":"truecmd","synopsis":"Package truecmd implements the true builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/truncate","name":"truncate","synopsis":"Package truncate implements the truncate builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/uname","name":"uname","synopsis":"Package uname implements the uname builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/uniq","name":"uniq","synopsis":"Package uniq implements the uniq builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/uptime","name":"uptime","synopsis":"Package uptime implements the uptime builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/vmstat","name":"vmstat","synopsis":"Package vmstat implements the vmstat builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/wc","name":"wc","synopsis":"Package wc implements the wc builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/builtins/xargs","name":"xargs","synopsis":"Package xargs implements the xargs builtin command.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/cmd/rshell","name":"main","synopsis":"Package main provides the rshell development CLI.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/internal/interpoption","name":"interpoption","synopsis":"Package interpoption provides internal-only interpreter options that are not part of the public API.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/internal/sandbox/landlock","name":"landlock","synopsis":"Package landlock applies a process-wide Landlock filesystem policy derived from rshell AllowedPaths entries.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/internal/sandbox/seccomp","name":"seccomp","synopsis":"Package seccomp installs the syscall restrictions used by the privileged rshell worker.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/internal/systemd","name":"systemd","synopsis":"Package systemd contains the trusted target and transport implementation used by systemd-aware builtins.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/internal/version","name":"version","synopsis":"Package version exposes the build version of rshell.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/interp","name":"interp","synopsis":"Package interp implements a restricted shell interpreter designed for safe, sandboxed execution.","isRedistributable":true},{"path":"github.com/DataDog/datadog-agent/pkg/rshell/privilegedhelper","name":"privilegedhelper","synopsis":"Package privilegedhelper defines the authenticated wire protocol shared by rshell's privileged helper and the Datadog Private Action Runner.","isRedistributable":true}],"total":82}}
