Skip to main content

vulkro-sf org login-history

Checks the live org's recent logins for anomalies and its privileged profiles for weak login policy.

vulkro-sf org login-history --target-org <alias>
vulkro-sf org login-history -o <alias> --format json
FindingSeverityMeaning
SF-LOGIN-HISTORY-001HighAn admin logged in from an IP outside the trusted profile ranges.
SF-LOGIN-HISTORY-002MediumAt least 5 failed logins for one user.
SF-LOGIN-HISTORY-003MediumAn admin logged in over the legacy SOAP or application path.
SF-LOGIN-POLICY-001MediumA privileged profile has no IP allowlist.
SF-LOGIN-POLICY-002HighA privileged profile does not require phishing-resistant MFA.
SF-LOGIN-POLICY-003MediumA profile's session timeout is too long.

It reads the latest 1000 login rows, so a busy org can push older logins out of the window. SF-LOGIN-HISTORY-001 needs at least one trusted IP range to compare against; without one, SF-LOGIN-POLICY-001 reports the missing allowlist instead.

See also: org session, org mfa.

Command reference​

Generated from vulkro-sf org login-history --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.

LoginHistory anomalies (SF-LOGIN-HISTORY-001/-002/-003) plus the per-profile login-policy audit (SF-LOGIN-POLICY-001/-002/-003: missing IP allowlist, phishing-resistant / high-assurance MFA gap, over-long per-profile session timeout)

vulkro-sf org login-history [OPTIONS] --target-org <TARGET_ORG>

Options​

FlagDescription
-t, --target-org <TARGET_ORG>
-f, --format <FORMAT>[default: table]. 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.
Full vulkro-sf org login-history --help
LoginHistory anomalies (SF-LOGIN-HISTORY-001/-002/-003) plus the per-profile login-policy audit (SF-LOGIN-POLICY-001/-002/-003: missing IP allowlist, phishing-resistant / high-assurance MFA gap, over-long per-profile session timeout)

Usage: vulkro-sf org login-history [OPTIONS] --target-org <TARGET_ORG>

Options:
-t, --target-org <TARGET_ORG>
-f, --format <FORMAT> [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