feat(cloudformation): Add DevOps Agent alarm investigations template - #38
Open
LorenzoBoccaccia wants to merge 1 commit into
Open
feat(cloudformation): Add DevOps Agent alarm investigations template#38LorenzoBoccaccia wants to merge 1 commit into
LorenzoBoccaccia wants to merge 1 commit into
Conversation
LorenzoBoccaccia
force-pushed
the
add-alarm-investigations-cfn
branch
from
August 18, 2026 09:08
d636396 to
6189121
Compare
yprikhodko
reviewed
Aug 18, 2026
LorenzoBoccaccia
force-pushed
the
add-alarm-investigations-cfn
branch
2 times, most recently
from
August 19, 2026 07:51
90b32a0 to
9239bc0
Compare
LorenzoBoccaccia
force-pushed
the
add-alarm-investigations-cfn
branch
2 times, most recently
from
September 10, 2026 13:54
883c2ea to
a301d6c
Compare
Forward a single CloudWatch alarm to a DevOps Agent generic webhook so the alarm opens an investigation. An EventBridge rule scoped to the alarm ARN matches ALARM state changes, an input transformer builds the incident payload, and an API destination POSTs it using an API key connection. No Lambda function is involved. Move devops-agent-skill-policies.yaml into its own directory and give it a README so each template is self-documenting, and update the links that referenced the old path.
LorenzoBoccaccia
force-pushed
the
add-alarm-investigations-cfn
branch
from
September 10, 2026 14:12
a301d6c to
c43418b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Forwards one CloudWatch alarm to a DevOps Agent generic webhook so the alarm opens an
investigation. Also moves the existing skill-policies template into its own directory
and adds a README for each.
No code. An EventBridge rule scoped to a single alarm ARN does the
filtering, its input transformer builds the incident payload, and an API destination
posts it through a connection holding the webhook API key as
Authorization: Bearer <key>. An IAM role grants the ruleevents:InvokeApiDestinationon that one destination.incidentIdis the EventBridge event id, which is stable across retries, soredeliveries dedup instead of opening duplicate investigations.
API key rather than HMAC because EventBridge connections support only Basic, API key
and OAuth and cannot sign per request; HMAC would need a signing Lambda. The README
covers the trade-off.
Type of change
Testing
Not a skill, so Agent Skill Eval does not apply. Run tests:
validate-template: 5 parameters,CAPABILITY_IAM.destination, rule, IAM role.
AWS/Events:TriggeredRules 1,InvocationAttempts 1,SuccessfulInvocationAttempts 1,RetryInvocationAttempts 0,FailedInvocations 0.INVESTIGATIONtask in the Agent Space,IN_PROGRESS, carryingthe alarm ARN. Its
reference.referenceIdis the EventBridge event id, which is thededup path.
EventBridgeRuleTag: deployed with a value, which tags the rule and the role, andempty, which falls back to the stack name.
One behaviour to know about: an alarm ARN that already appears in an earlier incident
arrives
LINKEDto it, whether that incident is open or closed. Only afirst-of-its-kind ARN starts its own investigation. That is DevOps Agent correlation
rather than template behaviour, but it means the same alarm will add to previous investigatios.