-
Notifications
You must be signed in to change notification settings - Fork 297
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
Latest Allows Blocked Binary in Monitor Mode #878
Comments
This is likely due to the dev build not having correct permissions, like full disk access. What do |
|
|
The output looks correct. I'm not able to reproduce the issue of blocked binaries not being blocked but I can reproduce |
This started working. |
Hmm, interesting. Did the test also start passing? |
No, the test is still failing. I can open another issue on the test. |
We published 2022.8, which allows/blocks binaries as expected (and there have been no significant code changes since the commit that build is based upon). I'm unable to reproduce any errors in an adhoc build too. The failing SNTApplicationTest we've tracked down to being an issue caused by installed StaticRules in an on-device profile - the test doesn't sufficiently isolate the configuration installed on the host. We don't see this issue in CI because no such configuration profile exists. A fix is on the way. |
Just submitted #885. Let us know if this doesn't solve your issue regarding the tests. |
@eopeter I'm going to mark this closed. Please let us know if this is still an issue you're encountering. |
I built off the
main
branch inad-hoc
mode with SIP disabled and while testing attempted to block the Xcode binary.santactl rule --check --sha256 691d6b3a7bb41ca4042cc30a769d79b4708f6c27ab602a940b0dbb7c529a5071
rule check showsBlocked (Binary)
but I am still able to run Xcode.I am using a static rule in
Monitor Mode
and expected I should not be able to start Xcode. The file in the plist is:My version shown below is a dev build and not using the release since I needed to test un released code:
Also found 1 of the unit test is failing with:
bazel test :unit_tests --define=SANTA_BUILD_TYPE=adhoc --test_output=errors
The result of the above shows 1 failing test:
The text was updated successfully, but these errors were encountered: