Skip to main content

vulkro-sf org integration-users

Checks the live org's integration and service accounts for excess privilege, human use and staleness.

vulkro-sf org integration-users --target-org <alias>
vulkro-sf org integration-users -o <alias> --format json
FindingSeverityMeaning
SF-INTEG-USER-001HighAn integration user has API access plus admin-level permissions.
SF-INTEG-USER-002MediumAn integration account had a recent interactive login: a person is using it.
SF-INTEG-USER-003LowAn integration account has not logged in for over 180 days.
SF-SVC-USER-001HighA service account is exempt from MFA and not locked to login IPs.
SF-SVC-USER-002MediumA service account has no expiry and a session window over 60 minutes.
SF-SVC-USER-003HighA service account holds Modify All Data, View All Data or Author Apex.

Integration users are found by known integration profile names. Service accounts are found among all active users by username, alias and profile patterns, so review the match before acting.

See also: org effective-perms, org mfa.

Command reference​

Generated from vulkro-sf org integration-users --help (vulkro-sf 0.33.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.

Audit active integration-user accounts for excess privilege, human reuse of the integration login, and staleness (SF-INTEG-USER-001 / -002 / -003), plus the service-account lifecycle audit (SF-SVC-USER-001 / -002 / -003).

vulkro-sf org integration-users [OPTIONS] --target-org <TARGET_ORG>

Options​

FlagDescription
-t, --target-org <TARGET_ORG>Target org alias or username, as known to sf org login
-f, --format <FORMAT>Output format: table or json. Default: table.
-v, --verbose...Bump stderr log verbosity. -v enables debug-level tracing for the vulkro + vulkro_sf targets; -vv enables trace. Honoured only when RUST_LOG is unset (an explicit RUST_LOG always wins)
-q, --quietPrint only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged.
--no-colorTurn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb.
-h, --helpPrint help (see a summary with '-h')
Full vulkro-sf org integration-users --help
Audit active integration-user accounts for excess privilege, human reuse of the integration login, and staleness (SF-INTEG-USER-001 / -002 / -003), plus the service-account lifecycle audit (SF-SVC-USER-001 / -002 / -003).

Queries `User` filtered to known integration-user profile names and `IsActive = true`. The audit flags integration users who hold API permission alongside extra perms (admin profile), recent interactive logins on integration accounts, and accounts that have not logged in for over 180 days.

It then runs the service-account lifecycle audit over all active users: a heuristically classified bot / service account (username / alias markers or an integration / API-only profile) is flagged when it is MFA-exempt with no login-IP lock (SF-SVC-USER-001), not time-bound (no expiry and a session window above 60 minutes: SF-SVC-USER-002), or holds a broad system permission (Modify All Data / View All Data / Author Apex: SF-SVC-USER-003).

Exit codes: 0 = no findings; 1 = posture findings reported; 2 = error.

Usage: vulkro-sf org integration-users [OPTIONS] --target-org <TARGET_ORG>

Options:
-t, --target-org <TARGET_ORG>
Target org alias or username, as known to `sf org login`

-f, --format <FORMAT>
Output format: table or json

[default: table]

-v, --verbose...
Bump stderr log verbosity. `-v` enables debug-level tracing for the `vulkro` + `vulkro_sf` targets; `-vv` enables trace. Honoured only when `RUST_LOG` is unset (an explicit `RUST_LOG` always wins)

-q, --quiet
Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged

--no-color
Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb

-h, --help
Print help (see a summary with '-h')