"Fossies" - the Fresh Open Source Software Archive

Member "osquery-4.3.0/specs/posix/docker_containers.table" (14 Apr 2020, 1868 Bytes) of package /linux/misc/osquery-4.3.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "docker_containers.table": 4.0.2_vs_4.2.0.

    1 table_name("docker_containers")
    2 description("Docker containers information.")
    3 schema([
    4     Column("id", TEXT, "Container ID", index=True),
    5     Column("name", TEXT, "Container name", index=True),
    6     Column("image", TEXT, "Docker image (name) used to launch this container"),
    7     Column("image_id", TEXT, "Docker image ID"),
    8     Column("command", TEXT, "Command with arguments"),
    9     Column("created", BIGINT, "Time of creation as UNIX time"),
   10     Column("state", TEXT, "Container state (created, restarting, running, removing, paused, exited, dead)"),
   11     Column("status", TEXT, "Container status information"),
   12     Column("pid", BIGINT, "Identifier of the initial process"),
   13     Column("path", TEXT, "Container path"),
   14     Column("config_entrypoint", TEXT, "Container entrypoint(s)"),
   15     Column("started_at", TEXT, "Container start time as string"),
   16     Column("finished_at", TEXT, "Container finish time as string"),
   17     Column("privileged", INTEGER, "Is the container privileged"),
   18     Column("security_options", TEXT, "List of container security options"),
   19     Column("env_variables", TEXT, "Container environmental variables"),
   20     Column("readonly_rootfs", INTEGER, "Is the root filesystem mounted as read only"),
   21 ])
   22 extended_schema(LINUX, [
   23     Column("cgroup_namespace", TEXT, "cgroup namespace"),
   24     Column("ipc_namespace", TEXT, "IPC namespace"),
   25     Column("mnt_namespace", TEXT, "Mount namespace"),
   26     Column("net_namespace", TEXT, "Network namespace"),
   27     Column("pid_namespace", TEXT, "PID namespace"),
   28     Column("user_namespace", TEXT, "User namespace"),
   29     Column("uts_namespace", TEXT, "UTS namespace")
   30 ])
   31 implementation("applications/docker@genContainers")
   32 examples([
   33   "select * from docker_containers where id = '11b2399e1426d906e62a0c357650e363426d6c56dbe2f35cbaa9b452250e3355'",
   34   "select * from docker_containers where name = '/hello'"
   35 ])