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
NOTE: The `--local-files` option works only with SCAP 1.3 source data streams. It can't be used with SCAP 1.2 source data streams.
1676
+
1672
1677
== Practical Examples
1673
1678
This section demonstrates practical usage of certain security content provided
1674
1679
for Red Hat products.
@@ -2000,6 +2005,7 @@ You can find the ID of the customized profile with `oscap info <your_tailoring_f
2000
2005
2001
2006
Yes, it's possible, you can download the file on other computer that is connected to the internet and then copy the file to the system where you run `oscap`.
2002
2007
Instead of the `--fetch-remote-resources` option you will use the `--local-files` option.
2008
+
This option works only with SCAP 1.3 source data streams. It can't be used with SCAP 1.2 source data streams.
2003
2009
For more information, please refer to section <<_using_external_or_remote_resources,Using external or remote resources>>.
2004
2010
2005
2011
*I have generated a kickstart but the generated file isn't a valid kickstart.*
grep -q "WARNING: The '--local-files' option can be used only with SCAP 1.3 source data streams, but the provided data stream is version '1.2'. No local files will be used.""$stderr"
Copy file name to clipboardExpand all lines: utils/oscap.8
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,7 @@ Allow download of remote components referenced from data stream.
66
66
\fB\-\-local-filesDIRECTORY\fR
67
67
.RS
68
68
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 @name attribute of the uri element within the catalog element within the component-ref element in the data stream if such file exists.
69
+
This option works only with SCAP 1.3 source data streams. It can't be used with SCAP 1.2 source data streams.
69
70
.RE
70
71
.TP
71
72
\fB\-\-profilePROFILE\fR
@@ -216,6 +217,7 @@ Allow download of remote OVAL content referenced from XCCDF by check-content-ref
216
217
\fB\-\-local-filesDIRECTORY\fR
217
218
.RS
218
219
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 @name attribute of the uri element within the catalog element within the component-ref element in the data stream if such file exists.
220
+
This option works only with SCAP 1.3 source data streams. It can't be used with SCAP 1.2 source data streams.
219
221
.RE
220
222
.TP
221
223
\fB\-\-remediate\fR
@@ -251,6 +253,7 @@ Allow download of remote OVAL content referenced from XCCDF by check-content-ref
251
253
\fB\-\-local-filesDIRECTORY\fR
252
254
.RS
253
255
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 @name attribute of the uri element within the catalog element within the component-ref element in the data stream if such file exists.
256
+
This option works only with SCAP 1.3 source data streams. It can't be used with SCAP 1.2 source data streams.
254
257
.RE
255
258
.TP
256
259
\fB\-\-cpeCPE_FILE\fR
@@ -338,6 +341,7 @@ Allow download of remote OVAL content referenced from XCCDF by check-content-ref
338
341
\fB\-\-local-filesDIRECTORY\fR
339
342
.RS
340
343
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 @name attribute of the uri element within the catalog element within the component-ref element in the data stream if such file exists.
344
+
This option works only with SCAP 1.3 source data streams. It can't be used with SCAP 1.2 source data streams.
341
345
.RE
342
346
.TP
343
347
\fB\-\-skip-validation\fR
@@ -505,6 +509,7 @@ Allow download of remote components referenced from data stream.
505
509
.TP
506
510
\fB\-\-local-filesDIRECTORY\fR
507
511
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 @name attribute of the uri element within the catalog element within the component-ref element in the data stream if such file exists.
512
+
This option works only with SCAP 1.3 source data streams. It can't be used with SCAP 1.2 source data streams.
0 commit comments