summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2015-04-06 16:15:33 -0400
committerIan Cordasco <graffatcolmingov@gmail.com>2016-01-12 15:44:03 -0600
commitf4c533b25f06f820e8b0828a939b01b31f12fa87 (patch)
treed5d8bee5e9ae24137739fe7e974a1e7597b0a218 /setup.cfg
parent8d65ff6de5b7613a049fa6b4d2eaebcaded0fe5f (diff)
downloadoslo-policy-f4c533b25f06f820e8b0828a939b01b31f12fa87.tar.gz
Add oslopolicy-checker command-line tool
Allows testing the access_data from a Keystone token against all rules in a policy file. Optionally can test a single rule. See $ tox -e venv -- oslopolicy-checker --help For more details Co-Authored-By: Ian Cordasco <graffatcolmingov@gmail.com> Implements-Blueprint: oslopolicy-cli Change-Id: I8b2e8739c85077e856775f37e9868eb0a8babb3c
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 45afddc..40037f1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -30,6 +30,11 @@ autodoc_tree_index_modules = True
oslo.config.opts =
oslo.policy = oslo_policy.opts:list_opts
+console_scripts =
+ oslopolicy-checker = oslo_policy.shell:main
+
+
+
[build_sphinx]
source-dir = doc/source
build-dir = doc/build