jumpserver/apps/audits/const.py

25 lines
597 B
Python
Raw Normal View History

2021-09-27 11:06:26 +00:00
# -*- coding: utf-8 -*-
#
from django.utils.translation import ugettext_lazy as _
DEFAULT_CITY = _("Unknown")
MODELS_NEED_RECORD = (
# users
'User', 'UserGroup',
# acls
'LoginACL', 'LoginAssetACL', 'LoginConfirmSetting',
# assets
'Asset', 'Node', 'AdminUser', 'SystemUser', 'Domain', 'Gateway', 'CommandFilterRule',
2022-07-15 10:03:32 +00:00
'CommandFilter', 'Platform', 'Account',
# applications
# orgs
'Organization',
# settings
'Setting',
# perms
2022-08-16 08:34:16 +00:00
'AssetPermission',
# xpack
'License', 'Account', 'SyncInstanceTask', 'ChangeAuthPlan', 'GatherUserTask',
)