Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): new account list command #444

Merged
merged 3 commits into from
Jun 11, 2021
Merged

Conversation

afiune
Copy link
Contributor

@afiune afiune commented Jun 10, 2021

User Story

As a Lacework CLI user,
I would like to have a way to describe what sub-accounts can I manage,
So I can easily switch between them and avoid having to log in to the
UI to know the name of my sub-accounts.

Description

We need to add a new command to manage organizational accounts. This new
command will list all accounts that the user can manage.

$ lacework account list

In the future, this new command could leverage new APIv2 endpoints to
create new sub-accounts or update them, just like the UI does.

$ lacework account create

Acceptance Criteria

After completing this ticket, the user will have a way (new CLI command)
to list all accounts that he or she manages.

JIRA: ALLY-380

Signed-off-by: Salim Afiune Maya afiune@lacework.net

**User Story**

As a Lacework CLI user,
I would like to have a way to describe what sub-accounts can I manage,
So I can easily switch between them and avoid having to log in to the
UI to know the name of my sub-accounts.

**Description**

We need to add a new command to manage organizational accounts. This new
command will list all accounts that the user can manage.
```
$ lacework account list
```

In the future, this new command could leverage new APIv2 endpoints to
create new sub-accounts or update them, just like the UI does.
```
$ lacework account create
```

**Acceptance Criteria**

After completing this ticket, the user will have a way (new CLI command)
to list all accounts that he or she manages.

JIRA: ALLY-380

Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
@afiune afiune requested a review from a team June 10, 2021 01:41
@dmurray-lacework
Copy link
Collaborator

make it so

Copy link
Collaborator

@dmurray-lacework dmurray-lacework left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

afiune added 2 commits June 11, 2021 06:55
Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
@afiune afiune merged commit 735d34e into main Jun 11, 2021
@afiune afiune deleted the afiune/ALLY-380/list-sub-accounts branch June 11, 2021 15:04
@lacework-releng lacework-releng mentioned this pull request Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants