Prerequisites
AWS Account
Connect an AWS account with CloudTrail enabled.
OCI Tenancy
Connect an OCI tenancy with Audit logging enabled.
Slack (optional)
Receive cloud incident notifications in your team’s channels.
PagerDuty (optional)
Route cloud incidents to your on-call team.
GitHub / GitLab (optional)
Enable IaC remediation workflows with PR-based fixes.
How Detection Works
AWS
Kestrel analyzes your AWS environment through:- CloudTrail events — API call analysis for IAM changes, security group modifications, S3 policy changes, VPC route changes, KMS key operations, Secrets Manager events, and other security-relevant actions
- Resource monitoring — Continuous assessment of EC2 instances, S3 buckets, RDS databases, DynamoDB tables, Lambda functions, ECS/EKS containers, and other AWS resources
- VPC Flow Logs — Ingestion and analysis of network traffic patterns from VPC Flow Logs in CloudWatch for detecting suspicious traffic, unauthorized access attempts, and network anomalies
- CloudWatch Alarms — Integration with CloudWatch alarms for metric-based incident detection
- Cost anomalies — Detection of unusual spend patterns across services and accounts via AWS Cost Anomaly Detection
- AWS Config — Monitoring for compliance rule violations across your resources
- Security Hub — Integration with AWS Security Hub for aggregated security findings
- PagerDuty signals — If PagerDuty is connected, Kestrel enriches PagerDuty alerts with cloud context and AI analysis
OCI
Kestrel analyzes your OCI environment through:- Audit log events — API call analysis for IAM policy changes, compartment modifications, network security changes, and other security-relevant actions
- Cloud Guard problems — Integration with OCI Cloud Guard for threat detection
- VCN Flow Logs — Ingestion and analysis of network traffic from VCN Flow Logs for detecting suspicious traffic patterns and network anomalies
- Resource monitoring — Continuous assessment of compute instances, object storage buckets, databases, networking configurations, load balancers, and DNS records
Root Cause Analysis
When a cloud incident is detected, Kestrel’s AI investigates:- API event history — The sequence of CloudTrail or OCI Audit events that led to the incident
- Resource configuration — Current and previous state of the affected resource
- IAM context — Who performed the action, what role they assumed, and whether it was authorized
- Network context — VPC/VCN, subnet, security group, and route table configurations
- Network traffic — VPC/VCN Flow Logs analysis for suspicious traffic patterns related to the incident
- Knowledge sources (if connected) — Historical incidents, runbooks, and organizational context from Confluence, Jira, Slack, Glean, or Linear
- Investigation summary — What happened, who was involved, and the blast radius
- Root cause — The specific API call or configuration change that caused the incident
- Timeline — Chronological sequence of events with timestamps and principals
- Affected resources — All cloud resources impacted
- Severity assessment — Severity and potential downstream impact
Fix Generation
Kestrel generates infrastructure-as-code fixes for cloud incidents. The fix format depends on your infrastructure tooling:
Each fix includes:
- Diff view — Before and after comparison of the resource configuration
- Explanation — Why this change resolves the issue
- Apply options — Create a PR to your IaC repository, apply directly via CLI, or copy to apply manually
IaC Remediation Workflow
When a GitHub or GitLab integration is connected along with an IaC repository configuration, Kestrel can open pull requests with IaC fixes directly in your infrastructure repository:1
Incident detected
Kestrel detects a cloud security event (e.g., S3 bucket made public).
2
AI generates fix
Root cause analysis runs and a Terraform/CloudFormation/Pulumi fix is generated.
3
PR created
Kestrel opens a pull request in your configured IaC repository with the fix, targeting the exact file managing the resource.
4
Review and merge
Your team reviews the PR. Merging applies the fix through your existing GitOps pipeline.
Cloud Incident Types
AWS — Security & Identity
AWS — Storage
AWS — Compute & Containers
AWS — Database
AWS — Network & VPC
AWS — Service Health & Operations
AWS — Cost & Billing
OCI — IAM & Access
OCI — Network
OCI — Storage
OCI — Compute
OCI — Database & KMS
OCI — Logging & Cloud Guard
Custom Workflows
Build custom cloud incident response workflows that trigger on cloud events. For example:- Notify a security channel when an S3 bucket is made public
- Auto-create a Jira ticket for every IAM policy violation
- Escalate VPC route changes to PagerDuty during change-freeze windows
- Run a custom remediation script when a Security Hub finding is detected
Next Steps
- Connect an AWS account to start detecting cloud incidents
- Connect an OCI tenancy for Oracle Cloud monitoring
- Set up GitHub or GitLab for IaC remediation PRs
- Configure Slack notifications for real-time cloud alerts
- Build custom workflows for automated cloud incident response