cmd

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConsoleOnly bool

ConsoleOnly is a flag to indicate whether to filter out accounts that do not have console access

View Source
var Days int

Days holds the amount of days to search for.

View Source
var Debug bool

Debug controls whether or not debug messages should be printed

View Source
var Resource string

Resource holds the type of AWS resource we are going to look for

View Source
var Used bool

Used is a bool to invert the search if needed.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type ExtendedAccessKeyMetadata

type ExtendedAccessKeyMetadata struct {
	AccessKeyID    string
	CreateDate     *time.Time
	LastUsed       *time.Time
	Status         string
	UserName       string
	Arn            string
	Age            int
	ConsoleEnabled bool
}

ExtendedAccessKeyMetadata extends the key metadata struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL