Skip to content

containerd and runc audit checks use the wrong path #424

@illyaMs

Description

@illyaMs

Hi everyone (and thanks for doing a great job for community by maintainting this project and contrubuting to it)!

Problem:
The following checks:

  • 1.2.11 Ensure auditing is configured for Docker files and directories - /usr/bin/containerd
  • 1.2.12 Ensure auditing is configured for Docker files and directories - /usr/sbin/runc
    are looking for the containerd and runc audit entries, supposing that the files themselves may be found under /usr/bin/containerd/ and /usr/sbin/runc folders, respectively.

However, those files may also be found under /usr/bin/docker-containerd and /usr/bin/docker-runc, respectively. (My guess it depends on docker version and/or OS). Also in documentation section the suggested container mounts are /usr/bin/docker-containerd and /usr/bin/docker-runc.

Possible solutions:

  1. Use a /usr/bin/docker-containerd//usr/bin/runc as fallback paths in 1.2.11 & 1.2.12 tests
  2. Somehow resolve this path dynamically in both tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions