Pcornel
Identity

Identity & Access Management

Cheat sheet · https://pcornel.dk/topic.php?topic=405

Back to the Topic

Answer

Identity and access management answers four questions in order: who are you (identification), can you prove it (authentication), what may you do (authorization), and what did you do (accounting).

Remember

"Wrong password" and "access denied" are different steps with different owners. Keep identities in one directory, give permissions to roles and not individuals, require multi-factor authentication, and disable accounts when people leave. Service accounts need owners too.

First checks

  • Get-ADUser -Filter * -Properties Enabled,LastLogonDate | ? {$_.Enabled -and $_.LastLogonDate -lt (Get-Date).AddDays(-90)} — stale AD accounts
  • IdP sign-in logs — authentication activity
  • Privileged role assignments — admin access

Commands

show aaa servers
Local state

Verify in this order

identity created → authenticated → authorised → reviewed → removed

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 proof map

BoundaryEstablishDoes not establish
Identity and scopeStable subject/account/resource mapping, owner, lifecycle state and expected actionDoes not prove credential control or effective access
Policy and ceremonyEffective entitlement or authenticator/verifier policy plus all fallback pathsConfiguration presence does not prove enforcement or assurance
OutcomeAllowed, denied, failure, expiry/revoke and target read-back tests correlated with telemetryOne success does not prove every interface, session or downstream target
ClosureOriginal end-to-end action retested; residual access/risk, owner and review trigger recordedAdministrative 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=405

Confirmation

Confirm action

Continue?