go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers/os/resources/services/testdata/alpine-image.toml (about) 1 [files."/etc/os-release"] 2 content = """ 3 NAME="Alpine Linux" 4 ID=alpine 5 VERSION_ID=3.13.0_alpha20200917 6 PRETTY_NAME="Alpine Linux edge" 7 HOME_URL="https://alpinelinux.org/" 8 BUG_REPORT_URL="https://bugs.alpinelinux.org/" 9 """ 10 11 [files."/etc/init.d"] 12 [files."/etc/init.d".stat] 13 isdir = true 14 15 [files."/etc/init.d/agetty"] 16 content = """ 17 content does not matter for testing 18 """ 19 20 [files."/etc/init.d/urandom"] 21 content = """ 22 content does not matter for testing 23 """ 24 25 [files."/etc/runlevels/"] 26 [files."/etc/runlevels/".stat] 27 isdir = true 28 29 [files."/etc/runlevels/boot"] 30 [files."/etc/runlevels/boot".stat] 31 isdir = true 32 33 [files."/etc/runlevels/default"] 34 [files."/etc/runlevels/default".stat] 35 isdir = true 36 37 [files."/etc/runlevels/nonetwork"] 38 [files."/etc/runlevels/nonetwork".stat] 39 isdir = true 40 41 [files."/etc/runlevels/shutdown"] 42 [files."/etc/runlevels/shutdown".stat] 43 isdir = true 44 45 [files."/etc/runlevels/sysinit"] 46 [files."/etc/runlevels/sysinit".stat] 47 isdir = true 48 49 [files."/etc/runlevels/sysinit/agetty"] 50 content = """ 51 this is actually a symlink to /etc/init.d/agetty 52 """ 53 54 # this is just for mock, a container image does not include it 55 # mock has the capability to run commands 56 [commands."rc-status -s"] 57 stdout = "" 58 59 [commands."which rc-status"] 60 stdout = ""