Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions internal/infra/mcp/tools/tool_run_sysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ func (h *ToolRunSysql) RegisterInServer(s *server.MCPServer) {
mcp.Description("A valid SysQL query string to execute directly."),
mcp.Required(),
Examples(
`MATCH Vulnerability WHERE severity = 'Critical' LIMIT 10`,
`MATCH KubeWorkload AS k AFFECTED_BY Vulnerability WHERE k.namespace = 'production'`,
`MATCH CloudResource WHERE type = 'aws_s3_bucket' RETURN *`,
`MATCH Vulnerability AS v WHERE v.name = 'CVE-2024-1234' RETURN v`,
`MATCH Vulnerability WHERE Vulnerability.severity = 'Critical' RETURN Vulnerability LIMIT 10`,
`MATCH KubeWorkload AFFECTED_BY Vulnerability WHERE KubeWorkload.namespaceName = 'production' RETURN KubeWorkload, Vulnerability`,
`MATCH CloudResource WHERE CloudResource.type =~ '(?i).*S3 Bucket.*' RETURN DISTINCT CloudResource`,
`MATCH Vulnerability WHERE Vulnerability.name =~ '(?i)CVE-2024-1234' RETURN Vulnerability`,
),
),
mcp.WithOutputSchema[map[string]any](),
Expand Down
2 changes: 1 addition & 1 deletion package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ buildGoModule, versionCheckHook }:
buildGoModule (finalAttrs: {
pname = "sysdig-mcp-server";
version = "0.5.2";
version = "0.5.3";
src = ./.;
# This hash is automatically re-calculated with `just rehash-package-nix`. This is automatically called as well by `just bump`.
vendorHash = "sha256-jf/px0p88XbfuSPMry/qZcfR0QPTF9IrPegg2CwAd6M=";
Expand Down