-
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
Unable to set the configuration element enable_transitive_rules using santactl #1268
Comments
Looking at code, it seems that this is supported in the main configuration (without a sync server) via the |
So we gate this feature behind a configuration flag because the compiler rule feature is pretty powerful. E.g. if you mark the wrong thing like a browser like Chrome as a compiler then you're allowing anything downloaded from the internet. Depending on your environment and constraints you may not want to even allow this feature as an option. For standalone installations you can change your application config by adding the @built2order Are you suggesting that the feature should just be enabled by default for standalone installations? |
Can you please paste the output from I'd also like the output from |
Thanks for your comment. No, not suggesting this should be default, however documentation also didn't suggest that the key could be added to configuration. I've since added the configuration key to MDM configuration however the feature is still not active.
A clean build and run of a basic 'hello-world' app using Rider is still blocked.
Please see additional comments below. Note that all configuration has been applied via MDM or local commands using santactl.
|
Unfortunately just noticed that we're only reporting if transitive rules are enabled in I've filed #1276 to address this. |
I ran some basic tests using On Apple Silicon macs at least, all code is required to be signed to execute, even if just adhoc signed. The man page for
I'm not sure how Once you determine more about how your toolchain works, you'll need to change your compiler rule to target the appropriate binary as a compiler.
Also to be clear, while this is a issue with the status output, it is not the cause of the issue you're seeing. |
Can we close this issue, or are you still encountering issues that may be Santa related? |
I'm still working through documenting the requirements to support multiple compiler environments including Go; Jetbrains X; and Xcode using just MDM and As an example, Go binaries are still denied after the following configuration is applied:
Go binary blocked from launching:
|
Are transitive rules evaluated before scopes? I can confirm that compiler configuration is correctly set however the output is still blocked.
|
Yes.
We know there are some gaps in transitive allowlisting in different toolchains given they all produce binaries differently. Tracking some very basic Go builds with various events in Are you able to easily enable debug logging in your setup (setting
I'd like to know if you're hitting this log line, and if so, what the full message is (feel free to redact the path): santa/Source/santad/SNTCompilerController.mm Lines 135 to 137 in 7513c75
|
Related: #1299 |
Related: #1327 This shouldn't affect |
Using
santactl
, a root user is able to add a rule to add a binary to a transitive allowlist however these rules are ignored unlessEnableTransitiveRules
is set to true. Currently this configuration element can only be set using a sync server.A reasonable person might assume that if a user can use
santactl
to add a specific binary to the ALLOWLIST_COMPILER policy, they should also be able to enable the feature usingsantactl
.The text was updated successfully, but these errors were encountered: