Skip to main content

vulkro-sf org mfa

Checks which integration profiles and admins in the live org are exempt from MFA.

vulkro-sf org mfa --target-org <alias>
vulkro-sf org mfa -o <alias> --format json
FindingSeverityMeaning
SF-MFA-001HighA standard integration profile is exempt from MFA.
SF-MFA-002HighA System Administrator is exempt from MFA and has no SSO federation ID.
SF-MFA-003MediumAn active login flow is bound to the System Administrator profile. Often on purpose; listed for review.

It reads the exemption settings. It cannot see whether a user registered an authenticator, or what an external identity provider enforces.

See also: org login-history, org integration-users.

Command reference​

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

Live MFA enforcement audit (SF-MFA-003 runs; SF-MFA-001 / -002 cannot).

vulkro-sf org mfa [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 mfa --help
Live MFA enforcement audit (SF-MFA-003 runs; SF-MFA-001 / -002 cannot).

Pulls the active-user roster (with `FederationIdentifier`) plus the active LoginFlow set, and reports:

SF-MFA-003 Medium org-mfa-loginflow-active-on-standard-profile Active LoginFlow bound to the System Administrator profile. Often intentional; surfaced for review.

Not checked on a live org: SF-MFA-001 (integration user exempt from MFA) and SF-MFA-002 (System Administrator exempt from MFA, with no SAML `FederationIdentifier`) read `Profile.PermissionsExemptFromMfa`, which API 67.0 no longer exposes. Every run therefore adds the SF-MFA-004 notice saying those exemptions were NOT checked (unknown, not clean), and SF-MFA-005 when LoginFlow cannot be read on the org, so SF-MFA-003 did not run either.

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

Usage: vulkro-sf org mfa [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')