Skip to content

Add a script to report Safeguard license usage#647

Open
DanPeterson wants to merge 4 commits into
OneIdentity:mainfrom
DanPeterson:license-accounting-sample
Open

Add a script to report Safeguard license usage#647
DanPeterson wants to merge 4 commits into
OneIdentity:mainfrom
DanPeterson:license-accounting-sample

Conversation

@DanPeterson

Copy link
Copy Markdown
Contributor

Adds samples/license-accounting/ — a read-only script, Get-SppLicenseAccounting.ps1,
that reads a running SPP cluster and reports how many identities fall into each
licensed category (Privileged, LimitedPrivileged, NHI, and the Workforce add-on),
so an admin can compare real usage against what they're licensed for. It's built on
safeguard-ps, only reads from the appliance, and writes a few CSVs you can open in
a spreadsheet.

Privileged sessions are counted per access request rather than per connection event,
de-duplicated per user per month. The README walks through what gets counted and how
to run it (password prompt, non-interactive PKCE, or a browser login for MFA), and
sample-output/ shows a real run across every category with the identifying details
swapped for generic examples.

petrsnd and others added 4 commits July 25, 2026 18:48
Read-only, non-interactive script that reports how many identities fall
into each licensed Safeguard category (Privileged, LimitedPrivileged,
NHI, and the Workforce add-on), with a README and sanitized sample output.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…equence

The inline section headers skipped letters (5 -> 5b -> 5c, no 5a) and mixed lone sub-steps (1a, 6a) with full stages. Flatten to plain sequential integers 1-13, fold the orphan partition-ownership note into the ownership step, and update all cross-references. Comments only; no behavior change.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Name the underlying capability (Personal Password Vault / Enterprise Password Vault, now the Workforce Password Vault) instead of the vaguer 'personal accounts (web-privilege / self-service)', and keep the note that the add-on is applied independently so an otherwise-Uncounted user still consumes it.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Show connecting with Connect-Safeguard -Browser and then running the script with -UseExistingConnection, for callers who need MFA at sign-in or want to keep credentials out of their scripts.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@DanPeterson
DanPeterson requested a review from a team as a code owner July 26, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants