oscap-chroot(8)
π NAME π
okay so listen β oscap-chroot is the tool for offline SCAP evaluation of filesystems mounted at arbitrary paths. that's the whole vibe. no cap. β¨
π¦ DESCRIPTION π¦
bestie, here's the tea: oscap-chroot runs the oscap tool on it inside a filesystem that's mounted at whatever path you hand it. that's literally it. the way it justβ¦ does that. π
and the usage of this tool mimics the usage and options of the oscap(8) tool, so if you already know that one, you're already slaying. iykyk. π
πΈ USAGE πΈ
β¨ Evaluation of XCCDF content β¨
$ oscap-chroot CHROOT_PATH xccdf eval [options] INPUT_CONTENT
supported oscap xccdf eval options are, and no we are NOT skipping any of them, periodt:
--profile
--tailoring-file
--tailoring-id
--cpe (external OVAL dependencies are not supported yet!)
--oval-results
--check-engine-results
--results
--results-arf
--report
--skip-validation
--fetch-remote-resources
--local-files
--progress
--datastream-id
--xccdf-id
--benchmark-id
heads up though: for --cpe, external OVAL dependencies are not supported yet! so don't come for me when that one doesn't do the thing. π«Ά
π Evaluation of OVAL content π
$ oscap-chroot image CHROOT_PATH oval eval [options] INPUT_CONTENT
supported oscap oval eval options are, again, the full lineup:
--id
--variables
--directives
--results
--report
--skip-validation
--datastream-id
--oval-id
π Collection of OVAL System Characteristic π
$ oscap-chroot CHROOT_PATH oval collect [options] INPUT_CONTENT
supported oscap oval collect options are β yes, all of them, we're thorough like that:
--id
--syschar
--variables
--skip-validation
π REPORTING BUGS π
found something cursed? don't suffer in silence bestie. please report bugs using https://github.com/OpenSCAP/openscap/issues β the maintainers will literally thank you for it. πβ¨
π«Ά AUTHORS π«Ά
Martin Preisler <mpreisle@redhat.com> β an absolute icon, no notes. π
and that's a wrap, bestie! this little masterpiece came to you from Red Hat, Inc., dated February 2016, and it's the oscap-chroot(8) page. go forth and evaluate some filesystems offline. slay. π
πΈβ¨
π¦ where this page comes from
- alpine 3.24: openscap-doc 1.4.4-r0 Β· LGPL-2.1-or-later
- arch rolling: openscap 1.4.5-2 Β· LGPL-2.1-or-later
- centos-stream 10: openscap-scanner 1:1.4.6-1.el10 Β· LGPL-2.1-or-later
- debian trixie: openscap-utils 1.4.2+dfsg-1 Β· LGPL-2.1-or-later
- fedora 43: openscap-utils 1:1.4.2-7.fc43 Β· LGPL-2.1-or-later
- fedora 43: openscap-utils 1:1.4.4-1.fc43
- fedora 43: openscap-utils 1:1.4.6-1.fc43 Β· LGPL-2.1-or-later
- fedora 44: openscap-utils 1:1.4.3-2.fc44 Β· LGPL-2.1-or-later
- fedora 44: openscap-utils 1:1.4.4-1.fc44
- fedora 44: openscap-utils 1:1.4.6-1.fc44 Β· LGPL-2.1-or-later
- nixos 26.05: openscap 1.4.2
- nixpkgs unstable: openscap 1.4.2
- opensuse-leap 16.0: openscap-utils 1.4.1-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: openscap-utils 1.4.1-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: openscap-utils 1.4.1-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: openscap-utils 1.4.1-160000.2.2 Β· LGPL-2.1-or-later
- ubuntu questing: openscap-utils 1.4.2+dfsg-2
- ubuntu resolute: openscap-utils 1.4.3+dfsg-1build1 Β· LGPL-2.1-or-later
- ubuntu resolute: openscap-utils 1.4.3+dfsg-1ubuntu1 Β· LGPL-2.1-or-later
- ubuntu stonking: openscap-utils 1.4.4+dfsg-2 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms