Détection de vulnérabilités AI et création d'événements Servicenow

Intermédiaire

Ceci est unSecOps, Multimodal AIworkflow d'automatisation du domainecontenant 7 nœuds.Utilise principalement des nœuds comme JinaAi, SplitOut, ServiceNow, RssFeedRead, ScheduleTrigger. Utiliser GPT-4 et ServiceNow event creation pour automatiser le monitoring des vulnérabilités IA

Prérequis
  • Clé API OpenAI
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "2Nez00PbMbD5pHI5",
  "meta": {
    "instanceId": "6004a16b59a95da573dfac2b89c29cb3d5d09e00386053659b2f24878624b8d6",
    "templateCredsSetupCompleted": true
  },
  "name": "Ai Vulnerability Detection and Servicenow Incident Creation",
  "tags": [],
  "nodes": [
    {
      "id": "2b5b197b-eebc-43c2-924a-85cedd66b47f",
      "name": "Lecture RSS",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        208,
        0
      ],
      "parameters": {
        "url": "https://rss.app/feeds/tbFqDT5HIb59.xml",
        "options": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "5e2d584f-7254-41da-9f0b-4ee99d82defe",
      "name": "Extracteur d'informations",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        624,
        0
      ],
      "parameters": {
        "text": "=Snippet {{ $json.metadata.description}}\nTitle{{ $json.title}}\npubDate{{ $json.publishedTime}}\nCreator {{ $json.metadata.author}}\ncontent {{ $json.content}}",
        "options": {
          "systemPromptTemplate": "You are an expert extraction algorithm.\nOnly extract relevant information from the input text.\nExtract data as JSON objects with the following fields:\n\ntitle (string): The title of the news article or vulnerability report.\nlink (string): The URL linking to the full article.\npubDate (string, ISO 8601 format preferred): The publication date of the article.\ncreator (string): The author or source of the article.\ncontent (string): A brief summary or snippet of the article content.\n\n\nIf any field is missing or not found, omit that field in the output.\nOutput a JSON array called results containing the extracted objects.\n"
        },
        "schemaType": "manual",
        "inputSchema": "={\n\t\"properties\": {\n\t\t\"Title\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"Description\": {\n\t\t\t\"type\": \"string\"\n\t\t\t\n\t\t},\n       \"PublishedTime\": {\n\t\t\t\"type\": \"string\"\n\t\t\t\n\t\t},\n       \"SiteName\": {\n\t\t\t\"type\": \"string\"\n\t\t\t\n\t\t}\n    \n    }\n} "
      },
      "typeVersion": 1.2
    },
    {
      "id": "fcfeb18c-eb1c-42c8-b102-6a549a5dda7b",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        560,
        208
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "ppNn03FE7vbsyINF",
          "name": "n8n free OpenAI API credits"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "73901b61-1b73-440c-b959-2a882331386e",
      "name": "Division des données",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        976,
        0
      ],
      "parameters": {
        "options": {
          "destinationFieldName": "response"
        },
        "fieldToSplitOut": "output.results"
      },
      "typeVersion": 1
    },
    {
      "id": "9acef534-f34a-4655-b617-775a5ab2a805",
      "name": "Créer un incident",
      "type": "n8n-nodes-base.serviceNow",
      "position": [
        1184,
        0
      ],
      "parameters": {
        "resource": "incident",
        "operation": "create",
        "authentication": "basicAuth",
        "additionalFields": {
          "description": "=Snippet {{ $json.response.content }}\nCreator {{ $json.response.creator }}\nPubDate {{ $json.response.pubDate}} "
        },
        "short_description": "=Ai Vulnerability {{ $json.response.title }}"
      },
      "credentials": {
        "serviceNowBasicApi": {
          "id": "keHrNdS7cHG3Tr0X",
          "name": "ServiceNow Basic Auth account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a50f6014-3019-4335-b4d6-9e1e199ee096",
      "name": "Déclencheur planifié",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        0
      ],
      "parameters": {
        "rule": {
          "interval": [
            {}
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "725aced5-996d-4529-9af1-60ac1e0bb693",
      "name": "Lire le contenu d'URL",
      "type": "n8n-nodes-base.jinaAi",
      "position": [
        432,
        0
      ],
      "parameters": {
        "url": "={{ $json.link }}",
        "options": {},
        "requestOptions": {}
      },
      "credentials": {
        "jinaAiApi": {
          "id": "kJgZ4iHvGNvtfSlw",
          "name": "Jina AI account 2"
        }
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "0d769cde-f47e-44b9-b81f-7fd9eda3da07",
  "connections": {
    "2b5b197b-eebc-43c2-924a-85cedd66b47f": {
      "main": [
        [
          {
            "node": "725aced5-996d-4529-9af1-60ac1e0bb693",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "73901b61-1b73-440c-b959-2a882331386e": {
      "main": [
        [
          {
            "node": "9acef534-f34a-4655-b617-775a5ab2a805",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "725aced5-996d-4529-9af1-60ac1e0bb693": {
      "main": [
        [
          {
            "node": "5e2d584f-7254-41da-9f0b-4ee99d82defe",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a50f6014-3019-4335-b4d6-9e1e199ee096": {
      "main": [
        [
          {
            "node": "2b5b197b-eebc-43c2-924a-85cedd66b47f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "fcfeb18c-eb1c-42c8-b102-6a549a5dda7b": {
      "ai_languageModel": [
        [
          {
            "node": "5e2d584f-7254-41da-9f0b-4ee99d82defe",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "5e2d584f-7254-41da-9f0b-4ee99d82defe": {
      "main": [
        [
          {
            "node": "73901b61-1b73-440c-b959-2a882331386e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire - Opérations de sécurité, IA Multimodale

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds7
Catégorie2
Types de nœuds7
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur
Tushar Mishra

Tushar Mishra

@yajna

Problem Solver | ServiceNow Architect | AI/ML Specialist | Product Builder 1. 10+ years in tech consulting and product development across AI, enterprise platforms, and cloud ecosystems. 2. ISB AMP in Business Analytics; strong foundation in strategy + data. 3. Founder – ReAcademy.ai: Flashcard-based learning SaaS using AI & LLMs to transform PDFs into gamified micro-learning.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34