Absolute - Run Script
  • 16 Mar 2023
  • 3 Minutes to read
  • Dark
    Light
  • PDF

Absolute - Run Script

  • Dark
    Light
  • PDF

Article summary

Absolute - Run Script runs an Absolute script on each device that is the result of the saved query supplied as a trigger (or users selected in the asset table).

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 - Click to 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.

Connection Settings

  1. Use stored credentials from the Absolute adapter (required, default: False) - Select this option to use the first connected Absolute adapter credentials.
    NOTE
    • To use this option, you must successfully configure a Absolute adapter connection.
    • The user name and the password used for the adapter connection must have the required permissions to run scripts.
  2. Title (optional) - The user-defined title of the run-script request.
  3. Script UID (required) - The system-defined unique identifier for the script.
  4. Max run time (optional) - The maximum length of time a script is allowed to run on a device.
  5. Max run time unit (optional) - The unit of time used for Max run time.
  6. Display mode (optional) - The visibility of the Windows PowerShell dialog when the script runs on a device.
  7. Run privilideges (optional) - The permissions used to run the script.
  8. Run when (optional, default: UserIsOrIsNotSigedIn) - The run condition that determines when the script is allowed to run, according to the sign-in status of the user. Valid conditions include:
    • UserIsOrIsNotSigedIn (default) - The script runs regardless of whether a user is logged in or not.
    • UserIsSignedIn - The script runs only when a user is logged in.
    • NoUserIsSignedIn - The script runs only when no user is logged in.
  9. Command line (optional) - The PowerShell command line parameters used to execute the script.
  10. Startup dir (optional) - The directory location used by the agent to download and run scripts on the device.
  11. Absolute Domain (optional) - Your Absolute domain. The Absolute API access is limited to two regions:
    • Canadian Data Center (CADC) - https://api.absolute.com
    • US Data Center (USDC) - https://api.us.absolute.com
  12. Always run 32 bits - Run 32-bit version: Version of PowerShell used on 64-bit Windows devices.
  13. Mac script option (optional) - The configurations used to execute the Bash script on Mac devices.
  14. Windows script option (optional) - The configurations used to execute the PowerShell script on Windows devices.
  15. Data center (optional) - Specify the regional data center (must be in lowercase):
    • uscd - For the US Data Center.
    • cadc - For the Canadian Data Center.
  16. Token ID and Client Secret (required) - The Absolute API requires an authentication token which consists of two parts: token ID and secret key. These are generated from the Absolute console, using a custom user role, defined by your organization, or the Guest user role.
    For more details about creating a Token ID and a Secret Key, see Working with Absolute APIs.
    Note
    The System Administrator of your Absolute console can assign the role.
  17. Verify SSL (required) - Verify the SSL certificate offered by the value supplied in Absolute Domain that is defined in the Active Directory adapter. For more details, see SSL Trust & CA Settings.
    • If enabled, the SSL certificate offered by the value supplied in Absolute Domain is verified against the CA database inside of Axonius. If the SSL certificate can not be validated against the CA database inside of Axonius, the connection will fail with an error.
    • If disabled, the SSL certificate offered by the value supplied in Absolute Domain is not verified against the CA database inside of Axonius.

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


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.