cnspec
cnspec copied to clipboard
cnspec tries to install atlassian provider although it is already installed
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