SFTPConnection
Checks the contents of a folder over SFTP for size, age, and count.
See Folder for a full description.
sftp-folder-check.yamlapiVersion: 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
| Field | Description | Scheme | Required |
|---|---|---|---|
name | Name of the check | string | Yes |
path | A path to the remote folder | string | Yes |
sftpConnection | SFTP connection details | SFTPConnection | Yes |
* | All other fields available in the folder check | Folder |
SFTP Connection
| Field | Description | Scheme |
|---|---|---|
connection | The connection url to use, mutually exclusive with | |
host | SFTP host |
|
password | ||
port | SFTP port |
|
username |