API v2: UAG - Account Safe Listener πŸ†•ΒΆ


Data StructuresΒΆ

UagAccountSafeListenerModelΒΆ

Attribute

Type

Required

Description

id

string

Read-only. Unique object identifier. Protected.

access_denied

object

Read-only. Expensive to use. Reasons why access is denied.

account_id

string

yes

Read-only. Uniqueness is required in the combination of attribute account_id with attributes safe_id and listener_id.

safe_id

string

yes

Read-only. Uniqueness is required in the combination of attribute safe_id with attributes account_id and listener_id.

safe_name

string

Read-only.

listener_id

string

Read-only. Uniqueness is required in the combination of attribute listener_id with attributes account_id and safe_id.

listener_name

string

Read-only.

mode

string

Read-only. Mode of operation. One of: gateway, proxy, transparent, bastion.

protocol

string

Read-only. Protocol used. One of: http, modbus, mysql, tcp, tds, telnet, tn3270, tn5250, rdp, ssh, vnc.

external_address

string

If protocol == rdp || http || telnet || tn3270 || tn5250 & tls_enabled == true

Listener address to present in Access Gateway.

external_port

number {from 1 to 65535}

If protocol == rdp || http || telnet || tn3270 || tn5250 & tls_enabled == true

Listener port to present in Access Gateway.

otp_enabled

boolean

Read-only. Whether OTP authentication is supported.

play_enabled

boolean

Read-only. Whether click-to-play is supported.

addresses

string[]

Read-only. List of listener addresses.

listen_port

number {from 1 to 65535}

Read-only. Listener port.

tls_enabled

boolean

Read-only. TLS enabled.

ssh_public_key_type

string

Read-only.

ssh_public_key_fingerprint_md5

string

If protocol == ssh

Read-only. SSH public key MD5 fingerprint.

ssh_public_key_fingerprint_sha1

string

If protocol == ssh

Read-only. SSH public key SHA1 fingerprint.

tls_certificate_fingerprint_md5

string

If protocol == rdp || http || telnet || tn3270 || tn5250 & tls_enabled == true

Read-only. TLS certificate MD5 fingerprint.

tls_certificate_fingerprint_sha1

string

If protocol == rdp || http || telnet || tn3270 || tn5250 & tls_enabled == true

Read-only. TLS certificate SHA1 fingerprint.

rdp_public_key_fingerprint_md5

string

If protocol == rdp & tls_enabled == false

Read-only. RDP public key MD5 fingerprint.

rdp_public_key_fingerprint_sha1

string

If protocol == rdp & tls_enabled == false

Read-only. RDP public key SHA1 fingerprint.

Retrieve Available Attributes of the UagAccountSafeListenerModelΒΆ

Request

Method

GET

Path

/api/v2/objspec/uag_account_safe_listener

GET /api/v2/objspec/uag_account_safe_listener

Example Request

curl -s -k -X GET \
  -H 'Authorization: sgfeea6jsaz4mum9su8w6' \
  'https://10.0.214.98/api/v2/objspec/uag_account_safe_listener'

Get User Access Gateway / Safe / Listener AssignmentΒΆ

Request

Method

GET

Path

/api/v2/account_safe_listener

GET /api/v2/account_safe_listener

Example Request

curl -s -k -X GET \
  -H 'Authorization: sgfeea6jsaz4mum9su8w6' \
  https://10.0.0.1/api/v2/account_safe_listener

Response

{
    "result": "success",
    "uag_account_safe_listener": [
        {
            "account_id": "8169529724050079750",
            "safe_id": "8169529724050079749",
            "safe_name": "Safe_2345",
            "listener_id": "8169529724050079746",
            "listener_name": "RDP:bastion",
            "mode": "bastion",
            "protocol": "rdp",
            "otp_enabled": true,
            "play_enabled": false,
            "addresses": [
                "10.31.116.195",
                "10.31.116.197",
                "10.31.116.196"
            ],
            "listen_port": 3389,
            "tls_enabled": true,
            "tls_certificate_fingerprint_md5": "MD5:2f:6f:4c:3e:dd:bb:ba:06:83:92:2e:89:f5:98:39:2f",
            "tls_certificate_fingerprint_sha1": "SHA1:2f:aa:62:aa:dd:2f:c8:10:7b:2f:4b:39:dd:43:4f:1a:8b:5a:dd:18"
        }
    ]
}