Comments (3)
move this to cnquery since the problem is located there
from cnquery.
Simple cnquery command to reproduce:
cnquery run ssh --sudo -i /home/christian/workspace/mondoo/examples/.vagrant/machines/default/virtualbox/private_key [email protected]:2222 -c "file('/root/.profile'){ exists }"
→ discover related assets for 1 asset(s)
→ resolved assets resolved-assets=1
Query encountered errors:
1 error occurred:
* permission denied
file: {
exists: permission denied
}
from cnquery.
This also affected local:
c run local --sudo -c "file('/root/.profile'){ exists }" ✔ │ 09:23:47
→ discover related assets for 1 asset(s)
→ resolved assets resolved-assets=1
Query encountered errors:
1 error occurred:
* stat /root/.profile: permission denied
file: {
exists: stat /root/.profile: permission denied
}
from cnquery.
Related Issues (20)
- cnquery sbom local takes up all memory on smaller instance HOT 2
- Determine sunburst location for "other" assets
- `.Label()` and `.Child()` for types panic on some map types
- Dockerfile Resource - * file 'Dockerfile' not found HOT 1
- Ensure that all platforms include firewatch graph data
- banded scroing failed if one check has not defined an impact
- Chunk index calculation is wrong HOT 1
- semver datatypes don't match
- http resource does not respect insecure connection flag
- Add purls to Windows and Mac packages
- Feature request: GKE `gcp.project.gke.binauthz.policy` field. HOT 1
- Enforce no variants defined inline in packs
- Azure NAT Gateway etag field not properly parsing HOT 1
- Add key auth to Arista provider
- platform{*} fails on arista-eos
- GCP: gcp.project.sql.instances {settings.ipConfiguration {*}} Need access to field ` "sslMode": "ENCRYPTED_ONLY` HOT 1
- Errors in package resource when inspecting sboms
- Fail better in ansible provider when provided non-ansible code
- aws provider: ECS tasks 'cannot convert primitive with NO type information' HOT 1
- :bug: `sshd.*` resource doesn't work via `--sudo` argument
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cnquery.