@@ -295,13 +295,13 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
295295 // toolsets.NewServerTool(DeleteWorkflowRunLogs(getClient, t)),
296296 // )
297297
298- // securityAdvisories := toolsets.NewToolset(ToolsetMetadataSecurityAdvisories.ID, ToolsetMetadataSecurityAdvisories.Description).
299- // AddReadTools(
300- // toolsets.NewServerTool(ListGlobalSecurityAdvisories(getClient, t)),
301- // toolsets.NewServerTool(GetGlobalSecurityAdvisory(getClient, t)),
302- // toolsets.NewServerTool(ListRepositorySecurityAdvisories(getClient, t)),
303- // toolsets.NewServerTool(ListOrgRepositorySecurityAdvisories(getClient, t)),
304- // )
298+ securityAdvisories := toolsets .NewToolset (ToolsetMetadataSecurityAdvisories .ID , ToolsetMetadataSecurityAdvisories .Description ).
299+ AddReadTools (
300+ toolsets .NewServerTool (ListGlobalSecurityAdvisories (getClient , t )),
301+ toolsets .NewServerTool (GetGlobalSecurityAdvisory (getClient , t )),
302+ toolsets .NewServerTool (ListRepositorySecurityAdvisories (getClient , t )),
303+ toolsets .NewServerTool (ListOrgRepositorySecurityAdvisories (getClient , t )),
304+ )
305305
306306 // // Keep experiments alive so the system doesn't error out when it's always enabled
307307 // experiments := toolsets.NewToolset(ToolsetMetadataExperiments.ID, ToolsetMetadataExperiments.Description)
@@ -373,7 +373,7 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
373373 // tsg.AddToolset(experiments)
374374 // tsg.AddToolset(discussions)
375375 // tsg.AddToolset(gists)
376- // tsg.AddToolset(securityAdvisories)
376+ tsg .AddToolset (securityAdvisories )
377377 // tsg.AddToolset(projects)
378378 // tsg.AddToolset(stargazers)
379379 // tsg.AddToolset(labels)
0 commit comments