Skip to main content
Glama
oldcoder01
by oldcoder01

list_findings

Retrieve security and operational findings from AWS audit assessments to identify issues and generate actionable reports for compliance and cost analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
finding_set_idYes
severity_minNoLOW

Implementation Reference

  • Handler function for the 'list_findings' tool, registered via @mcp.tool decorator. It reads findings from a JSON file for the given finding_set_id, filters by minimum severity using the severity_at_least helper, and returns the count and filtered findings.
    @mcp.tool
    def list_findings(finding_set_id: str, severity_min: str = "LOW") -> Dict[str, Any]:
        from aws_mcp_audit.checks.findings import severity_at_least
    
        p = os.path.join(snapshot_dir(DATA_DIR, finding_set_id), "findings.json")
        findings = read_json(p)
        filt = [f for f in findings if severity_at_least(str(f.get("severity", "LOW")), severity_min)]
        return {"count": len(filt), "findings": filt}

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/oldcoder01/aws-mcp-audit'

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