Watched files represent files that are being monitored for changes on your servers. Cloud66 tracks these files for integrity monitoring and can alert you when important configuration or application files are modified.
Model
serverstringThe UID of the server where the file is being monitored.
file_pathstringThe absolute path to the monitored file on the server.
is_changedbooleanWhether the file has been modified since the last check. Changes are detected through file modification time, size, or checksum comparison.
created_atdatetimeThe date and time when monitoring for this file was set up, in ISO 8601 format.
updated_atdatetimeThe date and time of the last status check for this file, in ISO 8601 format.
Related Models:Server
Example
{
"server": "550e8400-e29b-41d4-a716-446655440001",
"file_path": "/etc/nginx/nginx.conf",
"is_changed": false,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-02-15T14:25:00Z"
}