Pete Markowsky
82b71c0f20
Add a metrics command to santactl ( #687 )
...
Add a metrics command to santactl.
2021.8
2021-12-02 14:30:39 -05:00
Allister Banks
10ccee9e4c
Docs: EnableSysxCache docs, etc ( #684 )
...
* Add more Conf references, EnableSysxCache key, etc
* Updated link (even though previous config profile explainer link redirects accordingly) to profile spec.
* Added brief explanation of TCC/PPPC and made reference to the non-setting example MDM mobileconfig files in the repo
* Add sysext log stream example, update wording
* Pointed at events and configuration pages for details about logging
* New troubleshooting section
* Standardized on asterisks for page link markup in the TOC index page
2021-11-22 22:22:49 -05:00
Pete Markowsky
acbbb9e7b0
Add a configuration option for users to add their own root labels ( #683 )
...
Add an option for users to add their own root labels.
Co-authored-by: Russell Hancox <russellhancox@users.noreply.github.com >
2021-11-19 10:34:18 -05:00
Kent Ma
3939ad9813
Add santametricservice information to santactl status ( #679 )
2021-11-16 16:04:59 -05:00
Kent Ma
d20455252d
Update santactl fileinfo, sync, and status to show teamID info ( #678 )
...
* Update santactl fileinfo, sync, and status to show teamID info
2021-11-16 14:57:02 -05:00
Pete Markowsky
5cd901034f
Fixed up typo related to hostname vs. host_name ( #676 )
...
Fixed up typo related to hostname vs. host_name.
2021-11-15 15:28:41 -05:00
Kent Ma
4e82392370
Update cli flag for --teamid in santactl ( #675 )
2021-11-11 15:56:18 +00:00
np5
19710f7233
Do not store Allow TeamID events in the database ( #674 )
2021-11-11 10:44:39 -05:00
Russell Hancox
27e32bd9ff
Tests: Update SNTMetricHTTPWriterTest ( #673 )
2021-11-11 08:59:14 -05:00
Kent Ma
c268ad4f9a
Change SNTEventLog to be a singleton emit a singleton Logger object ( #670 )
...
* Change SNTEventLog to be a singleton emit a singleton Logger object
2021-11-10 17:23:01 -05:00
Russell Hancox
f7a1a4cb39
Tests: Fix MetricServiceTest compatible with public OCMock ( #669 )
2021-11-08 15:53:57 -05:00
Russell Hancox
ad6e03e6cc
Tests: Stop using NSInvocation with OCMock's .andDo() ( #667 )
2021-11-08 12:19:20 -05:00
Russell Hancox
8ecc3f879a
Tests: Fix some flaky tests. ( #666 )
...
1. OCMock objects don't need stopMocking to be called - it's only necessary to call that in cases where the original object behavior must be restored before the end of the test. Otherwise the mock automatically restores during deallocation.
2. SNTMetricRawJSONFormat still used a plain NSDateFormatter and so was applying timezone calculations. In tests we've switched to using NSISO8601DateFormatter but this requires 10.13 and our deployment target is still 10.9 so I've stuck to applying the UTC timezone to the formatter instead.
2021-11-05 18:03:57 -04:00
Pete Markowsky
d51093501c
Fix Flaky Execution Controller Tests ( #665 )
...
* Fix up some issues with flaky tests.
2021-11-05 13:51:04 -04:00
np5
05dd1b6215
Add AboutText option for the Santa.app ( #662 )
2021-11-04 22:02:23 -04:00
Pete Markowsky
8c3320e3e9
Change NSDateFormatter to NSISO8601DateFormatter ( #661 )
...
Change NSDateFormatter to NSISO8601DateFormatter.
2021-11-02 13:11:51 -04:00
Tom Burgin
369dc9a63c
Add KVO binding for EnableBadSignatureProtection ( #659 )
2021-10-28 17:34:56 -04:00
Pete Markowsky
7adc55007c
Change to NSISO8601DateFormatter to ensure UTC timestamps in unit tests ( #658 )
...
Change to NSISO8601DateFormatter to ensure UTC timestamps in unit tests.
2021-10-28 15:34:31 -04:00
Edward Marczak
fe6be921d3
Add EnableBadSignatureProtection key ( #656 )
...
Add EnableBadSignatureProtection key and description into the configuration.md doc.
2021-10-28 10:02:24 -04:00
Pete Markowsky
23b31ec413
Add build matrix for build / test steps to shake out OS nuances ( #654 )
...
Add build matrix for build / test steps to shake out OS nuances.
Remove macos-latest from build matrix.
2021-10-26 16:14:24 -04:00
Pete Markowsky
727b009a1c
Fixed one set of tests. ( #652 )
2021-10-26 15:36:54 -04:00
Pete Markowsky
1c42f06135
Add Metrics and Metrics Service to Santa ( #641 )
...
Add santametricservice and basic metrics to Santad.
This PR adds the santametricservice, and adds basic metrics to santad. It also updates the SNTMetricSet to have and updates packaging scripts to include the santametricservice (aka metric service) in the final bundle.
Co-authored-by: Russell Hancox <russellhancox@users.noreply.github.com >
2021-10-26 09:25:10 -04:00
Kent Ma
e1cf8e70a3
Add continuous workflow job for checking for flakes ( #650 )
...
Co-authored-by: Pete Markowsky <pmarkowsky@users.noreply.github.com >
2021-10-25 10:23:42 -04:00
Russell Hancox
7a500b8135
Packaging: Fix syntax error in package_and_sign.sh ( #651 )
2021-10-22 09:15:20 -04:00
Pete Markowsky
3702af0309
Add description to SNTMetricSet and Fix issues with SNTMetricMonarchJSONFormat ( #649 )
...
* Added description to SNTMetricSet and fixed typos in SNTMonarchJSONFormat.
2021-10-21 16:41:24 -04:00
Russell Hancox
697cd29a0a
Project: Include package files in release tarball ( #648 )
2021-10-20 21:31:33 +00:00
Kent Ma
5735a12424
Update list of critical system binaries and include comment about Monterrey behavior ( #647 )
2021-10-20 16:45:42 -04:00
Russell Hancox
07b8f2121d
Project: Include new packaging files in release tarball ( #646 )
2021-10-20 12:54:00 -04:00
Russell Hancox
78a1a929fd
Project: Check-in packaging and signing script. ( #645 )
...
This is largely a copy of what we've been using so far but with previously hardcoded stuff replaced with environment variables.
2021-10-20 11:47:30 -04:00
Russell Hancox
9163417b54
santad: enable sysx cache by default ( #644 )
...
We've had this enabled long enough now to know that it works correctly and helps performance considerably, so let's have it on by default.
2021-10-18 18:17:11 -04:00
Kent Ma
fa6630a31a
Rename shasum to identifier in database ( #643 )
2021-10-18 13:27:36 -04:00
Kent Ma
1f2b82fc58
Allow banning of team IDs. ( #640 )
2021-10-18 09:52:56 -04:00
Kent Ma
b77b0142af
Add microbenchmark for execs on SNTApplication ( #639 )
2021-10-15 15:57:04 -04:00
Russell Hancox
2f80a42845
Project: Build driver if files in Source/common/* change ( #637 )
2021-10-15 15:03:16 +00:00
Russell Hancox
67db370492
Common/Kernel: Add some missing defines to libs included in driver ( #638 )
2021-10-14 13:05:33 -04:00
Russell Hancox
a0319ecf52
Project: Bump to 2021.8 ( #636 )
...
Co-authored-by: Kent Ma <tnek@google.com >
2021-10-13 14:37:44 -04:00
Pete Markowsky
16d0bd6db6
Add Support for Formatting metrics for Monarch ( #633 )
...
* Initial commit of a Format that converts SNTMetricSet dictionaries to a format consumable by Monarch tooling.
Co-authored-by: Russell Hancox <russellhancox@users.noreply.github.com >
2021-10-11 16:01:50 -04:00
Kent Ma
9e3943ec68
Add error on lint failure and include a fix.sh ( #632 )
...
Add error on lint failure, include a fix.sh, and fix existing linter errors.
2021-10-11 11:33:10 -04:00
Kent Ma
e461b4bfbc
Use direct path in integration_tests.sh instead of relative path ( #631 )
2021-10-07 13:07:14 -04:00
Russell Hancox
8f836afe86
* Project: Update README and docs/details/santactl ( #630 )
...
Re-organized some sections, removed some obsolete statements, fixed a few links.
2021-10-06 17:12:53 -04:00
Russell Hancox
04ad1c34ba
Project: Update entitlements files ( #629 )
2021-10-06 11:36:58 -04:00
Pete Markowsky
c3042e21dc
Add a workflow for checking links in Markdown files. ( #628 )
2021-10-05 19:28:03 -04:00
Russell Hancox
3ede20a121
Project: Fix issues link in README ( #626 )
2021-10-05 15:49:39 -04:00
Russell Hancox
976118cce4
santactl/sync: Fix tests for santactl/sync ( #625 )
...
This test has been around since early 2016 but has been un-runnable since early 2019.
2021-10-05 13:17:50 -04:00
Pete Markowsky
ea85f0f539
Initial commit of an HTTP writer for SNTMetricSets ( #624 )
...
* Initial commit of an HTTP writer for SNTMetricSets.
This PR adds support for shipping serialized SNTMetricSets to an HTTP server via POSTs.
Co-authored-by: Russell Hancox <russellhancox@users.noreply.github.com >
2021-10-04 19:49:40 -04:00
Russell Hancox
d193b05057
Tests: ensure SNTPrefixTree test finishes executing at appropriate time ( #623 )
2021-10-04 15:41:14 -04:00
Russell Hancox
9fb4f2e171
README: sync servers; remove upvote, sort the rest alphabetically. ( #622 )
2021-10-04 11:48:13 -04:00
Kent Ma
58cec5819a
Add linter step with clang-format and buildifier. ( #620 )
...
Also lint our files accordingly
2021-10-01 16:51:06 -04:00
Kent Ma
6ba5831f2d
Run buildifier ( #619 )
2021-10-01 15:18:33 -04:00
Kent Ma
a22e3ead83
Add regular execution integration tests ( #618 )
2021-10-01 15:07:56 -04:00