Skip to content

Commit

Permalink
Update default asset search fields
Browse files Browse the repository at this point in the history
  • Loading branch information
sarus committed Aug 8, 2024
1 parent 0297533 commit 5ad0c04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ module.exports = {
name: 'Asset Query Fields',
description:
"A comma separated list of fields to search when querying for Assets. Asset searches are done for IPs, domains, CVEs, annotated entities and any added custom types. NOTE: If a field is not in this list, the field will not be searched in ServiceNow's Asset Table.",
default: 'ci.name, ci.asset_tag, short_description',
default: 'name, display_name, asset_tag, ci.name, ci.asset_tag',
type: 'text',
userCanEdit: false,
adminOnly: true
Expand Down
4 changes: 2 additions & 2 deletions config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@
{
"key": "assetTableFields",
"name": "Asset Query Fields",
"description": "A comma separated list of fields to search when querying for Assets. Asset searches are done for IPs, domains, CVEs, annotated entities and any added custom types. NOTE: If a field is not in this list, the field will not be searched in ServiceNow's Asset Table.",
"default": "ci.name, ci.asset_tag, short_description",
"description": "A comma separated list of fields to search when querying for Assets. Asset searches are done for IPs, domains, CVEs, annotated entities and any added custom types. NOTE: If a field is not in this list, the field will not be searched in ServiceNow's Asset (alm_asset) Table.",
"default": "name, display_name, asset_tag, ci.name, ci.asset_tag",
"type": "text",
"userCanEdit": false,
"adminOnly": true
Expand Down

0 comments on commit 5ad0c04

Please sign in to comment.