Salesforce - Create User
  • 24 Jul 2024
  • 4 Minutes to read
  • Dark
    Light
  • PDF

Salesforce - Create User

  • Dark
    Light
  • PDF

Article summary

Salesforce - Create User creates a user in Salesforce for each asset that matches the parameters of the selected saved query, and the other Enforcement Action settings or the assets selected on the relevant asset page.

See Creating Enforcement Sets to learn more about adding Enforcement Actions to Enforcement Sets.

General Settings

  • Enforcement Set name (required) - The name of the Enforcement Set. A default value is added by Axonius. You can change the name according to your needs.
  • Add description - Add a description of the Enforcement Set. It is recommended to describe what the Enforcement Set does.
  • Run action on assets matching following query (required) - Select an asset category and a query. The Enforcement Action will be run on the assets that match the query parameters.
  • Action name (required) - The name of the Main action. A default value is added by Axonius. You can change the name according to your needs.
  • Configure Dynamic Values - Toggle on to enter a Dynamic Value statement. See Creating Enforcement Action Dynamic Value Statements to learn more about Dynamic Value statement syntax.

  • Use stored credentials from the Salesforce Adapter - Select this option to use the first connected adapter credentials.
    • Select Adapter Connection - Select which adapter connection to use for this Enforcement Action.
    Note:
    To use this option, you must successfully configure a Salesforce adapter.

Required Fields

These fields must be configured to run the Enforcement Set.

  • Profile ID - The ID for the in Salesforce. To retrieve this ID, in Salesforce GUI, navigate to Setup > Users > Profiles, and click a profile to populate the ID as a parameter in the URL in the address bar.
  • Compute Node - The Axonius node to use when connecting to the specified host. For more details, see Connecting Additional Axonius Nodes.

Additional Fields

These fields are optional.

  • Draft - Select this option to create a draft user.
  • User enabled - Select this option if you want the created user to be an active user.
  • Time Zone Sid Key - Time zone sid key address for the created user.
  • Locale Sid Key - Locale Sid key address for the created user.
  • Email Encoding Key - Email encoding key address for the created user.
  • First Name - First name of the created user.
  • Last Name - Last name of the created user.
  • Email - Email address for the created user.
  • Username - Username for the created user.

Connection Parameters

If Use stored credentials from the Salesforce Adapter is disabled, these fields are required.

  • Domain (required) - The full URL of the Salesforce server.
  • User Name and Password (required) - The credentials for a user account that has the Required Permissions to fetch assets.
  • User Secret (required) - The Salesforce security token associated with a user account to fetch assets.
  • Consumer Key (required) - A consumer key associated with a user account that has the Required Permissions to fetch assets.
  • Consumer Secret (required) - A consumer secret associated with a consumer key.
  • Verify SSL (optional) - Select whether to verify the SSL certificate of the server against the CA database inside of Axonius. For more details, see SSL Trust & CA Settings.
  • 2FA Secret Key - The secret generated in Salesforce for setting up 2-factor authentication for the Salesforce user created for collecting SaaS Management data. For more information on how to generate this secret key, see Set Up Two Factor Authentication.
  • SSO Username and Password - If your organization accesses Salesforce with an SSO provider (such as Google, Microsoft 365, Okta, etc.) enter your credentials for the SSO platform in the SSO Username and SSO Password fields.
  • Use Unified Login Domain - Select this option to use the http://login.salesforce.com URL for logging in instead of sub-domain.salesforce.com (if the main domain is a sandbox, the URL will be test.salesforce.com). This allows you to directly login with Salesforce credentials instead of using an external SSO.
  • HTTPS Proxy (optional) - Connect the adapter to a proxy instead of directly connecting it to the domain.
  • HTTPS Proxy User Name (optional) - The user name to use when connecting to the server using the  HTTPS Proxy.
  • HTTPS Proxy Password (optional) - The password to use when connecting to the server using the  HTTPS Proxy.
  • Gateway Name - Select the Gateway through which to connect to perform the action.

APIs

Axonius uses the Salesforce - Create a Record API.

Required Permissions

The value supplied in User Name and Consumer Key must have permissions to create users in Salesforce users.


For more details about other Enforcement Actions available, see Action Library.


Was this article helpful?