file_read
Read files under configured allowed paths, optionally from a target host or only the last N lines, to inspect server data through opsgate's policy gate.
Instructions
Read a file under one of the configured allowed paths (see files.allow_paths).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | target host name from the opsgate config; omit for the default host | |
| path | Yes | absolute path of the file to read | |
| lines | No | read only the last N lines instead of the whole file |