Old and New Search Token Mappings

The token standardization for the Qualys Query Language (QQL) search tokens follows a standard naming convention.

The new token format follows the syntax: entity.attribute
For example, in the new token, patch.architecture, patch is the entity, and architecture is the attribute. 

The patches, assets, jobs, views tokens along with the tokens common to all Qualys application are now updated. 


- Only the new tokens are displayed in the auto-suggestion in the search bars within the UI. However, if you type the old token name manually, the QQL query still works. Old token names' visibility from the UI is removed. 
The existing Dashboard widgets and Saved Search Queries will continue to support the old tokens. You can edit search queries and widgets to update the new tokens.

The following is the old and new tokens mapping list: 

Patch TokensPatch Tokens

Old Token Name New Token Name
advisory patch.advisory
appFamily  patch.appFamily
architecture patch.architecture
bulletin  patch.bulletin
category patch.category
cve patch.cveId
downloadMethod  patch.downloadMethod
enabledVendorAcquiredPatches  patch.isEnabledVendorAcquiredPatches
isEsuPatch  patch.isEsuPatch
isRollback  patch.isRollback
isSecurity patch.isSecurity
kb  patch.kb
modifiedDate patch.updatedDate
notification  patch.notification
patchId patch.id
product  patch.product
publishedDate patch.publishedDate
qid patch.qid
rebootRequired patch.isRebootRequired
supersededBy  patch.supersededBy
supersedes  patch.supersedes
supportedOs  patch.supportedOs
title patch.title
type  patch.type
vendor  patch.vendor
vendorSeverity patch.vendorSeverity
missingPatchCount  patch.missingCount
patchStatus  patch.status

Job TokensJob Tokens

Old Token New Token
id job.id
name job.name
type job.type
scheduleType job.scheduleType
status job.status
patchId patch.id
patchTitle patch.title
tags.name job.tag.name
tags.id job.tags.id
isRecurring job.isRecurring
assetName asset.name
agentId agent.id
customPatchUrlConfigured  job.isCustomPatchUrlConfigured
rebootOnly job.isRebootOnly

Job Result TokensJob Result Tokens

Old Token New Token
jobId job.id
JobName job.name
alreadyInstalledPatchId job.alreadyInstalledPatchId
alreadyInstalledPatchTitle job.alreadyInstalledPatchTitle
successPatchId job.successPatchId
successPatchTitle job.successPatchTitle
failedPatchId job.failedPatchId
failedPatchTitle job.failedPatchTitle
failedPatchReasonCode job.failedPatchReasonCode
failedPatchReason job.failedPatchReason
supersededPatchId job.supersededPatchId
supersededPatchTitle job.supersededPatchTitle
startDateTime job.startDateTime
endDateTime job.endDateTime
platform job.platform
status job.status
jobSentOn job.sentDate
lastRebootTime job.lastRebootTime
agentId agent.id
assetType asset.type
assetName asset.name
netbiosName asset.netbiosName
lastLoggedOnUser asset.lastLoggedOnUser
operatingSystem operatingSystem.name
tags.name asset.tag.name
tags.id asset.tag.id
systemManufacturer hardware.manufacturer
interfaces.address asset.interface.address
systemModel hardware.model
systemTimezone asset.timezone
systemLastReboot asset.lastRebootDate
isSuperseded patch.isSuperseded
vendorlink patch.vendorLink
patchJobStatus job.patchJobStatus

Asset TokensAsset Tokens

Old Token New Token
 activatedModules sensor.activatedForModules
 interfaces.address asset.interface.address
operatingSystem operatingSystem.name
agentId agent.id
name asset.name
status asset.status
scanDateTime asset.scanDateTime
statusDateTime asset.statusDateTime
netbiosName asset.netbiosName
systemTimezone asset.timezone
systemLastReboot asset.lastRebootDate
missingCount asset.missingCount
installedCount asset.installedCount
pendingReboot asset.isPendingReboot
lastLoggedOnUser asset.lastLoggedOnUser
licensed asset.isLicensed
systemManufacturer hardware.manufacturer
systemModel hardware.model
isIsolated  asset.isIsolated
isNsuSupported asset.isNsuSupported
tags.name asset.tag.name
tags.id asset.tag.id

View TokensView Tokens

Old Token New Token
viewId view.id
viewName view.name
viewType view.type
priority view.priority
assignedTo.userName view.assignedTo.username