summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Chung <chungg@ca.ibm.com>2014-02-20 14:21:58 -0500
committerGordon Chung <chungg@ca.ibm.com>2014-02-20 14:23:57 -0500
commitf7fc5ac01252347e050b3516be94933c31d28af9 (patch)
treea980729cf21a92a819e1afa4ee2b752b2b2b519f
parentfa802a753d00b4e61eebbc7360caecffba3d7852 (diff)
downloadpycadf-f7fc5ac01252347e050b3516be94933c31d28af9.tar.gz
add constant for security service0.4
add constant variable for resource 'service/security' Change-Id: I29a47920a6718a6695a9ca2187fcbe92bcf46ac9
-rw-r--r--pycadf/cadftaxonomy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pycadf/cadftaxonomy.py b/pycadf/cadftaxonomy.py
index d21d54a..f1f37ff 100644
--- a/pycadf/cadftaxonomy.py
+++ b/pycadf/cadftaxonomy.py
@@ -90,6 +90,7 @@ OUTCOME_TAXONOMY = frozenset([
def is_valid_outcome(value):
return value in OUTCOME_TAXONOMY
+SERVICE_SECURITY = 'service/security'
ACCOUNT_USER = 'service/security/account/user'
CADF_AUDIT_FILTER = 'service/security/audit/filter'
@@ -122,7 +123,7 @@ RESOURCE_TAXONOMY = frozenset([
'service/composition',
'service/compute',
'service/database',
- 'service/security',
+ SERVICE_SECURITY,
'service/security/account',
ACCOUNT_USER,
CADF_AUDIT_FILTER,