Skip to content

v0.4.14: Complete IAM lists

Latest

Choose a tag to compare

@DaviReisVieira DaviReisVieira released this 29 Nov 00:29
554780d

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 iam and 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