Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 also support the docker conn for cnquery shell docker <id> #1849

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

vjeffrey
Copy link
Contributor

[22/09/23 10:15:36] ❯ go run apps/cnquery/cnquery.go shell docker d0e78872d058
! using builtin provider for os
→ no Mondoo configuration file provided, using defaults
→ connected to Ubuntu 22.04.1 LTS
  ___ _ __   __ _ _   _  ___ _ __ _   _
 / __| '_ \ / _` | | | |/ _ \ '__| | | |
| (__| | | | (_| | |_| |  __/ |  | |_| |
 \___|_| |_|\__, |\__,_|\___|_|   \__, |
  mondoo™      |_|                |___/  interactive shell

cnquery> exit
[22/09/23 10:15:13] ❯ go run apps/cnquery/cnquery.go shell container d0e78872d058
! using builtin provider for os
→ no Mondoo configuration file provided, using defaults
→ connected to Ubuntu 22.04.1 LTS
  ___ _ __   __ _ _   _  ___ _ __ _   _
 / __| '_ \ / _` | | | |/ _ \ '__| | | |
| (__| | | | (_| | |_| |  __/ |  | |_| |
 \___|_| |_|\__, |\__,_|\___|_|   \__, |
  mondoo™      |_|                |___/  interactive shell

cnquery> exit

the argument for docker was also required in v8,

[22/09/23 10:13:15] ❯ cnquery shell docker
x either a target or a discovery flag different from "auto" must be provided for docker scans

~/go/src/go.mondoo.io/cnquery main*
[22/09/23 10:14:16] ❯ cnquery version
cnquery 8.28.4 (f7739318, 2023-09-20T10:09:07Z)

~/go/src/go.mondoo.io/cnquery main*
[22/09/23 10:14:31] ❯ cnquery shell docker d0e78872d058
→ no Mondoo configuration file provided. using defaults
→ discover related assets for 1 asset(s)
→ resolved assets resolved-assets=1

Copy link
Member

@arlimus arlimus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@arlimus arlimus merged commit 6613eb3 into main Sep 22, 2023
10 checks passed
@arlimus arlimus deleted the vj/supp-docker-conn branch September 22, 2023 22:58
@github-actions github-actions bot locked and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants