summaryrefslogtreecommitdiff
path: root/pycadf
diff options
context:
space:
mode:
authorArun Kant <arun.kant@hp.com>2015-08-06 09:43:10 -0700
committerArun Kant <arun.kant@hp.com>2015-08-14 11:05:09 -0700
commitb1966b9d1e328f9bcfb98fac1e1186e1f697885a (patch)
tree26b0d9eb45977743988ffa2659369715f89b319e /pycadf
parent25a9427233e6af028612072a2143bfe98d8d9b1e (diff)
downloadpycadf-b1966b9d1e328f9bcfb98fac1e1186e1f697885a.tar.gz
Adding barbican specific base resources.
Adjusted classification to be without abbreviation and under /security as per review comments. Change-Id: Id658b61e5e18f9f66b0fecbbd5a44b3a71def22b Implements: blueprint barbican-resource-taxonomy
Diffstat (limited to 'pycadf')
-rw-r--r--pycadf/cadftaxonomy.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/pycadf/cadftaxonomy.py b/pycadf/cadftaxonomy.py
index ad11647..f663fea 100644
--- a/pycadf/cadftaxonomy.py
+++ b/pycadf/cadftaxonomy.py
@@ -87,6 +87,7 @@ def is_valid_outcome(value):
return value in OUTCOME_TAXONOMY
SERVICE_SECURITY = 'service/security'
+SERVICE_KEYMGR = 'service/security/keymanager'
ACCOUNT_USER = 'service/security/account/user'
CADF_AUDIT_FILTER = 'service/security/audit/filter'
@@ -106,6 +107,11 @@ SECURITY_ROLE = 'data/security/role'
SECURITY_SERVICE = 'data/security/service'
SECURITY_TRUST = 'data/security/trust'
SECURITY_ACCOUNT_USER = 'data/security/account/user'
+KEYMGR_SECRET = 'data/security/keymanager/secret'
+KEYMGR_CONTAINER = 'data/security/keymanager/container'
+KEYMGR_ORDER = 'data/security/keymanager/order'
+KEYMGR_OTHERS = 'data/security/keymanager'
+
# TODO(mrutkows): Make global using WSGI mechanism
RESOURCE_TAXONOMY = frozenset([
@@ -137,6 +143,7 @@ RESOURCE_TAXONOMY = frozenset([
'service/compute',
'service/database',
SERVICE_SECURITY,
+ SERVICE_KEYMGR,
'service/security/account',
ACCOUNT_USER,
CADF_AUDIT_FILTER,
@@ -192,6 +199,10 @@ RESOURCE_TAXONOMY = frozenset([
'data/database/table',
'data/database/trigger',
'data/database/view',
+ KEYMGR_CONTAINER,
+ KEYMGR_ORDER,
+ KEYMGR_SECRET,
+ KEYMGR_OTHERS,
UNKNOWN
])