logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

oscap-im - Tool for building hardened bootable container images

Authors

       Jan Černý <jcerny@redhat.com>

Red Hat, Inc.                                     January 2025                                       oscap-im(8)

Description

       The  oscap-im tool is a convenience script that makes building hardened bootable container images easier.
       This tool is designed to be used during the build of the bootable container image.  Include  oscap-im  in
       your  Containerfile  that  will  be used to build your bootable container image.  The oscap-im runs oscap
       tool on a given container image.

       The oscap-im tool can't be used anywhere else than in a Containerfile.

Name

       oscap-im - Tool for building hardened bootable container images

Options

--profilePROFILE_ID
              ID of the profile to be evaluated.

       --tailoring-fileTAILORING_FILE
              Use given file for XCCDF tailoring. Select profile from tailoring file to apply  using  --profile.
              If both --tailoring-file and --tailoring-id are specified, --tailoring-file takes priority.

       --tailoring-idCOMPONENT_REF_ID
              Use  tailoring  component in input source data stream for XCCDF tailoring. The tailoring component
              must be specified by its Ref-ID  (value  of  component-ref/@id  attribute  in  input  source  data
              stream).  Select  profile  from tailoring component to apply using --profile. If both --tailoring-
              file and --tailoring-id are specified, --tailoring-file takes priority.

       --results-arfFILE
              Writes results to a given FILE in Asset Reporting Format.

       --reportFILE
              Write HTML report into FILE.

Reporting Bugs

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

Usage

       oscap-im [OPTION...] DATASTREAM_FILE

       Usage of the tool mimics usage and options of oscap(8) tool.

See Also