Skip to content

Releases: Cox-Automotive/alks-cli

v3.20.0

15 Mar 15:12
Compare
Choose a tag to compare

Change Log Items

  • Adds a linux flag to force export envvar format

Description

I can move the export flag above linux to have it fall through to linux instead of default. What do you guys think?

Closing the initial PR and opening this one to apply the proper labels.

v3.19.1

09 Nov 19:59
Compare
Choose a tag to compare

Change Log Items

  • Fixes the feedback message when generating a single profile

Description

Fixes the feedback message when generating a single profile by printing out the correct profile name regardless of whether -p or -n was used to pass the profile

v3.19.0

13 Oct 17:47
Compare
Choose a tag to compare

Description

Fixes the GHA workflow so that multiple updates in the same day don't cause problems and triggers a re-release of the latest change since the last one failed due to a bug in the GHA workflow

v3.18.0

13 Oct 15:18
Compare
Choose a tag to compare

Change Log Items

  • Adds support for session durations

Description

Allows passing session durations when using the ALKS CLI

v3.17.1

27 Sep 13:36
Compare
Choose a tag to compare

Change Log Items

  • Alters account JSON output to be an object indexed by accountId

Description

Moving from a 2D Array to the following:

{
  "955007298069": {
    "accountAlias": "awsxtimemcp",
    "roles": [
      {
        "role": "Security",
        "isIamActive": false
      },
      {
        "role": "Admin",
        "isIamActive": true
      }
    ]
  },
  "085685109815": {
    "accountAlias": "awsxtimemcpnp",
    "roles": [
      {
        "role": "Security",
        "isIamActive": false
      }
    ]
  }
}

v3.17.0

26 Sep 15:02
Compare
Choose a tag to compare

Change Log Items

  • Provides JSON output for alks developer accounts

Description

Adds an optional -o flag with the current table output as the default option. E2E tests have been updated to capture new functionality.

Rally: US1156962: ALKS-CLI: Export accounts as Json format

v3.16.0

28 Jul 14:24
Compare
Choose a tag to compare

Change Log Items

  • Adds function for updating an IAM role

Description

Adds the alks iam updaterole function for updating some aspects of an IAM role, including the role's trust policy and tags

v3.15.0

26 Jul 20:13
Compare
Choose a tag to compare

Change Log Items

  • Alks developer configure no longer collects userID unless basic auth selected

Description

Adds some hints around the network username field. Also changes developer configure to only get the userid id if basic auth is selected

Rally: US1118087: ALKS CLI: Validate Network Username

v3.14.0

16 Nov 15:27
Compare
Choose a tag to compare

Description

We didn't have this work planned but I've been wanting to do this for some time now. This adds support for passing aliases anywhere that you can pass an account ID or account string. For example, before when calling alks sessions open you could pass the -a/--account and -r/--role and the value of the account field could be any of these options:

  • 012345678910
  • 012345678910/ALKSAdmin
  • 012345678910/ALKSAdmin - awstest

but now you can also pass just the alias (awstest), so you don't have to memorize account IDs anymore. To do this I added a function that looks up account info based on whatever you passed to get the account ID, alias, and label from ALKS. This added an extra call to get all accounts that a user has via the getAlksAccounts function, which slowed performance, so I added some very short-lived caching to that function call to speed things up since it was getting called multiple times per command

Rally # US852948: ALKS CLI - Accept alias in place of account ID

How has this been tested?

More unit tests were added to cover just about all the code that I touched, and I spent a while testing the commands manually to ensure that they still functioned correctly

v3.13.1

11 Nov 16:08
Compare
Choose a tag to compare

Description

I figured we could use a bit more logging specifically around the time it takes for some alks commands and their components to run. This PR just adds log statements