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

⭐️ expose scanning of container images as tar #1116

Merged
merged 2 commits into from
Apr 2, 2023

Conversation

chris-rock
Copy link
Member

@chris-rock chris-rock force-pushed the chris-rock/tar-scanning branch from 561862f to ac3c517 Compare March 30, 2023 17:28
apps/cnquery/cmd/scan.go Outdated Show resolved Hide resolved
Copy link
Member

@imilchev imilchev left a comment

Choose a reason for hiding this comment

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

:shipit:

@chris-rock chris-rock merged commit 323c116 into main Apr 2, 2023
@chris-rock chris-rock deleted the chris-rock/tar-scanning branch April 2, 2023 17:51
chris-rock added a commit to mondoohq/cnspec that referenced this pull request Apr 2, 2023
depends on mondoohq/cnquery#1116 to work
properly

related to the discussion in
https://github.com/orgs/mondoohq/discussions/855

A simple:

```
docker save debian:11 > debian11.tar  
cnspec scan container tar debian11.tar
```

will then allow you to scan the container image:

<img width="808" alt="Screenshot 2023-03-30 at 14 59 52"
src="https://user-images.githubusercontent.com/1178413/228845058-05c87aaa-9fbb-4a3c-b7d5-98d5f8d8a500.png">
@github-actions github-actions bot locked and limited conversation to collaborators Apr 2, 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