Skip to content
Discussion options

You must be logged in to vote

Ok so looking at your script this line sudo santactl rule --block --path "$app" --message "$app" will create a SHA256 (BINARY) rule for the bundle.

This means that any time the binary is updated e.g. as part of an OS update your rule will no longer match as the SHA256 value will have changed. If you just want to block all versions you should try blocking on a more stable identifier like Signing ID.

You can do this by adding the --signingid flag to your line above e.g. sudo santactl rule --block --signingid --path "$app" --message "$app"

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@e40
Comment options

@pmarkowsky
Comment options

Answer selected by e40
@e40
Comment options

@e40
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants