[Update] 修改收集用户

This commit is contained in:
ibuler
2019-11-14 11:46:42 +08:00
parent 05e7311b0b
commit 2ef487a92f
12 changed files with 213 additions and 125 deletions

View File

@@ -12,6 +12,7 @@ class GatheredUserSerializer(OrgResourceModelSerializerMixin):
model = GatheredUser
fields = [
'id', 'asset', 'hostname', 'ip', 'username',
'date_last_login', 'ip_last_login',
'present', 'date_created', 'date_updated'
]
read_only_fields = fields