mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
WebAdmin: allow to search and export event logs
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -2305,6 +2305,13 @@ paths:
|
||||
type: string
|
||||
description: 'User role. Empty or missing means omit this filter. Ignored if the admin has a role'
|
||||
required: false
|
||||
- in: query
|
||||
name: csv_export
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
required: false
|
||||
description: 'If enabled, events are exported as a CSV file'
|
||||
- in: query
|
||||
name: limit
|
||||
schema:
|
||||
@@ -2313,7 +2320,7 @@ paths:
|
||||
maximum: 1000
|
||||
default: 100
|
||||
required: false
|
||||
description: 'The maximum number of items to return. Max value is 500, default is 100'
|
||||
description: 'The maximum number of items to return. Max value is 1000, default is 100'
|
||||
- in: query
|
||||
name: order
|
||||
required: false
|
||||
@@ -2333,6 +2340,9 @@ paths:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/FsEvent'
|
||||
text/csv:
|
||||
schema:
|
||||
type: string
|
||||
'400':
|
||||
$ref: '#/components/responses/BadRequest'
|
||||
'401':
|
||||
@@ -2429,6 +2439,13 @@ paths:
|
||||
type: string
|
||||
description: 'Admin role. Empty or missing means omit this filter. Ignored if the admin has a role'
|
||||
required: false
|
||||
- in: query
|
||||
name: csv_export
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
required: false
|
||||
description: 'If enabled, events are exported as a CSV file'
|
||||
- in: query
|
||||
name: limit
|
||||
schema:
|
||||
@@ -2437,7 +2454,7 @@ paths:
|
||||
maximum: 1000
|
||||
default: 100
|
||||
required: false
|
||||
description: 'The maximum number of items to return. Max value is 500, default is 100'
|
||||
description: 'The maximum number of items to return. Max value is 1000, default is 100'
|
||||
- in: query
|
||||
name: order
|
||||
required: false
|
||||
@@ -2457,6 +2474,9 @@ paths:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/ProviderEvent'
|
||||
text/csv:
|
||||
schema:
|
||||
type: string
|
||||
'400':
|
||||
$ref: '#/components/responses/BadRequest'
|
||||
'401':
|
||||
@@ -4616,16 +4636,19 @@ components:
|
||||
- HTTP
|
||||
- HTTPShare
|
||||
- DataRetention
|
||||
- EventAction
|
||||
- OIDC
|
||||
description: |
|
||||
Protocols:
|
||||
* `SSH` - SSH commands
|
||||
* `SFTP` - SFTP protocol
|
||||
* `SCP` - SCP protocol
|
||||
* `FTP` - plain FTP and FTPES/FTPS
|
||||
* `DAV` - WebDAV
|
||||
* `HTTP` - WebClient/REST API
|
||||
* `HTTPShare` - the event is generated in a public share
|
||||
* `DataRetention` - the event is generated by a data retention check
|
||||
* `EventAction` - the event is generated by an EventManager action
|
||||
* `OIDC` - OpenID Connect
|
||||
WebClientOptions:
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user