fix(cloudwatchlogs): add logGroupArn to DescribeLogGroups (#3868)

This commit is contained in:
Chiara Forresi authored and GitHub committed 2026-09-21 11:13:15 -04:00
1 parent 78c046b883
commit 0108b9653a
2 files changed
+51 -1

No files matched your search

@@ -126,7 +126,9 @@ public class CloudWatchLogsHandler {
ObjectNode node = objectMapper.createObjectNode();
node.put("logGroupName", g.getLogGroupName());
node.put("createdTime", g.getCreatedTime());
node.put("arn", logsService.buildArn(g.getLogGroupName(), region));
String logGroupArn = logsService.buildArn(g.getLogGroupName(), region);
node.put("arn", logGroupArn + ":*");
node.put("logGroupArn", logGroupArn);
if (g.getRetentionInDays() != null) {
node.put("retentionInDays", g.getRetentionInDays());
}