Class OpenSearchTrafficHandler

java.lang.Object
ai.attackframework.tools.burp.sinks.OpenSearchTrafficHandler
All Implemented Interfaces:
burp.api.montoya.http.handler.HttpHandler

public final class OpenSearchTrafficHandler extends Object implements burp.api.montoya.http.handler.HttpHandler
Burp HTTP handler that indexes request/response traffic into the OpenSearch traffic index.

Builds the document on Burp's HTTP thread and enqueues it to TrafficExportQueue; a dedicated worker drains the queue in batches and pushes via the Bulk API. The HTTP thread is not blocked on network I/O. Only indexes when OpenSearch traffic export is enabled, the OpenSearch URL is set, and the request passes scope filtering. Document shape matches /opensearch/mappings/traffic.json.

  • Constructor Details

    • OpenSearchTrafficHandler

      public OpenSearchTrafficHandler()
  • Method Details

    • handleHttpRequestToBeSent

      public burp.api.montoya.http.handler.RequestToBeSentAction handleHttpRequestToBeSent(burp.api.montoya.http.handler.HttpRequestToBeSent request)
      Specified by:
      handleHttpRequestToBeSent in interface burp.api.montoya.http.handler.HttpHandler
    • handleHttpResponseReceived

      public burp.api.montoya.http.handler.ResponseReceivedAction handleHttpResponseReceived(burp.api.montoya.http.handler.HttpResponseReceived response)
      Specified by:
      handleHttpResponseReceived in interface burp.api.montoya.http.handler.HttpHandler