Debian Codegraph @

doc/source/cli/oslopolicy-list-redundant.rst

raw
1 =========================
2 oslopolicy-list-redundant
3 =========================
4
5 .. program:: oslopolicy-list-redundant
6
7 Synopsis
8 --------
9
10 ::
11
12 oslopolicy-list-redundant [-h] [--config-dir DIR] [--config-file PATH]
13 [--namespace NAMESPACE]
14
15 Description
16 -----------
17
18 The ``oslopolicy-list-redundant`` tool is useful for detecting policies that
19 are specified in policy files that are the same as the defaults provided by the
20 service. Operators can use this tool to find policies that they can remove from
21 their policy files, making maintenance easier.
22
23 This tool assumes a policy file containing overrides exists and is specified
24 through configuration.
25
26 Options
27 -------
28
29 .. include:: common/default-opts.rst
30
31 .. include:: common/enforcer-opts.rst
32
33 Examples
34 --------
35
36 To list redundant default policies:
37
38 .. code-block:: bash
39
40 oslopolicy-list-redundant --namespace keystone --config-dir /etc/keystone
41
42 For more information regarding the options supported by this tool:
43
44 .. code-block:: bash
45
46 oslopolicy-list-redundant --help
47
48 See Also
49 --------
50
51 :program:`oslopolicy-sample-generator`, :program:`oslopolicy-policy-generator`,
52 :program:`oslopolicy-checker`