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

no connection type provided in inventory, falling back to deprecated backend field #902

Closed
czunker opened this issue Oct 26, 2023 · 1 comment

Comments

@czunker
Copy link
Contributor

czunker commented Oct 26, 2023

Describe the bug
When scanning k8s resources with v9, we get this warning:

2023-10-26T09:50:46Z WRN no connection `type` provided in inventory, falling back to deprecated `backend` field

To Reproduce
Steps to reproduce the behavior:

  1. Enable v9
  2. Start a k8s resource scan
  3. Note the warning

Expected behavior
We should use the current type.

@czunker
Copy link
Contributor Author

czunker commented Oct 26, 2023

Not an issue. This only happened during my tests, where I used a v9 image w/o enabling the feature flag.

We already use Type: https://github.com/mondoohq/mondoo-operator/blob/main/pkg/client/scanapiclient/client.go#L122

@czunker czunker closed this as completed Oct 26, 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