Skip to content

Commit

Permalink
🐛 Fix cpes resource definition in vSphere
Browse files Browse the repository at this point in the history
Without the import, the resources.json file was created with  as the resource for .
This failed on lookup when compiling a query.

Adding the import creates the resources.json file  as the resource for .
Then the lookup works again.

Signed-off-by: Christian Zunker <[email protected]>
  • Loading branch information
czunker committed Feb 15, 2024
1 parent 8b8b029 commit 6f94b36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions providers/vsphere/resources/vsphere.lr
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mondoo, Inc.
// SPDX-License-Identifier: BUSL-1.1

import "../../core/resources/core.lr"

option provider = "go.mondoo.com/cnquery/v9/providers/vsphere"
option go_package = "go.mondoo.com/cnquery/v10/providers/vsphere/resources"

Expand Down
2 changes: 1 addition & 1 deletion providers/vsphere/resources/vsphere.lr.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6f94b36

Please sign in to comment.