mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
add more details to the server status page
add all supported fields to the OpenAPI docs Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -4467,6 +4467,23 @@ components:
|
||||
- admin
|
||||
- api_key
|
||||
- share
|
||||
SSHAuthentications:
|
||||
type: string
|
||||
enum:
|
||||
- publickey
|
||||
- password
|
||||
- keyboard-interactive
|
||||
- publickey+password
|
||||
- publickey+keyboard-interactive
|
||||
TLSVersions:
|
||||
type: integer
|
||||
enum:
|
||||
- 12
|
||||
- 13
|
||||
description: >
|
||||
TLS version:
|
||||
* `12` - TLS 1.2
|
||||
* `13` - TLS 1.3
|
||||
TOTPConfig:
|
||||
type: object
|
||||
properties:
|
||||
@@ -5373,9 +5390,33 @@ components:
|
||||
description: the port used for serving requests
|
||||
enable_https:
|
||||
type: boolean
|
||||
min_tls_version:
|
||||
$ref: '#/components/schemas/TLSVersions'
|
||||
client_auth_type:
|
||||
type: integer
|
||||
description: 1 means that client certificate authentication is required in addition to HTTP basic authentication
|
||||
tls_cipher_suites:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: 'List of supported cipher suites for TLS version 1.2. If empty a default list of secure cipher suites is used, with a preference order based on hardware performance'
|
||||
prefix:
|
||||
type: string
|
||||
description: 'Prefix for WebDAV resources, if empty WebDAV resources will be available at the `/` URI'
|
||||
proxy_allowed:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: 'List of IP addresses and IP ranges allowed to set proxy headers'
|
||||
PassiveIPOverride:
|
||||
type: object
|
||||
properties:
|
||||
networks:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
ip:
|
||||
type: string
|
||||
FTPDBinding:
|
||||
type: object
|
||||
properties:
|
||||
@@ -5399,12 +5440,44 @@ components:
|
||||
* `0` - clear or explicit TLS
|
||||
* `1` - explicit TLS required
|
||||
* `2` - implicit TLS
|
||||
min_tls_version:
|
||||
$ref: '#/components/schemas/TLSVersions'
|
||||
force_passive_ip:
|
||||
type: string
|
||||
description: External IP address to expose for passive connections
|
||||
passive_ip_overrides:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/PassiveIPOverride'
|
||||
client_auth_type:
|
||||
type: integer
|
||||
description: 1 means that client certificate authentication is required in addition to FTP authentication
|
||||
tls_cipher_suites:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: 'List of supported cipher suites for TLS version 1.2. If empty a default list of secure cipher suites is used, with a preference order based on hardware performance'
|
||||
passive_connections_security:
|
||||
type: integer
|
||||
enum:
|
||||
- 0
|
||||
- 1
|
||||
description: |
|
||||
Active connections security:
|
||||
* `0` - require matching peer IP addresses of control and data connection
|
||||
* `1` - disable any checks
|
||||
active_connections_security:
|
||||
type: integer
|
||||
enum:
|
||||
- 0
|
||||
- 1
|
||||
description: |
|
||||
Active connections security:
|
||||
* `0` - require matching peer IP addresses of control and data connection
|
||||
* `1` - disable any checks
|
||||
debug:
|
||||
type: boolean
|
||||
description: 'If enabled any FTP command will be logged'
|
||||
SSHServiceStatus:
|
||||
type: object
|
||||
properties:
|
||||
@@ -5424,6 +5497,10 @@ components:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
authentications:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/SSHAuthentications'
|
||||
FTPPassivePortRange:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user