Skip to main content
Version: v41

service-create

servicestring

Allowed protocol - SSH, RDP, VNC, WEB, DB (searchable)

Possible values: [SSH, RDP, VNC, WEB, DB]

addressstring

Service address, IPv4, IPv6 or FQDN

portinteger

Service port

use_for_password_rotationboolean

if service SSH, informs whether this service is used to rotate password

Default value: false
db object
protocolstring

Database protocol

Possible values: [postgres, mysql, passthrough, tls]

tls_certificate_validationstring

Possible values: [ENABLED, DISABLED]

tls_certificate_trust_anchorsstring

Database server TLS certificate trust anchors in PEM

audit_skip_bytesinteger

Session recording of the protocol stream will start only when this amount of bytes have been transferred from client to server. Set to zero to start session recording from start of protocol stream.

sourcestring

Identifies the source of the services object "UI", "SCIM" or "SCAN". Deploy is also treated as "UI".

service-create
{
"service": "SSH",
"address": "string",
"port": 0,
"use_for_password_rotation": false,
"db": {
"protocol": "postgres",
"tls_certificate_validation": "ENABLED",
"tls_certificate_trust_anchors": "string",
"audit_skip_bytes": 0
},
"source": "string"
}