alpacon approval ls

Displays a list of approval requests. Defaults to pending status. Superusers see all requests in the workspace; other users see only the requests they submitted (equivalent to --my).

alpacon approval ls [flags]

Aliases

ls, list

Options

  -h, --help            help for ls
      --my              Show only requests you submitted
      --status string   Filter by status: pending|approved|rejected|cancelled|expired (default "pending")
      --type string     Filter by request type: sudo|work_session|username|groupname|service_token|svc_token_mod|app_username|work_session_mod|sudo_policy

Examples

List pending approval requests:

alpacon approval ls

Filter by status or request type:

alpacon approval ls --status approved
alpacon approval ls --type sudo
alpacon approval ls --type work_session --status pending

List your own requests:

alpacon approval ls --my
alpacon approval ls --my --status approved
Last updated: