go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers/os/resources/services/testdata/alpine-container.toml (about)

     1  [commands."uname -r"]
     2  stdout = "5.4.39-linuxkit"
     3  
     4  [commands."uname -s"]
     5  stdout = "Linux"
     6  
     7  [commands."uname -m"]
     8  stdout = "x86_64"
     9  
    10  [files."/etc/os-release"]
    11  content = """
    12  NAME="Alpine Linux"
    13  ID=alpine
    14  VERSION_ID=3.13.0_alpha20200917
    15  PRETTY_NAME="Alpine Linux edge"
    16  HOME_URL="https://alpinelinux.org/"
    17  BUG_REPORT_URL="https://bugs.alpinelinux.org/"
    18  """
    19  
    20  [commands."rc-status -s"]
    21  stdout = """
    22  local                                                       [  stopped  ]
    23  savecache                                                   [  stopped  ]
    24  hwdrivers                                                   [  stopped  ]
    25  osclock                                                     [  stopped  ]
    26  agetty                                                      [  started  ]
    27  bootmisc                                                    [  stopped  ]
    28  modules                                                     [  stopped  ]
    29  loopback                                                    [  stopped  ]
    30  runsvdir                                                    [  stopped  ]
    31  firstboot                                                   [  stopped  ]
    32  sysfsconf                                                   [  stopped  ]
    33  sysctl                                                      [  stopped  ]
    34  killprocs                                                   [  stopped  ]
    35  s6-svscan                                                   [  stopped  ]
    36  mtab                                                        [  stopped  ]
    37  modloop                                                     [  stopped  ]
    38  machine-id                                                  [  stopped  ]
    39  staticroute                                                 [  stopped  ]
    40  """
    41  
    42  [files."/etc/init.d"]
    43    [files."/etc/init.d".stat]
    44    isdir = true
    45  
    46  [files."/etc/init.d/agetty"]
    47  content = """
    48  content does not matter for testing
    49  """
    50  
    51  [files."/etc/init.d/urandom"]
    52  content = """
    53  content does not matter for testing
    54  """
    55  
    56  [files."/etc/runlevels/"]
    57    [files."/etc/runlevels/".stat]
    58    isdir = true
    59  
    60  [files."/etc/runlevels/boot"]
    61    [files."/etc/runlevels/boot".stat]
    62    isdir = true
    63  
    64  [files."/etc/runlevels/default"]
    65    [files."/etc/runlevels/default".stat]
    66    isdir = true
    67  
    68  [files."/etc/runlevels/nonetwork"]
    69    [files."/etc/runlevels/nonetwork".stat]
    70    isdir = true
    71  
    72  [files."/etc/runlevels/shutdown"]
    73    [files."/etc/runlevels/shutdown".stat]
    74    isdir = true
    75  
    76  [files."/etc/runlevels/sysinit"]
    77    [files."/etc/runlevels/sysinit".stat]
    78    isdir = true
    79  
    80  [files."/etc/runlevels/sysinit/agetty"]
    81  content = """
    82  this is actually a symlink to /etc/init.d/agetty
    83  """
    84  
    85  [commands."which rc-status"]
    86  stdout = "/bin/rc-status"