Slack - Clear User's session settings

Slack - Clear User's session settings clears Slack sessions for:

  • Users returned by the selected query or users selected on the Users page.

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

📘

Note:

Required Fields

These fields must be configured to run the Enforcement Action.

  • Action name - The name of this Enforcement Action. The system sets a default name. You can change the name.
  • 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 Slack Adapter - Select this option to use credentials from the adapter connection. By default, the first connection is selected.
    • When you select this option, the Select Adapter Connection drop-down becomes available. Select the adapter connection to use for this Enforcement Action.

📘

Note

To use this option, you must successfully configure a Slack adapter connection.

Additional Fields

These fields are optional.

💡

sd

Connection and Credentials

When Use stored credentials from the adapter is toggled off, some of the connection fields below are required to create the connection, while other fields are optional.

  • Host Name or IP Address - The full URL of the Slack server.
  • Authentication Token - An Authentication Token associated with a user account that has the Required Permissions to fetch assets. For instructions on generating the Authentication Token, see admin.users.list.
  • Account Sub Domain - The Slack account's sub domain (.slack.com).
  • Username and Password - The credentials for a user account that has the Required Permissions to perform this Enforcement Action.
  • MFA Secret - The MFA Secret Key configured for the Slack adapter.
  • Enterprise Grid Organization - Select if you are using the Slack Enterprise Grid Organization solution. This allows Axonius to fetch data from all workspaces associated with the authentication token.
  • 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.

  • HTTPS Proxy (optional) - Connect the adapter to a proxy instead of directly connecting it to the domain.

  • Gateway Name - Select the Gateway through which to connect to perform the action.


APIs

Axonius uses the Slack Developers - admin.users.session.clearSettings method API.

Required Permissions

The stored credentials, or those provided in Connection and Credentials, must have the following permissions:

  • admin.users:write

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