Closed PierreHachard closed 5 months ago
If you happen to have wrong API keys, CLI throws random errors depending on the options you call.
Before using options like "airgap" or "os", the cyberwatch-cli now tries to ping the API to make sure everything is ok before requesting Cyberwatch
Also changed "--no-attachment" to "--add-attachment" as it makes more sense as the value is "False" by default
If you happen to have wrong API keys, CLI throws random errors depending on the options you call.
Before using options like "airgap" or "os", the cyberwatch-cli now tries to ping the API to make sure everything is ok before requesting Cyberwatch
Also changed "--no-attachment" to "--add-attachment" as it makes more sense as the value is "False" by default