---
name: "oscap-chroot"
section: "8"
platform: "linux"
package: "openscap"
version: "1.4.5-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/oscap-chroot"
---

# oscap-chroot(8)

Tool for offline SCAP evaluation of filesystems mounted at arbitrary paths.

## NAME

oscap-chroot - Tool for offline SCAP evaluation of filesystems mounted at arbitrary paths.

## DESCRIPTION

oscap-chroot runs oscap tool on it in a filesystem mounted at given path.

Usage of the tool mimics usage and options of [oscap(8)](/oscap/8.md) tool.

## USAGE

### Evaluation of XCCDF content

$ oscap-chroot CHROOT\_PATH xccdf eval \[options\] INPUT\_CONTENT

supported oscap xccdf eval options are:\
   \--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

### Evaluation of OVAL content

$ oscap-chroot image CHROOT\_PATH oval eval \[options\] INPUT\_CONTENT

supported oscap oval eval options are:\
   \--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:\
   \--id\
   \--syschar\
   \--variables\
   \--skip-validation

## REPORTING BUGS

```
Please report bugs using https://github.com/OpenSCAP/openscap/issues
```

## AUTHORS

```
Martin Preisler <mpreisle@redhat.com>
```
