You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I used Homebrew to uninstall cnspec from my mac. Homebrew now says it's gone. But it's not gone! I still have cnspec v8.6 on my machine.
So... then I ran bash -c "$(curl -sSL https://install.mondoo.com/sh)" and got this message:
* mondoo package for cnquery and cnspec is already installed. Updating Mondoo...
* Upgrade mondoo package for cnquery and cnspec via 'brew upgrade'
Error: mondoohq/mondoo/mondoo not installed
The mondoo package for cnquery and cnspec install script encountered a problem. For assistance, please join our community on GitHub Discussions.
And I still have version 8.6. I can't upgrade to 8.7.
To Reproduce
With cnspec 8.6 installed, run brew uninstall cnspec.
Run bash -c "$(curl -sSL https://install.mondoo.com/sh)".
Run cnspec version.
Expected behavior
I expected brew uninstall cnspec to remove cnspec from my machine.
Given that cnspec v8.6 is still on my machine, I expected the package installer to upgrade to 8.7.
Screenshots or CLI Output
➜ ~ brew list
==> Formulae
autoconf c-ares gh libnghttp2 mpdecimal prettier xz
automake ca-certificates git libuv node [email protected] yarn
azure-cli gdbm icu4c m4 [email protected] readline
brotli gettext kubernetes-cli minikube pcre2 sqlite
==> Casks
docker
➜ ~ bash -c "$(curl -sSL https://install.mondoo.com/sh)"
mondoo package for cnquery and cnspec Installer
.-.
: :
,-.,-.,-. .--. ,-.,-. .-' : .--. .--. ™
: ,. ,. :' .; :: ,. :' .; :' .; :' .; :
:_;:_;:_;`.__.':_;:_;`.__.'`.__.'`.__.
Welcome to the mondoo package for cnquery and cnspec installer. We
will auto-detect your operating system to determine the best installation
method. If you experience any issues, please reach us at:
* Mondoo Community GitHub Discussions:
https://github.com/orgs/mondoohq/discussions
This installer is licensed under the Apache License, Version 2.0
* GitHub:
https://github.com/mondoohq/installer
* mondoo package for cnquery and cnspec is already installed. Updating Mondoo...
* Upgrade mondoo package for cnquery and cnspec via 'brew upgrade'
Error: mondoohq/mondoo/mondoo not installed
The mondoo package for cnquery and cnspec install script encountered a problem. For assistance, please join our community on GitHub Discussions.
* Mondoo Community GitHub Discussions https://github.com/orgs/mondoohq/discussions
* GitHub: https://github.com/mondoohq/installer
➜ ~ cnspec version
cnspec 8.6.0 (d8cf5a8, 2023-04-18T17:26:39Z)
➜ ~ which cnspec
/usr/local/bin/cnspec
➜ ~ which mondoo
/usr/local/bin/mondoo
➜ ~ cnspec scan local
→ no Mondoo configuration file provided. using defaults
→ discover related assets for 1 asset(s)
→ resolved assets resolved-assets=1
Letha-Dunn.home ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% score: B
Asset: Letha-Dunn.home
----------------------
Controls:
! Error: Disable Remote Apple Events
✓ Pass: Disable Bonjour advertising service
✓ Pass: Enable FileVault
✓ Pass: Disable Media Sharing
✕ Fail: Enable security auditing
✓ Pass: Disable DVD or CD Sharing
! Error: Ensure security auditing retention
✓ Pass: Enable Firewall
✓ Pass: Disable Content Caching
✓ Pass: Ensure NFS server is not running
✓ Pass: Retain install.log for 365 or more days with no maximum size
✓ Pass: Disable Remote Management
✕ Fail: Ensure AirDrop Is Disabled
✓ Pass: Disable Screen Sharing
✓ Pass: Ensure automatic checking of software updates enabled
✓ Pass: Disable File Sharing
✓ Pass: Disable Internet Sharing
✓ Pass: Ensure automatic download of software updates enabled
! Error: Reduce the sudo timeout period
✓ Pass: Password History
✓ Pass: Disable Printer Sharing
✓ Pass: Enable Gatekeeper
✓ Pass: Ensure http server is not running
✓ Pass: Disable Bluetooth Sharing
✕ Fail: Enable Firewall Stealth Mode
✕ Fail: Set a minimum password length
✓ Pass: Control access to audit records
✕ Fail: Ensure Firewall is configured to log
✓ Pass: Do not enable the "root" account
✓ Pass: Enable "Show Wi-Fi status in menu bar"
✓ Pass: Ensure critical updates are installed automatically
! Error: Disable Remote Login
✕ Fail: Password Age
Scanned 1 assets
macOS
B Letha-Dunn.home
For detailed output, run this scan with "-o full".
➜ ~ brew update --auto-update
➜ ~ brew list
==> Formulae
autoconf c-ares gh libnghttp2 mpdecimal prettier xz
automake ca-certificates git libuv node [email protected] yarn
azure-cli gdbm icu4c m4 [email protected] readline
brotli gettext kubernetes-cli minikube pcre2 sqlite
==> Casks
docker
➜ ~ bash -c "$(curl -sSL https://install.mondoo.com/sh)"
mondoo package for cnquery and cnspec Installer
.-.
: :
,-.,-.,-. .--. ,-.,-. .-' : .--. .--. ™
: ,. ,. :' .; :: ,. :' .; :' .; :' .; :
:_;:_;:_;`.__.':_;:_;`.__.'`.__.'`.__.
Welcome to the mondoo package for cnquery and cnspec installer. We
will auto-detect your operating system to determine the best installation
method. If you experience any issues, please reach us at:
* Mondoo Community GitHub Discussions:
https://github.com/orgs/mondoohq/discussions
This installer is licensed under the Apache License, Version 2.0
* GitHub:
https://github.com/mondoohq/installer
* mondoo package for cnquery and cnspec is already installed. Updating Mondoo...
* Upgrade mondoo package for cnquery and cnspec via 'brew upgrade'
Error: mondoohq/mondoo/mondoo not installed
The mondoo package for cnquery and cnspec install script encountered a problem. For assistance, please join our community on GitHub Discussions.
* Mondoo Community GitHub Discussions https://github.com/orgs/mondoohq/discussions
* GitHub: https://github.com/mondoohq/installer
Desktop (please complete the following information):
OS: Vetura
OS Version: 13.3
Browser if applicable: NA
Browser Version: NA
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
I used Homebrew to uninstall cnspec from my mac. Homebrew now says it's gone. But it's not gone! I still have cnspec v8.6 on my machine.
So... then I ran
bash -c "$(curl -sSL https://install.mondoo.com/sh)"
and got this message:And I still have version 8.6. I can't upgrade to 8.7.
To Reproduce
brew uninstall cnspec
.bash -c "$(curl -sSL https://install.mondoo.com/sh)"
.cnspec version
.Expected behavior
I expected
brew uninstall cnspec
to remove cnspec from my machine.Given that cnspec v8.6 is still on my machine, I expected the package installer to upgrade to 8.7.
Screenshots or CLI Output
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: