hardis:lint:access
Description
Check if elements(apex class and field) are at least in one permission set
This command is part of sfdx-hardis Monitoring and can output Grafana, Slack and MsTeams Notifications.
Parameters
Name | Type | Description | Default | Required | Options |
---|---|---|---|---|---|
debug -d |
boolean | Activate debug mode (more logs) | |||
elementsignored -e |
option | Ignore specific elements separated by commas | |||
flags-dir | option | undefined | |||
folder -f |
option | Root folder | force-app | ||
ignorerights -i |
option | Ignore permission sets or profiles | |||
json | boolean | Format output as json. | |||
outputfile -x |
option | Force the path and name of output report file. Must end with .csv | |||
skipauth | boolean | Skip authentication check when a default username is required | |||
target-org -o |
option | undefined | |||
websocket | option | Websocket host:port for VsCode SFDX Hardis UI integration |
Examples
$ sf hardis:lint:access
$ sf hardis:lint:access -e "ApexClass:ClassA, CustomField:Account.CustomField"
$ sf hardis:lint:access -i "PermissionSet:permissionSetA, Profile"