mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-02-12 19:12:49 +00:00
fix: Update main.py to use finding_id instead of rule_id parameter
Aligns main.py with the updated findings.py command that changed from --rule to --id for finding lookups by unique UUID.
This commit is contained in:
@@ -263,13 +263,13 @@ def workflow_main():
|
||||
@finding_app.command("show")
|
||||
def show_finding_detail(
|
||||
run_id: str = typer.Argument(..., help="Run ID to get finding from"),
|
||||
rule_id: str = typer.Option(..., "--rule", "-r", help="Rule ID of the specific finding to show")
|
||||
finding_id: str = typer.Option(..., "--id", "-i", help="Unique ID of the specific finding to show")
|
||||
):
|
||||
"""
|
||||
🔍 Show detailed information about a specific finding
|
||||
"""
|
||||
from .commands.findings import show_finding
|
||||
show_finding(run_id=run_id, rule_id=rule_id)
|
||||
show_finding(run_id=run_id, finding_id=finding_id)
|
||||
|
||||
|
||||
@finding_app.callback(invoke_without_command=True)
|
||||
|
||||
Reference in New Issue
Block a user