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

cnspec tries to install atlassian provider although it is already installed #1025

Open
chris-rock opened this issue Jan 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@chris-rock
Copy link
Member

chris-rock commented Jan 5, 2024

Describe the bug

cnspec tries to install atlassian provider although it is already installed

reported by @username-is-already-taken2

$ cnspec bundle fmt example-policy.mql.yaml                                                                                                                                              
→ installing provider 'atlassian' version=9.1.13
→ successfully installed atlassian provider path=/Users/chris/.config/mondoo/providers/atlassian version=9.1.13
→ format policy bundle(s) file=example-policy.mql.yaml
→ format file file=example-policy.mql.yaml
→ completed formatting policy bundle(s)

To Reproduce

cnspec providers list                                                                                                                                                                   7d chris-rock/recording[a943228]

→ builtin (found 2 providers)

  core 9.1.6
  mock 9.0.0 with connectors: mock

→ /Users/chris/.config/mondoo/providers (found 22 providers)

  arista 9.1.10 with connectors: arista
  atlassian 9.1.13 with connectors: atlassian
  aws 9.1.18 with connectors: aws
  azure 9.1.13 with connectors: azure

Then run bundle fmt

$ cnspec bundle fmt example-policy.mql.yaml                                                                                                                                              
→ installing provider 'atlassian' version=9.1.13
→ successfully installed atlassian provider path=/Users/chris/.config/mondoo/providers/atlassian version=9.1.13
→ format policy bundle(s) file=example-policy.mql.yaml
→ format file file=example-policy.mql.yaml
→ completed formatting policy bundle(s)

Expected behavior

atlassian provider is up to date and does not need to be installed

@chris-rock chris-rock added the bug Something isn't working label Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant