146 Commits

Author SHA1 Message Date
Bert Blommers
0fe30b0440
MD5 - set usedforsecurity-parameter for all uses (#5190) 2022-06-03 09:41:30 +00:00
Bert Blommers
cecd1035ce
Prep release 3.1.10 (#5158) 2022-05-23 12:51:03 +00:00
Bert Blommers
0e3ac26068
CognitoIDP - allow respond_to_auth_challenge without Auth-header (#5133) 2022-05-13 19:45:05 +00:00
Bert Blommers
4a5c72d5ed
AdminInitiateAuth - return correct AccessToken for Refresh-scenario (#5109) 2022-05-09 08:41:29 +00:00
Thomas Rausch
e911341e6a
add indirection to access account id (#5098) 2022-05-08 22:25:40 +00:00
Bert Blommers
c2727a7c20
CognitoIDP - allow unauthenticated requests to GetUser (#5099) 2022-05-05 22:34:37 +00:00
Bert Blommers
1d87b90e75
CognitoIDP: update_group, global_sign_out, update_user_attributes (#5086) 2022-05-01 21:04:57 +00:00
Bert Blommers
a6d3a90c10
Prep release 3.1.7 (#5083) 2022-04-30 14:20:36 +00:00
Bert Blommers
8ad121282f
CognitoIDP - improve default UserPool response (#5074) 2022-04-29 10:50:33 +00:00
Bert Blommers
10bd677cf2
Admin - enable more Pylint rules (#5037) 2022-04-18 20:44:56 +00:00
Bert Blommers
552385881c
CognitoIDP - allow unauthenticated request to sign_up (#5009) 2022-04-06 22:21:14 +00:00
Bert Blommers
eed32a5f72
Pylint - Enable more rules on source and tests-directory (#4929) 2022-03-11 20:28:45 -01:00
Bert Blommers
29d01c35bc
Update Black + formatting (#4926) 2022-03-10 13:39:59 -01:00
mianowski
a4f58f0774
CognitoIdp fixes (#4518) 2022-03-10 13:38:43 -01:00
Sam Bolgert
790b5d5833
Add implementation for cognitoidp admin_set_user_mfa_preference (#4884) 2022-02-24 22:52:45 -01:00
Alastair McCormack
1ab00b48d7
Restrict initiate_auth and admin_initiate_auth AuthFlow (#4836) 2022-02-07 22:55:51 -01:00
Alastair McCormack
ef3a35cd8f
FIX: Cognito-idp (#4820) 2022-02-05 14:58:34 -01:00
Bert Blommers
aa70ee254d
Remove deprecated decorators + boto dependency (#4378) 2022-01-18 14:18:57 -01:00
Ed
00b10e33a3
Enhancement/cognitoidp add force change password challenge flow (#4740) 2022-01-06 19:34:05 -01:00
Burlutskiy Ivan
398c8af0b2
admin_user_global_sign_out works only once (#4717) 2021-12-27 19:18:02 -01:00
Bert Blommers
cf87e75d6e
Feature: Mock region (#4699) 2021-12-24 20:02:45 -01:00
Bert Blommers
4befb671f0
Paginator - make development easier + docs (#4650) 2021-12-03 15:33:35 -01:00
Bert Blommers
c6815c1a4b
Pylint - run on source directories (abc only for now) (#4647) 2021-12-01 22:06:58 -01:00
William Crum
96bdba883b
Adding functionality for cognito:groups in access_token (#4592) 2021-11-18 10:03:35 -01:00
Dominik Schubert
f717e494d3
Core - Use json module for error_json exception type rendering instead of jinja2 (#4587) 2021-11-17 15:19:03 -01:00
Bert Blommers
b9e38ecc76
CognitoIDP:list_users() - Implement AttributesToGet-parameter (#4539) 2021-11-07 15:02:48 -01:00
Łukasz
56866e0ef5
Add add_custom_attributes implementation (#4498) 2021-10-30 09:58:29 +00:00
Łukasz
07e8ba48ba
cognito-idp standard attributes and pool schema validation (#4493) 2021-10-29 11:25:52 +00:00
Maksymilian Babarowski
7a1c38e11a
cognito-idp – Implemented admin_delete_user_attributes (#4487) 2021-10-28 21:21:22 +00:00
Łukasz
ec7c2d6d5d
Return OTP from forgot password (#4478) 2021-10-27 18:29:29 +00:00
Maksymilian Babarowski
98ca9b82e1
cognito-idp – Correct exception when user does not exist (#4482) 2021-10-27 10:43:37 +00:00
Maksymilian Babarowski
2f05bca27b
cognito-idp – Correct expression when user pool not found globally (#4434) (#4480) 2021-10-27 08:36:50 +00:00
Łukasz
fee16cb388
Added significant verification to ForgotPassword, changed UserStatus dict to enum (#4469) 2021-10-24 14:26:57 +00:00
Łukasz
a4a8949166
CognitoIDP github.com/spulec/moto/issues/4452 - missing EstimatedNumberOfUsers (#4470) 2021-10-24 13:29:16 +00:00
Maksymilian Babarowski
ce91a8d615
cognito-idp – Implemented admin_confirm_sign_up (#4462) (#4463) 2021-10-23 11:32:56 +00:00
Leo Thomas
46131e0340
Userpool UsernameAttributes (#4262) 2021-10-20 11:56:45 +00:00
Maksymilian Babarowski
a192a42e8f
cognito-idp – Correct exception message when user pool not found (#4434) (#4436) 2021-10-19 13:05:31 +00:00
Maksymilian Babarowski
cc5a5c3d72
cognito-idp – Implemented update_user_pool (#4433) (#4435) 2021-10-19 09:18:52 +00:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
Łukasz
230e34748f
Added admin_reset_user_password implementation (#4412) 2021-10-14 10:12:08 +00:00
Maksymilian Babarowski
4d10b11ecb
cognito-idp – Do not allow custom attributes in list_users() Filter param (#4389) (#4407) 2021-10-13 09:55:58 +00:00
Maksymilian Babarowski
c60fb068e1
cognito-idp – Added format validation and implemented prefix operator for Filter param of list_users (#4388) 2021-10-11 22:31:40 +00:00
Bert Blommers
c642e8b4a7
Feature: Kinesis - list_shards() (#3752) 2021-10-09 20:18:13 +00:00
Bert Blommers
0b9f5adec2
Tech debt - Fix more URL regexes (#4380) 2021-10-08 10:03:05 +00:00
Bartosz Sledz
b3fe48ece0
Add support for USER_PASSWORD_AUTH auth method (cognito-idp) (#4164)
Co-authored-by: Bartosz Sledz <bartosz.sledz@hitachivantara.com>
2021-08-12 09:19:54 +01:00
Bert Blommers
79f0cc9e9e
Tech debt - remove dead DynamoDB code and add RDS tests (#4136) 2021-08-04 17:24:26 +01:00
Łukasz
33988b96c2
fix for 'status' filter, inherent_attributes test (#4129)
Co-authored-by: Łukasz Nowak <lukasz.nowak@idemia.com>
2021-08-03 16:34:07 +01:00
Łukasz
16a4db1ce5
cognito:user_status filter in list users (#4120)
Co-authored-by: Łukasz Nowak <lukasz.nowak@idemia.com>
2021-08-03 07:56:41 +01:00
andyfase
0f8da52196
Add support for admin_user_global_sign_out to cognitoidp (#4092)
* Add support for admin_user_global_sign_out to cognitoidp
2021-07-27 18:49:19 +01:00
Waldemar Hummer
f4f8527955
Merge LocalStack changes into upstream moto (#4082)
* fix OPTIONS requests on non-existing API GW integrations

* add cloudformation models for API Gateway deployments

* bump version

* add backdoor to return CloudWatch metrics

* Updating implementation coverage

* Updating implementation coverage

* add cloudformation models for API Gateway deployments

* Updating implementation coverage

* Updating implementation coverage

* Implemented get-caller-identity returning real data depending on the access key used.

* bump version

* minor fixes

* fix Number data_type for SQS message attribute

* fix handling of encoding errors

* bump version

* make CF stack queryable before starting to initialize its resources

* bump version

* fix integration_method for API GW method integrations

* fix undefined status in CF FakeStack

* Fix apigateway issues with terraform v0.12.21
* resource_methods -> add handle for "DELETE" method
* integrations -> fix issue that "httpMethod" wasn't included in body request (this value was set as the value from refer method resource)

* bump version

* Fix setting http method for API gateway integrations (#6)

* bump version

* remove duplicate methods

* add storage class to S3 Key when completing multipart upload (#7)

* fix SQS performance issues; bump version

* add pagination to SecretsManager list-secrets (#9)

* fix default parameter groups in RDS

* fix adding S3 metadata headers with names containing dots (#13)

* Updating implementation coverage

* Updating implementation coverage

* add cloudformation models for API Gateway deployments

* Updating implementation coverage

* Updating implementation coverage

* Implemented get-caller-identity returning real data depending on the access key used.

* make CF stack queryable before starting to initialize its resources

* bump version

* remove duplicate methods

* fix adding S3 metadata headers with names containing dots (#13)

* Update amis.json to support EKS AMI mocks (#15)

* fix PascalCase for boolean value in ListMultipartUploads response (#17); fix _get_multi_param to parse nested list/dict query params

* determine non-zero container exit code in Batch API

* support filtering by dimensions in CW get_metric_statistics

* fix storing attributes for ELBv2 Route entities; API GW refactorings for TF tests

* add missing fields for API GW resources

* fix error messages for Route53 (TF-compat)

* various fixes for IAM resources (tf-compat)

* minor fixes for API GW models (tf-compat)

* minor fixes for API GW responses (tf-compat)

* add s3 exception for bucket notification filter rule validation

* change the way RESTErrors generate the response body and content-type header

* fix lint errors and disable "black" syntax enforcement

* remove return type hint in RESTError.get_body

* add RESTError XML template for IAM exceptions

* add support for API GW minimumCompressionSize

* fix casing getting PrivateDnsEnabled API GW attribute

* minor fixes for error responses

* fix escaping special chars for IAM role descriptions (tf-compat)

* minor fixes and tagging support for API GW and ELB v2 (tf-compat)

* Merge branch 'master' into localstack

* add "AlarmRule" attribute to enable support for composite CloudWatch metrics

* fix recursive parsing of complex/nested query params

* bump version

* add API to delete S3 website configurations (#18)

* use dict copy to allow parallelism and avoid concurrent modification exceptions in S3

* fix precondition check for etags in S3 (#19)

* minor fix for user filtering in Cognito

* fix API Gateway error response; avoid returning empty response templates (tf-compat)

* support tags and tracingEnabled attribute for API GW stages

* fix boolean value in S3 encryption response (#20)

* fix connection arn structure

* fix api destination arn structure

* black format

* release 2.0.3.37

* fix s3 exception tests

see botocore/parsers.py:1002 where RequestId is removed from parsed

* remove python 2 from build action

* add test failure annotations in build action

* fix events test arn comparisons

* fix s3 encryption response test

* return default value "0" if EC2 availableIpAddressCount is empty

* fix extracting SecurityGroupIds for EC2 VPC endpoints

* support deleting/updating API Gateway DomainNames

* fix(events): Return empty string instead of null when no pattern is specified in EventPattern (tf-compat) (#22)

* fix logic and revert CF changes to get tests running again (#21)

* add support for EC2 customer gateway API (#25)

* add support for EC2 Transit Gateway APIs (#24)

* feat(logs): add `kmsKeyId` into `LogGroup` entity (#23)

* minor change in ELBv2 logic to fix tests

* feat(events): add APIs to describe and delete CloudWatch Events connections (#26)

* add support for EC2 transit gateway route tables (#27)

* pass transit gateway route table ID in Describe API, minor refactoring (#29)

* add support for EC2 Transit Gateway Routes (#28)

* fix region on ACM certificate import (#31)

* add support for EC2 transit gateway attachments (#30)

* add support for EC2 Transit Gateway VPN attachments (#32)

* fix account ID for logs API

* add support for DeleteOrganization API

* feat(events): store raw filter representation for CloudWatch events patterns (tf-compat) (#36)

* feat(events): add support to describe/update/delete CloudWatch API destinations (#35)

* add Cognito UpdateIdentityPool, CW Logs PutResourcePolicy

* feat(events): add support for tags in EventBus API (#38)

* fix parameter validation for Batch compute environments (tf-compat)

* revert merge conflicts in IMPLEMENTATION_COVERAGE.md

* format code using black

* restore original README; re-enable and fix CloudFormation tests

* restore tests and old logic for CF stack parameters from SSM

* parameterize RequestId/RequestID in response messages and revert related test changes

* undo LocalStack-specific adaptations

* minor fix

* Update CodeCov config to reflect removal of Py2

* undo change related to CW metric filtering; add additional test for CW metric statistics with dimensions

* Terraform - Extend whitelist of running tests

Co-authored-by: acsbendi <acsbendi28@gmail.com>
Co-authored-by: Phan Duong <duongpv@outlook.com>
Co-authored-by: Thomas Rausch <thomas@thrau.at>
Co-authored-by: Macwan Nevil <macnev2013@gmail.com>
Co-authored-by: Dominik Schubert <dominik.schubert91@gmail.com>
Co-authored-by: Gonzalo Saad <saad.gonzalo.ale@gmail.com>
Co-authored-by: Mohit Alonja <monty16597@users.noreply.github.com>
Co-authored-by: Miguel Gagliardo <migag9@gmail.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2021-07-26 15:21:17 +01:00