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

     1  [commands."ls -1 /etc/init.d/"]
     2  stdout = """
     3  acpid
     4  nfs
     5  ntpd
     6  sshd
     7  """
     8  
     9  [commands."find /etc/rc*.d -name 'S*'"]
    10  stdout = """/etc/rc.d/rc4.d/S58ntpd
    11  /etc/rc.d/rc4.d/S55sshd
    12  /etc/rc.d/rc4.d/S26acpid
    13  /etc/rc.d/rc5.d/S58ntpd
    14  /etc/rc.d/rc5.d/S55sshd
    15  /etc/rc.d/rc5.d/S26acpid
    16  /etc/rc.d/rc3.d/S58ntpd
    17  /etc/rc.d/rc3.d/S55sshd
    18  /etc/rc.d/rc3.d/S26acpid
    19  /etc/rc.d/rc2.d/S58ntpd
    20  /etc/rc.d/rc2.d/S55sshd
    21  /etc/rc.d/rc2.d/S26acpid
    22  """
    23  
    24  [commands."/sbin/initctl list"]
    25  stdout = """
    26  rc stop/waiting
    27  tty (/dev/tty3) start/running, process 1908
    28  tty (/dev/tty2) start/running, process 1905
    29  tty (/dev/tty1) start/running, process 1902
    30  tty (/dev/tty6) start/running, process 1914
    31  tty (/dev/tty5) start/running, process 1912
    32  tty (/dev/tty4) start/running, process 1910
    33  update-motd stop/waiting
    34  elastic-network-interfaces stop/waiting
    35  start-ttys stop/waiting
    36  rcS-sulogin stop/waiting
    37  serial stop/waiting
    38  """
    39  
    40  [commands."service acpid status"]
    41  stdout = "acpid is stopped"
    42  exit_status = 3
    43  
    44  [commands."service sshd status"]
    45  stdout = "openssh-daemon (pid  18921) is running..."
    46  
    47  [commands."service ntpd status"]
    48  stdout = "ntpd (pid  18977) is running..."
    49  
    50  [commands."uname -r"]
    51  stdout = "4.4.44-39.55.amzn1.x86_64"
    52  
    53  [commands."uname -s"]
    54  stdout = "Linux"
    55  
    56  [commands."uname -m"]
    57  stdout = "x86_64"
    58  
    59  [files."/etc/os-release"]
    60  content = """
    61  NAME="Amazon Linux AMI"
    62  VERSION="2018.03"
    63  ID="amzn"
    64  ID_LIKE="rhel fedora"
    65  VERSION_ID="2018.03"
    66  PRETTY_NAME="Amazon Linux AMI 2018.03"
    67  ANSI_COLOR="0;33"
    68  CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
    69  HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
    70  """