SalesForce Syntax

The syntax for this plugin and an audit are as follows:

<custom_item>

description: "List SecuritySettings details"

settings_name: "SecuritySettings"

</custom_item>

The following values for settings_name are allowed:

  • AccountSettings
  • ActivitiesSettings
  • AddressSettings
  • CaseSettings
  • ChatterAnswersSettings
  • CompanySettings
  • ContractSettings
  • EntitlementSettings
  • ForecastingSettings
  • IdeasSettings
  • KnowledgeSettings
  • MobileSettings
  • SecuritySettings

The plugin supports evaluation of output by:

  • xsl_stmt
  • regex/expect/not_expect
  • known_good

Example Queries

Simple example query:

<custom_item>

description: "List user names"

query: "SELECT Name FROM User"

</custom_item>

Look up example query that returns the Name of the user who created each user, instead of listing a GUID:

<custom_item>

description: "List user names and who added them"

query: "SELECT Name, CreatedBy.Name FROM User"

</custom_item>

Join example query that returns information from the PermissionSet assigned to the user, crossing two tables/object types:

<custom_item>

description: "List user names and whether the permission set assigned to them prevents password expiration"

query: "SELECT Name, (SELECT PermissionSet.PermissionsPasswordNeverExpires FROM PermissionSetAssignments) FROM User"

</custom_item>