tmh, the TeachMeHIPAA CLI

tmh audit-events list

List all audit events

Synopsis

Returns a list of the organization’s audit events, newest first. Filter by type, transition, subjectId, or a since and until range.

–all follows every page, keeping the other flags, and prints all the items as one JSON array, so | jq works; add –ndjson to print one compact item per line as each page arrives.

Scopes: audit:read

tmh audit-events list [flags]

Options

      --all                 follow every page and print all the items as one JSON array; --limit sets the page size
      --cursor nextCursor   The nextCursor from the previous page.
  -h, --help                help for list
      --limit int           How many objects to return, between 1 and 100. Defaults to 20.
      --ndjson              with --all, print one compact JSON item per line as each page arrives
      --since at            Inclusive lower bound on at (ISO-8601 instant).
      --subject-id string   Filter to one member (canonical subject id).
      --transition string   Filter to one lifecycle transition; one of: bounce, start, beginAssessment, submitAssessment, certify, revokeCert, archive, unarchive, reinvite, cancelInvite
      --type string         Filter to one audit-event family; one of: enrollment.transition, organization.updated, organization.closed, organization.reopened, member.role_changed, member.transferred, member.removed, certificate.issued, certificate.revoked, seat.granted, api_client.created, api_client.secret_rotated, api_client.revoked, learner.updated, learner.launch_link_created, api_client.updated
      --until at            Inclusive upper bound on at (ISO-8601 instant).

Options inherited from parent commands

      --idempotency-key string   Idempotency-Key for the write, instead of a generated one
      --live                     use the "live" profile
      --max-retries int          times to retry a transient failure of a request that is safe to replay (default 2)
      --profile string           profile to use: "sandbox" (default) or "live"
      --show-headers             print each HTTP response's status and headers to stderr
      --verbose                  print method, path, status, latency and request id of each HTTP attempt to stderr

SEE ALSO