feat: 增加数据库redis的纳管功能

This commit is contained in:
jiangweidong
2021-12-23 11:13:32 +08:00
committed by 老广
parent 24cad76232
commit aaaa87dd60
9 changed files with 43 additions and 8 deletions

View File

@@ -29,6 +29,8 @@ class ProtocolMixin:
telnet = 'telnet', 'Telnet'
vnc = 'vnc', 'VNC'
mysql = 'mysql', 'MySQL'
redis = 'redis', 'Redis'
redis_acl = 'redis_acl', 'Redis ACL'
oracle = 'oracle', 'Oracle'
mariadb = 'mariadb', 'MariaDB'
postgresql = 'postgresql', 'PostgreSQL'
@@ -44,7 +46,8 @@ class ProtocolMixin:
Protocol.rdp
]
APPLICATION_CATEGORY_DB_PROTOCOLS = [
Protocol.mysql, Protocol.oracle, Protocol.mariadb, Protocol.postgresql, Protocol.sqlserver
Protocol.mysql, Protocol.redis, Protocol.redis_acl, Protocol.oracle,
Protocol.mariadb, Protocol.postgresql, Protocol.sqlserver
]
APPLICATION_CATEGORY_CLOUD_PROTOCOLS = [
Protocol.k8s