Skip to content
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

SNTBlockMessage: add more template options #1337

Merged
merged 6 commits into from
May 7, 2024
Merged

Conversation

tburgin
Copy link
Member

@tburgin tburgin commented May 3, 2024

Add the following template keys to SNTBlockMessage:

  • %file_bundle_id% The bundle id of the binary, if any.
  • %team_id% The Team ID if present in the signature information.
  • %signing_id% The Signing ID if present in the signature information.
  • %cdhash% If signed, the CDHash.

Also refactor SNTFileAccessEvent slightly. Make it a subclass of SNTStoredEvent to avoid redefining common properties.

@tburgin tburgin requested a review from a team as a code owner May 3, 2024 21:03
@tburgin
Copy link
Member Author

tburgin commented May 3, 2024

#1336

Source/common/SNTBlockMessage.m Outdated Show resolved Hide resolved
Source/common/SNTBlockMessage.m Outdated Show resolved Hide resolved
russellhancox
russellhancox previously approved these changes May 6, 2024
mlw
mlw previously approved these changes May 6, 2024
Source/common/SNTBlockMessage.m Show resolved Hide resolved
@tburgin tburgin dismissed stale reviews from mlw and russellhancox via 5d3ae4e May 6, 2024 21:05
@tburgin tburgin merged commit b53818f into google:main May 7, 2024
11 checks passed
@mlw mlw added this to the 2024.5 milestone May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants