alpacon approval ls

Displays a list of approval requests. Defaults to pending status. The list shows the requests you can decide, plus the ones you settled or voted on. Use --my to list only the requests you submitted.

Listing a status other than pending without --my requires a paid plan. On the Free plan, the server returns a plan-upgrade message instead of the list.

bash
alpacon approval ls [flags]

Aliases

bash
ls, list

Options

bash
  -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:

bash
alpacon approval ls

Filter by status or request type:

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

List your own requests:

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