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-check
spec:
interval: 30
folder:
- path: /tmp
name: sample sftp check
maxCount: 10
sftpConnection:
host: 192.168.1.5
auth:
username:
valueFrom:
secretKeyRef:
name: sftp-credentials
key: USERNAME
password:
valueFrom:
secretKeyRef:
name: sftp-credentials
key: PASSWORD
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 |
---|---|---|
host | SFTP host |
|
port | SFTP port |
|
username | ||
password |