oscap-im(8)
π oscap-im π
okay bestie, so this is a page from the System Administration Utilities manual β it's oscap-im, section 8, and honestly? she's a little icon. π
β¨ NAME β¨
oscap-im β the tool for building hardened bootable container images π¦
πΈ DESCRIPTION πΈ
okay so oscap-im is a convenience script, right, and her whole entire job is making it easier to build hardened bootable container images. no cap. π
the vibe is very specific though, bestie, listen: this tool is designed to be used during the build of the bootable container image. so you literally include oscap-im in your Containerfile β the one you're using to build your bootable container image β and she handles the rest. what she does is run the oscap tool on a given container image. that's it, that's the whole thing. π
π¨ IMPORTANT, don't skip this: theoscap-imtool can't be used anywhere else than in aContainerfile. literally nowhere else. she is a Containerfile girlie and she does not leave the house. π
β USAGE β
oscap-im [OPTION...] DATASTREAM_FILE
the way she works? usage of the tool mimics the usage and options of the oscap(8) tool. so if you already know oscap, you already know her. iykyk. πβ¨
π OPTIONS π
here's the whole roster, bestie β every single one, no skips:
--profile PROFILE_IDβ the ID of the profile that's gonna be evaluated. that's the one. π--tailoring-file TAILORING_FILEβ use this given file for XCCDF tailoring. then you pick which profile from the tailoring file to actually apply using--profile. π and listen, important detail: if you specify both--tailoring-fileand--tailoring-id, then--tailoring-filetakes priority. she said me first. π--tailoring-id COMPONENT_REF_IDβ use the tailoring component inside the input source data stream for XCCDF tailoring. the tailoring component has to be specified by its Ref-ID, which is the value of thecomponent-ref/@idattribute in the input source data stream. then you select the profile from that tailoring component to apply using--profile. and again, fr fr: if both--tailoring-fileand--tailoring-idare specified,--tailoring-filetakes priority. πΈ--results-arf FILEβ writes results to a givenFILEin Asset Reporting Format. arf, slay. π₯--report FILEβ writes the HTML report intoFILE. cute and readable. π
π REPORTING BUGS π
found a bug? don't suffer in silence, bestie. please report bugs using https://github.com/OpenSCAP/openscap/issues β the maintainers wanna hear it. π«Ά
π« AUTHORS π«
- Jan ΔernΓ½
<jcerny@redhat.com>β the author herself. legend behavior. π
and that's the whole page, babes. this beauty came to you from Red Hat, Inc., dated January 2025, and she's oscap-im(8). go build something hardened and bootable, you absolute main character. π¦β¨π
π¦ 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-utils 1:1.4.6-1.el10 Β· LGPL-2.1-or-later
- centos-stream 9: openscap-utils 1:1.3.16-1.el9 Β· LGPLv2+
- 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