Overview
The AWS tools enable IncidentFox to access CloudWatch, EC2, RDS, Lambda, ECS, and CodePipeline.Configuration
Available Tools
get_cloudwatch_logs
Fetch logs from CloudWatch Log Groups.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
log_group | string | Yes | Log group name |
filter_pattern | string | No | CloudWatch filter |
start_time | string | No | Start time |
end_time | string | No | End time |
limit | int | No | Max events |
query_cloudwatch_insights
Run CloudWatch Logs Insights queries.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
log_groups | list | Yes | Log groups to query |
query | string | Yes | Insights query |
start_time | string | No | Start time |
end_time | string | No | End time |
get_cloudwatch_metrics
Query CloudWatch metrics.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
namespace | string | Yes | Metric namespace |
metric_name | string | Yes | Metric name |
dimensions | dict | No | Dimension filters |
statistic | string | No | Average, Sum, Max |
period | int | No | Period in seconds |
describe_ec2_instance
Get EC2 instance details.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
instance_id | string | Yes | EC2 instance ID |
describe_lambda_function
Get Lambda function configuration.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
function_name | string | Yes | Lambda function name |
get_rds_instance_status
Check RDS database status.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
db_identifier | string | Yes | RDS instance ID |
list_ecs_tasks
List ECS tasks in a cluster.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
cluster | string | Yes | ECS cluster name |
service | string | No | Service name |
status | string | No | RUNNING, STOPPED |
describe_codepipeline
Get CodePipeline execution status.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
pipeline_name | string | Yes | Pipeline name |
Use Cases
Lambda Error Investigation
describe_lambda_function- Check configget_cloudwatch_logs- Recent errorsget_cloudwatch_metrics- Error rate, duration
RDS Performance Issues
get_rds_instance_status- Instance statusget_cloudwatch_metrics- CPU, connections, IOPS- Query Performance Insights if available

