Comments (4)
I checked the documentation from where the rule is sourced from. The authors didn't include it in the rule description nor does it seem to be required in the reviews. This seems like a very arbitrary requirement, but I'll inquire further about it.
from cdk-nag.
Thanks. These are persuasive points. I'll bring them into conversation with my team.
from cdk-nag.
Conventional user behavior is to select a password in all lowercase characters. To mitigate dictionary attacks, organizations mandate at least one uppercase character and some added non-letter characters. So offering a check of lowercase characters seems like an unnecessary check.
from cdk-nag.
That partly makes sense to me.
However, I still think requiring lowercase characters can make passwords more secure, because if the user already includes lowercase characters in their password, the change of this rule requiring lowercase characters in password policy will not cause any problems. This rule will come to fail Password policy will cause error only if the user does not use any lowercase characters, which contradicts with the first assumption "Conventional user behavior is to select a password in all lowercase characters."
Additionally, IAM.7 control in Security Hub, which is included in AWS Foundational Security Best Practices, also requires at least one lowercase character by default. (Although IAM.7 is applied to IAM configuration, I don't think there are any technical difference between IAM passwords and Cognito passwords.)
EDIT: Obviously, it is not cdk-nag check but the password registration process that an error could happen if the user's password does not align with the password policy. Update my comment. Sorry about the confusion.
from cdk-nag.
Related Issues (20)
- Need the compliance and non-compliance test cases for the typescript-cdk rulesshort issue description HOT 1
- doc: AwsSolutions-CFR6 conflicts with AWS recommendation HOT 5
- bug: CodeBuildProjectSourceRepoUrl is out of date HOT 1
- feat: Test Utils as part of the library HOT 3
- Usage in pre-commit checks that only flag for brand new resources HOT 5
- bug: HIPAA.Security-RDSInBackupPlan not recognizing Serverless Postgres Cluster Instances HOT 1
- bug: SQS used as a DLQ on a lambda produces AwsSolutions-SQS3 HOT 1
- bug: ApplicationLoadBalancedFargateService not correctly detecting certificate with redirectHTTP HOT 1
- bug: CFN Resources go unchecked HOT 1
- feat: CIS Checks HOT 1
- feat: discourage use of DesiredCount for auto-scaled ECS services HOT 1
- AwsSolutions-SF1 conflicts with AWS recommendations HOT 2
- Do NagSuppressions have to be applied inside Stack constructor only? HOT 1
- feat: Serverless Nag Pack
- feat: Support for AWS Resource Tagging Standards HOT 2
- bug: AwsSolutions-L1 issue with Python runtime 3.12 HOT 1
- CloudFrontDistributionNoOutdatedSSL: Does not allow for s3 static hosting via cloudfront HOT 1
- Exported rules aren't typed correctly HOT 2
- feat: Simpler appliesTo syntax for referencing CDK nodes HOT 1
- bug: CDK Stages not linted by Nag rules HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdk-nag.