Class OpenSearchRawGet
java.lang.Object
ai.attackframework.tools.burp.utils.opensearch.OpenSearchRawGet
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).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordResult of a raw GET / request: status line details, body, and log strings (real request/response with redaction). -
Method Summary
Modifier and TypeMethodDescriptionperformRawGet(String baseUrl, String username, String password) Performs GET / against baseUrl with the same credentials and insecure-SSL behavior as the connector.
-
Method Details
-
performRawGet
public static OpenSearchRawGet.RawGetResult performRawGet(String baseUrl, String username, String password) Performs GET / against baseUrl with the same credentials and insecure-SSL behavior as the connector. Uses the async client withHttpVersionPolicy.NEGOTIATEso HTTP/2 is used when supported. Returns the actual HTTP version, status code, reason phrase, and response body from the wire.
-