1pki-audit(1) PKI Audit Management Commands pki-audit(1)
2
3
4
6 pki-audit - Command-line interface for managing PKI audit configura‐
7 tion.
8
9
11 pki [CLI-options] <subsystem>-audit
12 pki [CLI-options] <subsystem>-audit-show [command-options]
13 pki [CLI-options] <subsystem>-audit-mod --action action [command-
14 options]
15 pki [CLI-options] <subsystem>-audit-mod --input input-file [com‐
16 mand-options]
17
18
20 The pki-audit commands provide command-line interfaces to manage audit
21 configuration in the specified subsystem. Currently the only supported
22 subsystem is tps.
23
24
25 pki [CLI-options] <subsystem>-audit
26 This command is to list the available audit commands for the sub‐
27 system.
28
29
30 pki [CLI-options] <subsystem>-audit-show [command-options]
31 This command is to show the audit configuration in the subsystem.
32
33
34 pki [CLI-options] <subsystem>-audit-mod --action action [command-
35 options]
36 This command is to change the audit (enabled/disabled) status in
37 the subsystem.
38
39
40 pki [CLI-options] <subsystem>-audit-mod --input input-file [com‐
41 mand-options]
42 This command is to modify the audit configuration in the subsystem.
43
44
46 The CLI options are described in pki(1).
47
48
50 To view available audit commands, type pki <subsystem>-audit. To
51 view each command's usage, type pki <subsystem>-audit-<com‐
52 mand> --help.
53
54
55 All audit commands must be executed with the subsystem's admin authen‐
56 tication (the user must be in the Administrators group). See also the
57 Authentication section in pki(1).
58
59
60 Viewing audit configuration
61 To view the audit configuration in TPS execute the following command:
62
63
64 $ pki <TPS admin authentication> tps-audit-show
65
66
67
68 To download the audit configuration from TPS into a file execute the
69 following command:
70
71
72 $ pki <TPS admin authentication> tps-audit-show --output <output file>
73
74
75
76 Changing audit status
77 To enable/disable audit in TPS, execute the following command:
78
79
80 $ pki <TPS admin authentication> tps-audit-mod --action <action>
81
82
83
84 where action is enable or disable.
85
86
87 Modifying audit configuration
88 To modify the audit configuration in TPS, download the current configu‐
89 ration using the above tps-audit-show command, edit the file, then exe‐
90 cute the following command:
91
92
93 $ pki <TPS admin authentication> tps-audit-mod --input <input file>
94
95
96
97 Optionally, a --output output-file option may be specified to download
98 the effective configuration after the modification.
99
100
102 pki(1)
103
104
106 Endi S. Dewata <edewata@redhat.com>.
107
108
110 Copyright (c) 2015 Red Hat, Inc. This is licensed under the GNU Gen‐
111 eral Public License, version 2 (GPLv2). A copy of this license is
112 available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
113
114
115
116PKI Jun 30, 2015 pki-audit(1)