From fce4223066aa4d1086ba06b3948a64a88939007b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= Date: Tue, 17 Oct 2023 10:36:20 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Evgeny Kolesnikov --- docs/manual/manual.adoc | 4 ++-- utils/autotailor.8 | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/manual/manual.adoc b/docs/manual/manual.adoc index 5b067cf3cb..e84babe421 100644 --- a/docs/manual/manual.adoc +++ b/docs/manual/manual.adoc @@ -2212,7 +2212,7 @@ The downloaded guidance contains rule descriptions, but it doesn't contain OVAL *How can I create a tailoring file if I can't install SCAP Workbench?* -Use the `autotailor` tool which allows you to create tailoring files on command line. +Use the `autotailor` tool which allows you to create tailoring files using command line options. For more information, please refer to section <<_tailoring,Tailoring>>. *I try to apply a tailoring file, but OpenSCAP still evaluates rules that I have unselected. How can I enforce my changes of the profile?* @@ -2220,7 +2220,7 @@ For more information, please refer to section <<_tailoring,Tailoring>>. Make sure that you provide the ID of the customized profile in `--profile` option instead of the ID of the original profile. If you created the tailoring file using `autotailor` and you haven't used the `-p` or `--new-profile-id` option, the ID of the customized profile is the original profile ID with `_customized` suffix appended. If you created the tailoring file using SCAP Workbench, you were prompted to choose the ID of the customized profile. By default, the ID of the customized profile is the original profile ID with `_customized` suffix appended. -You can display the ID of the customized profile by running `oscap info `. +You can find the ID of the customized profile with `oscap info ` command. *My SCAP source data stream contains rule `security_patches_up_to_date` which needs to download some data from the internet to work.* *But I'm in an air gapped environment so it can't download it.* diff --git a/utils/autotailor.8 b/utils/autotailor.8 index 46ceb75a3c..5679f071d9 100644 --- a/utils/autotailor.8 +++ b/utils/autotailor.8 @@ -12,7 +12,7 @@ Note however, that the referenced data stream is not opened, and the validity of The tool doesn't prevent you from extending non-existent profiles, selecting non-existent rules, and so on. .SH SYNOPSIS -autotailor [OPTION...] DS_FILENAME BASE_PROFILE_ID +autotailor [OPTION...] DATASTREAM_FILE BASE_PROFILE_ID .SH OPTIONS .TP @@ -44,12 +44,12 @@ Specify refinement of the XCCDF rule severity in form =. Name .TP \fB-s RULE_ID, --select RULE_ID\fR .RS -Specify what rules to select. The rule ID can be either full, or just the suffix, in which case the 'xccdf__rule' prefix will be prepended internally. Specify the argument multiple times if needed. +Specify the rule to select. The rule ID can be either full, or just the suffix, in which case the 'xccdf__rule' prefix will be prepended internally. Specify the argument multiple times if needed. .RE .TP \fB-u RULE_ID, --unselect RULE_ID\fR .RS -Specify what rules to unselect. The argument works the same way as the --select argument. +Specify the rule to unselect. The argument works the same way as the --select argument. .RE .TP \fB-p NEW_PROFILE_ID, --new-profile-id NEW_PROFILE_ID\fR