go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/mql/testdata/centos8.toml (about)

     1  [commands."uname -s"]
     2  stdout = "Linux"
     3  
     4  [commands."uname -m"]
     5  stdout = "x86_64"
     6  
     7  [commands."uname -r"]
     8  stdout = "5.10.104-linuxkit"
     9  
    10  [commands."command -v rpm"]
    11    command = "command -v rpm"
    12    stdout = "/usr/bin/rpm\n"
    13    stderr = ""
    14    exit_status = 0
    15  
    16  [commands."rpm -qa --queryformat '%{NAME} %{EPOCH}:%{VERSION}-%{RELEASE} %{ARCH} %{SUMMARY}\\n'"]
    17    command = "rpm -qa --queryformat '%{NAME} %{EPOCH}:%{VERSION}-%{RELEASE} %{ARCH} %{SUMMARY}\\n'"
    18    stdout = "crypto-policies (none):20200713-1.git51d1222.el8 noarch System-wide crypto policies\npython3-pip-wheel (none):9.0.3-18.el8 noarch The pip wheel\nncurses-base (none):6.1-7.20180224.el8 noarch Descriptions of common terminals\ndnf-data (none):4.2.23-4.el8 noarch Common data and configuration files for DNF\ndbus-common 1:1.12.8-11.el8 noarch D-BUS message bus configuration\ncentos-linux-release (none):8.3-1.2011.el8 noarch CentOS Linux release files\nsetup (none):2.12.2-6.el8 noarch A set of system configuration and setup files\nbasesystem (none):11-5.el8 noarch The skeleton package which defines a simple centos system\nlibselinux (none):2.9-4.el8_3 x86_64 SELinux library and simple utilities\nglibc-minimal-langpack (none):2.28-127.el8 x86_64 Minimal language packs for glibc.\nglibc (none):2.28-127.el8 x86_64 The GNU libc libraries\nlibsepol (none):2.9-1.el8 x86_64 SELinux binary policy manipulation library\nxz-libs (none):5.2.4-3.el8 x86_64 Libraries for decoding LZMA compression\nlibcap (none):2.26-4.el8 x86_64 Library for getting and setting POSIX.1e capabilities\ninfo (none):6.5-6.el8 x86_64 A stand-alone TTY-based reader for GNU texinfo documentation\nlibcom_err (none):1.45.6-1.el8 x86_64 Common error description library\nlibxml2 (none):2.9.7-8.el8 x86_64 Library providing XML and HTML support\nexpat (none):2.2.5-4.el8 x86_64 An XML parser library\nlibuuid (none):2.32.1-24.el8 x86_64 Universally unique ID library\nchkconfig (none):1.13-2.el8 x86_64 A system tool for maintaining the /etc/rc*.d hierarchy\ngmp 1:6.1.2-10.el8 x86_64 A GNU arbitrary precision library\nlibattr (none):2.4.48-3.el8 x86_64 Dynamic library for extended attribute support\ncoreutils-single (none):8.30-8.el8 x86_64 coreutils multicall binary\nsed (none):4.5-2.el8 x86_64 A GNU stream text editor\nlibcap-ng (none):0.7.9-5.el8 x86_64 An alternate posix capabilities library\nlibffi (none):3.1-22.el8 x86_64 A portable foreign function interface library\nlibzstd (none):1.4.4-1.el8 x86_64 Zstd shared library\nlz4-libs (none):1.8.3-2.el8 x86_64 Libaries for lz4\nlibgcrypt (none):1.8.5-4.el8 x86_64 A general-purpose cryptography library\ngzip (none):1.9-9.el8 x86_64 The GNU data compression program\nlibunistring (none):0.9.9-3.el8 x86_64 GNU Unicode string library\nlibassuan (none):2.5.1-3.el8 x86_64 GnuPG IPC library\nkeyutils-libs (none):1.5.10-6.el8 x86_64 Key utilities library\np11-kit-trust (none):0.23.14-5.el8_0 x86_64 System trust module from p11-kit\npcre (none):8.42-4.el8 x86_64 Perl-compatible regular expression library\nsystemd-libs (none):239-41.el8_3 x86_64 systemd libraries\ndbus-tools 1:1.12.8-11.el8 x86_64 D-BUS Tools and Utilities\nlibusbx (none):1.0.23-4.el8 x86_64 Library for accessing USB devices\nca-certificates (none):2020.2.41-80.0.el8_2 noarch The Mozilla CA root certificate bundle\nlibdb (none):5.3.28-39.el8 x86_64 The Berkeley DB database library for C\nima-evm-utils (none):1.1-5.el8 x86_64 IMA/EVM support utilities\nlibdb-utils (none):5.3.28-39.el8 x86_64 Command line tools for managing Berkeley DB databases\nxz (none):5.2.4-3.el8 x86_64 LZMA compression utilities\ngdbm 1:1.18-1.el8 x86_64 A GNU set of database routines which use extensible hashing\nshadow-utils 2:4.6-11.el8 x86_64 Utilities for managing accounts and shadow password files\nlibutempter (none):1.1.6-14.el8 x86_64 A privileged helper for utmp/wtmp updates\nacl (none):2.2.53-1.el8 x86_64 Access control list utilities\nnettle (none):3.4.1-2.el8 x86_64 A low-level cryptographic library\nglib2 (none):2.56.4-8.el8 x86_64 A library of handy utility functions\nlibcomps (none):0.1.11-4.el8 x86_64 Comps XML file manipulation library\nfindutils 1:4.6.0-20.el8 x86_64 The GNU versions of find utilities (find and xargs)\ncpio (none):2.12-8.el8 x86_64 A GNU archiving program\nipcalc (none):0.2.4-4.el8 x86_64 IP network address calculator\niproute (none):5.3.0-5.el8 x86_64 Advanced IP routing and network device configuration tools\nlibpcap 14:1.9.1-4.el8 x86_64 A system-independent interface for user-level packet capture\nlibseccomp (none):2.4.3-1.el8 x86_64 Enhanced seccomp library\ngawk (none):4.2.1-1.el8 x86_64 The GNU version of the AWK text processing utility\nkrb5-libs (none):1.18.2-5.el8 x86_64 The non-admin shared libraries used by Kerberos 5\nlibnsl2 (none):1.2.0-2.20180605git4a062cf.el8 x86_64 Public client interface library for NIS(YP) and NIS+\nplatform-python (none):3.6.8-31.el8 x86_64 Internal interpreter of the Python programming language\nlibpwquality (none):1.4.0-9.el8 x86_64 A library for password generation and password quality checking\nutil-linux (none):2.32.1-24.el8 x86_64 A collection of basic system utilities\ncurl (none):7.61.1-14.el8 x86_64 A utility for getting files from remote servers (FTP, HTTP, and others)\nrpm-libs (none):4.14.3-4.el8 x86_64 Libraries for manipulating RPM packages\ndevice-mapper 8:1.02.171-5.el8 x86_64 Device mapper utility\ncryptsetup-libs (none):2.3.3-2.el8 x86_64 Cryptsetup shared library\nelfutils-libs (none):0.180-1.el8 x86_64 Libraries to handle compiled objects\nsystemd (none):239-41.el8_3 x86_64 System and Service Manager\niputils (none):20180629-2.el8 x86_64 Network monitoring tools including ping\nlibkcapi-hmaccalc (none):1.2.0-2.el8 x86_64 Drop-in replacements for hmaccalc provided by the libkcapi package\ndracut (none):049-95.git20200804.el8 x86_64 Initramfs generator using udev\npython3-libcomps (none):0.1.11-4.el8 x86_64 Python 3 bindings for libcomps library\ndhcp-client 12:4.3.6-41.el8 x86_64 Provides the ISC DHCP client daemon and dhclient-script\ncyrus-sasl-lib (none):2.1.27-5.el8 x86_64 Shared libraries needed by applications which use Cyrus SASL\nlibyaml (none):0.1.7-5.el8 x86_64 YAML 1.1 parser and emitter written in C\nnpth (none):1.5-4.el8 x86_64 The New GNU Portable Threads library\ngpgme (none):1.13.1-3.el8 x86_64 GnuPG Made Easy - high level crypto API\nlibdnf (none):0.48.0-5.el8 x86_64 Library providing simplified C and Python API to libsolv\npython3-hawkey (none):0.48.0-5.el8 x86_64 Python 3 bindings for the hawkey library\nrpm-build-libs (none):4.14.3-4.el8 x86_64 Libraries for building and signing RPM packages\npython3-dnf (none):4.2.23-4.el8 noarch Python 3 interface to DNF\nyum (none):4.2.23-4.el8 noarch Package manager\nbinutils (none):2.30-79.el8 x86_64 A GNU collection of binary utilities\nvim-minimal 2:8.0.1763-15.el8 x86_64 A minimal version of the VIM editor\nless (none):530-1.el8 x86_64 A text file browser similar to more, but better\nrootfiles (none):8.1-22.el8 noarch The basic required files for the root user's directory\nlibgcc (none):8.3.1-5.1.el8 x86_64 GCC version 8 shared support library\npython3-setuptools-wheel (none):39.2.0-6.el8 noarch The setuptools wheel\ntzdata (none):2020d-1.el8 noarch Timezone data\nlibreport-filesystem (none):2.9.5-15.el8 x86_64 Filesystem layout for libreport\ndhcp-common 12:4.3.6-41.el8 noarch Common files used by ISC dhcp client, server and relay agent\ncentos-gpg-keys 1:8-2.el8 noarch CentOS RPM keys\ncentos-linux-repos (none):8-2.el8 noarch CentOS Linux package repositories\nfilesystem (none):3.8-3.el8 x86_64 The basic directory layout for a Linux system\npcre2 (none):10.32-2.el8 x86_64 Perl-compatible regular expression library\nncurses-libs (none):6.1-7.20180224.el8 x86_64 Ncurses libraries\nglibc-common (none):2.28-127.el8 x86_64 Common binaries and locale data for glibc\nbash (none):4.4.19-12.el8 x86_64 The GNU Bourne Again shell\nzlib (none):1.2.11-16.el8_2 x86_64 The compression and decompression library\nbzip2-libs (none):1.0.6-26.el8 x86_64 Libraries for applications using bzip2\nlibgpg-error (none):1.31-1.el8 x86_64 Library for error values used by GnuPG components\nelfutils-libelf (none):0.180-1.el8 x86_64 Library to read and write ELF files\nlibxcrypt (none):4.1.1-4.el8 x86_64 Extended crypt library for DES, MD5, Blowfish and others\nsqlite-libs (none):3.26.0-11.el8 x86_64 Shared library for the sqlite3 embeddable SQL database engine.\nlibstdc++ (none):8.3.1-5.1.el8 x86_64 GNU Standard C++ Library\npopt (none):1.16-14.el8 x86_64 C library for parsing command line parameters\nreadline (none):7.0-10.el8 x86_64 A library for editing typed command lines\njson-c (none):0.13.1-0.2.el8 x86_64 JSON implementation in C\nlibacl (none):2.2.53-1.el8 x86_64 Dynamic library for access control list support\nlibblkid (none):2.32.1-24.el8 x86_64 Block device ID library\nlibmount (none):2.32.1-24.el8 x86_64 Device mounting library\naudit-libs (none):3.0-0.17.20191104git1c2f876.el8 x86_64 Dynamic library for libaudit\nlibsmartcols (none):2.32.1-24.el8 x86_64 Formatting library for ls-like programs.\nlua-libs (none):5.3.4-11.el8 x86_64 Libraries for lua\np11-kit (none):0.23.14-5.el8_0 x86_64 Library for loading and sharing PKCS#11 modules\nfile-libs (none):5.33-16.el8 x86_64 Libraries for applications using libmagic\ncracklib (none):2.9.6-15.el8 x86_64 A password-checking library\nlibidn2 (none):2.2.0-1.el8 x86_64 Library to support IDNA2008 internationalized domain names\ngdbm-libs 1:1.18-1.el8 x86_64 Libraries files for gdbm\nlibtasn1 (none):4.13-3.el8 x86_64 The ASN.1 library used in GNUTLS\nlzo (none):2.08-14.el8 x86_64 Data compression library with very fast (de)compression\ngrep (none):3.1-6.el8 x86_64 Pattern matching utilities\ndbus-libs 1:1.12.8-11.el8 x86_64 Libraries for accessing D-BUS\ndhcp-libs 12:4.3.6-41.el8 x86_64 Shared libraries used by ISC dhcp client and server\nprocps-ng (none):3.3.15-3.el8 x86_64 System and process monitoring utilities\nopenssl-libs 1:1.1.1g-11.el8 x86_64 A general purpose cryptography library with TLS implementation\nkmod-libs (none):25-16.el8 x86_64 Libraries to handle kernel module loading and unloading\nkmod (none):25-16.el8 x86_64 Linux kernel module management utilities\nlibarchive (none):3.3.2-9.el8 x86_64 A library for handling streaming archive formats\nsquashfs-tools (none):4.3-19.el8 x86_64 Utility for the creation of squashfs filesystems\nlibsemanage (none):2.9-3.el8 x86_64 SELinux binary policy manipulation library\ndbus-daemon 1:1.12.8-11.el8 x86_64 D-BUS message bus\nlibfdisk (none):2.32.1-24.el8 x86_64 Partitioning library for fdisk-like programs.\nmpfr (none):3.1.6-1.el8 x86_64 A C library for multiple-precision floating-point computations\ngnutls (none):3.6.14-6.el8 x86_64 A TLS protocol implementation\nsnappy (none):1.1.8-3.el8 x86_64 Fast compression and decompression library\nlibmetalink (none):0.1.3-7.el8 x86_64 Metalink library written in C\nlibksba (none):1.3.5-7.el8 x86_64 CMS and X.509 library\nethtool 2:5.0-2.el8 x86_64 Settings tool for Ethernet NICs\nlibmnl (none):1.0.4-6.el8 x86_64 A minimalistic Netlink library\nlibnghttp2 (none):1.33.0-3.el8_2.1 x86_64 A library implementing the HTTP/2 protocol\niptables-libs (none):1.8.4-15.el8 x86_64 iptables libraries\nlibsigsegv (none):2.11-5.el8 x86_64 Library for handling page faults in user mode\nlibverto (none):0.3.0-5.el8 x86_64 Main loop abstraction library\nlibtirpc (none):1.1.4-4.el8 x86_64 Transport Independent RPC Library\nplatform-python-setuptools (none):39.2.0-6.el8 noarch Easily build and distribute Python 3 packages\npython3-libs (none):3.6.8-31.el8 x86_64 Python runtime libraries\npam (none):1.3.1-11.el8 x86_64 An extensible library which provides authentication for applications\nlibcurl-minimal (none):7.61.1-14.el8 x86_64 Conservatively configured build of libcurl for minimal installations\nrpm (none):4.14.3-4.el8 x86_64 The RPM package management system\nlibsolv (none):0.7.11-1.el8 x86_64 Package dependency solver\ndevice-mapper-libs 8:1.02.171-5.el8 x86_64 Device-mapper shared library\nelfutils-default-yama-scope (none):0.180-1.el8 noarch Default yama attach scope sysctl setting\nsystemd-pam (none):239-41.el8_3 x86_64 systemd PAM module\ndbus 1:1.12.8-11.el8 x86_64 D-BUS message bus\nlibkcapi (none):1.2.0-2.el8 x86_64 User space interface to the Linux Kernel Crypto API\nsystemd-udev (none):239-41.el8_3 x86_64 Rule-based device node and kernel event manager\ndracut-squash (none):049-95.git20200804.el8 x86_64 dracut module to build an initramfs with most files in a squashfs image\nbind-export-libs 32:9.11.20-5.el8 x86_64 ISC libs for DHCP application\ndracut-network (none):049-95.git20200804.el8 x86_64 dracut modules to build a dracut initramfs with network support\nopenldap (none):2.4.46-15.el8 x86_64 LDAP support libraries\nlibmodulemd (none):2.9.4-2.el8 x86_64 Module metadata manipulation library\ngnupg2 (none):2.2.20-2.el8 x86_64 Utility for secure communication and data storage\nlibrepo (none):1.12.0-2.el8 x86_64 Repodata downloading library\npython3-libdnf (none):0.48.0-5.el8 x86_64 Python 3 bindings for the libdnf library.\npython3-gpg (none):1.13.1-3.el8 x86_64 gpgme bindings for Python 3\npython3-rpm (none):4.14.3-4.el8 x86_64 Python 3 bindings for apps which will manipulate RPM packages\ndnf (none):4.2.23-4.el8 noarch Package manager\nkexec-tools (none):2.0.20-34.el8 x86_64 The kexec/kdump userspace component\ntar 2:1.30-5.el8 x86_64 A GNU file archiving program\nhostname (none):3.20-6.el8 x86_64 Utility to set/show the host name or domain name\nlangpacks-en (none):1.0-12.el8 noarch English langpacks meta-package\n"
    19    stderr = ""
    20    exit_status = 0
    21  
    22  [commands.uptime]
    23    command = "uptime"
    24    stdout = " 18:13:13 up  4:00,  0 users,  load average: 0.17, 0.11, 0.04\n"
    25    stderr = ""
    26    exit_status = 0
    27  
    28  [files."/etc/redhat-release"]
    29  content = "CentOS Linux release 8.3.2011"
    30  
    31  [files."/etc/centos-release"]
    32  content = "CentOS Linux release 8.3.2011"
    33  
    34  [files."/etc/os-release"]
    35  content = """
    36  NAME="CentOS Linux"
    37  VERSION="8"
    38  ID="centos"
    39  ID_LIKE="rhel fedora"
    40  VERSION_ID="8"
    41  PLATFORM_ID="platform:el8"
    42  PRETTY_NAME="CentOS Linux 8"
    43  ANSI_COLOR="0;31"
    44  CPE_NAME="cpe:/o:centos:centos:8"
    45  HOME_URL="https://centos.org/"
    46  BUG_REPORT_URL="https://bugs.centos.org/"
    47  CENTOS_MANTISBT_PROJECT="CentOS-8"
    48  CENTOS_MANTISBT_PROJECT_VERSION="8"
    49  """
    50  
    51  [files."/etc/ssh/sshd_config"]
    52  content = """
    53  Protocol 2
    54  Port 22
    55  UsePAM yes
    56  """