Spaces:
Running
Running
File size: 529 Bytes
8b3905d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | """Bonus: AI pentesting copilot hook — extend with tool-calling + scoped auth."""
from __future__ import annotations
from models.schemas import Incident
def suggest_pentest_queries(incident: Incident) -> list[str]:
"""Returns safe, authorized recon prompts for purple-team exercises."""
return [
f"Map exposed services related to: {incident.title}",
"Enumerate IAM roles assuming breach of bastion host",
"Generate non-destructive Nmap plan for internal VLAN segmentation validation",
]
|