Lists all Projects for your Team
OK
{- "list": [
- {
- "name": "the-sound-and-the-fury",
- "id": "435a700c-a6cb-4031-82bf-3674beaa9bc9",
- "team": "william-faulkner",
- "force_shared_ssh_users": false,
- "shared_admin_user_name": null,
- "shared_standard_user_name": null,
- "create_server_users": true,
- "require_preauth_for_creds": true,
- "deleted_at": "0001-01-01T00:00:00Z",
- "user_on_demand_period": 0,
- "next_unix_uid": 60001,
- "next_unix_gid": 63001,
- "gateway_selector": "env in (dev,prod),region=us-west-2,release notin (canary,stable)",
- "forward_traffic": true,
- "ssh_session_recording": true,
- "rdp_session_recording": true
}, - {
- "name": "the-sound-and-the-fury",
- "id": "435a700c-a6cb-4031-82bf-3674beaa9bc9",
- "team": "william-faulkner",
- "force_shared_ssh_users": false,
- "shared_admin_user_name": null,
- "shared_standard_user_name": null,
- "create_server_users": true,
- "require_preauth_for_creds": true,
- "deleted_at": "0001-01-01T00:00:00Z",
- "user_on_demand_period": 0,
- "next_unix_uid": 60001,
- "next_unix_gid": 63001,
- "gateway_selector": "env in (dev,prod),region=us-west-2,release notin (canary,stable)",
- "forward_traffic": true,
- "ssh_session_recording": true,
- "rdp_session_recording": true
}
]
}
Creates a Project for your Team
Created
{- "create_server_users": true,
- "deleted_at": null,
- "force_shared_ssh_users": false,
- "forward_traffic": true,
- "gateway_selector": null,
- "id": "",
- "name": "the-sound-and-the-fury",
- "next_unix_gid": null,
- "next_unix_uid": 0,
- "rdp_session_recording": true,
- "require_preauth_for_creds": true,
- "shared_admin_user_name": null,
- "shared_standard_user_name": null,
- "ssh_session_recording": true,
- "team": "william-faulkner",
- "user_on_demand_period": null
}
{- "create_server_users": true,
- "deleted_at": "0001-01-01T00:00:00Z",
- "force_shared_ssh_users": false,
- "forward_traffic": true,
- "gateway_selector": "env in (dev,prod),region=us-west-2,release notin (canary,stable)",
- "id": "435a700c-a6cb-4031-82bf-3674beaa9bc9",
- "name": "the-sound-and-the-fury",
- "next_unix_gid": 63001,
- "next_unix_uid": 60001,
- "rdp_session_recording": true,
- "require_preauth_for_creds": true,
- "shared_admin_user_name": null,
- "shared_standard_user_name": null,
- "ssh_session_recording": true,
- "team": "william-faulkner",
- "user_on_demand_period": 0
}
Retrieves the details of a Project
OK
{- "create_server_users": true,
- "deleted_at": "0001-01-01T00:00:00Z",
- "force_shared_ssh_users": false,
- "forward_traffic": true,
- "gateway_selector": "env in (dev,prod),region=us-west-2,release notin (canary,stable)",
- "id": "435a700c-a6cb-4031-82bf-3674beaa9bc9",
- "name": "the-sound-and-the-fury",
- "next_unix_gid": 63001,
- "next_unix_uid": 60001,
- "rdp_session_recording": true,
- "require_preauth_for_creds": true,
- "shared_admin_user_name": null,
- "shared_standard_user_name": null,
- "ssh_session_recording": true,
- "team": "william-faulkner",
- "user_on_demand_period": 0
}
Updates the details of a Project
No Content
{- "create_server_users": true,
- "forward_traffic": null,
- "gateway_selector": null,
- "next_unix_gid": 63011,
- "next_unix_uid": 60011,
- "rdp_session_recording": null,
- "require_preauth_for_creds": false,
- "shared_admin_user_name": null,
- "shared_standard_user_name": null,
- "ssh_session_recording": null,
- "user_on_demand_period": null
}
Deletes a specified Project
No Content
Lists all Client Configuration Options for a specified Project
OK
{- "list": [
- {
- "id": "ec74cb65-b413-4c02-a6f7-7d08dca1ff73",
- "config_key": "ssh.insecure_forward_agent",
- "config_value": "host"
}, - {
- "id": "e58b2748-83b4-4df4-8ef6-f194ed8b011c",
- "config_key": "ssh.port_forward_method",
- "config_value": "netcat"
}
]
}
Adds a Client Configuration Option to a Project. Use Client Configuration Options to automatically pass settings to any Client that accesses a Server within the Project.
OK
{- "config_key": "ssh.insecure_forward_agent",
- "config_value": "host",
- "id": ""
}
{- "config_key": "ssh.insecure_forward_agent",
- "config_value": "host",
- "id": "ec74cb65-b413-4c02-a6f7-7d08dca1ff73"
}
Deletes a Client Configuration Option from a Project
No Content
Lists all Cloud Accounts for a specified Project
OK
{- "list": [
- {
- "id": "59c74d69-5d72-4c96-b051-f42df1aee388",
- "project_name": "the-sound-and-the-fury",
- "provider": "aws",
- "account_id": "123456789012",
- "description": "Dev AWS account"
}, - {
- "id": "b9617cbd-5e35-486c-8c57-a519c9b4f969",
- "project_name": "the-sound-and-the-fury",
- "provider": "gce",
- "account_id": "630225935076",
- "description": "Dev GCE account"
}
]
}
Adds a Cloud Account to a specified Project. Servers created with this Cloud Account are automatically discovered and enrolled in the associated Project. Currently only Amazon Web Services (AWS) and Google Compute Engine (GCE) are supported.
OK
{- "account_id": "123456789012",
- "description": "Dev AWS account",
- "id": "59c74d69-5d72-4c96-b051-f42df1aee388",
- "project_name": "the-sound-and-the-fury",
- "provider": "aws"
}
Retrieves a Cloud Account for a Project
OK
{- "account_id": "123456789012",
- "description": "Dev AWS account",
- "id": "59c74d69-5d72-4c96-b051-f42df1aee388",
- "project_name": "the-sound-and-the-fury",
- "provider": "aws"
}
Updates a Cloud Account for a Project
OK
{- "account_id": "123456789012",
- "description": "Dev AWS account",
- "id": "59c74d69-5d72-4c96-b051-f42df1aee388",
- "project_name": "the-sound-and-the-fury",
- "provider": "aws"
}
Removes a Cloud Account from a Project
No Content
Retrieves a Cloud Account for a Project
OK
{- "account_id": "123456789012",
- "description": "Dev AWS account",
- "id": "59c74d69-5d72-4c96-b051-f42df1aee388",
- "project_name": "the-sound-and-the-fury",
- "provider": "aws"
}
Lists all Groups in a specified Project
OK
{- "list": [
- {
- "id": "",
- "group": "compsons",
- "project": "the-sound-and-the-fury",
- "name": "compsons",
- "group_id": "4cac827b-3050-4e76-abf8-01429a6c2536",
- "server_access": false,
- "server_admin": true,
- "create_server_group": true,
- "removed_at": null,
- "deleted_at": null,
- "unix_gid": null,
- "server_group_name": null,
- "profile_attributes": {
- "unix_gid": 63000,
- "unix_group_name": "sft_compsons",
- "windows_group_name": "sft_compsons"
}
}
]
}
Adds a Group to a Project
No Content
{- "create_server_group": true,
- "deleted_at": null,
- "group": "compsons",
- "group_id": "",
- "id": "",
- "name": "compsons",
- "removed_at": null,
- "server_access": true,
- "server_admin": false,
- "server_group_name": null,
- "unix_gid": null
}
Retrieve the Project-level details for a specified Group
OK
{- "create_server_group": true,
- "deleted_at": null,
- "group": "compsons",
- "group_id": "4cac827b-3050-4e76-abf8-01429a6c2536",
- "id": "",
- "name": "compsons",
- "profile_attributes": {
- "unix_gid": 63000,
- "unix_group_name": "sft_compsons",
- "windows_group_name": "sft_compsons"
}, - "project": "the-sound-and-the-fury",
- "removed_at": null,
- "server_access": false,
- "server_admin": true,
- "server_group_name": null,
- "unix_gid": null
}
Updates the Project-level details for a specified Group
No Content
{- "create_server_group": true,
- "deleted_at": null,
- "group": "compsons",
- "group_id": "",
- "id": "",
- "name": "compsons",
- "removed_at": null,
- "server_access": false,
- "server_admin": true,
- "server_group_name": null,
- "unix_gid": null
}
Removes a Group from a Project. This doesn't delete the Group from the Team.
No Content
Lists all Server Enrollment Tokens for a specified Project
OK
{- "list": [
- {
- "created_by_user": "string",
- "description": "string",
- "id": "/regex/",
- "issued_at": "2019-08-24T14:15:22Z",
- "token": {
- "property1": "string",
- "property2": "string"
}
}
]
}
Creates a Server Enrollment Token for a specified Project. These tokens are used to enroll a Server in the Project.
Created
{- "description": "string"
}
{- "created_by_user": "string",
- "description": "string",
- "id": "/regex/",
- "issued_at": "2019-08-24T14:15:22Z",
- "token": {
- "property1": "string",
- "property2": "string"
}
}
Retrieves a Server Enrollment Token from a Project
OK
{- "created_by_user": "string",
- "description": "string",
- "id": "/regex/",
- "issued_at": "2019-08-24T14:15:22Z",
- "token": {
- "property1": "string",
- "property2": "string"
}
}
Deletes a Server Enrollment Token from a Project
No Content
List all Server Users for a specified Project. A Server User is a representation of a User that is created on an enrolled Server.
List of Server Users
{- "list": [
- {
- "user_name": "benjycompson",
- "server_user_name": "benjy",
- "status": "ACTIVE",
- "type": "human",
- "unix_uid": 60001,
- "unix_gid": 63001,
- "admin": true,
- "windows_server_user_name": "benjy",
- "id": "220ed32b-72ae-456e-b2f7-1eccad4c6cab"
}, - {
- "user_name": "quentincompson",
- "server_user_name": "quentin",
- "status": "DELETED",
- "type": "human",
- "unix_uid": 60002,
- "unix_gid": 63002,
- "admin": false,
- "windows_server_user_name": "quentin",
- "id": "62564521-89cd-49fe-9618-20405b967dd0"
}
]
}
Retrieves a Server User for a Project
Server User
{- "list": {
- "user_name": "benjycompson",
- "server_user_name": "benjy",
- "status": "ACTIVE",
- "type": "human",
- "unix_uid": 60001,
- "unix_gid": 63001,
- "admin": true,
- "windows_server_user_name": "benjy",
- "id": "220ed32b-72ae-456e-b2f7-1eccad4c6cab"
}
}
Lists all Servers enrolled in a specified Project
OK
{- "list": [
- {
- "team_name": "william-faulkner",
- "id": "9963d86c-dd31-44ef-86a6-23ccaf859b35",
- "hostname": "harvard",
- "alt_names": null,
- "bastion": null,
- "canonical_name": null,
- "access_address": null,
- "os": "Ubuntu 16.04",
- "os_type": "linux",
- "services": [
- "broker",
- "ssh"
], - "registered_at": "0001-01-01T00:00:00Z",
- "last_seen": "0001-01-01T00:00:00Z",
- "sftd_version": "1.44.4",
- "cloud_provider": null,
- "ssh_host_keys": null,
- "broker_host_certs": null,
- "instance_details": null,
- "state": "INACTIVE",
- "managed": true,
- "deleted_at": "0001-01-01T00:00:00Z",
- "instance_id": null
}, - {
- "team_name": "william-faulkner",
- "id": "6b5a4a5a-97c9-4905-8038-4fd4bf07dfe2",
- "hostname": "jefferson",
- "alt_names": null,
- "bastion": null,
- "canonical_name": null,
- "access_address": null,
- "os": "Ubuntu 16.04",
- "os_type": "linux",
- "services": [
- "broker",
- "ssh"
], - "registered_at": "0001-01-01T00:00:00Z",
- "last_seen": "0001-01-01T00:00:00Z",
- "sftd_version": "1.44.4",
- "cloud_provider": null,
- "ssh_host_keys": null,
- "broker_host_certs": null,
- "instance_details": null,
- "state": "INACTIVE",
- "managed": true,
- "deleted_at": "0001-01-01T00:00:00Z",
- "instance_id": null
}
]
}
Adds an unmanaged Server to a specified Project. Unmanaged Servers don't use Advanced Server Access for authentication, but still receive Client Configuration Options. Create an Unmanaged Server to control connection options such as port and agent forwarding for Users without requiring sftd
to manage the Server.
OK
{- "access_address": "1.2.3.4",
- "alt_names": [
- "bastion"
], - "credentialed": false,
- "hostname": "bastion.dev.com",
- "os_type": "",
- "ssh_host_keys": null
}
{- "access_address": null,
- "alt_names": null,
- "bastion": null,
- "broker_host_certs": null,
- "canonical_name": null,
- "cloud_provider": null,
- "deleted_at": "0001-01-01T00:00:00Z",
- "hostname": "bastion.dev.com",
- "id": "ccdda5bf-9a2f-45ee-a7e4-66a9700f8ab8",
- "instance_details": null,
- "instance_id": null,
- "last_seen": "0001-01-01T00:00:00Z",
- "managed": false,
- "os": "",
- "os_type": null,
- "registered_at": "0001-01-01T00:00:00Z",
- "services": [ ],
- "sftd_version": null,
- "ssh_host_keys": null,
- "state": "ACTIVE",
- "team_name": "william-faulkner"
}
Retrieves the details of a specified Server.
OK
{- "access_address": null,
- "alt_names": null,
- "bastion": null,
- "broker_host_certs": null,
- "canonical_name": null,
- "cloud_provider": null,
- "deleted_at": "0001-01-01T00:00:00Z",
- "hostname": "harvard",
- "id": "9963d86c-dd31-44ef-86a6-23ccaf859b35",
- "instance_details": null,
- "instance_id": null,
- "last_seen": "0001-01-01T00:00:00Z",
- "managed": true,
- "os": "Ubuntu 16.04",
- "os_type": "linux",
- "registered_at": "0001-01-01T00:00:00Z",
- "services": [
- "broker",
- "ssh"
], - "sftd_version": "1.44.4",
- "ssh_host_keys": null,
- "state": "INACTIVE",
- "team_name": "william-faulkner"
}
Updates a Server for a specified Project. This operation is intended for use with the PolicySync feature, see PolicySync: Attribute-Based Access Control.
object or null (Optional) A map of key value pairs. These labels overwrite all labels previously supplied through the API for this server. You can only update labels from other sources using that source. If you don't supply the prefix 'api.', it is automatically prepended. | |
No Content
{- "labels": {
- "foo": "bar"
}
}
Removes a Server from a specified Project
No Content