fix(routers+imports): fix missing DetectionRule import and correct -> list return type annotations that actually return paginated dicts
Aegis CI / lint-and-test (push) Has been cancelled

This commit is contained in:
kitos
2026-06-11 13:22:51 +02:00
parent 6ca37f743f
commit 7ded48bdb7
7 changed files with 11 additions and 10 deletions
+2 -2
View File
@@ -62,7 +62,7 @@ def list_threat_actors(
db: Session = Depends(get_db),
# Entry: current_user
current_user: User = Depends(get_current_user),
) -> list:
) -> dict:
"""List threat actors with optional filters and pagination.
**Requires** authentication (any role).
@@ -138,7 +138,7 @@ def get_threat_actor_gaps(
db: Session = Depends(get_db),
# Entry: current_user
current_user: User = Depends(get_current_user),
) -> list:
) -> dict:
"""Identify techniques of this actor that are NOT fully validated.
**Requires** authentication (any role).