- 22 Sep 2024
- 4 Minutes to read
- Print
- DarkLight
- PDF
ManageEngine ServiceDesk Plus - Create and Update Assets
- Updated on 22 Sep 2024
- 4 Minutes to read
- Print
- DarkLight
- PDF
ManageEngine ServiceDesk Plus - Create and Update Assets creates a ManageEngine ServiceDesk Plus Asset, or updates ManageEngine ServiceDesk Plus Assets for:
- Assets that match the results of the selected saved query, and match the Enforcement Action Conditions, if defined or assets selected on the relevant asset page.
- Not all asset categories are supported for all Enforcement Actions.
- See Actions supported for Activity Logs, Adapters Fetch History, and Asset Investigation modules.
- See Actions supported for Vulnerabilities.
- See Actions supported for Software.
General Settings
- 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 ManageEngine ServiceDesk Plus adapter - Select this option to use ManageEngine ServiceDesk Plus connected adapter credentials. When you select this option, the Select Adapter Connection drop-down is available, and you can choose which adapter connection to use for this Enforcement Action.
Note:To use this option, you must successfully configure a ManageEngine ServiceDesk Plus adapter connection.
Required Fields
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.Host Name or IP Address - The hostname or IP address of the ManageEngine ServiceDesk Plus server that Axonius can communicate with.
- 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.
Authentication Methods
Select Authentication method either oAuth 2.0 or Basic Authentication.
Basic Authentication:
- Technician key token (required) - Use for on-prem deployment of ManageEngine ServiceDesk Plus (SDP). An API Key associated with a user account that has the Required Permissions to perform this action.
To obtain a technician key token, see Generate a Technician Key Token.
- Technician key token (required) - Use for on-prem deployment of ManageEngine ServiceDesk Plus (SDP). An API Key associated with a user account that has the Required Permissions to perform this action.
oAuth 2.0
Use for cloud deployment of ManageEngine ServiceDesk Plus (SDP).- OAuth Client ID, OAuth Client Secret and OAuth Refresh Token - Parameters for OAuth authentication used in the cloud version of ManageEngine ServiceDesk Plus. Refer to Configuring OAuth Authentication for information on how to generate them.
- OAuth Zoho Accounts URL - Select the account URL, or add your own. Refer to Refresh Access Tokens for information on how to obtain the account URL.
- 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.
Asset Product Name (only for new assets) - Enter a name for the product.
Asset Product ID (only for new assets) - Enter an ID for the product.
Action Choice - Select the Action you want to run: Create, Create and Update, or Update.
Exclude connections - Select the adapter connections to exclude.
Map Axonius fields to adapter fields - Use the Field Mapping Wizard to map Axonius fields to fields in external systems. In this way you can transfer data found in Axonius into the external system as part of the configuration of relevant enforcement actions. The wizard shows you which fields exist on the Axonius system, allowing you to map them easily.
Note:For details, see Axonius to External Field Mapping.
- Gateway Name - Select the Gateway through which to connect to perform the action.
APIs
Axonius uses these APIs:
Configuring OAuth Authentication
This adapter supports OAuth Authentication.
Generating the OAuth Client ID, OAuth Client Secret and OAuth Refresh Token
To use OAuth Authentication you need to generate the OAuth Client ID, OAuth Client Secret and OAuth Refresh Token. To generate them:
- Go to the Zoho API Console: https://api-console.zoho.com/
- Click 'Add client', choose 'Self Client' and click 'Create' (if a popup asks you to confirm, click “OK“).
- On the API Console main page, click on the 'Self Client' application
- In the tab 'Generate Code', enter the following details, and click 'Create':
- Scope:
- “SDPOnDemand.assets.CREATE,SDPOnDemand.assets.READ,SDPOnDemand.assets.UPDATE”
- Time Duration: “10 minutes”
- Scope Description: free text (could be anything)
- Scope:
- A popup “Generated Code“ opens, click copy, and paste the code in a temporary file.
- In the tab “Client Secret“, copy “Client ID“ and “Client Secret“ to a temporary file
- Enter the values you’ve copied to the following command on a linux machine (or Windows with curl):
curl -X POST "https://accounts.zoho.com/oauth/v2/token?grant_type=authorization_code&code=<code>&client_id=<client_id>&client_secret=<client_secret>"
- From the response of the command, copy the value of “refresh_token“, and save it to a temporary file.
- Copy the OAuth Client ID, OAuth Client Secret, OAuth Refresh Token to the appropriate places in the Configuration dialog.
For more details about other Enforcement Actions available, see Action Library.