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

document or print "asset.platform" options (for k8s provider) #4881

Open
DrackThor opened this issue Nov 18, 2024 · 2 comments
Open

document or print "asset.platform" options (for k8s provider) #4881

DrackThor opened this issue Nov 18, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@DrackThor
Copy link

Is your feature request related to a problem? Please describe.
Quality of life improvement.
I am currently in the process of writing policies for k8s and I want to know which values I can use for my "asset.platform == xxx" filters.
The same might also apply for other providers I guess.

Describe the solution you'd like
I'd like to have a CLI command that can describe a provider and it's available asset types.
Maybe something like cnquery providers describe os

Describe alternatives you've considered
Alternatively also an autogenerated documentation for that provider would suffice.
Similar to the resource pack docs, eg k8s, but also containing the asset.platform info that could be found here

@atomic111 atomic111 added the enhancement New feature or request label Dec 18, 2024
@tas50
Copy link
Member

tas50 commented Dec 20, 2024

@DrackThor Not knowing the platform values is something I've run into in the past when writing policies. How would you feel about a single docs page that listed them out, not just for Kubernetes, but for all the different providers?

@DrackThor
Copy link
Author

@tas50 perfectly fine with me 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants