microsoft / microsoft/WhatTheHack

[Suggestion]: Add password length constraint for the build machine

Open
#831 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
1.9k
Forks
886
PR merge metrics
No merged PRs in 30d

Description

Which Hack?

001-IntroToKubernetes

Suggestion

Add the minLength property of 12 for the admin password user input. If a shorter one is provided, the previous version would still deploy the machine, but the password would not be configured, I also added the complexity requirements in the description to make the user aware of these requirements, you can still choose a password that doesn't match the criteria, then the machine will be created but no password will be configured.

Code of Conduct
  • I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the 001-IntroToKubernetes challenge and locate the admin password user input for the build machine. Check how its current description and validation are defined; done means the requested minimum length and password requirements are represented and the shorter-password case is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.