Create ServiceNow Computer
  • 5 Minutes To Read
  • Print
  • Share
  • Dark
    Light

Create ServiceNow Computer

  • Print
  • Share
  • Dark
    Light

The Create ServiceNow Computer action takes the saved query supplied as a trigger (or devices that have been selected in the asset table) and creates a computer in ServiceNow for each of the query result entities.

To configure the Create ServiceNow Computer action, from the Action Library, click Manage CMDB Computer, and then click Create ServiceNow Computer.

image.png

image.png

Connection Settings

  1. Use stored credentials from the ServiceNow adapter (required, default: False) - Select this option to use the first connected ServiceNow adapter credentials.
NOTE
To use this option, you must successfully configure a ServiceNow adapter connection.
  1. ServiceNow domain (optional, default: empty) - URL for the ServiceNow admin panel.
NOTE
If Use stored credentials from the ServiceNow adapter is disabled, this field is required.
  1. User name and Password (optional, default: empty) - To connect to ServiceNow, you will need to create a user with action privileges.
NOTE
If Use stored credentials from the ServiceNow adapter is disabled, this fields are required.
  1. Verify SSL (required, default: True) - Verify the SSL certificate offered by the host supplied in ServiceNow domain. For more details, see SSL Trust & CA Settings.
    • If enabled, the SSL certificate offered by the host will be verified against the CA database inside of Axonius. If it fails validation, the connection will fail with an error.
    • If disabled, the SSL certificate offered by the host will not be verified against the CA database inside of Axonius.
  2. HTTPS proxy (optional, default: empty) - A proxy to use when connecting to ServiceNow domain.
    • If supplied, Axonius will utilize the proxy when connecting to the host defined for this connection.
    • If not supplied, Axonius will connect directly to the host defined for this connection.
  3. Instance name (required) - If you are using multiple nodes, choose the Axonius node that is integrated with selected source for this action.

Action Settings

  1. CMDB CI table name (optional, default: cmdb_ci_computer) - Specify the table that the CI will be created in.
    • If supplied, Axonius will create the CI in the specified table.
    • If not supplied, Axonius will create the CI in cmdb_ci_computer table.
  2. Additional fields (optional, default: empty) - Specify additional fields to be added as part of the ServiceNow computer as key/value pairs in a JSON format. For example: {"field1": "value1", "field2": "value2"}.
    • If supplied, Axonius will add the specified fields and values to the created computer in ServiceNow. If one of the specified fields is invalid, the request might fail.
    • If not supplied, Axonius will not add any additional fields to the created computer in ServiceNow.
  3. Do not map default Axonius fields (required, default: False) - Select whether to map the set of default Axonius fields to the ServiceNow computer.
    • If enabled, default Axonius fields will not be mapped to the ServiceNow computer.
    • If disabled, default Axonius fields will be mapped to the ServiceNow computer. For details, see Default Field Mapping.
  4. Axonius to ServiceNow field mapping (optional, default: empty) - Specify additional fields to be added to the ServiceNow computer based on the device's Axonius fields. The input should be key/value pairs in a JSON format. For example: {"axonius_field1":"servicenow_field1", "axonius_field2":"servicenow_field2"}.
    • If supplied, Axonius will add the specified fields and values to the created computer in ServiceNow. If one of the specified fields is invalid, the request might fail.
    • If not supplied, Axonius will not add any fields to the created computer in ServiceNow, beyond the default field mapped from Axonius.
  5. Use IdentifyReconcile API endpoint to create computer (optional, default: empty)
    • If supplied, the computer will be created in ServiceNow via the Identification and Reconciliation (IdentifyReconcile) API. The supplied value will be used as the source for the new created computer.
      • The Identification and Reconciliation (IdentifyReconcile) API uses the Identification and Reconciliation engine (IRE) to minimize creation of duplicate Configuration Items (CIs) and to reconcile CI attributes by only accepting information from authorized sources when updating the Configuration Management Database (CMDB).
      • It is recommended to use ‘Axonius’ as the source value.
    • If not supplied, the computer will be created in ServiceNow via the Table API, and the CMDB will be updated directly.
  6. Use first IP address only (required, default: False) - Select whether the first IP address to be added to the ServiceNow computer.
    • If enabled, only the device's first IP address will be added to the ServiceNow computer.
    • If disabled, all the device's IP addresses will be added to the ServiceNow computer.
  7. IP addresses delimiter (optional, default: /) - Specify the delimiter to separate between multiple IP addresses added to the ServiceNow computer.
    • If supplied, the specified delimiter will be used to separate between multiple IP addresses added to the ServiceNow computer.
    • If not supplied, the default delimiter will be used to separate between multiple IP addresses added to the ServiceNow computer.
  8. Use first MAC address only (required, default: True) - Select whether the first MAC address to be added to the ServiceNow computer.
    • If enabled, only the device's first MAC address will be added to the ServiceNow computer.
    • If disabled, all the device's MAC addresses will be added to the ServiceNow computer.
  9. MAC addresses delimiter (optional, default: /) - Specify the delimiter to separate between multiple MAC addresses added to the ServiceNow computer.
    • If supplied, the specified delimiter will be used to separate between multiple MAC addresses added to the ServiceNow computer.
    • If not supplied, the default delimiter will be used to separate between multiple MAC addresses added to the ServiceNow computer.

Default Field Mapping

When the Create ServiceNow Computer action creates a computer in ServiceNow for each of the query results entities, the computer in ServiceNow is created with a set of attributes populated based on the following mapping:

Axonius Device Field ServiceNow Attribute
Asset Name / Host Name name
Device Manufacuter manufacturer
Device Manufacuter Serial / BIOS Serial serial_number
Network Interfaces: IPs ip_address
Network Interfaces: MAC mac_address
OS Type os

Required Permissions

  • IdentifyReconcile API - The value supplied in User name must have the itil or asset role to use this API.



For more details on other Enforcements available actions, see Action Library.
For more details on Enforcement Set configuration, see Enforcement Set configuration.

Was This Article Helpful?