[FEATURE] Add condition to restrict source account on Encryption Stack
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- aws, typescript
- Domain
- cloud, infrastructure, security
Research direction
Start by locating the Encryption Stack in the CDK project and inspect the logs role policy shown in the issue. Determine how the policy can restrict its source account, then verify the synthesized CDK output shows the intended least-privilege condition.
Written by the indexing model from the issue text.
Description
Describe the feature
When building the Encryption Stack, there is an overly permissive role for the logs:
{
"Action": [
"kms:Decrypt",
"kms:Encrypt",
"kms:GenerateDataKey*",
"kms:ReEncrypt*"
],
"Effect": "Allow",
"Principal": {
"Service": "logs.eu-west-1.amazonaws.com"
},
"Resource": "*"
}
Use Case
Detail for security least priviledge.
Proposed Solution
No response
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
Environment details (OS name and version, etc.)
CDK
- Dominant language
- TypeScript
- Stars
- 33
- Forks
- 9
- Avg merge
- 14h 32m
- Merged PRs (30d)
- 25
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cdklabs/cdk-cicd-wrapper
-
Difficulty 5/5 Over a week Newbie friendliness 42/100
cdklabs/cdk-cicd-wrapper#241 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 48/100
cdklabs/cdk-cicd-wrapper#136 ·
Maintainers usually reply within 1 day
-
dependencies
Difficulty 3/5 1-2 days Newbie friendliness 35/100
cdklabs/cdk-cicd-wrapper#132 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
cdklabs/cdk-cicd-wrapper#124 · 20 comments ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
cdklabs/cdk-cicd-wrapper#117 · 2 comments ·
Maintainers usually reply within 1 day
All issues in cdklabs/cdk-cicd-wrapper
Similar issues
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
ranxianglei/billion-context#7860 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
agent-oc-find-bugs api complexity → simple payment-methods recurring contributions reviewed stripe
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
opencollective/opencollective#9177 ·