Skip to content

Commit fce4223

Browse files
jan-cernyevgenyz
andauthored
Apply suggestions from code review
Co-authored-by: Evgeny Kolesnikov <[email protected]>
1 parent 0be8d49 commit fce4223

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/manual/manual.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2212,15 +2212,15 @@ The downloaded guidance contains rule descriptions, but it doesn't contain OVAL
22122212

22132213
*How can I create a tailoring file if I can't install SCAP Workbench?*
22142214

2215-
Use the `autotailor` tool which allows you to create tailoring files on command line.
2215+
Use the `autotailor` tool which allows you to create tailoring files using command line options.
22162216
For more information, please refer to section <<_tailoring,Tailoring>>.
22172217

22182218
*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?*
22192219

22202220
Make sure that you provide the ID of the customized profile in `--profile` option instead of the ID of the original profile.
22212221
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.
22222222
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.
2223-
You can display the ID of the customized profile by running `oscap info <your_tailoring_file>`.
2223+
You can find the ID of the customized profile with `oscap info <your_tailoring_file>` command.
22242224

22252225
*My SCAP source data stream contains rule `security_patches_up_to_date` which needs to download some data from the internet to work.*
22262226
*But I'm in an air gapped environment so it can't download it.*

utils/autotailor.8

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Note however, that the referenced data stream is not opened, and the validity of
1212
The tool doesn't prevent you from extending non-existent profiles, selecting non-existent rules, and so on.
1313

1414
.SH SYNOPSIS
15-
autotailor [OPTION...] DS_FILENAME BASE_PROFILE_ID
15+
autotailor [OPTION...] DATASTREAM_FILE BASE_PROFILE_ID
1616

1717
.SH OPTIONS
1818
.TP
@@ -44,12 +44,12 @@ Specify refinement of the XCCDF rule severity in form <rule_id>=<severity>. Name
4444
.TP
4545
\fB-s RULE_ID, --select RULE_ID\fR
4646
.RS
47-
Specify what rules to select. The rule ID can be either full, or just the suffix, in which case the 'xccdf_<id-namespace>_rule' prefix will be prepended internally. Specify the argument multiple times if needed.
47+
Specify the rule to select. The rule ID can be either full, or just the suffix, in which case the 'xccdf_<id-namespace>_rule' prefix will be prepended internally. Specify the argument multiple times if needed.
4848
.RE
4949
.TP
5050
\fB-u RULE_ID, --unselect RULE_ID\fR
5151
.RS
52-
Specify what rules to unselect. The argument works the same way as the --select argument.
52+
Specify the rule to unselect. The argument works the same way as the --select argument.
5353
.RE
5454
.TP
5555
\fB-p NEW_PROFILE_ID, --new-profile-id NEW_PROFILE_ID\fR

0 commit comments

Comments
 (0)