Skip to main content

vulkro-sf org perms

Checks the live org's profiles and permission sets for over-privilege, dormant admins and weak security settings.

vulkro-sf org perms --target-org <alias>
vulkro-sf org perms -o <alias> --format json
FindingSeverityMeaning
SF-PERM-001High or MediumA custom profile or permission set grants Modify All Data or View All Data (High) or Author Apex (Medium).
SF-PERM-002HighAn admin account has not logged in for over 90 days.
SF-SESSION-001Medium or LowThe idle session timeout is too long.
SF-SESSION-002InfoSessions are not locked to their login IP.
SF-CLICKJACK-001HighClickjack protection is off.
SF-CSRF-001HighCSRF protection is off.
SF-PWD-001MediumThe minimum password length is too short.
SF-PWD-002LowPassword complexity is not enforced.
SF-PWD-003LowPasswords never expire.

Standard profiles and managed permission sets are skipped. A security setting that cannot be read is skipped, never guessed.

--explain adds a plain-language AI explanation of each finding on stderr. It never changes a finding or the exit code, and needs vulkro-sf ai setup (--ai-model and --ai-url override the model; --no-ai turns it off).

See also: org effective-perms, org psg-composition.

Command reference​

Generated from vulkro-sf org perms --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 permission sets and profiles for over-privilege (SF-PERM-001).

vulkro-sf org perms [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.
--explainAdd an advisory AI narrative (to stderr) explaining why each posture finding is risky. Advisory / narrative-only; never mutates a finding.
--ai-model <MODEL>AI model tag override for --explain (highest precedence)
--ai-url <URL>AI runtime base url override for --explain (OpenAI-compatible). A loopback url is allowed under VULKRO_OFFLINE; a cloud url is refused.
--no-aiDisable the AI layer for this run even if --explain is passed.
-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 perms --help
Audit permission sets and profiles for over-privilege (SF-PERM-001).

Pass `--explain` to add an advisory, plain-language AI narrative for each posture finding (why the permission / sharing setting is risky). The narrative is OPT-IN, ADVISORY, and NARRATIVE-ONLY: it never changes a posture finding, its severity, or the exit code, never proposes a config mutation, and never makes an extra call to the live org. It is printed to stderr so the `--format json` / table stdout stays byte-identical. Requires `vulkro-sf ai setup`; a loopback model runs even under VULKRO_OFFLINE while a cloud endpoint is refused offline.

Usage: vulkro-sf org perms [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]

--explain
Add an advisory AI narrative (to stderr) explaining why each posture finding is risky. Advisory / narrative-only; never mutates a finding

--ai-model <MODEL>
AI model tag override for `--explain` (highest precedence)

--ai-url <URL>
AI runtime base url override for `--explain` (OpenAI-compatible). A loopback url is allowed under VULKRO_OFFLINE; a cloud url is refused

--no-ai
Disable the AI layer for this run even if `--explain` is passed

-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')