Skip to content

Commit 5f0702d

Browse files
authored
Small fixes for the AWS Backup EC2/EBS RP scan permission boundary (#107)
1 parent 5db0282 commit 5f0702d

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

codegen/src/policies/ElastioAwsBackupEc2Scan.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as iam from "../iam";
22

33
export default {
4-
description: "Allows Elastio to scan AWS Backup recovery points.",
4+
description: "Allows Elastio to scan AWS Backup EC2 and EBS recovery points.",
55

66
statements: [
77
{
@@ -41,7 +41,7 @@ export default {
4141
// Common for all resources
4242
"ec2:DescribeTags",
4343

44-
// Used for cost estimation
44+
// Used for cost estimation and scanning itself
4545
"ebs:ListSnapshotBlocks",
4646
"ebs:ListChangedBlocks",
4747
],
@@ -70,14 +70,15 @@ export default {
7070
Action: ["ec2:ModifySnapshotAttribute"],
7171
Resource: "*",
7272
Condition: {
73-
// Needed to add createVolumePermission for the sharing the snapshot
73+
// Needed to add createVolumePermission for sharing the snapshot
7474
// with the connector account.
7575
StringLike: {
7676
"ec2:Add/userId": "*",
7777
},
7878
},
7979
},
8080

81+
// Required for encrypted backups
8182
{
8283
Sid: "KmsAccess",
8384

iam-policies/terraform/.module.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
name = "aws-elastio-iam-policies"
33
description = "A collection of AWS IAM policies for use with Elastio"
44
type = "terraform"
5-
version = "0.33.0"
5+
version = "0.33.1"

iam-policies/terraform/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This Terraform module deploys additional Elastio IAM managed policies that you c
99
```tf
1010
module "elastio_policies" {
1111
source = "terraform.cloudsmith.io/public/elastio-iam-policies/aws"
12-
version = "0.33.0"
12+
version = "0.33.1"
1313
1414
// Provide input parameters
1515
}
@@ -30,7 +30,7 @@ See the basic [usage example](./examples/basic/main.tf).
3030
| Policy | Description |
3131
| ------------------------------------------------------------ | -------------------------------------------------------------- |
3232
| [`ElastioAssetAccountDeployer`][ElastioAssetAccountDeployer] | Permissions required to deploy the Elastio Asset Account stack |
33-
| [`ElastioAwsBackupEc2Scan`][ElastioAwsBackupEc2Scan] | Allows Elastio to scan AWS Backup recovery points. |
33+
| [`ElastioAwsBackupEc2Scan`][ElastioAwsBackupEc2Scan] | Allows Elastio to scan AWS Backup EC2 and EBS recovery points. |
3434

3535
[ElastioAssetAccountDeployer]: ../../codegen/src/policies/ElastioAssetAccountDeployer.ts
3636
[ElastioAwsBackupEc2Scan]: ../../codegen/src/policies/ElastioAwsBackupEc2Scan.ts

iam-policies/terraform/policies/ElastioAwsBackupEc2Scan.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Description": "Allows Elastio to scan AWS Backup recovery points.",
2+
"Description": "Allows Elastio to scan AWS Backup EC2 and EBS recovery points.",
33
"PolicyDocument": {
44
"Version": "2012-10-17",
55
"Statement": [

0 commit comments

Comments
 (0)