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

V9: containers have no asset.name #1954

Closed
tas50 opened this issue Sep 27, 2023 · 1 comment
Closed

V9: containers have no asset.name #1954

tas50 opened this issue Sep 27, 2023 · 1 comment

Comments

@tas50
Copy link
Member

tas50 commented Sep 27, 2023

Describe the bug
In v9 there is no asset.name for container images, while this exists in v8:

cnquery shell container image ubuntu:latest
cnquery> platform{*}

V9:

asset: {
  kind: "container-image"
  build: ""
  version: "22.04"
  title: "Ubuntu 22.04.3 LTS, Docker Image"
  arch: "amd64"
  labels: {}
  platform: "ubuntu"
  vulnerabilityReport: To use this resource, you must authenticate with Mondoo Platform.
To learn how, read:
https://mondoo.com/docs/cnspec/cnspec-adv-install/registration/
  runtime: "docker-image"
  ids: []
  name: ""
  fqdn: ""
  family: [
    0: "debian"
    1: "linux"
    2: "unix"
    3: "os"
  ]
}

v8:

asset: {
  kind: "container-image"
  build: ""
  version: "22.04"
  title: "Ubuntu 22.04.3 LTS, Docker Image"
  arch: "amd64"
  labels: {}
  platform: "ubuntu"
  vulnerabilityReport: {
    platform: {
      arch: "amd64"
      name: "ubuntu"
      release: "22.04"
      title: "Ubuntu 22.04.3 LTS, Docker Image"
    }
    published: "2023-09-27T16:39:52Z"
    stats: {
      advisories: {}
      cves: {}
      exploits: {}
      packages: {
        total: 101.000000
      }
    }
  }
  runtime: "docker-image"
  ids: [
    0: "//platformid.api.mondoo.app/runtime/docker/images/aabed3296a3d45cede1dc866a24476c4d7e093aa806263c27ddaadbdce3c1054"
  ]
  name: "index.docker.io/library/ubuntu@aabed3296a3d"
  fqdn: ""
  family: [
    0: "debian"
    1: "linux"
    2: "unix"
    3: "os"
  ]
}
@tas50
Copy link
Member Author

tas50 commented Sep 27, 2023

Fixed with the platform ID fixes

@tas50 tas50 closed this as completed Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant