Skip to content

Commit

Permalink
chore: fix typos in AWS events (#129)
Browse files Browse the repository at this point in the history
Closes #127

Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
  • Loading branch information
afiune authored Jun 4, 2020
1 parent e31c4fc commit 46d1bb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ type EventRegionEntity struct {

type EventCTUserEntity struct {
Username string `json:"username"`
AccoutID string `json:"accout_id"`
AccountID string `json:"account_id"`
Mfa int32 `json:"mfa"`
ApiList []string `json:"api_list"`
RegionList []string `json:"region_list"`
Expand Down
4 changes: 2 additions & 2 deletions cli/cmd/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func eventRegionEntitiesTable(regions []api.EventRegionEntity) string {

t.SetHeader([]string{
"Region",
"Acounts",
"Accounts",
})
t.SetBorder(eventDetailsBorder)
for _, user := range regions {
Expand Down Expand Up @@ -310,7 +310,7 @@ func eventCTUserEntitiesTable(users []api.EventCTUserEntity) string {
}
t.Append([]string{
user.Username,
user.AccoutID,
user.AccountID,
user.PrincipalID,
mfa,
strings.Join(user.ApiList, ", "),
Expand Down

0 comments on commit 46d1bb6

Please sign in to comment.