Skip to content

Commit e9877b8

Browse files
committed
feat: add RDS permissions for infrastructure explorer
1 parent bd761c6 commit e9877b8

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

coralogix-policies/coralogix-infrastructure-explorer/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## infrastructure explorer
44

5+
### 0.0.6 / 5.11.2025 Add RDS permissions
6+
7+
- [update] Add RDS permissions to allow fetching RDS instances
8+
59
### 0.0.5 /4.9.2025 Add output to the role that the module will create
610

711
- [update] Add output `ExternalId` to the role that the module will create
@@ -14,7 +18,7 @@
1418

1519
### 0.0.3 / 30.9.2024
1620
* [update] Add ec2:DescribeNetworkInterfaces
17-
*
21+
*
1822
### 0.0.2 / 2.9.2024
1923
* [update] Add option to run module in AP3 region
2024

coralogix-policies/coralogix-infrastructure-explorer/template.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,11 @@ Resources:
8383
- aws_account_id: !If
8484
- IsCustomAWSAccountId
8585
- !Ref CustomAWSAccountId
86-
- !FindInMap [CoralogixEnvironment, !Ref CoralogixRegion, "ID"]
86+
- !FindInMap [
87+
CoralogixEnvironment,
88+
!Ref CoralogixRegion,
89+
"ID",
90+
]
8791
role_suffix:
8892
!FindInMap [
8993
CoralogixEnvironment,
@@ -111,6 +115,16 @@ Resources:
111115
- "ec2:DescribeTransitGateway*"
112116
- "ec2:DescribeNetworkInterfaces"
113117
Resource: "*"
118+
- PolicyName: CoralogixDescribeRdsPolicy
119+
PolicyDocument:
120+
Version: "2012-10-17"
121+
Statement:
122+
- Effect: Allow
123+
Action:
124+
- "rds:DescribeDBInstances"
125+
- "rds:DescribeReservedDBInstances"
126+
- "rds:ListTagsForResource"
127+
Resource: "*"
114128

115129
Outputs:
116130
CoralogixAwsMetricsRoleArn:

0 commit comments

Comments
 (0)