Skip to content

Error querying members in a group #6355

@tas50

Description

@tas50

Describe the bug
This query is in our linux query pack. It's failing on my Debian 13 system.

cnquery> groups.where(name == "wheel") { members }
DBG starting query execution qrid=HnD55hbNskM=
DBG resource groups has no MQL ID defined, this is usually an issue with the resource, please open a GitHub issue at https://github.com/mondoohq/cnquery/issues
DBG local> run command getent passwd
DBG resource users has no MQL ID defined, this is usually an issue with the resource, please open a GitHub issue at https://github.com/mondoohq/cnquery/issues
DBG local> run command getent passwd
DBG finished query execution qrid=HnD55hbNskM=
DBG R1EtIO0IHYcNITt63nhdkbe+zbZw9l9TG5fmOGZWTycdIbQUB3zh3hSMHTlo9dpdId0Os1CQF4cSyWayMhHslA== finished
DBG graph has received all datapoints
1 error occurred:
	* cannot find user with name '<user list>'
groups.where.list: [
  0: {
    members: cannot find user with name '<user list>'
  }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions