scan_and_report
Run a full AWS security scan and generate reports in one step, avoiding large data transfers between tools; reports are saved to ~/.aws-security/reports/.
Instructions
Run a full security scan AND generate reports in one step. Avoids large data transfer between tools. Reports are saved to ~/.aws-security/reports/
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scan_and_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language: zh or en (default: zh) | |
| region | No | AWS region (default: server region) | |
| reports | No | Report types to generate (default: all) | |
| org_mode | No | Enable multi-account org scanning | |
| provider | No | Cloud provider to scan (default: aws). With huaweicloud, `region` is a Huawei Cloud region ID (e.g. cn-north-4); omit it or pass "all" to scan every region project of the account. Huawei Cloud Phase 1 is single-account (org_mode falls back to the current account with a warning). With alicloud (EXPERIMENTAL — not yet validated against a live account), region is an Alibaba Cloud region ID (e.g. cn-hangzhou); omit or "all" to scan every region; single-account only in this phase. With azure (EXPERIMENTAL — not yet validated against a live account), the China cloud (21Vianet) is the default; set AZURE_CLOUD=global for public cloud. region is an Azure subscription ID; omit or "all" to scan every visible subscription. | |
| role_name | No | IAM role name for cross-account scanning | |
| ai_summary | No | Optional pre-generated AI executive summary (Markdown/plain text). Rendered in reports + dashboard if present; omit to hide. | |
| account_ids | No | Filter to specific account IDs |