You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dateInputErr=func(inputstring) error { returnfmt.Errorf("%s is invalid.\nPlease make sure to use the correct date layout. Example: %s", input, now.Format(dateLayoutISO8601)) }
39
+
dateInputErr=func(inputstring) error {
40
+
returnfmt.Errorf("%s is invalid.\nPlease make sure to use the correct date layout. Example: %s", input, now.Format(dateLayoutISO8601))
Long: `Get audit log based on a date range. If no date range is specified the audit log of the current month will be returned. Please note that both input and output time is in UTC and should be considered when e.g. specifying the date range`,
58
+
Long: `Get audit log within specified date range. If no date range is specified the audit log of the current month will be returned.`,
fmt.Sprintf("Specifys the starting point of the date range. If not specified the first day of the current month is used. Accepted layout: %s", now.Format(dateLayoutISO8601)))
78
+
fmt.Sprintf("Specifies the starting point of the date range (UTC). If not specified the first day of the current month is used. Accepted layout: %s", now.Format(dateLayoutISO8601)))
fmt.Sprintf("Specifys the ending point of the date range. If not specified the last day of the current month is used. Accepted layout: %s", now.Format(dateLayoutISO8601)))
80
+
fmt.Sprintf("Specifies the ending point of the date range (UTC). If not specified the last day of the current month is used. Accepted layout: %s", now.Format(dateLayoutISO8601)))
Short: "Get audit log overview of all users at a timestamp.",
32
-
Long: fmt.Sprintf(`Get audit log overview of all users at a timestamp, tenants/clusters they belong to, and their roles within the system or tenant/cluster. Accepted layout: %s`, now.Format(time.RFC3339)),
33
-
Args: cobra.ExactArgs(1),
31
+
Use: "users-overview [TIMESTAMP]",
32
+
Short: "Get audit log overview of all users at a given point in time.",
33
+
Long: fmt.Sprintf(`Get audit log overview of all users at a given point in time, tenants/clusters they belong to, and their roles within the system or tenant/cluster. Accepted layout: %s`, now.Format(time.RFC3339)),
0 commit comments