Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BishopFox/aimap
/ functions
Functions
525 in github.com/BishopFox/aimap
⨍
Functions
525
◇
Types & classes
152
↳
Endpoints
34
Function
enrich_single_endpoint
Enrich a single endpoint by ID.
backend/app/routes/endpoints.py:296
Function
get_analysis
Get analysis for an endpoint.
backend/app/routes/analyses.py:33
Function
get_attack_status
Poll attack status and get buffered log entries.
backend/app/routes/attack.py:338
Function
get_endpoint
Get a single endpoint by ID.
backend/app/routes/endpoints.py:309
Function
get_geo
Geo aggregation for the map view.
backend/app/routes/endpoints.py:173
Function
get_globe_data
Per-endpoint geo data optimized for the 3D globe visualization. Returns lightweight records with lat/lng, risk, protocol for each endpoint th
backend/app/routes/endpoints.py:207
Function
get_optional_user
Extract user if authenticated, return None otherwise.
backend/app/auth.py:72
Method
get_prompt
Get a specific prompt by name.
backend/app/services/mcp_client.py:314
Function
get_range
Get range details with stats.
backend/app/routes/ranges.py:72
Function
get_scan
Get scan details.
backend/app/routes/scans.py:108
Function
get_stats
Aggregation stats for the dashboard.
backend/app/routes/endpoints.py:130
Function
get_test_results
Get test results for an endpoint.
backend/app/routes/analyses.py:77
Function
hacker_terminal_line
(text, color=ACCENT_GREEN, prefix="> ", font_size=16)
presentation/aimap_slides.py:88
Function
handleAddRange
()
frontend/src/pages/Ranges.tsx:109
Function
handleSearch
(e: React.FormEvent)
frontend/src/components/layout/Navbar.tsx:19
Function
handleSearch
(e: React.FormEvent)
frontend/src/pages/Marketing.tsx:442
Function
handleSearch
(e: React.FormEvent)
frontend/src/pages/Landing.tsx:86
Function
handleSearch
(e: React.FormEvent)
frontend/src/pages/Search.tsx:72
Function
handleStartScan
()
frontend/src/pages/Scans.tsx:157
Function
health_check
Health check endpoint.
backend/app/main.py:78
Function
ingest_nuclei
Ingest a Nuclei JSONL findings file into the database.
backend/app/routes/endpoints.py:273
Method
layer_box
(title, items, color, width=14, height=1.5)
presentation/aimap_slides.py:440
Function
lifespan
Startup / shutdown lifecycle.
backend/app/main.py:23
Function
list_endpoints
List/search endpoints with filters and pagination.
backend/app/routes/endpoints.py:73
Method
list_prompts
Call prompts/list and return raw prompt dicts.
backend/app/services/mcp_client.py:308
Function
list_query_presets
Return the available predefined Shodan query presets. Used by the frontend to populate the ingestion scan form.
backend/app/routes/scans.py:64
Function
list_ranges
List monitored ranges.
backend/app/routes/ranges.py:50
Function
list_scans
List scans with filters and pagination.
backend/app/routes/scans.py:80
Function
mock_db
Replace the real database with an in-memory mongomock instance.
backend/tests/test_routes.py:20
Function
mock_db
Replace the real database with a mongomock-motor instance.
backend/tests/test_database.py:11
Method
normalize
Map a Shodan result dict to an AgentEndpoint-compatible dict. Shodan result structure (abbreviated):: { "ip_str"
backend/app/discovery/shodan_adapter.py:221
Method
normalize
Map a Censys host result to an AgentEndpoint-compatible dict. .. warning:: Not yet implemented. Expected implementation outline::
backend/app/discovery/censys_adapter.py:91
Function
pauseRotation
()
frontend/src/components/GlobeVisualization.tsx:202
Function
pauseRotation
()
frontend/src/pages/Marketing.tsx:168
Method
probe_http
Simple HTTP GET to the server (non-JSON-RPC).
backend/app/services/mcp_client.py:333
Method
raw_request
Send an arbitrary JSON-RPC method (for fuzzing/testing).
backend/app/services/mcp_client.py:322
Method
read_resource
Read a specific resource by URI.
backend/app/services/mcp_client.py:303
Method
run
Run the full attack pipeline, yielding log entries.
backend/app/services/attack_openclaw.py:191
Method
run
Run the full attack pipeline, yielding log entries.
backend/app/services/attack_ollama.py:152
Function
run_attack_task
Run an attack in a serverless Modal container. Writes log entries to Redis Streams and persists results to MongoDB. The FastAPI backend strea
backend/modal_app.py:65
Function
run_scan
Trigger execution of a queued scan in the background. The scan runs as a background asyncio task. Progress can be monitored via the WebSocket
backend/app/routes/scans.py:191
Method
run_scan
Run nuclei against a target list and return parsed findings. Parameters ---------- targets_file: Path to a newlin
backend/app/discovery/nuclei_runner.py:99
Function
run_scan_task
Run a scan pipeline in a serverless Modal container. Progress updates are written to MongoDB, readable via WebSocket polling.
backend/modal_app.py:215
Function
sample_nuclei_finding
A realistic Nuclei JSONL finding dict.
backend/tests/test_discovery.py:126
Function
sample_nuclei_finding_openai
Nuclei finding for an OpenAI-compatible endpoint.
backend/tests/test_discovery.py:148
Function
sample_shodan_result
A realistic Shodan search result dict.
backend/tests/test_discovery.py:55
Function
sample_shodan_result_openai
Shodan result that looks like an OpenAI-compatible endpoint.
backend/tests/test_discovery.py:93
Function
scan_progress_ws
Stream scan progress updates over WebSocket. Polls the scan document every 2 seconds and pushes updates.
backend/app/routes/scans.py:342
Method
search
Query Censys and yield raw result dicts. .. warning:: Not yet implemented.
backend/app/discovery/censys_adapter.py:79
Method
search
(self, query: str, max_results: int = 100)
backend/tests/test_discovery.py:227
Method
setup_method
(self)
backend/tests/test_discovery.py:242
Method
setup_method
(self)
backend/tests/test_discovery.py:355
Method
source_name
(self)
backend/app/discovery/shodan_adapter.py:173
Method
source_name
Short identifier for this source (e.g. ``"shodan"``).
backend/app/discovery/base.py:56
Method
source_name
(self)
backend/app/discovery/censys_adapter.py:76
Method
source_name
(self)
backend/tests/test_discovery.py:224
Function
start_attack
Launch an attack against an MCP endpoint. Returns an attack_id that can be used to stream results via WebSocket.
backend/app/routes/attack.py:123
Function
system_status
System concurrency status for monitoring.
backend/app/main.py:84
Method
test_active_scan_full
(self)
backend/tests/test_models.py:309
Method
test_agent_queries_exist
(self)
backend/tests/test_discovery.py:327
Method
test_all_exports_importable
(self)
backend/tests/test_models.py:452
Method
test_analyses_collection_has_indexes
(self, mock_db)
backend/tests/test_database.py:62
Method
test_attack_edge_alias
(self)
backend/tests/test_models.py:271
Method
test_auth_filter
(self)
backend/tests/test_routes.py:818
Method
test_auth_status_default
(self, sample_shodan_result: dict)
backend/tests/test_discovery.py:293
Method
test_basic_fields
(self, sample_shodan_result: dict)
backend/tests/test_discovery.py:245
Method
test_basic_fields
(self, sample_nuclei_finding: dict)
backend/tests/test_discovery.py:358
Method
test_combined_filters
(self)
backend/tests/test_routes.py:884
Method
test_cors_detection
(self, sample_shodan_result: dict)
backend/tests/test_discovery.py:277
Method
test_country_filter
(self)
backend/tests/test_routes.py:860
Method
test_create_analysis
(self, client)
backend/tests/test_routes.py:750
Method
test_create_analysis_auto_id
(self, client)
backend/tests/test_routes.py:757
Method
test_create_analysis_missing_endpoint_id
(self, client)
backend/tests/test_routes.py:766
Method
test_create_duplicate_endpoint
(self, client)
backend/tests/test_routes.py:257
Method
test_create_endpoint
(self, client)
backend/tests/test_routes.py:238
Method
test_create_endpoint_generates_id
(self, client)
backend/tests/test_routes.py:246
Method
test_create_range
(self, client)
backend/tests/test_routes.py:628
Method
test_create_range_auto_id
(self, client)
backend/tests/test_routes.py:635
Method
test_create_scan
(self, client)
backend/tests/test_routes.py:523
Method
test_create_scan_auto_id
(self, client)
backend/tests/test_routes.py:530
Method
test_delete_endpoint
(self, client)
backend/tests/test_routes.py:371
Method
test_delete_endpoint_not_found
(self, client)
backend/tests/test_routes.py:380
Method
test_delete_range
(self, client)
backend/tests/test_routes.py:702
Method
test_delete_range_not_found
(self, client)
backend/tests/test_routes.py:707
Method
test_delete_scan
(self, client)
backend/tests/test_routes.py:612
Method
test_delete_scan_not_found
(self, client)
backend/tests/test_routes.py:617
Method
test_empty_query
(self)
backend/tests/test_routes.py:806
Method
test_endpoint_create
(self)
backend/tests/test_models.py:160
Method
test_endpoint_create_invalid_risk
(self)
backend/tests/test_models.py:165
Method
test_endpoint_update_partial
(self)
backend/tests/test_models.py:169
Method
test_endpoints_collection_has_indexes
After init, the endpoints collection should have indexes.
backend/tests/test_database.py:53
Method
test_expected_query_keys
(self)
backend/tests/test_discovery.py:332
Method
test_expected_templates_exist
(self)
backend/tests/test_discovery.py:668
Method
test_filter_by_auth_status
(self, client)
backend/tests/test_routes.py:300
Method
test_filter_by_country
(self, client)
backend/tests/test_routes.py:313
Method
test_filter_by_created_by
(self, client)
backend/tests/test_routes.py:574
Method
test_filter_by_created_by
(self, client)
backend/tests/test_routes.py:672
Method
test_filter_by_protocol
(self, client)
backend/tests/test_routes.py:292
Method
test_filter_by_risk_range
(self, client)
backend/tests/test_routes.py:306
Method
test_filter_by_status
(self, client)
backend/tests/test_routes.py:558
← previous
next →
301–400 of 525, ranked by callers