Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnalyzeAndPrintPermissions ¶ added in v3.80.5
Types ¶
type SecretInfo ¶ added in v3.80.5
type SecretInfo struct {
User string
Role string
RolePrivs map[string]bool
DBs []DB
TablePrivs map[string]map[string]*TableData
}
func AnalyzePermissions ¶
func AnalyzePermissions(cfg *config.Config, connectionStr string) (*SecretInfo, error)
type TableData ¶
type TableData struct {
Size string
Rows string
Privs TablePrivs
}
Click to show internal directories.
Click to hide internal directories.