Skip to main content

SFTPConnection

Checks the contents of a folder over SFTP for size, age, and count.

See Folder for a full description.

sftp-folder-check.yaml
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: sftp-pass
spec:
schedule: "@every 5m"
folder:
- path: /tmp
name: sample sftp check
sftpConnection:
host: 192.168.1.5
username:
value: <username>
password:
value: <password>
maxCount: 10
FieldDescriptionSchemeRequired
nameName of the checkstringYes
pathA path to the remote folderstringYes
sftpConnectionSFTP connection detailsSFTPConnectionYes
*All other fields available in the folder checkFolder

SFTP Connection​

FieldDescriptionScheme
connection

The connection url to use, mutually exclusive with host and port

Connection

host

SFTP host

string

password

EnvVar

port

SFTP port

integer

username

EnvVar