Commit Graph

218 Commits

Author SHA1 Message Date
tungol
55c589072f
Admin: sorting imports with ruff (#7075) 2023-11-30 14:55:51 -01:00
Bert Blommers
d6377ff905
Techdebt: Improve some type annotations (#7072) 2023-11-28 21:01:56 -01:00
Bert Blommers
fecde6c001
IAM: list_groups() now returns the CreateDate-attribute (#6854) 2023-09-26 21:59:37 +00:00
Bert Blommers
a1b0bb9298
IAM: Populate role.last_used when assuming a role (#6810) 2023-09-14 08:49:53 +00:00
Bert Blommers
60fd1a5cf2
Techdebt: Improve date handling across Moto (#6803) 2023-09-11 22:23:44 +00:00
Thomas Schaaf
7098388ee4
IAM policies: allow s3 accesspoint arns (#6743) 2023-09-01 07:06:19 +00:00
Bert Blommers
8ff53ff417
IAM: Keep AWS managed policies cache clean (#6716) 2023-08-24 07:54:32 +00:00
Bert Blommers
cd5beb021a
Techdebt: Replace sure with regular assertions in IAM (#6573) 2023-07-30 19:37:08 +00:00
Daniel Fangl
3ddfc0db40
IAM: fix keyerror result when attaching non-existent policy, add tests, fix error message for user as well (#6482) 2023-07-05 15:00:19 +00:00
rafcio19
627dd3073c
IAM: additional role on instance profile validation (#6415) 2023-06-17 11:19:59 +00:00
rafcio19
e677bee2e6
IAM: missing CreateDate from get_group response (#6328)
* fix: missing CreateDate from get_group response

* tests: fix servermode tests

* feat: PasswordLastUsed in groups response

---------

Co-authored-by: raf <rafal.jankowicz@avanti.space>
2023-05-19 12:33:56 +00:00
Bert Blommers
3a430780f7
Terraform - Update to latest commit (#5982) 2023-02-25 19:24:03 -01:00
Bert Blommers
eb79d064e8
IAM: get_user() should return PasswordLastUsed-field if set (#5942) 2023-02-18 09:48:02 -01:00
Bert Blommers
7d7663d703
IAM: add_user_to_group() should be idempotent (#5899) 2023-02-03 11:07:02 -01:00
Bert Blommers
89fdf9dbcb
Remove Py3.6 support (#5818) 2023-01-06 11:07:20 -01:00
Daniel Fangl
555928af5d
IAM: add tags for users to get-account-authorization-details response (#5803) 2022-12-22 18:03:33 -01:00
Bert Blommers
1a8ddc0f2b
Techdebt: Replace string-format with f-strings (for tests dirs) (#5678) 2022-11-17 21:41:08 -01:00
Wonhyeong Seo
2c0adaa932
IAM:detach_*_policy(): Fix divergent error handling with aws (#5559) 2022-10-19 09:59:12 +00:00
Daniel Fangl
de23d172ea
IAM: Make assumed role user ids dependent on role (#5501) 2022-09-29 22:14:03 +00:00
Bert Blommers
89008c4230
Tech Debt: Skip some tests in Py3.6, as we do not have access to all regions (#5437) 2022-08-31 11:11:50 +00:00
Bert Blommers
3d913f8f15
MultiAccount support (#5192) 2022-08-13 09:49:43 +00:00
Kent Ou
12d58bbf29
iam - add RoleLastUsed to get_role response (#5302) 2022-08-04 16:18:06 +00:00
Michael Merrill
23c4f47635
Implement IAM back end part of update_assume_role_policy to validate policies (#5340) 2022-07-30 00:25:56 -03:00
Cristopher Pinzón
bc3ddcff5b
IAM Access Key limit per user (#5337) 2022-07-27 13:19:34 -03:00
Bert Blommers
76fe578d95
IAM - Implement ServiceLinkedRoles (#5089) 2022-05-03 09:44:47 +00:00
Bert Blommers
10bd677cf2
Admin - enable more Pylint rules (#5037) 2022-04-18 20:44:56 +00:00
Kent Ou
56a2fd384c
Enhance IAM credentials report to dynamic mfa_active and password_last_used (#5004) 2022-04-07 16:35:08 +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
Cristopher Pinzón
58ff549b94
add Entity Id when listing (#4891) 2022-02-25 10:28:42 -01:00
Bert Blommers
aa70ee254d
Remove deprecated decorators + boto dependency (#4378) 2022-01-18 14:18:57 -01:00
Bert Blommers
2fde6be849
IAM - add tests for new OIDC functionality (#4663) 2021-12-05 22:52:12 -01:00
Bert Blommers
9258316e16
Prep 2.2.17 release (#4642) 2021-11-29 19:35:18 -01:00
Sam Attridge
ff6d7a13c0
Added policy tagging that was previously marked as missing (#4520) 2021-11-03 19:58:40 -01:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
nom3ad
f50d80ede6
fix: invalid escape sequence DeprecationWarning (#4430) 2021-10-18 09:21:18 +00:00
Bert Blommers
e9a4100324
Rewrite deprecated CloudFormation tests (#3842) 2021-10-04 13:47:40 +00:00
Bert Blommers
95a1301ead
IAM - duplicate boto tests (#3913) 2021-09-22 19:42:42 +00:00
Bert Blommers
1a42b33781
IAM - Delete Role/InstanceProfile via CloudFormation (#3591) 2021-08-28 11:00:05 +01:00
Bert Blommers
6b960e0d4f
CF support for IAM:ManagedPolicy (#3933) 2021-08-28 07:32:10 +01:00
Bert Blommers
7acdfe4feb
Introduce Pylint to check for duplicate test method names (#3684) 2021-08-21 16:33:15 +01:00
Bert Blommers
7693d77333
Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
Cristopher Pinzón
e4057a34b9
Added "isTruncated" attribute for listUsersResponse (#4017)
* isTruncated attribute for listUsersResponse

* correction and test
2021-06-18 21:52:15 +01:00
Jonx1000
6ea6445f60
IAM - get_user() #3828 (#3829)
* IAM - get_user() #3828
- fixing issue where the get_user method does not return tags

* adding get_user with tags test
2021-04-03 10:38:18 +01:00
Jon Michaelchuck
a4009e7bd1
MaxSessionDuration should be included in the list_roles response (#3750) 2021-03-10 08:49:50 +00:00
Jon Michaelchuck
0625bbfa11
Fixes for IAM Role Description field in responses from list_roles and create_roles (#3724)
* Add IAM Role Description field to list_roles responses

The IAM ListRoles IAM API call will return the Description key/value
for each role if it exists.  If it does not exist the Description
key is not included.

* fix handling in create_role resp

* blackg

* Combine two tests using pytest.mark.parametrize

* consistency
2021-02-24 19:14:11 +00:00
Bert Blommers
67c1dbc164
Changelog 2.0.0 (#3721)
* Changelog for upcoming release (..-27/01)

* Changelog for upcoming release (..-21-02)

* Update Implementation Coverage

* Update AWS Managed Policies
2021-02-23 15:16:07 +00:00
Anton Grübel
fe9f1dfe14
Add tag & untag user (#3638)
* Add iam.tag_user

* Add iam.untag_user

* Fix Python2 error
2021-02-01 11:37:54 +00:00
Bert Blommers
8591eda9d6
Introduce Github Actions to replace TravisCI (#3610) 2021-01-26 12:37:03 +00:00
Brian Pandola
8f83f51897
Refactor tests marked xfail to use proper assertions (#3515) 2020-12-04 16:00:48 +00:00