You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The downloaded guidance contains rule descriptions, but it doesn't contain OVAL checks which could be used for evaluation by OpenSCAP. You can find guidances with implemented OVAL checks and also with remediations at https://github.com/ComplianceAsCode/content[ComplianceAsCode] project, which contains wide range of profiles.
2212
2212
2213
+
*How can I create a tailoring file if I can't install SCAP Workbench?*
2214
+
2215
+
Use the `autotailor` tool which allows you to create tailoring files using command line options.
2216
+
For more information, please refer to section <<_tailoring,Tailoring>>.
2217
+
2213
2218
*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?*
2214
2219
2215
2220
Make sure that you provide the ID of the customized profile in `--profile` option instead of the ID of the original profile.
2216
-
If you created the tailoring file using SCAP Workbench, you were prompted to choose the ID of the customized profile. You can display the ID of the customized profile by running `oscap info <your_tailoring_file>`. By default, the ID of the customized profile ends with `_customized` suffix.
2221
+
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.
2222
+
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 find the ID of the customized profile with `oscap info <your_tailoring_file>` command.
2217
2224
2218
2225
*My SCAP source data stream contains rule `security_patches_up_to_date` which needs to download some data from the internet to work.*
2219
2226
*But I'm in an air gapped environment so it can't download it.*
The reverse-DNS style string that is part of entities IDs in the corresponding data stream. If left out, the default value 'org.ssgproject.content' is used.
27
+
.RE
28
+
.TP
29
+
\fB-vVAR=VALUE,--var-valueVAR=VALUE\fR
30
+
.RS
31
+
Specify modification of the XCCDF value in form <varname>=<value>. Name of the variable can be either its full name, or the suffix, in which case the 'xccdf_<id-namespace>_value' prefix will be prepended internally. Specify the argument multiple times if needed.
32
+
.RE
33
+
.TP
34
+
\fB-rRULE=ROLE,--rule-roleRULE=ROLE\fR
35
+
.RS
36
+
Specify refinement of the XCCDF rule role in form <rule_id>=<role>. Name of the rule can be either its full name, or the suffix, in which case the 'xccdf_<id-namespace>_rule_' prefix will be prepended internally.
37
+
The value of <role> can be one of full, unscored, unchecked. Specify the argument multiple times if needed.
Specify refinement of the XCCDF rule severity in form <rule_id>=<severity>. Name of the rule can be either its full name, or the suffix, in which case the 'xccdf_<id-namespace>_rule_' prefix will be prepended internally. The value of <severity> can be one of unknown, info, low, medium, high. Specify the argument multiple times if needed.
43
+
.RE
44
+
.TP
45
+
\fB-sRULE_ID,--selectRULE_ID\fR
46
+
.RS
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.
48
+
.RE
49
+
.TP
50
+
\fB-uRULE_ID,--unselectRULE_ID\fR
51
+
.RS
52
+
Specify the rule to unselect. The argument works the same way as the --select argument.
Specify the ID of the tailored profile. The ID of the new profile can be either its full ID, or the suffix, in which case the 'xccdf_<id-namespace>_profile_' prefix will be prepended internally.
58
+
If left out, the new ID will be obtained by appending '_customized' to the tailored profile ID.
0 commit comments