OSCAP(8)
πΈ NAME πΈ
oscap β the OpenSCAP command line tool π
and yes, she's from the System Administration Utilities crew (that's section 8 of the manual, iykyk).
β¨ SYNOPSIS β¨
oscap [general-options] module operation [operation-options-and-arguments]
π¦ DESCRIPTION π¦
okay so. oscap is the Security Content Automation Protocol (SCAP) toolkit, and it's built on top of the OpenSCAP library. It hands you a whole bunch of different functions for the different SCAP specifications, which we call modules here. one tool, many vibes.
and the OpenSCAP tool claims to provide the capabilities of an Authenticated Configuration Scanner and an Authenticated Vulnerability Scanner, exactly as defined by The National Institute of Standards and Technology. no cap, that's literally what it says. π
π GENERAL OPTIONS π
-V,--versionβ prints out the supported SCAP specifications, plus where the schema files, schematron files, CPE files, probes and supported OVAL objects live. it also dishes up a list of inbuilt CPE names. very "tell me everything about yourself" energy.-h,--helpβ the help screen. that's it, that's the whole thing π
π MODULES π
infoβ works out the type of a file and prints info about it.xccdfβ the eXtensible Configuration Checklist Description Format.ovalβ Open Vulnerability and Assessment Language.dsβ SCAP Data Stream.cpeβ Common Platform Enumeration.
π«Ά COMMON OPTIONS FOR ALL MODULES π«Ά
--verboseVERBOSITY_LEVEL β switches on verbose mode at whatever verbosity level you name. VERBOSITY_LEVEL has to be one of these exact four, bestie:DEVEL,INFO,WARNING,ERROR.--verbose-log-fileFILE β sets the filename to write that additional information into.
π INFO OPERATIONS π
[options] any-scap-file.xml
this module prints information about the SCAP content inside a file you name on the command line. it figures out the SCAP content type, the specification version, the date of creation, the date of import, and so on and so forth. the info module doesn't need any extra operation switch β she just knows. π
for XCCDF files or SCAP source data stream files, the info module prints out the IDs of the incorporated profiles, components, and data streams. those IDs are literally the thing you use to specify the target for evaluation. so use the options --profile, --xccdf-id (or --oval-id), and --datastream-id respectively.
--fetch-remote-resourcesβ allows the download of remote components that are referenced from the data stream.--list-rulesβ prints the IDs of the XCCDF rules selected by the given profile, one per line. you must use this option together with--profile. the output is machine-readable and contains only rule IDs, no extra decoration, no glitter, just data β¨--list-varsβ prints the XCCDF Value IDs and their resolved values for the given profile, one per line, tab-separated. this option must be used together with--profile. the output is machine-readable.--local-filesDIRECTORY β instead of downloading remote data stream components from the network, use data stream components stored locally as files in the given directory. in place of the remote data stream component, OpenSCAP will attempt to use a file whose file name is equal to the@nameattribute of theurielement inside thecatalogelement inside thecomponent-refelement in the data stream β but only if such a file exists. this option works only with SCAP 1.3 source data streams. it can't be used with SCAP 1.2 source data streams. nope. not happening. π«--profilePROFILE β shows info for the profile with the given ID.--profilesβ shows the profiles from the input file in the<id>:<title>format, one line per profile.--referencesβ shows the list of references available in each benchmark.
π XCCDF OPERATIONS π
eval [options] INPUT_FILE [oval-definitions-files]
performs evaluation of the XCCDF document file you pass as INPUT_FILE. it prints the result of each rule to standard output, including the rule title, the rule id, and the security identifier (CCE). and optionally you can hand it an SCAP source data stream as the INPUT_FILE instead of an XCCDF file (see --datastream-id). options, we love options.
now, the exit-code tea, because this part matters β:
oscapreturns0if all the rules pass. slay.- if there's an error during evaluation, the return code is
1. - if there's at least one rule with either a fail or unknown result,
oscapfinishes with return code2. π
unless --skip-validation is used, the INPUT_FILE gets validated using XSD schemas (which ones depends on the document type of INPUT_FILE) and gets rejected if it's invalid. no fake content allowed.
you may also specify OVAL Definition files as the last parameter, and then the XCCDF evaluation will proceed only with those specified files. otherwise, when the oval-definitions-files parameter is missing, the oscap tool will try to load all the OVAL Definition files referenced from the XCCDF automatically β and it searches in the same path as the XCCDF. π§
--profilePROFILE β selects a particular profile from the XCCDF document. if you pass"(all)"a virtual profile gets used that selects all groups and rules. main character profile energy, honestly.--ruleRULE β selects a particular rule from the XCCDF document. only this rule will be evaluated, and any other rules required by this rule won't be evaluated. the rule will use values according to the selected profile, and if no profile is selected, default values are used. this option can be used multiple times to specify multiple rules at once. π―--skip-ruleRULE β skips a particular rule from the XCCDF document. this option can be used multiple times to skip multiple rules at once. not me ignoring rules on purpose π--referenceNAME:IDENTIFIER β evaluates the rules matching the given reference. this option can be used to check for evaluating compliance with a particular policy requirement. rules that match the reference will be evaluated, other rules will be skipped and a result ofnotselectedwill be returned. the argument needs to be provided in the form NAME:IDENTIFIER (the colon is the separator), where NAME is the reference name used as the text ofxccdf:referenceelements that are children of thexccdf:Benchmarkelement, and IDENTIFIER is the text of anxccdf:referenceelement that is a child of a particularxccdf:Ruleelement which has the same@hrefvalue as thexccdf:referenceelement of the NAME value. this feature requires the SCAP content to be formed in the aforementioned way. for example:
--reference "cis:4.1.3.19"
--reference "anssi:BP28(R29)"
the list of references available in the given benchmark can be obtained by running the oscap info --references command. π
--tailoring-fileTAILORING_FILE β uses the given file for XCCDF tailoring. select the profile from the tailoring file to apply using--profile. if both--tailoring-fileand--tailoring-idare specified,--tailoring-filetakes priority. she wins, periodt.--tailoring-idCOMPONENT_REF_ID β uses the tailoring component in the input source data stream for XCCDF tailoring. the tailoring component must be specified by its Ref-ID (that's the value of thecomponent-ref/@idattribute in the input source data stream). select the profile from the tailoring component to apply using--profile. again, if both--tailoring-fileand--tailoring-idare specified,--tailoring-filetakes priority.--cpeCPE_FILE β uses the given CPE dictionary or language (auto-detected) for applicability checks. (some CPE names are provided by openscap β peeposcap --versionfor the inbuilt CPE names.)--resultsFILE β writes the XCCDF results into FILE.--results-arfFILE β writes results to a given FILE in Asset Reporting Format. it's recommended to use this option instead of--resultswhen you're dealing with data streams. trusted source say so.--stig-viewerFILE β writes the XCCDF results into FILE. the rule result IDs in FILE are modified according to the STIG references in the evaluated content. the FILE can simply be imported into DISA STIG Viewer. seehttps://public.cyber.mil/stigs/srg-stig-tools/for information about DISA STIG Viewer.--thin-resultsβ Thin Results provides only a minimal amount of information in OVAL/ARF results. the--without-syscharoption is automatically enabled whenever you use Thin Results. she comes as a package deal π--without-syscharβ don't provide system characteristics in OVAL/ARF result files.--reportFILE β writes an HTML report into FILE.--oval-resultsβ generates an OVAL Result file for each OVAL session used for evaluation. a file with the nameoriginal-oval-definitions-filename.result.xmlwill be generated for each referenced OVAL file in the current working directory. to change the directory where the OVAL files are generated, change the CWD using thecdcommand.--check-engine-resultsβ after the evaluation is finished, each loaded check engine plugin is asked to export its results. the export itself is plugin specific, so please refer to the documentation of the plugin for more details. that's on the plugin, not on us π--export-variablesβ generates OVAL Variables documents which contain external variables' values that were provided to the OVAL checking engine during evaluation. the filename format isoriginal-oval-definitions-filename-session-index.variables-variables-index.xml.--datastream-idID β uses a data stream with that particular ID from the given data stream collection. if you don't give one, the first data stream is used. this only applies if you give a source data stream in place of an XCCDF file.--xccdf-idID β takes the component ref with the given ID from the checklists. this allows you to select a particular XCCDF component even in cases where there are multiple XCCDFs in a single data stream. if none is given, the first component from thechecklistselement is used.
(and bestieβ¦ this is literally only part one. keep scrolling π)
--benchmark-id_ID_ β okay so this one grabs a component ref from any data stream that points at a component with an XCCDF Benchmark whose@idattribute matches the string you gave, exactly. BUT bestie, real talk: this is not the recommended way to pick a component-ref. You're way better off using--xccdf-idand/or--datastream-idfor precision. And--benchmark-idonly even gets used when both--xccdf-idand--datastream-idare missing from the command line! Periodt.--skip-validationβ justβ¦ don't validate the input/output files. Skipping the vibe check. π--skip-signature-validationβ don't validate digital signatures in digitally signed SCAP source data streams. (Yes, that's exactly as spicy as it sounds.)--enforce-signatureβ only process digitally signed SCAP source data streams. If a data stream rolls up without a signature, it gets rejected. No signature, no entry. π«--fetch-remote-resourcesβ lets you download remote OVAL content that's referenced from XCCDF viacheck-content-ref/@href. Go get it, girl. π--local-files_DIRECTORY_ β instead of downloading remote data stream components from the network, use the ones stored locally as files in the given directory. Here's the tea: instead of the remote data stream component, OpenSCAP will try to use a file whose file name equals the@nameattribute of theurielement inside thecatalogelement inside thecomponent-refelement of the data stream β if such a file exists. This option works only with SCAP 1.3 source data streams. It can't be used with SCAP 1.2 source data streams. π ββοΈ--remediateβ runs XCCDF remediation while the XCCDF evaluation is happening. This automatically executes the content of XCCDFfixelements for failed rules, so it must be avoided unless you're working with trusted content. Using this option is always at your own risk. π--show-rule-detailsβ shows the rule description and rationale when results get reported. Receipts for every rule. π§Ύ
π©Ή remediate MODULE
remediate [options] INPUT_FILE [oval-definitions-files]
This one is the post-scan glow-up: remediation after the fact. It assumes INPUT_FILE is the result of an oscap xccdf eval operation, and that input file must contain a TestResult element. What it does is run the XCCDF fix elements for every failed rule-result sitting inside that TestResult. And yes, using this option is always at your own risk and should be avoided unless your content is trusted. π₯
--result-id_ID_ β the ID of the XCCDFTestResultelement that's gonna get remediated. If you don't pass this option, the lastTestResult(in top-down processing) gets remediated instead.--skip-validationβ do not validate input/output files. Skipping the check, living dangerously. π--fetch-remote-resourcesβ allow downloading of remote OVAL content referenced from XCCDF bycheck-content-ref/@href.--local-files_DIRECTORY_ β instead of downloading remote data stream components from the network, use data stream components stored locally as files in the given directory. Instead of the remote data stream component, OpenSCAP will attempt to use a file whose file name equals the@nameattribute of theurielement within thecatalogelement within thecomponent-refelement in the data stream, if such a file exists. Works only with SCAP 1.3 source data streams. Can't be used with SCAP 1.2 source data streams. π--cpe_CPE_FILE_ β use the given CPE dictionary or language (auto-detected) for applicability checks.--results_FILE_ β write XCCDF results intoFILE.--results-arf_FILE_ β writes results to the givenFILEin Asset Reporting Format. When you're dealing with data streams, it's recommended to flex this option instead of--results. β¨--stig-viewer_FILE_ β writes XCCDF results intoFILE. The rule result IDs inFILEget modified according to STIG references in the evaluated content. TheFILEcan then be imported straight into DISA STIG Viewer. For info about DISA STIG Viewer, see https://public.cyber.mil/stigs/srg-stig-tools/--report_FILE_ β write an HTML report intoFILE. Pretty results, we love to see it. π--oval-resultsβ generate an OVAL Result file for each OVAL session used for evaluation. A file namedoriginal-oval-definitions-filename.result.xmlwill be generated for each referenced OVAL file.--check-engine-resultsβ after evaluation finishes, every loaded check engine plugin gets asked to export its results. The export itself is plugin-specific, so please refer to the documentation of the plugin for the details.--export-variablesβ generate OVAL Variables documents containing the external variables' values that were provided to the OVAL checking engine during evaluation. The filename format isoriginal-oval-definitions-filename-session-index.variables-variables-index.xml. π¦--progressβ switches to sparse output suitable for progress reporting. The format of the output is"$rule_id:$result\n".--progress-fullβ switches to sparse but a lil' more saturated output, also suitable for progress reporting. The format of the output is"$rule_id|$rule_title|$result\n".
π§ resolve MODULE
resolve -o output-file xccdf-file
Resolve an XCCDF file the way the XCCDF specification describes. It flattens the inheritance hierarchy of XCCDF profiles, groups, rules and values. The result is another XCCDF document, which gets written to output-file. It's giving β¨ un-nested β¨.
--forceβ force resolving the XCCDF document even if it's already marked as resolved. Stubborn girl energy. π
β
validate MODULE
validate [options] xccdf-file
Validates the given XCCDF file against an XML schema. Every error found gets printed to standard error. The return code tells you everything:
0β if validation succeeds π1β if validation could not be performed due to some error π2β if the XCCDF document is not valid π--skip-schematronβ turn off Schematron-based validation. Schematron is able to find more errors and inconsistencies, but it's much slower. Also FYI: Schematron is available only for XCCDF version 1.2.
π¦ export-oval-variables MODULE
export-oval-variables [options] xccdf-file [oval-definitions-files]
Collects all the XCCDF values that would be used by OVAL during evaluation of a certain profile, and exports them as OVAL external-variables document(s). The filename format is original-oval-definitions-filename-session-index.variables-variables-index.xml. So organized. π
--profile_PROFILE_ β select a particular profile from the XCCDF document.--fetch-remote-resourcesβ allow download of remote OVAL content referenced from XCCDF bycheck-content-ref/@href.--local-files_DIRECTORY_ β instead of downloading remote data stream components from the network, use data stream components stored locally as files in the given directory. In place of the remote data stream component, OpenSCAP will attempt to use a file whose file name is equal to the@nameattribute of theurielement within thecatalogelement within thecomponent-refelement in the data stream, if such a file exists. This option works only with SCAP 1.3 source data streams. It can't be used with SCAP 1.2 source data streams. π--skip-validationβ do not validate input/output files.--datastream-id_ID_ β uses a data stream with that particular ID from the given data stream collection. If it's not given, the first data stream is used. Only applies if you give an SCAP source data stream in place of an XCCDF file.--xccdf-id_ID_ β takes the component ref with the given ID from checklists. This lets you select a particular XCCDF component even in cases where there are 2 XCCDFs in one data stream. Two girls, one file. π--benchmark-id_ID_ β selects a component ref from any data stream that references a component with an XCCDF Benchmark such that its@idattribute matches the given string exactly. Please note that this is not the recommended way of selecting a component-ref. You're advised to use--xccdf-idand/or--datastream-idfor more precision.--benchmark-idis only used when both--xccdf-idand--datastream-idare not present on the command line!--cpe_CPE_FILE_ β use the given CPE dictionary or language (auto-detected) for applicability checks. The variables documents are created only forxccdf:Ruleswhich are applicable.
π generate MODULE
generate [options] <submodule> [submodule-specific-options]
Generates another document from an XCCDF file β think security guide or result report. So many possibilities. β¨
--profile_ID_ β apply the profile with the given ID to the Benchmark before further processing takes place.
Available submodules: π
πΈ guide SUBMODULE
guide [options] xccdf-file
Generates an HTML document containing a security guide from an XCCDF Benchmark. Unless the --output option is specified, it will be written to standard output. And heads up: without a profile being set, only groups (not rules) will be included in the output. π«Ά
--output_FILE_ β write the guide to this file instead of standard output.--hide-profile-infoβ this option has no effect and is kept only for backward compatibility purposes. It's a legacy icon, we keep her around for the memories. π--benchmark-idID β hunts down a component ref in any datastream that points at a component whose XCCDF Benchmark@idattribute is exactly this string. no fuzzy matching bestie, exact or nothing π--xccdf-idID β grabs the component ref with this ID out of the checklists. why do we need it? because some datastreams are messy and carry multiple XCCDFs, and this lets you pick your fave π if you don't pass it, you just get the first component from thechecklistselement. default behaviour, no thoughts, head empty β¨--tailoring-fileTAILORING_FILE β use this file for XCCDF tailoring. then pick which profile from the tailoring file to apply with--profile. π and if you pass both--tailoring-fileand--tailoring-id? the file WINS, it takes priority, periodt.--tailoring-idCOMPONENT_REF_ID β use the tailoring component inside your input source datastream for XCCDF tailoring. it has to be named by its Ref-ID (that's the value of thecomponent-ref/@idattribute in the input source datastream, iykyk). then select the profile to apply from the tailoring component using--profile. and again β if both--tailoring-fileand--tailoring-idare around,--tailoring-filetakes priority, no debate πΈ--skip-signature-validationβ do not validate digital signatures in digitally signed SCAP source datastreams. skippin the vibe check, we love a risk taker π--enforce-signatureβ process only digitally signed SCAP source datastreams. if a datastream has no signature and you flip this switch on, it gets rejected. π₯ strict queen behaviour
β¨ report β¨
report [options] xccdf-file
Spits out an HTML document stuffed with the results of an XCCDF Benchmark execution π and unless you say otherwise with --output, it just goes straight to standard output.
--outputFILE β write the report to this file instead of standard output. your terminal will thank you π--result-idID β the ID of the XCCDF TestResult that the report gets generated from.
β¨ fix β¨
fix [options] xccdf-file
Generates a script that's supposed to bring your system into a state of compliance with the given XCCDF Benchmark π οΈβ¨
now here's the tea β there are 2 possibilities when generating fixes:
- Result-oriented fixes (
--result-id) - Profile-oriented fixes (
--profile)
Result-oriented takes precedence over Profile-oriented. so if result-id is given, oscap will ignore any profile you handed it. literally just zoning it out π
Result-oriented fixes are built using the result-id you provide to select only the failing rules from results in xccdf-file β it skips all the other rules.
β οΈ heads up bestie: it isn't possible to generate result-oriented fixes for thekickstartandbootcfix type. that combo just doesn't exist, no cap.
Profile-oriented fixes are generated using all rules within the provided profile. and if you provide no result-id and no profile? the (default) profile gets used to generate fixes. it'll pick for you π«Ά
--fix-typeTYPE β specify the fix type. there are multiple programming languages your fix script can come out in, which is genuinely iconic. TYPE should be one of:bash,ansible,puppet,anaconda,ignition,kubernetes,blueprint,kickstart,bootc. default isbash. π--outputFILE β write the report to this file instead of standard output.--result-idID β fixes will be generated for the failed rule-results of the specified TestResult.--xccdf-idID β takes the component ref with the given ID from checklists. this lets you select a particular XCCDF component even when there are multiple XCCDFs chillin in a single datastream β¨ if none is given, the first component from thechecklistselement is used.--benchmark-idID β selects a component ref from any datastream that references a component with an XCCDF Benchmark whose@idattribute matches the given string exactly.--tailoring-fileTAILORING_FILE β use this file for XCCDF tailoring. select the profile from the tailoring file to apply using--profile. if both--tailoring-fileand--tailoring-idare specified,--tailoring-filetakes priority π--tailoring-idCOMPONENT_REF_ID β use the tailoring component in the input source datastream for XCCDF tailoring. the tailoring component has to be specified by its Ref-ID (that's the value of thecomponent-ref/@idattribute in the input source datastream). select the profile to apply from the tailoring component using--profile. if both--tailoring-fileand--tailoring-idare specified,--tailoring-filetakes priority π--skip-signature-validationβ do not validate digital signatures in digitally signed SCAP source datastreams.--enforce-signatureβ process only digitally signed SCAP source datastreams. datastreams without a signature get rejected if this switch is used. π«
β¨ custom β¨
custom --stylesheet xslt-file [options] xccdf-file
Generate a custom output from an XCCDF file β whatever the XSLT file you hand it decides the output should look like. build-a-bear but for documents π§
--stylesheetFILE β specify an absolute path to a custom stylesheet to format the output. absolute, bestie, not a relative path, we're being precise here.--outputFILE β write the document into file. π
π OVAL OPERATIONS π
Okay bestie, this is the OVAL corner of the tool and it's giving very thorough. Like, we're checking your whole system against a definition file and reporting back on every single one. Let's go. π¦
πΈ eval [options] INPUT_FILE
Probe your system and evaluate every definition from the OVAL Definition file. The result of each definition gets printed to standard output. Return code is 0 after a successful evaluation, and on error, value 1 is returned. Periodt.
INPUT_FILE can be either an OVAL Definition File or an SCAP source data stream β it depends on the options you used. Choose your fighter. π
Unless--skip-validationis used,INPUT_FILEgets validated using XSD schemas (depending on the document type ofINPUT_FILE), and if it's invalid it gets rejected. No fake ones allowed. π«
--idDEFINITION-ID β Evaluate ONLY the specified OVAL Definition from the OVAL Definition File. Just the one. The main character. π--variablesFILE β Provide external variables that the OVAL Definition File expects.--directivesFILE β Use OVAL Directives content to specify the desired results content.--without-syscharβ Don't include system characteristics in the result file.--resultsFILE β Write OVAL Results into a file.--reportFILE β Create a human readable (HTML) report from OVAL Results. Cute AND functional. β¨--datastream-idID β Uses a data stream with that particular ID from the given data stream collection. If it's not given, the first data stream is used. This only applies if you hand over a source data stream in place of an OVAL file.--oval-idID β Takes the component ref with the given ID from checks. This lets you select a particular OVAL component even in cases where there are multiple OVALs in a single data stream. Choices, choices. π--skip-validationβ Do not validate input/output files.--fetch-remote-resourcesβ Allow download of remote components referenced from the data stream. It goes and gets them. π§--local-filesDIRECTORY β Instead of downloading remote data stream components from the network, use data stream components stored locally as files in the given directory. In place of the remote data stream component, OpenSCAP will attempt to use a file whose file name is equal to the@nameattribute of theurielement within thecatalogelement within thecomponent-refelement in the data stream β if such a file exists. This option works only with SCAP 1.3 source data streams. It can't be used with SCAP 1.2 source data streams. Sorry babe, 1.2 girlies are not invited to this party. π
π collect [options] definitions-file
Probe the system and gather system characteristics for all objects in the OVAL Definition file. Collecting intel. π΅οΈββοΈ
--idOBJECT-ID β Collect system characteristics ONLY for the specified OVAL Object.--variablesFILE β Provide external variables that the OVAL Definitions expect.--syscharFILE β Write OVAL System Characteristic into a file.--skip-validationβ Do not validate input/output files.
π¦ analyse [options] --results FILE definitions-file syschar-file
In this mode, the oscap tool does not perform data collection on the local system β instead it relies upon the input file, which may have been generated on another system. Different machine, same drama. The output (OVAL Results) gets printed to the file specified by the --results parameter.
--variablesFILE β Provide external variables that the OVAL Definitions expect.--directivesFILE β Use OVAL Directives content to specify the desired results content.--skip-validationβ Do not validate input/output files.
β validate [options] oval-file
Validate the given OVAL file against an XML schema. Every single error found gets printed to standard error, no filter, fr fr. Return code is 0 if validation succeeds, 1 if validation could not be performed due to some error, and 2 if the OVAL document is not valid.
--definitions,--variables,--syschar,--results--directivesβ The type of the OVAL document is automatically detected by default. If you want to enforce a certain document type, you can use one of these options.--skip-schematronβ Turn off Schematron-based validation. It's able to find more errors and inconsistencies, but it's much slower. Highkey worth it, lowkey a wait. π
π generate <submodule> [submodule-specific-options]
Generate another document from an OVAL file. Transformation era. β¨
Available submodules:
report [options] oval-results-file
Generate a formatted HTML page containing a visualisation of an OVAL results file. Unless the --output option is specified, it will be written to standard output.
--outputFILE β Write the report to this file instead of standard output.
π«Ά CPE OPERATIONS π«Ά
Short and sweet, we love a concise queen. π
checkname β Check whether name is in the correct CPE format.matchname dictionary.xml β Find an exact match of the CPE name in the dictionary.validatecpe-dict-file β Validate the given CPE dictionary file against an XML schema. Every found error gets printed to standard error. Return code is0if validation succeeds,1if validation could not be performed due to some error,2if the XCCDF document is not valid.
Nope, you read that right β it says "XCCDF document" in the CPE validate exit-code description. We're keeping it exactly as the page says it. No notes. π
π DS OPERATIONS π
Data stream business, let's get into it. π
sds-validateSOURCE_DS β Validate the given source data stream file against an XML schema. Every found error is printed to standard error. Return code is0if validation succeeds,1if validation could not be performed due to some error,2if the source data stream is not valid.rds-validateSOURCE_RDS β Validate the given result data stream file against an XML schema. Every found error is printed to standard error. Return code is0if validation succeeds,1if validation could not be performed due to some error,2if the result data stream is not valid.
π REPORTING BUGS π
Please report bugs using https://github.com/OpenSCAP/openscap/issues
Make sure you include the full output of oscap --v in the bug report. Like, the full thing, bestie β don't be shy with it, it's literally how they help you. π«Ά
π AUTHORS π
- Peter Vrabec
<pvrabec@redhat.com> - Ε imon LukaΕ‘Γk
- Martin Preisler
<mpreisle@redhat.com>
And that's the whole page, babes!! πΈ This manual page is brought to you by Red Hat, dated March 2021, and it's page OSCAP(8). You read the entire thing β that's iconic behaviour, genuinely. Go eval something and slay. πβ¨π
π¦ where this page comes from
- 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
- fedora 43: openscap-scanner 1:1.4.6-1.fc43 Β· LGPL-2.1-or-later
- fedora 44: openscap-scanner 1:1.4.6-1.fc44 Β· LGPL-2.1-or-later
- ubuntu stonking: openscap-scanner 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