Skip to main content
Glama

add_finding_note

Add a detailed note to a specific finding in DefectDojo to enhance vulnerability management and tracking. Supports collaboration and context for resolving issues.

Instructions

Add a note to a finding

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
finding_idYes
noteYes

Implementation Reference

  • The async handler function that executes the tool: validates input, calls DefectDojo client to add note, returns success/error response.
    async def add_finding_note(finding_id: int, note: str) -> Dict[str, Any]: """Add a note to a finding. Args: finding_id: ID of the finding to add a note to note: Text content of the note Returns: Dictionary with status and data/error """ if not note.strip(): return {"status": "error", "error": "Note content cannot be empty"} client = get_client() result = await client.add_note_to_finding(finding_id, note) if "error" in result: return {"status": "error", "error": result["error"], "details": result.get("details", "")} return {"status": "success", "data": result}
  • Registers the add_finding_note tool with the MCP server instance, importing the handler from findings_tools.
    mcp.tool( name="add_finding_note", description="Add a note to a finding" )(add_finding_note)

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jamiesonio/defectdojo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server