Mondoo Docs

Package on the platform or OS

package MQL resource for querying Operating System infrastructure with cnquery and cnspec.

Operating System

Package on the platform or OS

Use MQL in cnspec shell or policy:

package
Min version: 5.15.0Defaults: name version

Relationships

Mini Map
Operating System
1 resources · 0 relationshipsClick to select, expand fields to see properties.

Fields (15)

FieldTypeDescription
archrequired
stringArchitecture of this package
availablerequired
stringAvailable version
cpesrequired
[]cpeCommon Platform Enumeration (CPE) for the package
descriptionrequired
stringPackage description
epochrequired
stringEpoch of this package
files
[]pkgFileInfoPackage files
formatrequired
stringFormat of this package (e.g., rpm, deb)
installedrequired
intWhether the package is installed
namerequired
stringName of the package
origin
stringPackage origin, may include version if available (optional)
outdated
intWhether the package is outdated
purlrequired
stringPackage URL
status
stringStatus of this package (e.g., if it is needed)
vendorrequired
stringPackage vendor
versionrequired
stringCurrent version of the package