đź”’ Monitor remote server file integrity with SSH and Slack alerts

⚡ 334 views · 🔒 SecOps & Security Automation

Description


How It Works: The 5-Node Security Flow

This workflow efficiently performs a scheduled file integrity audit.

1. Scheduled Check (Cron Node)

This is the workflow’s trigger. It schedules the workflow to run at a specific, regular interval.

2. List Files & Checksums (Code Node)

This node acts as your static database, defining which files to monitor and their known-good checksums.

3. Get Remote File Checksum (SSH Node)

This node connects to your remote server to get the current checksum of the file being monitored.

4. Checksums Match? (If Node)

This is the core detection logic. It compares the newly retrieved checksum from the server with the known-good checksum you stored.

5. Send Alert (Slack Node) / End Workflow (No-Op Node)

These nodes represent the final action of the workflow.


How to Set Up

Implementing this essential cybersecurity monitor in your n8n instance is quick and straightforward.

1. Prepare Your Credentials & Server

Before building the workflow, ensure all necessary accounts are set up and their credentials are ready.

2. Import the Workflow JSON

Get the workflow structure into your n8n instance.

3. Configure the Nodes

Customize the imported workflow to fit your specific monitoring needs.

4. Test and Activate

Verify that your workflow is working correctly before setting it live.

đź”— Nodes Used

Cron, Slack, SSH

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup