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 |
---|---|---|---|---|---|
apiversion | option | override the api version used for api requests made by this command | |||
debug -d |
boolean | Activate debug mode (more logs) | |||
elementsignored -e |
option | Ignore specific elements separated by commas | |||
folder -f |
option | Root folder | force-app | ||
ignorerights -i |
option | Ignore permission sets or profiles | |||
json | boolean | format output as json | |||
loglevel | option | logging level for this command invocation | warn | trace debug info warn error fatal |
|
outputfile -o |
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 | |||
targetusername -u |
option | username or alias for the target org; overrides default target org | |||
websocket | option | Websocket host:port for VsCode SFDX Hardis UI integration |
Examples
$ sfdx hardis:lint:access
$ sfdx hardis:lint:access -e "ApexClass:ClassA, CustomField:Account.CustomField"
$ sfdx hardis:lint:access -i "PermissionSet:permissionSetA, Profile"