File tree Expand file tree Collapse file tree
src/seclab_taskflows/mcp_servers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -277,19 +277,6 @@ def get_ghsas_for_repo_from_db(
277277 """Get all GHSA advisory records for a repository."""
278278 return json .dumps (backend .get_ghsas (process_repo (owner , repo )))
279279
280- @mcp .tool ()
281- def get_ghsa_with_id_from_db (
282- owner : str = Field (description = "The owner of the GitHub repository" ),
283- repo : str = Field (description = "The name of the GitHub repository" ),
284- ghsa_id : str = Field (description = "The GHSA ID of the advisory" ),
285- ):
286- """Get a GHSA advisory record with a specific GHSA ID from the database."""
287- repo_name = process_repo (owner , repo )
288- result = backend .get_ghsa (repo_name , ghsa_id )
289- if not result :
290- return f"Error: No GHSA entry exists in repo: { repo_name } and ghsa_id { ghsa_id } "
291- return json .dumps (result )
292-
293280@mcp .tool ()
294281def store_new_ghsa_summary (
295282 owner : str = Field (description = "The owner of the GitHub repository" ),
You can’t perform that action at this time.
0 commit comments