Skip to main content

Integrating Invicti Enterprise with Kafka

This document is for:
Invicti Enterprise On-Demand, Invicti Enterprise On-Premises

Apache Kafka is a distributed streaming platform. Kafka provides a unified, high-throughput, low-latency platform for handling real-time data feeds.

This document explains how to configure Invicti Enterprise to send a detected vulnerability to your Kafka cluster.

For further information, see What Systems Does Invicti Integrate With?.

Kafka Fields

This table lists and explains the Kafka Fields in the New Kafka Integration window.

Button/Section/FieldDescription
NameThis is the name of the configuration that will be shown elsewhere
MandatoryThis section contains fields that must be completed
TopicThis is the topic of the message
Data SerializationSelect the JSON Serialized type to produce the message as a complex JSON object. Select the JSON Serialized (Flattened) type to produce the message as a flattened JSON object. Select the Avro Serialized type if you want the message to be produced as a defined binary format. If this is enabled, then you must specify the Schema Registry Url
Scheme Registry UrlThis is the url for the schema registry of Avro serialization
Custom FieldsThis section contains user-defined custom fields
New Custom FieldClick to create a new custom field
NameEnter a name for the new custom field
ValueEnter a value for the new custom field identifier
Drop-downSelect the drop-down to change the input type. The options are: Text, Password, Textarea, File upload, Complex
Create Sample IssueOnce all relevant fields have been configured, click to create a sample issue

How to Integrate Invicti Enterprise with Kafka

  1. Log in to Invicti Enterprise.

  2. From the main menu, select Integrations > New Integration.

  3. From the Issue Tracking Systems section, select Kafka.

Kafka selection from the issue tracking systems integration options
  1. In the Name field, enter a name for the integration.

  2. In the Mandatory section, complete the connection details:

    • Topic
  3. In the Data Serialization field, do one of the following:

    • Select JSON Serialized
    • Select JSON Serialized (Flattened)
    • Select Avro Serialized
  4. The Kafka Producer API has detailed configuration options. You can add them using Custom Fields. (If you want to specify path based producer configuration, upload the relevant file. Use the dropdown to switch the file type to File upload.)

    • Bootstrap.servers
    • Security.protocol
    • Ssl.keystore.password
    • Ssl.keystore.location
  5. Select Create Sample Issue to confirm that Invicti Enterprise can connect to the configured system and create a sample issue. A confirmation message is displayed to confirm that the sample issue has been successfully created.

Here is a sample JSON Serialized message that was produced by Invicti Enterprise.

Sample JSON serialized message output from Invicti Enterprise to Kafka
  1. Select Save to save the integration.

How to Export Reported Vulnerabilities to Projects in Kafka

There are several ways to send issues to Kafka with Invicti Enterprise:

Automatic Notification Configuration

Once notifications have been configured, you can configure Invicti Enterprise to automatically send vulnerabilities after scanning has been completed (see How to Configure a Notification to Report Vulnerabilities to an Issue Tracking System).

Send from Issues Page

You can send one or more issues from the Issues window:

  • You must have Manage Issue permission.
  • From the main menu, select Issues > All Issues.
  • From the Issues page, select one or more issues you want to send.
  • Select Send To > Kafka.

A pop-up is displayed, with a link to the issue you have sent to Kafka. If there is an error, this information will be displayed instead.

Send from Recent Scans Page

You can send an issue from the Recent Scans window:

  • From the main menu, select Scans > Recent Scans.
  • Next to the relevant scan, select Report.
  • Scroll down to the Technical Report section.
  • From the list of detected vulnerabilities, select an issue and display its details.
  • Select Send To > Kafka.

Need help?

Invicti Support team is ready to provide you with technical help. Go to Help Center

Was this page useful?