You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,8 +49,8 @@ The handler filters tools dynamically based on `GetMyPermissions` from Sysdig Se
49
49
|`get_event_process_tree`|`tool_get_event_process_tree.go`| Retrieve the process tree for an event when available. |`policy-events.read`| “Show the process tree behind event `abc123`.” |
50
50
|`run_sysql`|`tool_run_sysql.go`| Execute caller-supplied Sysdig SysQL queries safely. |`sage.exec`, `risks.read`| “Run the following SysQL…”. |
51
51
|`generate_sysql`|`tool_generate_sysql.go`| Convert natural language to SysQL via Sysdig Sage. |`sage.exec` (does not work with Service Accounts) | “Create a SysQL to list S3 buckets.” |
|`kubernetes_list_nodes`|`tool_kubernetes_list_nodes.go`| Lists Kubernetes node information. |None| "List all Kubernetes nodes in the cluster 'production-gke'" |
|`kubernetes_list_nodes`|`tool_kubernetes_list_nodes.go`| Lists Kubernetes node information. |`promql.exec`| "List all Kubernetes nodes in the cluster 'production-gke'" |
54
54
55
55
Every tool has a companion `_test.go` file that exercises request validation, permission metadata, and Sysdig client calls through mocks.
56
56
Note that if you add more tools you need to also update this file to reflect that.
0 commit comments