Code Monkey home page Code Monkey logo

cnquery-packs's People

Contributors

atomic111 avatar benr avatar chris-rock avatar czunker avatar dependabot[bot] avatar hrouhani avatar imilchev avatar jaym avatar misterpantz avatar mm-weber avatar preslavgerchev avatar scottford-io avatar tas50 avatar vjeffrey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cnquery-packs's Issues

mondoo-asset-count packs get's applied to wrong resources

Describe the bug
When scanning AWS, vSphere and Azure queries are executed:

cnquery scan aws -f ./extra/mondoo-asset-count.mql.yaml
...
Retrieve all ESXi hosts:
error: Query encountered errors:
vsphere resource is not supported on this provider
vsphere.datacenters: no data available

Retrieve all VMs from Azure:
error: Query encountered errors:
failed to create resource 'azure.subscription.computeService': azure resource is not supported on this provider
azure.compute.vms.length: no data available

Retrieve all VMs from vSphere cluster:
error: Query encountered errors:
vsphere resource is not supported on this provider
vsphere.datacenters: no data available

Retrieve all computer object from the Windows domain:
error: Query encountered errors:
provider is not an operating system provider
parse.json.params: no data available

Retrieve all users from Azure:
error: Query encountered errors:
azure resource is not supported on this provider
azuread.users.length: no data available

To Reproduce
Steps to reproduce the behavior:

  1. Create CLI session with AWS login data
  2. Scan AWS account, as shown above
  3. Note the error

Expected behavior
The queries should only be applied where applicable.

Desktop (please complete the following information):

  • cnquery 8.21.3
  • latest mondoo-asset-count from this repo

Document how to use these

Is your feature request related to a problem? Please describe.
If you stumble upon this repo there's no way to use it without prior knowledge.

Describe the solution you'd like
Either document how to run these here or link to the Mondoo docs that describe it.

Describe alternatives you've considered
???

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.