Commit bcf2c13
Feat/config rem mission profile perm (#662)
* Initial Push for Custom Config Rule
* pushing packages
* Fixing tests
* Creating CustomConfigRule from source in ref-artifacts
* Dowloading Config-Rules and using them assets
* Removing unused dependency
* Removing dependency
* Fixing construct names for iam role
* Adding config rule lambda function for instance profile permission validation
* Adding additional replacements
* Fixing IAM Role creation for s3-copy-files
* Reverting back S3-Copy-Files to older
* Updating configuration files with respect to custom config-rules
* Reverting using aws.Partition due to CDK allowing only qualifier, accountid and region overrides
* removed unused import
* Fixing rule param replacements
* Fixing Empty value in request param
* Updating config rule lambda function
* Fixing remediation params replace
* Supporting StringList Param for both config rule and remediation
* Adding sample configuration
* Fixing if policy doesn't exist in account
* fix SCP
Co-authored-by: Brian969 <56414362+Brian969@users.noreply.github.com>1 parent df93ddc commit bcf2c13
File tree
10 files changed
+435
-70
lines changed- reference-artifacts
- SAMPLE_CONFIGS
- SCPs
- config-rules
- src/ec2-instance-profile-permissions
- ssm-documents
- src
- deployments/cdk/src/deployments/config
- lib/common-config/src
- test
10 files changed
+435
-70
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
539 | 544 | | |
540 | 545 | | |
541 | 546 | | |
| |||
560 | 565 | | |
561 | 566 | | |
562 | 567 | | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
563 | 588 | | |
564 | 589 | | |
565 | 590 | | |
| |||
2053 | 2078 | | |
2054 | 2079 | | |
2055 | 2080 | | |
2056 | | - | |
| 2081 | + | |
2057 | 2082 | | |
2058 | 2083 | | |
2059 | 2084 | | |
2060 | 2085 | | |
2061 | 2086 | | |
2062 | 2087 | | |
2063 | 2088 | | |
| 2089 | + | |
2064 | 2090 | | |
2065 | 2091 | | |
2066 | 2092 | | |
| |||
2610 | 2636 | | |
2611 | 2637 | | |
2612 | 2638 | | |
2613 | | - | |
| 2639 | + | |
2614 | 2640 | | |
2615 | 2641 | | |
2616 | 2642 | | |
2617 | 2643 | | |
2618 | 2644 | | |
2619 | 2645 | | |
2620 | 2646 | | |
| 2647 | + | |
2621 | 2648 | | |
2622 | 2649 | | |
2623 | 2650 | | |
| |||
3194 | 3221 | | |
3195 | 3222 | | |
3196 | 3223 | | |
3197 | | - | |
| 3224 | + | |
3198 | 3225 | | |
3199 | 3226 | | |
3200 | 3227 | | |
3201 | 3228 | | |
3202 | 3229 | | |
3203 | 3230 | | |
3204 | 3231 | | |
| 3232 | + | |
3205 | 3233 | | |
3206 | 3234 | | |
3207 | 3235 | | |
| |||
3778 | 3806 | | |
3779 | 3807 | | |
3780 | 3808 | | |
3781 | | - | |
| 3809 | + | |
3782 | 3810 | | |
3783 | 3811 | | |
3784 | 3812 | | |
3785 | 3813 | | |
3786 | 3814 | | |
3787 | 3815 | | |
3788 | 3816 | | |
| 3817 | + | |
3789 | 3818 | | |
3790 | 3819 | | |
3791 | 3820 | | |
| |||
4362 | 4391 | | |
4363 | 4392 | | |
4364 | 4393 | | |
4365 | | - | |
| 4394 | + | |
4366 | 4395 | | |
4367 | 4396 | | |
4368 | 4397 | | |
4369 | 4398 | | |
4370 | 4399 | | |
4371 | 4400 | | |
4372 | 4401 | | |
| 4402 | + | |
4373 | 4403 | | |
4374 | 4404 | | |
4375 | 4405 | | |
| |||
4913 | 4943 | | |
4914 | 4944 | | |
4915 | 4945 | | |
4916 | | - | |
| 4946 | + | |
4917 | 4947 | | |
4918 | 4948 | | |
4919 | 4949 | | |
4920 | 4950 | | |
4921 | 4951 | | |
4922 | 4952 | | |
4923 | 4953 | | |
| 4954 | + | |
4924 | 4955 | | |
4925 | 4956 | | |
4926 | 4957 | | |
| |||
Lines changed: 35 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
539 | 544 | | |
540 | 545 | | |
541 | 546 | | |
| |||
560 | 565 | | |
561 | 566 | | |
562 | 567 | | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
563 | 588 | | |
564 | 589 | | |
565 | 590 | | |
| |||
1990 | 2015 | | |
1991 | 2016 | | |
1992 | 2017 | | |
1993 | | - | |
| 2018 | + | |
1994 | 2019 | | |
1995 | 2020 | | |
1996 | 2021 | | |
1997 | 2022 | | |
1998 | 2023 | | |
1999 | 2024 | | |
2000 | 2025 | | |
| 2026 | + | |
2001 | 2027 | | |
2002 | 2028 | | |
2003 | 2029 | | |
| |||
2547 | 2573 | | |
2548 | 2574 | | |
2549 | 2575 | | |
2550 | | - | |
| 2576 | + | |
2551 | 2577 | | |
2552 | 2578 | | |
2553 | 2579 | | |
2554 | 2580 | | |
2555 | 2581 | | |
2556 | 2582 | | |
2557 | 2583 | | |
| 2584 | + | |
2558 | 2585 | | |
2559 | 2586 | | |
2560 | 2587 | | |
| |||
3131 | 3158 | | |
3132 | 3159 | | |
3133 | 3160 | | |
3134 | | - | |
| 3161 | + | |
3135 | 3162 | | |
3136 | 3163 | | |
3137 | 3164 | | |
3138 | 3165 | | |
3139 | 3166 | | |
3140 | 3167 | | |
3141 | 3168 | | |
| 3169 | + | |
3142 | 3170 | | |
3143 | 3171 | | |
3144 | 3172 | | |
| |||
3715 | 3743 | | |
3716 | 3744 | | |
3717 | 3745 | | |
3718 | | - | |
| 3746 | + | |
3719 | 3747 | | |
3720 | 3748 | | |
3721 | 3749 | | |
3722 | 3750 | | |
3723 | 3751 | | |
3724 | 3752 | | |
3725 | 3753 | | |
| 3754 | + | |
3726 | 3755 | | |
3727 | 3756 | | |
3728 | 3757 | | |
| |||
4299 | 4328 | | |
4300 | 4329 | | |
4301 | 4330 | | |
4302 | | - | |
| 4331 | + | |
4303 | 4332 | | |
4304 | 4333 | | |
4305 | 4334 | | |
4306 | 4335 | | |
4307 | 4336 | | |
4308 | 4337 | | |
4309 | 4338 | | |
| 4339 | + | |
4310 | 4340 | | |
4311 | 4341 | | |
4312 | 4342 | | |
| |||
0 commit comments