What's next for audit and reports
The audit features on the way, from the gateway's decisions on the trail and a realm-wide search to reports, SIEM streaming, a retention period you choose and a tamper-evident trail, and what to use until each arrives.
PlannedAPI
These audit features are planned. None of them is available yet; each says what it will do, how you will use it, and what to use today.
| Feature | What it gives you |
|---|---|
| Gateway decisions on the trail | The gateway’s own allows and denies under the user or agent they concern |
| Realm-wide trail search | Every record of the realm, searched by user, agent, event and time |
| Realm-wide reports | Sign-in activity and configuration changes across the realm, in the dashboard |
| An agent and everything under it | One read of an agent’s trail with every agent it started |
| Send the trail to your SIEM | Each record delivered to your SIEM or event bus as it is written |
| Keep the trail in your own storage | A copy of the trail in a store you own |
| Set how long the trail is kept | A retention period for your realm’s trail |
| A tamper-evident trail | Records signed and chained, so a change after the fact shows |
Gateway decisions on the trail
Section titled “Gateway decisions on the trail”The gateway in front of your APIs makes decisions of its own, and they will reach the realm’s trail under the agent or
user they concern, so what did this agent do? has one complete answer across every API. Each will be a
POLICY_DECIDED record like the realm’s own, read on the same trail, kept as auditDecisions chooses.
What to use today: the gateway logs its own decisions where it runs; they are not on the realm’s trail. A request the gateway can’t decide on its own, because a condition is left pending, is asked of the realm, and the realm records that decision on the trail like its own. See Gateway.
Realm-wide trail search
Section titled “Realm-wide trail search”A search across every record of the realm, without naming one principal first: every failed sign-in in the last hour,
every token issued to one client, every record of one request. You will filter by event, by who the record is about,
by who acted, by result, by time and by the ids that tie records together (trace, transaction), and page through the
answer newest first, with the same privilege as reading a trail today (READ on the realm).
What to use today: read the trail one user or agent at a time, and an object’s changes from its Change history. To follow one sign-in or one token across records, use the ids in Follow one piece of work.
Realm-wide reports
Section titled “Realm-wide reports”Reports over the whole realm, searched, filtered and sorted in the dashboard, rather than one principal at a time.
Each report will describe its own columns and filters, so the dashboard and your own tools read the same report the
same way. Reading a report will need READ on the realm, as reading a trail does.
Sign-in activity report
Section titled “Sign-in activity report”Every sign-in and sign-out in the realm, one row each, with:
- the user, and the time;
- the address the sign-in came from, and the browser and operating system;
- the result, and for a failure, the reason;
- each step of the sign-in, and how it went;
- how the session ended: signed out, idle, or at its maximum lifetime, and when.
You will use it to answer who signed in from where?, which sign-ins failed, and why? and how did this session end? for the whole realm at once.
Configuration change report
Section titled “Configuration change report”Every change to the realm’s configuration and identity objects, one row each, with who made it (and on whose behalf, when an administrator acted for someone), what was changed, the fields that changed, and the values before and after. You will use it to answer what changed in my realm this week, and who did it?
Search, filter and sort
Section titled “Search, filter and sort”Both reports will take free text across their main columns, filters by time, result and event, and a choice of sort, and answer a page at a time.
What to use today: for sign-in activity, read each user’s trail
(Read a user’s or agent’s trail): LOGIN records carry the address in
their entries, and LOGOUT records say who ended a session. For configuration changes, read each object’s
Change history, for example
authorizationSettings/authorizationSettings or group/finance.
An agent and everything under it
Section titled “An agent and everything under it”One read of an agent’s trail that also returns every agent it started, and the agents those started, with their tokens, exchanges and decisions, so what did this agent and everything it set in motion do? has one answer. You will name the parent agent as you do today, and ask for its descendants too.
What to use today: read each agent’s trail with ?agent=<id>. A TOKEN_EXCHANGED record names the chain of
agents behind an exchange in principals, and its trackingIds.parentTokenId names the token it started from, so you
can walk from one agent to the next. See Follow what an agent did.
Send the trail to your SIEM
Section titled “Send the trail to your SIEM”Each record delivered to your SIEM or event bus as it is written, as security events or as a stream, so your security team watches the realm in the tools it already uses. You will name a destination for the realm, choose which records go, and see whether delivery is keeping up.
What to use today: read each user’s or agent’s trail on a schedule with
Read a user’s or agent’s trail, page by page, newest first, and forward
the records whose eventTime is past the last one you sent. Detection & Response’s security log is a separate feed:
see Security log.
Keep the trail in your own storage
Section titled “Keep the trail in your own storage”The trail exported to a store of your own, so you hold a copy under your own control and keep it for as long as your policies require. You will name the store, and the realm will write each record to it.
What to use today: the realm keeps every record for its whole life (Retention and sites). To hold your own copy, read the trails you need and store the answers.
Set how long the trail is kept
Section titled “Set how long the trail is kept”A retention period for your realm’s trail, so records older than you need are removed on a schedule you choose. Until you set one, the trail will be kept for the life of the realm, as it is today.
What to use today: every record is kept for the life of the realm, and nothing shortens it. See Retention and sites.
A tamper-evident trail
Section titled “A tamper-evident trail”Records signed and chained, so any change to them after the fact shows, and exported to a store of your own. You will check a run of records against its signatures to show an auditor the trail is whole.
What to use today: no call edits or deletes a record, and the trail is kept for the life of the realm (Retention and sites), but its records are not signed.