Skip to content

Conversation

@mtodor
Copy link
Collaborator

@mtodor mtodor commented Nov 19, 2025

This pull request is adding StackRox Client.

It's adding the following functionalities:

  • support for a static and passthrough authorization with token
  • support of insecure and secure TLS connection
  • support for communication over HTTP1
  • error handling and human readable errors for a gRPC failures
  • retry and reconnect logic for connection
  • debug logging and error logging of each request to Central API
  • insecure option is renamed to insecure_skip_tls_verify to be more understandable and similar to other tools

File: internal/toolsets/config/tools.go - Besides that it also adds an example implementation of list_clusters tool. Purpose of that is to simply test the full flow. Proper implementation of list_clusters tool will be done in a followup PR.

@mtodor mtodor force-pushed the mtodor/ROX-31477-add-stackrox-client branch 6 times, most recently from 79b040c to 0f4dbd3 Compare November 21, 2025 14:27
@mtodor mtodor changed the title WiP: ROX-31475: Add StackRox client ROX-31475: Add StackRox client Nov 21, 2025
@mtodor mtodor requested a review from janisz November 21, 2025 14:27
@mtodor mtodor force-pushed the mtodor/ROX-31475-add-mcp-server branch from 5650c9e to 717e85e Compare November 24, 2025 10:17
@mtodor mtodor force-pushed the mtodor/ROX-31477-add-stackrox-client branch from 0f4dbd3 to 0e40148 Compare November 24, 2025 10:23
@mtodor mtodor requested a review from janisz November 24, 2025 10:24
@mtodor mtodor force-pushed the mtodor/ROX-31475-add-mcp-server branch from 717e85e to 2b544e3 Compare November 24, 2025 17:17
@mtodor mtodor force-pushed the mtodor/ROX-31477-add-stackrox-client branch from 0e40148 to 973693b Compare November 24, 2025 17:21
Base automatically changed from mtodor/ROX-31475-add-mcp-server to main November 24, 2025 17:21
@mtodor mtodor force-pushed the mtodor/ROX-31477-add-stackrox-client branch from 973693b to 48c56e0 Compare November 24, 2025 17:28
@mtodor mtodor merged commit b04ddbe into main Nov 24, 2025
2 checks passed
@mtodor mtodor deleted the mtodor/ROX-31477-add-stackrox-client branch November 24, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants