Russell Hancox
e639574973
Project: Fix layering for tests ( #813 )
2022.5
2022-05-12 16:52:11 -04:00
Russell Hancox
636f9ea873
Project: Layering, missed a dependency ( #812 )
2022-05-12 14:49:18 -04:00
Russell Hancox
9099409915
Project: Enable layering check, fix all dependency violations ( #811 )
2022-05-12 14:26:08 -04:00
Russell Hancox
976f483a99
syncservice: Fix SNTSyncTest ( #810 )
...
Failing preflight early if the daemonConn doesn't return a response the tests. This fix is a bit awkward, I tried to add the defaults in setUp but then you can't overwrite the stubs in methods that need to do it
2022-05-12 09:54:00 -04:00
Tom Burgin
8a32b7a56b
preflight sync: fix dispatch_group_wait return polarity ( #809 )
...
Co-authored-by: Tom Burgin <bur@chromium.org >
2022-05-11 14:55:42 -04:00
Tom Burgin
7eeb06b406
preflight sync: stop the sync if we cannot communicate with the daemon ( #808 )
...
Co-authored-by: Tom Burgin <bur@chromium.org >
2022-05-11 18:45:58 +00:00
Tom Burgin
4540a1c656
SNTConfigurator: remove mutability from sync state dict ( #807 )
...
Co-authored-by: Tom Burgin <bur@chromium.org >
2022-05-11 14:35:43 -04:00
Russell Hancox
acc7b32b24
GUI: Switch to UserNotification.framework notifications ( #806 )
2022-05-11 12:32:08 -04:00
Russell Hancox
b92d513f5d
GUI: Fix message queuing ( #805 )
2022-05-11 09:59:38 -04:00
Tom Burgin
3458fccd4e
santasyncservice: handle loading and unloading of the service in the pkg ( #804 )
...
Co-authored-by: Tom Burgin <bur@chromium.org >
2022-05-10 14:59:34 -04:00
Russell Hancox
fdfb00368c
GUI: Update keys for EventDetailURL. ( #802 )
...
The previous change here (#797 ) was not backward compatible and would be difficult to roll out. This change restores the previously used key and adds 2 new ones for migration. The previous key is marked deprecated and will be removed in the future.
2022-05-09 13:46:13 -04:00
Tom Burgin
6bd369cfb2
santad: remove sema from sync service queue ( #803 )
...
Co-authored-by: Tom Burgin <bur@chromium.org >
2022-05-09 13:32:28 -04:00
Pete Markowsky
0df26c6214
Fix ES Mock Client Subscription issues ( #801 )
...
Fixes an issue with the ES mock where it was deleting all clients on an unsubscribe.
2022-05-06 14:34:42 -04:00
Russell Hancox
6e22da1d97
santad: Add 'null' event logger. Fixes #754 ( #799 )
2022-05-06 12:22:04 -04:00
Russell Hancox
1725809335
Add config to allow uploading all events ( #800 )
...
* Add config to allow uploading all events
This config can be enabled locally or by a sync server and causes the
client to upload all events, not just those for binaries that are or
would be blocked.
Fixes #689
2022-05-06 11:45:53 -04:00
Pete Markowsky
3eff49feda
Added macos-12 to the build matrix. ( #798 )
2022-05-03 21:14:15 -04:00
Pete Markowsky
5caedebb06
Created a profiles package so provisioning profiles only need to be in one place. ( #794 )
2022-05-03 17:14:02 -04:00
Russell Hancox
d823028b72
Sync: Add option to enable event upload despite clean sync. ( #796 )
...
Related to #789
2022-05-03 15:15:42 -04:00
Russell Hancox
49b2d6e22a
GUI: Add %bundle_or_file_sha% translation key ( #797 )
...
* GUI: Add %bundle_or_file_sha% translation key
This mimics the current behavior that %file_sha% previously had and
moves %file_sha% to the expected behavior or just showing the file's
SHA.
Related to #795
2022-05-03 14:59:01 -04:00
Russell Hancox
4236d57e96
Project: Update packaging script to do tarball creation in a scratch dir ( #793 )
2022.4
2022-04-28 15:25:48 -04:00
Russell Hancox
36d463a1dc
Project: Include syncservice.plist in release builds and loads ( #792 )
2022-04-28 14:42:19 -04:00
Tom Burgin
adbafd6bab
syncservice: sign and package ( #790 )
...
Co-authored-by: Tom Burgin <bur@chromium.org >
2022-04-28 13:31:20 -04:00
Tom Burgin
b5ebe1259c
syncservice: implementation and migration ( #775 )
...
* review updates
* fix test
* review updates
* log level cleanup
Co-authored-by: Tom Burgin <bur@chromium.org >
Co-authored-by: Russell Hancox <russellhancox@users.noreply.github.com >
2022-04-27 14:54:56 -04:00
Ryan Diers
e0ae0f481b
santa/gui: Update buttons to push style to better stand out ( #788 )
2022-04-19 20:08:35 -04:00
Matt W
8037c79fc0
Populate critical paths from the ES default mute set ( #786 )
...
* Populate critical paths from the ES default mute set
* Attempt to fix build on older macos
* Link ES to build SNTRuleTableTest
* Workflow test
* Use preprocessor macros to support building on older SDKs
* Add API availability
2022-04-18 15:11:43 -04:00
Walter Lee
892d303de1
Disable layering check for Objective-C, part two ( #787 )
2022-04-18 12:15:08 -04:00
Russell Hancox
ff3979263e
santad: Use TTY path provided by ES ( #785 )
2022-04-15 12:48:06 -04:00
np5
01afefd3d4
santactl/sync: Fix event team ID decision value ( #784 )
2022-04-15 10:27:48 -04:00
Kent Ma
830627e7bc
Docs: Add "Team ID" to description on AllowedPathRegex ( #782 )
2022-04-14 13:13:51 -04:00
Walter Lee
601d726fcc
Disable layering check for Objective-C ( #781 )
2022-04-12 09:06:55 -04:00
Tom Burgin
0be1ca0199
ES_EVENT_TYPE_NOTIFY_UNMOUNT: flush the cache off the ES handler thread ( #778 )
...
Co-authored-by: Tom Burgin <bur@chromium.org >
2022-04-06 12:07:08 -04:00
Kent Ma
8602593149
Fix dead link ( #774 )
2022-03-25 13:33:08 -04:00
Matt W
9bca601ce6
Modified build target names for santa proto ( #772 )
2022-03-25 13:07:57 -04:00
Kent Ma
c73acd59d4
Update logo image of Santa ( #773 )
2022-03-25 12:46:34 -04:00
Russell Hancox
3c334e8882
Project: Fix coverage collection ( #770 )
2022-03-24 11:33:46 -04:00
Russell Hancox
5f811cadf8
Project: Update apple_rules dep, add .bazelversion for bazelisk users ( #769 )
2022-03-23 17:34:04 -04:00
Russell Hancox
4252475de0
Project: Fix fallback version ( #767 )
2022-03-23 15:13:30 -04:00
Kent Ma
45f1822681
Exclude bazel-out from test coverage generation ( #768 )
2022-03-23 15:10:46 -04:00
Russell Hancox
498a23d907
Project: Make versioning dynamic through bazel's --embed-label. ( #766 )
...
The apple_rules allow versioning using an apple_bundle_version rule that extracts elements from an embedded label. We haven't been able to use this until now because the kernel extension needed access to the version in a define.
2022-03-23 14:53:51 -04:00
Russell Hancox
5dff8a18f4
santad: Split ES cache into root/non-root varieties ( #765 )
2022-03-23 09:43:14 -04:00
Russell Hancox
676c02626d
santactl/metrics: Allow filtering metrics ( #763 )
2022-03-22 18:12:14 +00:00
Russell Hancox
64950d0a99
Project: Show test errors in output from CI ( #764 )
2022-03-22 11:39:01 -04:00
Kent Ma
16f74cb85c
Remove references to santa-driver and the kernel extension from parts of the docs ( #762 )
2022.3
2022-03-21 11:33:45 -04:00
Russell Hancox
aadc961429
santad: Clear caches when disks are unmounted. ( #760 )
...
This restores behavior that was recently removed
2022-03-18 13:38:35 -04:00
Russell Hancox
be66fd92f4
santactl/status: Re-org output in status re: USB Blocking. ( #759 )
2022-03-18 09:57:34 -04:00
Russell Hancox
feea349f25
Project: Remove kext signing/packaging ( #755 )
2022-03-16 17:08:59 -04:00
Kent Ma
1c04c3a257
Remove code guarded by #ifdef kernel macros ( #752 )
...
* Remove code guarded by #ifdef kernel macros
2022-03-15 14:38:40 -04:00
np5
818d3f645f
santactl/sync: Add model identifier to preflight request ( #751 )
2022-03-15 14:24:05 +00:00
Pete Markowsky
15d6bb1f14
Made santad an early boot client to prevent racing other pids. ( #750 )
...
Make santad an early boot Endpoint Security Framework Client.
2022-03-15 10:16:40 -04:00
Kent Ma
211dbd123f
Remove the Santa kernel extension. ( #749 )
...
This includes:
* All of the code in Source/santa_driver containing the kernel extension
* The SNTDriverManager event provider
* All workflows in our CI related to testing if the driver builds
* Installation of the driver in install.sh. Note that code uninstalling existing instances of the driver is still intentionally kept present.
* Kernel extension-specific build rules
* Renames SNTKernelCommon to SNTCommon
* Driver version output from santactl version
* The [SNTConfigurator EnableSystemExtension] configuration key
2022-03-14 18:17:02 -04:00