Wazuh RuleOpsX – 自動検証・デプロイメント、検出能力向上

中級

これはSecOps, Multimodal AI分野の自動化ワークフローで、14個のノードを含みます。主にIf, Ssh, Code, Telegram, HttpRequestなどのノードを使用。 GitHub、XML検証、Telegramを使ってWazuhルールパイプラインを自動デプロイ

前提条件
  • Telegram Bot Token
  • ターゲットAPIの認証情報が必要な場合あり
  • GitHub Personal Access Token
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "ycZ4TnsQsex77CYk",
  "meta": {
    "instanceId": "04efa85563ff59ae71f7bc1e4ed9a086a69f4130298a28a588ae58f08407702b",
    "templateCredsSetupCompleted": true
  },
  "name": "Wazuh RuleOpsX – Auto-Validate, Deploy & Elevate Detection",
  "tags": [],
  "nodes": [
    {
      "id": "4dc3a66e-3caa-4f98-8bd0-39ac49a2c6cd",
      "name": "Github Trigger",
      "type": "n8n-nodes-base.githubTrigger",
      "position": [
        -848,
        -48
      ],
      "webhookId": "7a8eda35-c338-4421-232-86340c4a4f1c",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "33ab571c-aed9-4713-8b3f-6b958ac24604",
      "name": "変更ファイルの抽出",
      "type": "n8n-nodes-base.code",
      "position": [
        -400,
        -144
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "1059c81d-c8df-4823-b8f3-b5fb6196686a",
      "name": "ルールのダウンロード",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -176,
        -144
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "96ab9e75-66b0-4bd5-822f-489a326ec127",
      "name": "ファイルのアップロード",
      "type": "n8n-nodes-base.ssh",
      "position": [
        48,
        -144
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "46fd91e3-8b95-4cff-b93a-132b4a730295",
      "name": "❌ 失敗メッセージ",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1392,
        -144
      ],
      "webhookId": "fd7c2740-b855-4890-815b-6f48dfd86dd0",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "aacc31f6-4b99-48f0-96bf-8a22243f9a06",
      "name": "✅ 成功メッセージ",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1392,
        -336
      ],
      "webhookId": "e7e69fdc-49d8-4160-aa95-62fc69f5ad5b",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "0c078ecb-0155-4682-bb26-72ec53dcc2c2",
      "name": "Wazuh_managerの再起動",
      "type": "n8n-nodes-base.ssh",
      "position": [
        944,
        -240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "dc1a2dd9-042b-4a48-b888-a4c191d135b9",
      "name": "ルールのデプロイ中",
      "type": "n8n-nodes-base.ssh",
      "position": [
        720,
        -240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6dc9b783-45ab-4dfd-a09a-bf1d6a7db54a",
      "name": "ルール検証",
      "type": "n8n-nodes-base.ssh",
      "position": [
        272,
        -144
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "405115db-ece3-4bfd-bc69-4f942322322a130",
      "name": "ルールデプロイ失敗",
      "type": "n8n-nodes-base.telegram",
      "position": [
        720,
        -48
      ],
      "webhookId": "de6c1056-9aea-41ab-98df-b9269ba8d77f",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d64b8fa3-ffa7-4437-a8af-4e8476cf01c8",
      "name": "操作なし、何もしない",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -400,
        48
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f2cb2437-2703-499f-aebf-bbeaccc3b290",
      "name": "デプロイ用有効コミット",
      "type": "n8n-nodes-base.if",
      "position": [
        -624,
        -48
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "f9ec8d14-25a7-483f-b879-781e70b89d80",
      "name": "ルール検証チェック",
      "type": "n8n-nodes-base.if",
      "position": [
        496,
        -144
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "6db2dc61-776a-4fb8-9c78-2c4b54e9b1ea",
      "name": "最終確認チェック",
      "type": "n8n-nodes-base.if",
      "position": [
        1168,
        -240
      ],
      "parameters": {},
      "typeVersion": 2.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "348e2496-9d89-4395-9e3c-e6f3e640ffd6",
  "connections": {
    "1059c81d-c8df-4823-b8f3-b5fb6196686a": {
      "main": [
        [
          {
            "node": "96ab9e75-66b0-4bd5-822f-489a326ec127",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "96ab9e75-66b0-4bd5-822f-489a326ec127": {
      "main": [
        [
          {
            "node": "6dc9b783-45ab-4dfd-a09a-bf1d6a7db54a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4dc3a66e-3caa-4f98-8bd0-39ac49a2c6cd": {
      "main": [
        [
          {
            "node": "f2cb2437-2703-499f-aebf-bbeaccc3b290",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6dc9b783-45ab-4dfd-a09a-bf1d6a7db54a": {
      "main": [
        [
          {
            "node": "f9ec8d14-25a7-483f-b879-781e70b89d80",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dc1a2dd9-042b-4a48-b888-a4c191d135b9": {
      "main": [
        [
          {
            "node": "0c078ecb-0155-4682-bb26-72ec53dcc2c2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "33ab571c-aed9-4713-8b3f-6b958ac24604": {
      "main": [
        [
          {
            "node": "1059c81d-c8df-4823-b8f3-b5fb6196686a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0c078ecb-0155-4682-bb26-72ec53dcc2c2": {
      "main": [
        [
          {
            "node": "6db2dc61-776a-4fb8-9c78-2c4b54e9b1ea",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f9ec8d14-25a7-483f-b879-781e70b89d80": {
      "main": [
        [
          {
            "node": "dc1a2dd9-042b-4a48-b888-a4c191d135b9",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "405115db-ece3-4bfd-bc69-4f942322322a130",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6db2dc61-776a-4fb8-9c78-2c4b54e9b1ea": {
      "main": [
        [
          {
            "node": "aacc31f6-4b99-48f0-96bf-8a22243f9a06",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "46fd91e3-8b95-4cff-b93a-132b4a730295",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f2cb2437-2703-499f-aebf-bbeaccc3b290": {
      "main": [
        [
          {
            "node": "33ab571c-aed9-4713-8b3f-6b958ac24604",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "d64b8fa3-ffa7-4437-a8af-4e8476cf01c8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - セキュリティ運用, マルチモーダルAI

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

関連ワークフロー

ワークフロー情報
難易度
中級
ノード数14
カテゴリー2
ノードタイプ7
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

作成者
mariskarthick

mariskarthick

@mariskarthick

An Open-source enthusiast driving next-gen Detection Engineering, Threat Hunting, and SOC Automation — turning ideas into tools that empower security teams to detect and respond faster than ever.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34