aws-samples / aws-samples/sample-autonomous-cloud-coding-agents
feat(observability): security operations metrics (dwell time and coverage)
- Dominant language
- TypeScript
- Stars
- 143
- Forks
- 46
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 20
Description
**Context:** ROADMAP.md → Security operations metrics (dwell time and coverage)
---
## Component
CDK / infrastructure
## Describe the feature
CloudWatch **metrics and dashboard panels**: time from anomaly (circuit breaker trip, guardrail spike, policy deny burst) to **operator awareness**; fraction of security/ops alarms **investigated**. Targets shortened exploit windows.
## Use case
Security teams measure detection-to-response, not just alert firing. Uninvestigated alarms indicate process gaps.
## Proposed solution
1. Metric: `security_anomaly_to_ack_seconds` (anomaly event → first operator action or ticket).
2. Metric: `security_alarms_investigated_ratio` (manual tag or integration hook).
3. Dashboard row on operator dashboard.
4. Optional integration with PagerDuty/Opsgenie ack timestamps.
## Other information
- Pairs with behavioral circuit breaker and automated alert triage drafts.
- Design context: `docs/design/OBSERVABILITY.md`, `docs/design/SECURITY.md`.
- [ ] This might be a breaking change
Contributor guide
Research direction
Start by reading docs/design/OBSERVABILITY.md and docs/design/SECURITY.md, then trace the CDK / infrastructure entry points for the operator dashboard and existing alarm metrics. Define how anomaly-to-ack and investigated-ratio data are collected, add the named metrics and dashboard row, and verify the optional PagerDuty/Opsgenie behavior if supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud, infrastructure, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100