You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -466,10 +475,12 @@ _In accordance with the software license, nothing in this section creates a
466
475
warranty, an indemnification, an assumption of liability, etc. Use this
467
476
software at your own risk. You are encouraged to evaluate the source code._
468
477
478
+
### Security Design Goals
479
+
469
480
<details>
470
-
<summary>Security details...</summary>
481
+
<summary>Security goals...</summary>
471
482
472
-
### Security Design Goals
483
+
<br/>
473
484
474
485
- Least-privilege roles for the AWS Lambda functions
475
486
- The role for the function that reduces retention of original backups after
@@ -495,8 +506,15 @@ software at your own risk. You are encouraged to evaluate the source code._
495
506
function that reduces retention of original backups after they have been
496
507
copied applies a full-day margin.
497
508
509
+
</details>
510
+
498
511
### Security Steps You Can Take
499
512
513
+
<details>
514
+
<summary>Security actions...</summary>
515
+
516
+
<br/>
517
+
500
518
- Prevent modification of the components, most of which are identified by
501
519
`BackupEvents` in ARNs and in the automatic `aws:cloudformation:stack-name`
502
520
tag.
@@ -505,6 +523,11 @@ software at your own risk. You are encouraged to evaluate the source code._
505
523
of Lambda's AddPermission operation.
506
524
- Prevent use of the function roles with arbitrary functions. See comments.
507
525
- Log infrastructure changes using AWS CloudTrail, and set up alerts.
526
+
- If you use Terraform, do not use it with an AWS access key and do not give it
527
+
full AWS administrative privileges. Instead, follow AWS's
528
+
[Best practices for using the Terraform AWS Provider: Security best practices](https://docs.aws.amazon.com/prescriptive-guidance/latest/terraform-aws-provider-best-practices/security.html).
529
+
Do the extra work of defining a least-privilege IAM role for deploying each
530
+
workload. Configure Terraform to assume workload-specific roles.
508
531
- Instead of relying on sample vaults, on default `aws/` KMS keys, and on the
509
532
AWSBackupDefaultServiceRole , define custom equivalents with least-privilege
510
533
resource- and/or identity-based policies tailored to your needs.
Copy file name to clipboardExpand all lines: terraform-multi/variables.tf
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
# github.com/sqlxpert/backup-events-aws GPLv3 Copyright Paul Marcelin
3
3
4
4
5
+
5
6
variable"backup_events_stackset_name_suffix" {
6
7
type=string
7
8
description="Optional CloudFormation StackSet name suffix, for blue/green deployments or other scenarios in which multiple StackSets created from the same template are needed."
0 commit comments