file
The file identity: a file read or write on the operator's host. Every field and what is required.
file reads or writes a file on the operator’s host. It is the object sandboxed scanners cannot reach. The target is ignored.
Fields
op field
Required. Either read or write.
path field
Required. The file path.
data field
Optional. The bytes to write. Required when op is write.
Example
file read-flag
op: read
path: "{flag_path}"
assert: flag