mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-14 06:19:17 +00:00
perf: Automation
This commit is contained in:
@@ -84,10 +84,7 @@ class ChangeSecretRecordViewSet(mixins.ListModelMixin, OrgGenericViewSet):
|
||||
return failed_records
|
||||
|
||||
def get_queryset(self):
|
||||
qs = ChangeSecretRecord.get_valid_records()
|
||||
return qs.filter(
|
||||
execution__automation__type=self.tp
|
||||
)
|
||||
return ChangeSecretRecord.get_valid_records()
|
||||
|
||||
@action(methods=['post'], detail=False, url_path='execute')
|
||||
def execute(self, request, *args, **kwargs):
|
||||
|
Reference in New Issue
Block a user