Bert Blommers
Bert Blommers
I hadn't looked into AWS Powertools Validation before, but that is a very different beast. From what I can tell, it mostly focuses on JSON schema validation, so it's not...
I'm assuming you've gone through the documentation here? http://docs.getmoto.org/en/latest/docs/getting_started.html The Lambda-specific documentation can be found here: http://docs.getmoto.org/en/latest/docs/services/lambda.html (Note that the reference to `@mock_lambda_simple` is outdated - that should say `@mock_aws(config={"lambda":...
Hi @sbeninga! The inputs are read in `responses.py`, and those variables line up as far as I can see. We even have a few tests that verify that everything works...
Hi @jcrben, it would indeed be nice to have both mentioned in the docs. The logical place for the environment variable would probably the S3 docs themselves: https://github.com/getmoto/moto/blob/33d374526303f9b3b686402a2074963dd027fa65/moto/s3/models.py#L1616 Any change...
The `status`-attribute should already be there @tsugumi-sys - it's defined in the parent class. My PR just overrides it and adds additional functionality.
Hi @code-and-such, can you share an example call that fails for you? I've just tested it out with the `get_role`-method, and the exception that we throw there is handled just...
Hi @cbishop, you could patch boto3 itself, before it even reaches Moto? See our docs here: http://docs.getmoto.org/en/latest/docs/services/patching_other_services.html
Hi @jasonrdunne, thanks for raising these! I'll open a PR to add validation for the first issue in a second. Do you have an example for the second issue? The...
Validate user password in `respond_to_auth_challenge` when the challenge name is `PASSWORD_VERIFIER`
Hi @serozhenka! From the docs: the `challenge_responses` needs four parts: ``` "PASSWORD_CLAIM_SIGNATURE": "[claim_signature]" "PASSWORD_CLAIM_SECRET_BLOCK": "[secret_block]" "TIMESTAMP": [timestamp] "USERNAME": "[username]" ``` As an enhancement, we can verify whether all four values...
Validate user password in `respond_to_auth_challenge` when the challenge name is `PASSWORD_VERIFIER`
@serozhenka I don't want to break this for users who use a different signature that happens to be supported as well. So if you want to add the basic checks,...