-
Notifications
You must be signed in to change notification settings - Fork 72
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
[ BUG ] SensorTag
and Uninstall
commands do not handle MacOS uninstallation tokens
#400
Comments
SensorTag
commands do not handle uninstallation tokens
SensorTag
commands do not handle uninstallation tokensSensorTag
and Uninstall
commands do not handle MacOS uninstallation tokens
Updated to use this issue to track |
Might be related to #421 where CRLF endings in the .sh / .zsh scripts as shipped by the powershell module package, while they're not present in the github version of the source code. If you check telemetry data you'll see sub-commands contain extra "\000d" which are likely messing with the internal |
Yes, this will definitely factor in. The primary problem is that the uninstallation tokens are not retrieved or supplied during these commands because they weren't supported in MacOS when I created the commands. |
When trying to set a sensor tag with psFalcon on MacOS, I am getting a success response but it does not set the tag. Is this part of the same of issue? |
Yes, it could be the line feed issues, or the fact that the MacOS commands aren't designed to support uninstallation tokens. |
Should Set-FalconSensorTag work if the device has sensor protection disabled? |
Yes, I would expect that it would. |
Describe the bug
When executing the Add-FalconSensorTag and targeting a MACOS host, the process does not pull maintenance token information or pass it to the falconctl executable with the -t flag. The results of the entire process will complete as successful but the tag will not be successfully added.
To Reproduce
run Add-FalconSensorTag and target a MacOS host
Expected behavior
Tag should be applied to the host when running the Add-FalconSensorTag command
For the tag to be officially applied, a reboot of the sensor must happen, but this is not required as part of this process.
Environment (please complete the following information):
Additional context
It appears that a maintenance token is not required with Windows (and maybe linux), so this may be a step specific to MacOS.
Transcript content
The text was updated successfully, but these errors were encountered: