mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/1Panel-dev/1Panel.git
synced 2026-09-20 08:03:55 +08:00
feat: improve host log management (#13345)
This commit is contained in:
@@ -19445,6 +19445,34 @@ const docTemplate = `{
|
||||
]
|
||||
}
|
||||
},
|
||||
"/hosts/ssh/log/clean": {
|
||||
"post": {
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
},
|
||||
{
|
||||
"Timestamp": []
|
||||
}
|
||||
],
|
||||
"summary": "Clean host SSH logs",
|
||||
"tags": [
|
||||
"SSH"
|
||||
],
|
||||
"x-panel-log": {
|
||||
"BeforeFunctions": [],
|
||||
"bodyKeys": [],
|
||||
"formatEN": "clean SSH login logs",
|
||||
"formatZH": "清空 SSH 登录日志",
|
||||
"paramKeys": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"/hosts/ssh/log/export": {
|
||||
"post": {
|
||||
"consumes": [
|
||||
@@ -46537,4 +46565,4 @@ var SwaggerInfo = &swag.Spec{
|
||||
|
||||
func init() {
|
||||
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19441,6 +19441,34 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/hosts/ssh/log/clean": {
|
||||
"post": {
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
},
|
||||
{
|
||||
"Timestamp": []
|
||||
}
|
||||
],
|
||||
"summary": "Clean host SSH logs",
|
||||
"tags": [
|
||||
"SSH"
|
||||
],
|
||||
"x-panel-log": {
|
||||
"BeforeFunctions": [],
|
||||
"bodyKeys": [],
|
||||
"formatEN": "clean SSH login logs",
|
||||
"formatZH": "清空 SSH 登录日志",
|
||||
"paramKeys": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"/hosts/ssh/log/export": {
|
||||
"post": {
|
||||
"consumes": [
|
||||
@@ -46516,4 +46544,4 @@
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3609,6 +3609,13 @@
|
||||
"formatZH": "修改 SSH 配置文件 [key]",
|
||||
"formatEN": "update SSH conf [key]"
|
||||
},
|
||||
"/hosts/ssh/log/clean": {
|
||||
"bodyKeys": [],
|
||||
"paramKeys": [],
|
||||
"beforeFunctions": [],
|
||||
"formatZH": "清空 SSH 登录日志",
|
||||
"formatEN": "clean SSH login logs"
|
||||
},
|
||||
"/hosts/ssh/operate": {
|
||||
"bodyKeys": [
|
||||
"operation"
|
||||
|
||||
Reference in New Issue
Block a user