Moto

Latest version: v5.0.7

Safety actively analyzes 629765 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 28

5.0.1

-----
Docker Digest for 5.0.1: _sha256:b6004b2e112c0ba870b2103049548abecec476edeac7a724ed9c71249358e821_

New Methods:
* SecretsManager:
* remove_regions_from_replication()
* replicate_secret_to_regions()

Miscellaneous:
* AWSLambda: create_event_source_mapping() now supports Kinesis streams as targets
* CloudFront: Removed error handling for InvalidOriginServer, as our validation was too strict
* DynamoDB: batch_execute_statement() now supports for Update/Insert/Delete-statements
* DynamoDB: query() now correctly handles calls where both Limit and ScanIndexForward are supplied
* EC2: Now supports availability zones for eu-central-2 (Zurich)
* S3: list_objects_v2() can now return more then 1000 results max (again)
* S3: copy_object() now allows in-place copies when bucket versioning is enabled
* SecretsManager: create_secrets() now supports the parameters AddReplicaRegions and ForceOverwriteReplicaSecret
* SecretsManager: list_secrets() now supports the filters primary-region and owning-service

5.0.0

-----
Docker Digest for 5.0.0: _sha256:2faf2460a6446dfe472ac0d799e00341b1c84203d08540c247a6cc09be7c54e9_

General:
* All decorators have been replaced with a single decorator:
`mock_aws`

* The `mock_batch_simple` and `mock_lambda_simple` decorators can now be configured using the `config`-parameter:
`mock_aws(config={"batch": {"use_docker": False}, "lambda": {"use_docker": False}})`

* It is now possible to configure methods/services which should reach out to AWS.
mock_aws(
config={"core": {"mock_credentials": False, "passthrough": {"urls": [], "services": []}}}
)

* All requests now return a RequestId

Miscellaneous:

* IAM: The AWS managed Policies are no longer loaded by default.
If your application depends on these policies, tell Moto explicitly to load them like so:

mock_aws(config={"iam": {"load_aws_managed_policies": True}})

Or by setting an environment variable:
MOTO_IAM_LOAD_MANAGED_POLICIES=true

* S3: list_objects() now returns a hashed ContinuationToken

5.0.0alpha3

-----------

Miscellaneous:
* IAM: The AWS managed Policies are no longer loaded by default.
If your application depends on these policies, tell Moto explicitly to load them like so:

mock_aws(config={"iam": {"load_aws_managed_policies": True}})

Or by setting an environment variable:
MOTO_IAM_LOAD_MANAGED_POLICIES=true

5.0.0alpha2

------------

General:
* It is now possible to configure methods/services which should reach out to AWS.
mock_aws(
config={"core": {"mock_credentials": False, "passthrough": {"urls": [], "services": []}}}
)
* All requests now return a RequestId

Miscellaneous:
* S3: list_objects() now returns a hashed ContinuationToken

5.0.0alpha1

------------

General:
* All decorators have been replaced with a single decorator:
`mock_aws`
* The `mock_batch_simple` and `mock_lambda_simple` decorators can now be configured using the `config`-parameter:
`mock_aws(config={"batch": {"use_docker": False}, "lambda": {"use_docker": False}})`

4.2.14

-----
Docker Digest for 4.2.14: _sha256:2fa10aa48e32f85c63c62a7d437b8a4b320a56a8494bc25d45ced370bc159c23_

New Services:
* Backup:
* create_backup_plan()
* create_backup_vault()
* get_backup_plan()
* describe_backup_vault()
* delete_backup_plan()
* list_backup_plans()
* list_backup_vaults()
* list_tags()
* tag_resource()
* untag_resource()

New Methods:
* RDS:
* describe_db_cluster_snapshot_attributes()
* describe_db_snapshot_attributes()
* modify_db_cluster_snapshot_attribute()
* modify_db_snapshot_attribute()
* restore_db_instance_to_point_in_time()

* SageMaker:
* create_feature_group()

* SageMakerRuntime:
* invoke_endpoint_async()

Miscellaneous:
* Cognito: The ID-token now contains custom attributes
* DynamoDB: query() now returns the correct ScannedCount
* EC2: Security Group Rules now have tag support
* LakeFormation: grant_permissions() now has better support for known principal-resource pairs
* SNS: set_subscription_attributes() can now unset the FilterPolicy

Page 2 of 28

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.