Skip to content

Commit 0a313fe

Browse files
authored
Add permission for AMP (#121)
1 parent 86b54bd commit 0a313fe

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,11 @@ The audit policy is comprised of the following permissions:
182182
| | kinesisanalytics:ListApplicationVersions | |
183183
| | kinesisanalytics:DescribeApplicationVersion | |
184184
| | kinesisanalytics:DescribeApplication | |
185+
| AMP | aps:ListScrapers | * |
186+
| | aps:DescribeScraper | |
187+
| | aps:ListWorkspaces | |
188+
| | aps:DescribeAlertManagerDefinition | |
189+
| | aps:DescribeLoggingConfiguration | |
190+
| | aps:DescribeWorkspace | |
191+
| | aps:ListRuleGroupsNamespaces | |
192+
| | aps:DescribeRuleGroupsNamespace | |

main.tf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,20 @@ data "aws_iam_policy_document" "lacework_audit_policy" {
248248
]
249249
resources = ["*"]
250250
}
251+
252+
statement {
253+
sid = "AMP"
254+
actions = ["aps:ListScrapers",
255+
"aps:DescribeScraper",
256+
"aps:ListWorkspaces",
257+
"aps:DescribeAlertManagerDefinition",
258+
"aps:DescribeLoggingConfiguration",
259+
"aps:DescribeWorkspace",
260+
"aps:ListRuleGroupsNamespaces",
261+
"aps:DescribeRuleGroupsNamespace",
262+
]
263+
resources = ["*"]
264+
}
251265
}
252266

253267
resource "aws_iam_policy" "lacework_audit_policy" {

0 commit comments

Comments
 (0)