feat: 改密记录 推送记录可单独执行

This commit is contained in:
feng
2023-10-30 14:24:34 +08:00
committed by Bryan
parent ee586954f8
commit bc54685a31
10 changed files with 94 additions and 120 deletions

View File

@@ -5,7 +5,7 @@ from django_filters import rest_framework as drf_filters
from assets.models import Node
from common.drf.filters import BaseFilterSet
from .models import Account, GatheredAccount
from .models import Account, GatheredAccount, ChangeSecretRecord
class AccountFilterSet(BaseFilterSet):
@@ -59,3 +59,10 @@ class GatheredAccountFilterSet(BaseFilterSet):
class Meta:
model = GatheredAccount
fields = ['id', 'asset_id', 'username']
class ChangeSecretRecordFilterSet(BaseFilterSet):
class Meta:
model = ChangeSecretRecord
fields = ['asset_id', 'execution_id']