grantiva console analytics is the analytics dashboard as five commands: an overview, the event log, a risk report, a compliance report, and a CSV export.
All five need a key with analytics:read; export also needs analytics:export.
Windows and event types the server would otherwise ignore are rejected up front, so a typo fails immediately instead of silently returning the default window.
grantiva console analytics overview
Attestation totals, success rate, unique devices, average risk, and the latest events.
The server computes the statistics over the most recent events in the window rather than over every event in it, so treat the rates as a sample of the window, not an exhaustive count.
grantiva console analytics events
Page through the attestation event log.
Event types:
challenge_generated, attestation_validated, attestation_failed, suspicious_activity, token_issued.
grantiva console analytics risk
Risk distribution, critical-risk devices, and recent suspicious activity.
grantiva console analytics compliance
Compliance rate, violation counts, and the devices that are out of compliance.
grantiva console analytics export
Export devices or events as CSV, to stdout or a file.
The export is always CSV, up to 10,000 rows. Without
--out the CSV goes to stdout, so redirection works:
--json reports what was written rather than emitting the CSV, and therefore requires --out:
analytics:export.
Next steps
- Console overview — auth, scopes, and shared conventions
- Risk scoring — what the risk bands mean
- Analytics API — the same data over HTTP