Package ai.attackframework.tools.burp.utils.opensearch
package ai.attackframework.tools.burp.utils.opensearch
OpenSearch client wrappers and connection utilities.
Provides lightweight helpers to build and manage OpenSearch clients, wrap API calls, and surface meaningful errors. No Swing dependencies; callers should invoke from background threads.
-
ClassDescriptionSingle shared controller for batch size (doc count per OpenSearch bulk request).Sends traffic documents to OpenSearch using a chunked POST to the standard Bulk API.Result of one chunked bulk request: success count and total documents sent.Coordinates retries and a bounded per-index queue for OpenSearch indexing.Thrown when an OpenSearch client cannot be constructed.Factory/cache for OpenSearch clients.Shared formatting for OpenSearch HTTP request/response logging (Test Connection only).Performs a raw HTTP GET to the OpenSearch root (/) with the same auth, SSL, and HTTP version policy (NEGOTIATE) as
OpenSearchConnector, so we can log the actual protocol and status line from the wire (including HTTP/2 when negotiated).Result of a raw GET / request: status line details, body, and log strings (real request/response with redaction).Shared TLS helpers for OpenSearch connectivity, pin import, and trust-mode enforcement.Per-index bounded queues for failed OpenSearch index operations.