Skip to content

Commit fc1c6a0

Browse files
committed
Add man page for oscap-podman
1 parent 2e7eef3 commit fc1c6a0

File tree

2 files changed

+32
-3
lines changed

2 files changed

+32
-3
lines changed

utils/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ if(ENABLE_OSCAP_UTIL_PODMAN)
7575
install(PROGRAMS "oscap-podman"
7676
DESTINATION ${CMAKE_INSTALL_BINDIR}
7777
)
78-
# install(FILES "oscap-podman.8"
79-
# DESTINATION "${CMAKE_INSTALL_MANDIR}/man8"
80-
# )
78+
install(FILES "oscap-podman.8"
79+
DESTINATION "${CMAKE_INSTALL_MANDIR}/man8"
80+
)
8181
endif()
8282
if(ENABLE_OSCAP_UTIL_AS_RPM)
8383
install(PROGRAMS "scap-as-rpm"

utils/oscap-podman.8

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.TH oscap-podman "8" "June 2019" "Red Hat, Inc." "System Administration Utilities"
2+
3+
.SH NAME
4+
oscap-podman \- Tool for offline SCAP evaluation of Podman container images and Podman containers
5+
.SH DESCRIPTION
6+
oscap-podman runs oscap tool on a given container image or container.
7+
8+
This script cannot run in rootless mode.
9+
10+
.SH USAGE
11+
12+
Usage of the tool mimics usage and options of oscap(8) tool.
13+
14+
.SS Compliance scan of Podman container image:
15+
oscap-podman IMAGE_NAME OSCAP_ARGUMENT [OSCAP_ARGUMENT...]
16+
17+
.SS Compliance scan of Podman container:
18+
oscap-podman CONTAINER_NAME OSCAP_ARGUMENT [OSCAP_ARGUMENT...]
19+
20+
Refer to oscap(8) to learn about OSCAP_ARGUMENT options.
21+
22+
.SH REPORTING BUGS
23+
.nf
24+
Please report bugs using https://github.com/OpenSCAP/openscap/issues
25+
26+
.SH AUTHORS
27+
.nf
28+
Jan Černý <[email protected]>
29+
.fi

0 commit comments

Comments
 (0)