Accounting
Cheat sheet · https://pcornel.dk/topic.php?topic=4461
Answer
Accounting correlates authoritative identity, request/approval, provisioning transaction, authenticator and session, authorization decision, resource outcome, administrative actor, timestamp and retention path.
Remember
- Log entry ≠ complete identity history.
- Provisioning success record ≠ target state verified.
- Authentication event ≠ proof of human intent.
- No matching event ≠ action did not occur unless source, retention and query coverage are proven.
First checks
Get-WinEvent -FilterHashtable @{LogName='Security';Id=4720,4728,4732}— account/group changes- IdP audit log — admin actions
ausearch -m USER_ACCT— Linux account events
Verify in this order
identity change/access → audit log → SIEM
Where it usually breaks
First mismatch in identity lifecycle → authenticator/credential → IdP/federation/session → authorization policy → target resource → audit trail; preserve identity/policy/pre-state before mutation.
Identity & Access Management → Accounting proof map
| Boundary | Establish | Does not establish |
|---|---|---|
| Identity and scope | Stable subject/account/resource mapping, owner, lifecycle state and expected action | Does not prove credential control or effective access |
| Policy and ceremony | Effective entitlement or authenticator/verifier policy plus all fallback paths | Configuration presence does not prove enforcement or assurance |
| Outcome | Allowed, denied, failure, expiry/revoke and target read-back tests correlated with telemetry | One success does not prove every interface, session or downstream target |
| Closure | Original end-to-end action retested; residual access/risk, owner and review trigger recorded | Administrative workflow completion alone is not closure |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4461