Shared Scripts

Link to Shared Scripts copied to clipboard
Not for use with personal data

Shared Scripts allow axe Monitor admins to upload spec files, and apply them across multiple scans for starting a session (authentication), and following precise user flows.

Shared scripts page in Admin area, with table for script name, script type, scans, and edit and delete icons.

Upload a Shared Script

  1. On the Admin page, under Admin Options, select “Shared SCripts.”
  2. Select the “+ New Shared Script” button.
  3. A new form appears. Download axe DevTools CLI.
  4. Use the instructions to create a .JSON or .yml file containing your script.
  5. Save your script with a descriptive filename, so that others can easily apply your script to scans. For example, “marketing-sites-login.json” is more descriptive than “loginscript.json”.
  6. Click “Select Script File” to upload your file.
  7. Click "Next" to proceed, or "Cancel" to exit.

Environment Variables

Optionally store sensitive information like usernames and passwords securely within your scripts. When running a script, environment variables (expressed as "<< env.VARIABLE_NAME >>") are replaced with the provided values.

  1. Select the “Add Environment Variable” button to enter the name and value.
  2. Click either the “Next” button to continue, “Previous” to return to General settings, or “Cancel” to return to Shared Scripts.

Review and Submit

  1. Review all content in your spec file.
  2. To modify your script, select the “Back” button
  3. When your spec file is ready to be uploaded, click “Submit” to create the Shared Script.

Bulk Apply Shared Scripts

  1. On the Scan List, use the “Select all” checkbox, or at least one scan’s checkbox to generate bulk actions.
  2. Scan admins can select “Apply Shared Session Script” or “Apply Shared User Flow Script” to modify the settings for several scans at once.
  3. In the dropdown that appears, select your desired script and click the ‘+’ icon.
  4. Click “Apply.”
  5. Review the scans in the modal that appears. Click “Apply” to add the script to the scans, or “Cancel” to return to the Scan List.

Bulk action button with Apply Shared Seccion Script selected, and a dropdown to select the script.

To apply a shared script to one or more scan groups:

  1. Select the Filters button.
  2. In the Scan Groups field, find your desired scan group.
  3. Select the + button to filter to a scan group.
  4. Select additional scan groups if desired.
  5. Click the “Apply” button to set your filter.
  6. On the Scan List, use the “Select all” checkbox, or at least one scan’s checkbox to generate bulk actions.
  7. Scan admins can select “Apply Shared Session Script” or “Apply Shared User Flow Script” to modify the settings for several scans at once.
  8. In the dropdown that appears, select your desired script and click the ‘+’ icon.
  9. Click “Apply.”
  10. Review the scans in the modal that appears. Click “Apply” to add the script to the scans, or “Cancel” to return to the Scan List.

Edit or Delete a Shared Script

On the Shared Script panel in the Admin section, axe Monitor admins may select the pencil icon under actions to edit, or the trash can icon to delete a shared script.