Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Conversation

@mlw
Copy link
Contributor

@mlw mlw commented Mar 5, 2024

This PR adds support for CDHash rules. This rule is now the highest precedence rule that Santa supports. After this PR, the precedence chain is now CDHash > Binary SHA-256 > Signing ID > Cert SHA-256 > Team ID > File Scopes.

This PR also adds new sync server keys to match existing rule types (such as rule counts in Preflight, uploading a binary's cdhash in EventUpload, and accepting CDHASH rule types.

Some minor reworking of an old interfaces was done to further reduce the tedium of adding new rule types in the future (supplementing the work started in #1298.

Fixes #677

@mlw mlw added docs Documentation-related issues sync service Issues related to the sync service / protocol santad Work related to the Santa Daemon rules santactl labels Mar 5, 2024
@mlw mlw requested a review from a team as a code owner March 5, 2024 14:21
@mlw mlw added this to the 2024.3 milestone Mar 5, 2024
@pmarkowsky
Copy link
Contributor

Work for #677

@mlw
Copy link
Contributor Author

mlw commented Mar 5, 2024

Fixes #677

russellhancox
russellhancox previously approved these changes Mar 5, 2024
@mlw mlw merged commit e89cdbc into google:main Mar 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

docs Documentation-related issues rules santactl santad Work related to the Santa Daemon sync service Issues related to the sync service / protocol

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CDHash based rules

3 participants