Repository navigation
Complete IAM lists, contributed by @adityaanikam.
IAM
IAM hands out its lists in pages of 100 by default, and StackPort only read the first one, so accounts with more than 100 users, roles or policies saw short lists and low counts. Now every page is followed:
- IAM view: the Users, Roles, Groups and Policies tabs list everything. A group shows all its members, and a policy shows every user, group and role it's attached to.
- Dashboard and resource list: the IAM counts, the generic resource list,
stackport list iamand the Learn checks include every role, user and policy. - Each page asks for 1,000 items, the most IAM allows. The live dashboard lists every couple of seconds while a StackPort tab is open, so this keeps the calls down: 2 ListRoles calls for 1,105 roles instead of 12.
Listings for other services still stop at their first page. That's tracked in #242.
This fixes #237 (#238). Thanks @adityaanikam for the fix, and for sticking with it through three rounds of review!
Full changelog: v0.4.13...v0.4.14