Jon Beilke
a29daf411b
fix invalid variables used in kms testing
2018-10-05 21:56:32 -05:00
Jon Beilke
695b4349ba
indentation fix
2018-10-05 21:43:12 -05:00
Jon Beilke
7e96203020
add freezegun and test DeletionDate for chedule_key_deletion
2018-10-05 16:21:16 -05:00
Jon Beilke
15c24e49f0
fix formatting for including DeletionDate in response
2018-10-05 16:00:20 -05:00
Jon Beilke
60ec840eef
add disable_key, enable_key, cancel_key_deletion, and schedule_key_deletion actions to KMS endpoint
2018-10-05 15:55:47 -05:00
Jon Beilke
12e0a38b56
add TODO for testing exceptions with aimu and nve
2018-10-05 11:04:55 -05:00
Jon Beilke
5b3b52752d
explicitly check that lifecycle actions are not None when setting lifecycle
2018-10-04 10:25:16 -05:00
Ash Berlin-Taylor
5783d66206
Mock more of the Glue Data Catalog APIs
...
This adds some of the missing Get/Update/Create APIs relating to the
Glue data catalog -- but not yet all of them, and none of the Batch* API
calls.
2018-10-03 15:34:38 +01:00
Jon Beilke
a1a8ac7286
check for None in lifecycle actions
2018-10-03 01:26:09 -05:00
Jon Beilke
9b5f983cb5
add action validation to set_lifecycle()
2018-10-03 01:11:11 -05:00
Jon Beilke
691a8722a8
formatting fix for flake8 due to extra spaces
2018-10-03 00:45:47 -05:00
Jon Beilke
ea4fcaa82a
add support for NoncurrentVersionTransition, NoncurrentVersionExpiration, and AbortIncompleteMultipartUpload actions to s3 lifecycle rules
2018-10-03 00:40:28 -05:00
William Richard
3afb2862c0
Filter event log ids should be strings
...
Based on the boto docs, eventId should be returned as a string.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/logs.html#CloudWatchLogs.Client.filter_log_events
2018-10-01 17:11:36 -04:00
Jon Beilke
fe9b312fd2
Merge pull request #1 from spulec/master
...
Pull latest changes from upstream (version 1.3.6)
2018-10-01 11:37:43 -05:00
Ashley Gould
95700d6631
Merge remote-tracking branch 'spulec/moto/master' into organizations_support
2018-09-28 08:52:22 -07:00
Ashley Gould
b8be517be0
organizations support: add exception handling for describe_organizations
2018-09-28 08:34:19 -07:00
Ashley Gould
4356e951e1
[issue #1720 ] Add support for AWS Organizations
...
fix travis build error
2018-09-28 08:34:19 -07:00
Ashley Gould
05928b1497
[issue #1720 ] Add support for AWS Organizations
...
added exception handling in class OrganizationsBackend
2018-09-28 08:34:19 -07:00
Ashley Gould
40e422b74d
[issue #1720 ] Add support for AWS Organizations
...
ready for pull request
did a little cleanup refactoring
local tests pass
2018-09-28 08:34:19 -07:00
Ashley Gould
01912bdca7
organizations: fix python 2.7 test errors
2018-09-28 08:34:19 -07:00
Ashley Gould
8f400b7110
organizations: add endpoint list_chilren
2018-09-28 08:34:19 -07:00
Ashley Gould
30a9aa33e5
organizations: endpoint list_parents now support account_id param
...
refactered classes: FakeRoot inherits from FakeOrganizationsUnit
add root_id attribute to class FakeOrganization
dropped 'roots' attribute from class OrganizationaBackend
2018-09-28 08:34:18 -07:00
Ashley Gould
9b5c6c4f0f
organizations.model.FakeAccount: rename attributes:
...
account_id -> id
account_name -> name
2018-09-28 08:34:18 -07:00
Ashley Gould
009dcdb21a
organizations: and another 2 endpoints:
...
list_accounts_for_parent
move_account
2018-09-28 08:34:18 -07:00
Ashley Gould
fc2447c6a4
organiziaions: 2 new endpoints:
...
list_organizational_units_for_parents
list_parents
2018-09-28 08:34:18 -07:00
Ashley Gould
beebb9abc8
organizations: add 2 more endpoints
...
create_organizational_unit
describe_organizational_unit
2018-09-28 08:34:18 -07:00
Ashley Gould
6c0c6148f1
organizations: add endpoint list_roots
2018-09-28 08:34:18 -07:00
Ashley Gould
c40d2be646
organizations: clean up for flake8
2018-09-28 08:34:18 -07:00
Ashley Gould
f20898da0e
add info on organizations support to docs
2018-09-28 08:34:18 -07:00
Ashley Gould
edbc57e00d
add support for AWS Organizations
...
endpoints covers so far:
- create_organization
- describe_organization
- create_account
- describe_account
- list_accounts
all tests passing.
could use some advise from maintaners.
2018-09-28 08:34:18 -07:00
Ferruvich
da76ea633b
Removed redundand line
2018-09-28 16:31:57 +02:00
Ferruvich
b9022fb189
Merge branch 'add_extra_attributes_in_token_payload' of github.com:ferruvich/moto into add_extra_attributes_in_token_payload
2018-09-28 16:28:21 +02:00
Ferruvich
e69d2834e8
Removing failing test in order to check coverage and Travis test
2018-09-28 16:26:03 +02:00
Ferruvich
c2b8a7bbb0
Added package dependency
2018-09-28 16:26:03 +02:00
Ferruvich
9adb7c818d
Added extra test
2018-09-28 16:26:03 +02:00
Ferruvich
ab8f4dd159
Testing new feature
2018-09-28 16:26:03 +02:00
Ferruvich
2253bbf361
Changed the 'create_access_token' function in order to add the extra data into 'create_jwt' function
2018-09-28 16:26:03 +02:00
Daniele Stefano Ferru
9c8ecf6ee7
Merge pull request #4 from spulec/master
...
Updating
2018-09-28 15:07:20 +02:00
Steve Pulec
dfa7935e13
Merge pull request #1840 from justineyster/fix/crypto_vulnerability
...
Addresses security vulnerability in cryptography<2.3
2018-09-24 22:25:29 -04:00
Justin Eyster
8bdcc6244d
Addresses security vulnerability in cryptography<2.3
...
Discovered using pipenv's security check feature that there's a vulnerability in the cryptography package versions<2.3.
> Checking installed package safety...
36351: cryptography >=1.9.0,<2.3 resolved (2.2.2 installed)!
python-cryptography versions >=1.9.0 and <2.3 did not enforce a minimum tag length for finalize_with_tag API. If a user did not validate the input length prior to passing it to finalize_with_tag an attacker could craft an invalid payload with a shortened tag (e.g. 1 byte) such that they would have a 1 in 256 chance of passing the MAC check. GCM tag forgeries can cause key leakage.
More details here: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10903
2018-09-24 16:09:12 -04:00
Stephan Huber
1c5c5036e3
fixing errors on get_job_document
2018-09-24 13:04:39 +02:00
Stephan Huber
c49a8387bd
implemented get_job_document
for AWS IoT
2018-09-24 09:29:57 +02:00
Steve Pulec
57f9691a52
Version 1.3.6
2018-09-22 17:28:49 -04:00
Steve Pulec
2abbecee71
Merge pull request #1774 from chrisLeeTW/cloudwatch-sequenceToken-hotfix
...
nextSequenceToken that return by cloudwatch logs putLogEvents should be string, not int.
2018-09-22 17:16:53 -04:00
Steve Pulec
c035348ae4
Merge pull request #1759 from kgutwin/iam_get_policy
...
Implement IAM get_policy and correct policy version behavior
2018-09-22 16:59:07 -04:00
Steve Pulec
65570d0f6d
Merge pull request #1739 from r1b/fix-mailbox-parsing
...
bugfix: support name-addr mailbox form
2018-09-22 16:57:58 -04:00
Steve Pulec
6aa753af6f
Merge pull request #1745 from cm-iwata/fix_upditem_with_emptystring
...
BugFix dynamodb2 update_item with empty string Fixes#1744
2018-09-22 16:57:10 -04:00
Steve Pulec
1d9c19de44
Merge pull request #1838 from jrbeilke/feature-CopyTagsToSnapshot
...
Update RDS/RDS2 to support CopyTagsToSnapshot and get tagging working with snapshots
2018-09-22 16:51:33 -04:00
Steve Pulec
74b7634b95
Merge pull request #1733 from yan12125/py37
...
Python 3.7 support
2018-09-22 16:50:50 -04:00
Steve Pulec
0ab07bc482
Merge pull request #1763 from nate/fix/receive_message_wait_time_seconds
...
Force receive_message_wait_time_seconds to be int
2018-09-22 16:49:24 -04:00