Add authenticate and evaluate actions

Make constants for authenticate / evaluate actions, as proposed in
Anchor audit patch.

Change-Id: Ib9fb6f5d4ab92904097c8c2d77a8b70db0a77c36
This commit is contained in:
Stanisław Pitucha 2015-10-16 09:26:19 +11:00
parent 41f19fb295
commit e23a26f101

View File

@ -23,6 +23,9 @@ ACTION_CREATE = 'create'
ACTION_READ = 'read' ACTION_READ = 'read'
ACTION_UPDATE = 'update' ACTION_UPDATE = 'update'
ACTION_DELETE = 'delete' ACTION_DELETE = 'delete'
# Other CADF actions
ACTION_AUTHENTICATE = 'authenticate'
ACTION_EVALUATE = 'evaluate'
# OpenStack specific, Profile or change CADF spec. to add this action # OpenStack specific, Profile or change CADF spec. to add this action
ACTION_LIST = 'read/list' ACTION_LIST = 'read/list'
@ -45,12 +48,12 @@ ACTION_TAXONOMY = frozenset([
'disable', 'disable',
'send', 'send',
'receive', 'receive',
'authenticate', ACTION_AUTHENTICATE,
'authenticate/login', 'authenticate/login',
'revoke', 'revoke',
'renew', 'renew',
'restore', 'restore',
'evaluate', ACTION_EVALUATE,
'allow', 'allow',
'deny', 'deny',
'notify', 'notify',