mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-30 12:55:37 +00:00
Merge branch 'master' of https://github.com/jumpserver/lina
This commit is contained in:
commit
b19eda1f53
31
src/views/audits/CommandExecutionList.vue
Normal file
31
src/views/audits/CommandExecutionList.vue
Normal file
@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<GenericListPage :table-config="tableConfig" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import GenericListPage from '@/layout/components/GenericListPage'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
GenericListPage
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
tableConfig: {
|
||||
url: '/api/v1/audits/command-execution-logs/',
|
||||
columns: [
|
||||
'hosts', 'user', 'command', 'run_as', 'result', 'is_finished',
|
||||
'is_success', 'date_start'
|
||||
],
|
||||
columnsMeta: {
|
||||
},
|
||||
hasSelection: false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
31
src/views/audits/FTPLogList.vue
Normal file
31
src/views/audits/FTPLogList.vue
Normal file
@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<GenericListPage :table-config="tableConfig" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import GenericListPage from '@/layout/components/GenericListPage'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
GenericListPage
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
tableConfig: {
|
||||
url: '/api/v1/audits/ftp-logs/',
|
||||
columns: [
|
||||
'user', 'asset', 'system_user', 'remote_addr', 'operate',
|
||||
'filename', 'is_success', 'date_start'
|
||||
],
|
||||
columnsMeta: {
|
||||
},
|
||||
hasSelection: false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
28
src/views/audits/OperateLogList.vue
Normal file
28
src/views/audits/OperateLogList.vue
Normal file
@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<GenericListPage :table-config="tableConfig" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import GenericListPage from '@/layout/components/GenericListPage'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
GenericListPage
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
tableConfig: {
|
||||
url: '/api/v1/audits/operate-logs/',
|
||||
columns: ['user', 'action', 'resource_type', 'resource', 'remote_addr', 'datetime'],
|
||||
columnsMeta: {
|
||||
},
|
||||
hasSelection: false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
28
src/views/audits/PasswordChangeLogList.vue
Normal file
28
src/views/audits/PasswordChangeLogList.vue
Normal file
@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<GenericListPage :table-config="tableConfig" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import GenericListPage from '@/layout/components/GenericListPage'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
GenericListPage
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
tableConfig: {
|
||||
url: '/api/v1/audits/password-change-logs/',
|
||||
columns: ['user', 'change_by', 'remote_addr', 'datetime'],
|
||||
columnsMeta: {
|
||||
},
|
||||
hasSelection: false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
@ -2,31 +2,31 @@ export default [
|
||||
{
|
||||
path: 'login-log',
|
||||
name: 'LoginLog',
|
||||
component: () => import('@/views/audits/LoginLogList.vue'),
|
||||
component: () => import('@/views/audits/LoginLogList'),
|
||||
meta: { title: 'LoginLog' }
|
||||
},
|
||||
{
|
||||
path: 'ftp-log',
|
||||
name: 'FtpLog',
|
||||
component: () => import('@/views/tree/index'),
|
||||
component: () => import('@/views/audits/FTPLogList'),
|
||||
meta: { title: 'FtpLog' }
|
||||
},
|
||||
{
|
||||
path: 'operate-log',
|
||||
name: 'OperateLog',
|
||||
component: () => import('@/views/tree/index'),
|
||||
component: () => import('@/views/audits/OperateLogList'),
|
||||
meta: { title: 'OperateLog' }
|
||||
},
|
||||
{
|
||||
path: 'password-change-log',
|
||||
name: 'PasswordChangeLog',
|
||||
component: () => import('@/views/tree/index'),
|
||||
component: () => import('@/views/audits/PasswordChangeLogList'),
|
||||
meta: { title: 'PasswordChangeLog' }
|
||||
},
|
||||
{
|
||||
path: 'command-execution-log',
|
||||
name: 'BatchCommand',
|
||||
component: () => import('@/views/tree/index'),
|
||||
component: () => import('@/views/audits/CommandExecutionList'),
|
||||
meta: { title: 'BatchCommand' }
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user