Commit Graph

4846 Commits

Author SHA1 Message Date
George Guliashvili
d498bcbd65 unique target names for xcode (#5328)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5328

xcode needs unique target names to properly parse buck generated project

Reviewed By: marekcirkos

Differential Revision: D13487400

fbshipit-source-id: cf0c76145344d0873a0973e226d007597a06d17d
2019-01-16 12:28:04 -08:00
ume
e72d28797d Fix config_name typo on documentation (#5243)
Summary:
* I think watchlog is a typo for watchdog.
* watchlog_level=2 is legacy configuration.
    * https://github.com/facebook/osquery/pull/2173
Pull Request resolved: https://github.com/facebook/osquery/pull/5243

Reviewed By: guliashvili

Differential Revision: D13693315

Pulled By: fmanco

fbshipit-source-id: 626545186e3950eb43226f6d3926581482d92458
2019-01-16 09:26:14 -08:00
micheal-o
7169a1a120 Quick fix in database and disk_encryption (#5273)
Summary:
Fixes #4836
Pull Request resolved: https://github.com/facebook/osquery/pull/5273

Reviewed By: guliashvili

Differential Revision: D13693558

Pulled By: fmanco

fbshipit-source-id: 6160bc54f44c638f00cad745ac70657f58bf38ca
2019-01-16 09:20:23 -08:00
micheal-o
a07b444dde bug fix: last table doesn't properly filter events (#5274)
Summary:
Fixes #5139
Pull Request resolved: https://github.com/facebook/osquery/pull/5274

Differential Revision: D13690840

Pulled By: fmanco

fbshipit-source-id: a0874cd3d904fd40b7dcb9de0995d50f8b49dc3c
2019-01-16 08:23:52 -08:00
seph
637eb104b8 Spelling (#5256)
Summary:
While running `misspell` on a different codebase. I happened to notice that some misspellings in the osquery code base. So, I fixed them
Pull Request resolved: https://github.com/facebook/osquery/pull/5256

Reviewed By: guliashvili

Differential Revision: D13670897

Pulled By: fmanco

fbshipit-source-id: 5d33d858284955c376e8c3980acdf366d4edf3d3
2019-01-16 08:17:07 -08:00
Nick Anderson
3a1da3f9d4 bug: actually remove additional newline from event data (#5271)
Summary:
I had previously attempted to land a fix to the extra newline that was trailing on Windows Event Logs, but had failed. This actually fixes the extra newline, which I verified. I'd love to have unit tests for this, however we don't currently have any unit tests setup for Windows Event Logging.
Pull Request resolved: https://github.com/facebook/osquery/pull/5271

Differential Revision: D13690844

Pulled By: fmanco

fbshipit-source-id: b7447fe2f6e2313c8e7f8765d636f7999d2b5909
2019-01-16 08:02:16 -08:00
Mitchell Grenier
166a55b841 Include weekends on the kernel_panics table (#5298)
Summary:
The set accidentally missed Saturday and Sunday days of the week. This just adds them in.

Fixes #5297.
Pull Request resolved: https://github.com/facebook/osquery/pull/5298

Reviewed By: guliashvili

Differential Revision: D13690812

Pulled By: fmanco

fbshipit-source-id: 1859d32ad635d63548435fed8e9da131530be5ce
2019-01-16 07:53:48 -08:00
Alexander Kindyakov
e2abdf65c5 Integration test for the users table (#5357)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5357

Basically rebase PR #5134 on top of experimental branch

Reviewed By: guliashvili

Differential Revision: D13675072

fbshipit-source-id: d609399be9661b9dbc38a0a226af2529a4ef3eac
2019-01-16 07:42:09 -08:00
Filipe Manco
66aa4618b8 Update contribution guidelines (#5358)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5358

Update the contribution guidelines with the new contribution process.

Reviewed By: marekcirkos

Differential Revision: D13580401

fbshipit-source-id: 591f7c218012632631b837d0e59a91fb7b52fbf2
2019-01-16 04:22:30 -08:00
Filip Hrenić
6d159d4046 Osquery support for atom packages
Summary:
Add support for listing atom packages on Linux and Mac. Shouldn't be a problem adding support for Windows, but have no way to test it right now.
Lists package name, version, description, package path, license and homepage (see test).

Reviewed By: fiorix

Differential Revision: D13636097

fbshipit-source-id: f38a57128cedde2d027a0205588c8b563e2b188c
2019-01-16 03:12:54 -08:00
micheal-o
6fe7b4cbc2 Epoch in rpm_packages table (#5248)
Summary:
code for issue: #5202
Pull Request resolved: https://github.com/facebook/osquery/pull/5248

Differential Revision: D13677333

Pulled By: fmanco

fbshipit-source-id: e245c3733bb73a1d4d6ab61e007c1cf274c29e59
2019-01-15 16:53:35 -08:00
divious1
f5645b95b5 detects when a proc is tapping keyboard event (#5345)
Summary:
added osx-attack query that detects when a proc is tapping keyboard event, see details at:
https://twitter.com/d1vious/status/1083447632188579841
 inspiration:
https://t.co/8SEd2dgP5Y

not sure if a test is needed
Pull Request resolved: https://github.com/facebook/osquery/pull/5345

Differential Revision: D13669678

Pulled By: fmanco

fbshipit-source-id: 57fae7389a4579a817b827e58de94e0aacb581a5
2019-01-15 06:43:32 -08:00
Filipe Manco
0c0ac7c12e Enable TravisCI for macOS (#5352)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5352

First step to enable TravisCI.

Reviewed By: akindyakov

Differential Revision: D13665375

fbshipit-source-id: 162ffe6bcfa531152f6efc06a9fdd202c6159517
2019-01-15 06:12:25 -08:00
Alexander Kindyakov
0f15c5fc6a C++ enum wrapper for posix general error codes (#5342)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5342

This sort of enumeration is required to pass posix system errors with `Expected<>`

Reviewed By: mkareta, fmanco

Differential Revision: D13608306

fbshipit-source-id: 0b787b12fac915f097dc310b616df507772da455
2019-01-15 05:38:12 -08:00
Alexander Kindyakov
d893ec4aa8 Semantic version parser (#5343)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5343

Just a parser for the semantic version in string. I gonna use it later to parse kernel version from the `int uname()` result.

Reviewed By: guliashvili

Differential Revision: D13607313

fbshipit-source-id: d6d01fe220f242d3811406dcd63d609feb0d6688
2019-01-15 05:38:12 -08:00
George Guliashvili
615d6485af Revert profiler reporting type to default
Summary: Currently osquery extension uses old osquery core SDK. So does not know, types other than none, sum, min, max(Others were added later) . Let's revert profiler reporting type until new SDK is generated, so that I'm not blocked in rolling out the profiler.

Reviewed By: akindyakov

Differential Revision: D13654143

fbshipit-source-id: 07ded5c6a1bc85d5c2ed983e7a55f3fff9826980
2019-01-14 10:57:57 -08:00
George Guliashvili
96de926d1c Improve event expiration mechanism (#5335)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5335

It was reported that osquery eventing mechanism uses too much disk space. As daebeike found it, event expiring was failing in some cases to be executed.

More specifically, expiration check was supposed to run every time EVENTS_CHECKPOINT number of events where added. However, in between the checks for expiration more than EVENTS_CHECKPOINT events could be added and no expiration would be executed. I suppose, this behaviour would be easily reproducible under the high load

Reviewed By: fmanco

Differential Revision: D13565250

fbshipit-source-id: 78bbad3f7aded4beb9e5f42bafd9184e9c2f8efb
2019-01-14 10:53:47 -08:00
Alexander Kindyakov
3d5309b615 One place to define version of api (#5346)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5346

Let's define win32 api version only inside of buck files, but not in cpp header

Reviewed By: guliashvili

Differential Revision: D13635704

fbshipit-source-id: cd978661ed6f733950363c2ac261811045263ed2
2019-01-14 09:46:36 -08:00
Max Kareta
8c0c403796 fixed headers_namespace to match file path
Summary: Some tools does not support virtual headers namespaces and expect header path to match actual file path from project root. This diff will fix few namespaces in utils library

Reviewed By: guliashvili

Differential Revision: D13552878

fbshipit-source-id: 2a06f73550c69777bf73be73abdde297fe580583
2019-01-14 03:33:32 -08:00
Jonathan Keljo
43cb6d7535 Fix NODISCARD on C++17
Summary:
On C++17 `NODISCARD` maps to a `[[nodiscard]]` attribute, which must
appear at the start of the function signature.

Reviewed By: j-calvert, guliashvili

Differential Revision: D13627821

fbshipit-source-id: d308650cf0188141a4942f528b7ec91825a0c318
2019-01-11 14:28:40 -08:00
Jeremy Calvert
80351aff7d Get rid of size field in QueryPerformance
Summary: As discussed in [an old PR](37ffdf8a48 (r213278358)) this is of questionable benefit and will get complicated when we change to typed values, so dropping.

Reviewed By: guliashvili

Differential Revision: D13631227

fbshipit-source-id: ada9b5434297d8c1c4b3e3855fe595faf5937bf6
2019-01-11 12:25:49 -08:00
Jeremy Calvert
27e57a2300 Fix processing of null prepared statements.
Summary: Please see comment in T38999664

Reviewed By: guliashvili

Differential Revision: D13639493

fbshipit-source-id: d56fdc26dc9d1f1f3f024438310979637311887e
2019-01-11 12:04:20 -08:00
George Guliashvili
f39ec0bd52 cpu_info
Summary: add integration test for cpu_info #5048

Reviewed By: akindyakov

Differential Revision: D13565408

fbshipit-source-id: c76be90515f4ace730f790ff88ad74cd0fd1f511
2019-01-11 07:11:29 -08:00
Robbie Ostrow
6b62ce1d8b remove heroku's windmill project from remote deployment doc (#5283)
Summary:
Heroku's windmill project seems to have been removed from both Github and Heroku's site. This PR just deletes the paragraph referring to Windmill (and also deletes a space that was causing markdown to render **https://** incorrectly.)
Pull Request resolved: https://github.com/facebook/osquery/pull/5283

Differential Revision: D13625435

Pulled By: fmanco

fbshipit-source-id: 32e97f8db39d705924a6841b53f0d018e76ddb71
2019-01-11 05:56:57 -08:00
Steven Peters
41b785b86c Fix build with boost 1.69: add missing boost/noncopyable.hpp includes (#5325)
Summary:
boost 1.69 is in a pull request in homebrew-core at https://github.com/Homebrew/homebrew-core/pull/35030 and `osquery` is failing to compile due to using `boost::noncopyable` in a couple header files without including `boost/noncopyable.hpp`:

* [jenkins log of build failure](https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/34941/version=high_sierra/testReport/junit/brew-test-bot/high_sierra/install_osquery/)

The build still fails on homebrew due to #5284.
Pull Request resolved: https://github.com/facebook/osquery/pull/5325

Differential Revision: D13464741

Pulled By: fmanco

fbshipit-source-id: bdaf573b180f8cdfd08dc719db4829911249caaf
2019-01-10 08:48:37 -08:00
Jeremy Calvert
a1058b7372 s/processesRow/ProcessesRow/ on osquery/oss/osquery/tables/system/tests/darwin/processes_tests.cpp
Reviewed By: jkeljo

Differential Revision: D13618914

fbshipit-source-id: 48c0d86107723446497638e6a2367d92b3876586
2019-01-09 18:44:01 -08:00
Jonathan Keljo
f7ec202778 Optimize process command line computation
Summary:
Previously we computed the args and environment, then discarded the environment and joined the args together to make the command line. By cutting out all that extra work, we get a ~3% CPU win for a typical `processes` query.

Before:
```
 D:0  C:0  M:2  F:0  U:0  pack_processes_resources (1/5): duration: 0.592410087585 cpu_time: 0.053588293 memory: 12603392 fds: 4 utilization: 5.05
 D:0  C:0  M:1  F:0  U:0  pack_processes_resources (2/5): duration: 0.52742600441 cpu_time: 0.05227561 memory: 12578816 fds: 4 utilization: 4.95
 D:0  C:0  M:2  F:0  U:0  pack_processes_resources (3/5): duration: 0.524594068527 cpu_time: 0.052265788 memory: 12582912 fds: 4 utilization: 4.95
 D:0  C:0  M:2  F:0  U:0  pack_processes_resources (4/5): duration: 0.519255876541 cpu_time: 0.052351296 memory: 12697600 fds: 4 utilization: 5.0
 D:0  C:0  M:1  F:0  U:0  pack_processes_resources (5/5): duration: 0.525310993195 cpu_time: 0.05189243 memory: 12570624 fds: 4 utilization: 4.9
 D:0  C:0  M:2  F:0  U:0  pack_processes_resources   avg: duration: 0.537799406052 cpu_time: 0.0524746834 memory: 12606668.8 fds: 4.0 utilization: 4.97
```

After:
```
 D:0  C:0  M:1  F:0  U:0  pack_processes_resources (1/5): duration: 0.577349901199 cpu_time: 0.052007643 memory: 12525568 fds: 4 utilization: 4.9
 D:0  C:0  M:1  F:0  U:0  pack_processes_resources (2/5): duration: 0.516617059708 cpu_time: 0.050582555 memory: 12480512 fds: 4 utilization: 4.8
 D:0  C:0  M:1  F:0  U:0  pack_processes_resources (3/5): duration: 0.519332170486 cpu_time: 0.049710162 memory: 12492800 fds: 4 utilization: 4.7
 D:0  C:0  M:1  F:0  U:0  pack_processes_resources (4/5): duration: 0.523589849472 cpu_time: 0.051366226 memory: 12578816 fds: 4 utilization: 4.9
 D:0  C:0  M:1  F:0  U:0  pack_processes_resources (5/5): duration: 0.528687000275 cpu_time: 0.049640225 memory: 12529664 fds: 4 utilization: 4.7
 D:0  C:0  M:1  F:0  U:0  pack_processes_resources   avg: duration: 0.533115196228 cpu_time: 0.0506613622 memory: 12521472.0 fds: 4.0 utilization: 4.8
```

(Adapted from https://github.com/facebook/osquery/pull/5200)

Reviewed By: guliashvili

Differential Revision: D13458612

fbshipit-source-id: 5642225a673f8ce954a60ec01fb7ddfcc79c0608
2019-01-09 13:50:15 -08:00
Jonathan Keljo
5bb1ec75a0 Migrate processes to strongly-typed TableRows on macOS
Summary:
Continuing to march toward low-overhead, type-safe table rows, this commit
converts the Darwin `processes` table to using the generated row types.

My march concludes here, but there's a lot of work yet to be done with
migrating other tables.

(Adapted from https://github.com/facebook/osquery/pull/5199)

Reviewed By: guliashvili

Differential Revision: D13438014

fbshipit-source-id: 0e8365f26fe95131fe53ba3491cf07899600e997
2019-01-09 13:50:15 -08:00
Jonathan Keljo
068efc9d67 Generate strongly-typed TableRow subclasses for each table
Summary:
Continuing to march toward low-overhead, type-safe table rows, this commit
introduces the code generation for said rows. Nothing uses it yet; see the
next commit for that.

(Adapted from https://github.com/facebook/osquery/pull/5199)

Reviewed By: guliashvili

Differential Revision: D13438017

fbshipit-source-id: 959a6e092aee38d33e1c6539cbe14b85172c0135
2019-01-09 13:50:15 -08:00
Jonathan Keljo
1870fd86d8 Introduce TableRow interface
Summary:
Continuing to march toward low-overhead, type-safe table rows, this commit
changes `TableRow` to be an interface rather than simply an alias for `Row`.
Accordingly, `DynamicTableRow` becomes an implementation of that interface
backed by a `Row`. The few remaining pieces of code that treated `TableRow`s as
`Row`s now call methods on the `TableRow` interface. Subsequent commits will
add code generation for strongly-typed table-specific implementations of
`TableRow`.

(Adapted from https://github.com/facebook/osquery/pull/5198)

Reviewed By: guliashvili

Differential Revision: D13438015

fbshipit-source-id: 61d5547e878e519c9706f94f844aab9d3e553410
2019-01-09 13:50:15 -08:00
Jonathan Keljo
78a6960dcd Make TableRows more abstract
Summary:
Continuing to march toward low-overhead, type-safe table rows, this commit changes
much of the code that uses `TableRow`s to stop assuming that they're just `vector`s
by another name. (`TableRow` is on the way to becoming an interface with multiple
implementations.) They're now held in `unique_ptr`s (`TableRowHolder`). For cases
where we really want a `vector`-backed `TableRow` (mostly test code and extension
support), we have a factory function (`make_table_row`) and a helper class
(`DynamicTableRowHolder`) to make that smoother.

(Adapted from https://github.com/facebook/osquery/pull/5198)

Reviewed By: mkareta

Differential Revision: D13438016

fbshipit-source-id: 2de9ce46a64c0a067b5d3299c59bbe3ccacd4abe
2019-01-09 13:50:15 -08:00
Jonathan Keljo
b9f1e94fc8 Prefactor: QueryData -> TableRows for virtual tables
Summary:
Continuing to march toward low-overhead, type-safe table rows, this commit introduces
a distinction between rows being returned from a table (`TableRows`) and as the
result of a query (`QueryData`). Right now the two are simply aliases for each other;
that will change shortly.

(Adapted from https://github.com/facebook/osquery/pull/5198)

Reviewed By: guliashvili

Differential Revision: D13438019

fbshipit-source-id: 6563fc8c372d9d6c4b05705943ddf39b42260feb
2019-01-09 13:50:15 -08:00
divious1
a61add8bdd splunk is moving towards preferring colons in sourcetype delimiters (#5338)
Summary:
Just a minor cosmetic change on docs, that changes the Splunk's sourcetype names to have colons instead of underscore as it is the preferred method for delimiting sourcetypes. Not sure if a test is needed for this actual docs change.
Pull Request resolved: https://github.com/facebook/osquery/pull/5338

Differential Revision: D13607572

Pulled By: fmanco

fbshipit-source-id: 95f255fb91b821b602a89c9dda3501fdba10fd1b
2019-01-09 09:47:57 -08:00
Jeremy Calvert
5461a3b79d Get typed data from sqlite
Summary:
Step towards completion of https://github.com/facebook/osquery/pull/4904
- Add boost variant (typed) counterparts for RowData, Row, and QueryData.
- Add a queryInternal to sqlite_util that returns QueryDataTyped.
- Replace the queryInternal that returns QueryData with one that's a simple wrapper around the new typed implementation.

Reviewed By: guliashvili

Differential Revision: D13586036

fbshipit-source-id: d1d9b56470fbfcfb5802de422f87d9b9d6da7fb7
2019-01-09 09:06:57 -08:00
George Guliashvili
75dade56b3 fix null dereference (#5332)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5332

malloc might return null and memcpy will crash in that case

Reviewed By: akindyakov

Differential Revision: D13517060

fbshipit-source-id: 261f493823974dcc40a40139094eb4a98cd24dec
2019-01-08 08:01:14 -08:00
Alexander Kindyakov
081d5053ee Create OSQUERY_NODISCARD to prevent non returning errors (#5331)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5331

Let's use attributes to prevent such mistakes (see previous diff in the stack)

Reviewed By: guliashvili

Differential Revision: D13504146

fbshipit-source-id: 7cab2dd345599b036fa2a27bf682f2a159fd1c08
2018-12-19 03:58:50 -08:00
Alexander Kindyakov
a724147c22 created error should be returned (#5330)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5330

small bug in killswitch and rocksdb code

Reviewed By: guliashvili

Differential Revision: D13504145

fbshipit-source-id: be9ae605a8c5588c5613889eb9a1af408935bfc8
2018-12-19 03:58:50 -08:00
George Guliashvili
ae2486ff16 fix xcode duplicate target names (#5323)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5323

xcode needs unique target names not to fail on buck generated project

Reviewed By: marekcirkos, akindyakov

Differential Revision: D13449869

fbshipit-source-id: 73511aeaa3245586adc293fbe0311f51f71ea12f
2018-12-13 16:13:44 -08:00
George Guliashvili
4967cf3de1 osquery windows oss build fix
Summary: osquery windows oss build fix

Reviewed By: fmanco

Differential Revision: D13431552

fbshipit-source-id: c13f1edac9c08d49901c5db3f58fc5c558ad8410
2018-12-13 05:21:47 -08:00
Allister Banks
29649fcf4a typo fix, one other wording tweak/update in README.md (#5321)
Summary:
New text had 'joing' typo, OS X has been called macOS for several revisions of the operating system.

Please also note the CONTRIBUTING guidelines are out of date, but I have signed a CLA and believe this would be acceptable.
Pull Request resolved: https://github.com/facebook/osquery/pull/5321

Differential Revision: D13449990

Pulled By: fmanco

fbshipit-source-id: 5c0150d9ff9e68323ba111a05d34e1de4fcd3249
2018-12-13 05:17:41 -08:00
Filipe Manco
f9620a9f8b Update README.md (#5319)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5319

* Remove Jenkins build status and simplify the text.

Reviewed By: guliashvili

Differential Revision: D13431121

fbshipit-source-id: c058c1588ee58fd89cc15f37b242662929f6b611
2018-12-12 13:15:42 -08:00
Jonathan Keljo
a88a010e30 Plumb columns used as a bitfield
Summary:
Hand port of https://github.com/facebook/osquery/pull/5154 to the new build system

I'm moving toward generating constants for each column so that we
can do used column lookups without having to do a string set lookup,
but first I need to have the used columns information plumbed through
as a bitfield.

Once the code generation is in and all cases have been migrated to it,
I'll remove the string variants of `isColumnUsed`/`isAnyColumnUsed`.

Reviewed By: guliashvili

Differential Revision: D13423615

fbshipit-source-id: 6a2afe7dad42942610dfe0f6f55bcee4603a25af
2018-12-12 10:40:58 -08:00
Jonathan Keljo
5f81138eaf Four new "add" wrapper JSON methods
Summary:
Manual port of https://github.com/facebook/osquery/pull/5153 to the new build system.

New methods to allow adding larger numeric types.

Reviewed By: guliashvili

Differential Revision: D13422612

fbshipit-source-id: 6b503553f05139351f803ea6fcc5c825e62c35ea
2018-12-12 10:40:58 -08:00
Jonathan Keljo
898ed37dfb Table for OSX Running and Active Applications
Summary:
This is a manual port of https://github.com/facebook/osquery/pull/5216 to the new build system.

This table allows you to fetch a list of running applications on OSX. Contains PID, Bundle ID and whether or not the application is in focus. (The latter can be used to figure out what application was being used at a given moment.)

Reviewed By: guliashvili

Differential Revision: D13422150

fbshipit-source-id: 236b28d9140a9a9062fb913815d0c9f1da21c8b5
2018-12-12 09:17:19 -08:00
Filipe Manco
22da13d863 Remove unused and most likely broken operator== overload from error (#5318)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5318

This is most likely broken and is causing problems with some toolchains (e.g. clang on Ubuntu xenial).

Reviewed By: guliashvili

Differential Revision: D13415457

fbshipit-source-id: b4aa686913d3cfe6bb26089b0525144fae7cc928
2018-12-11 16:10:38 -08:00
George Guliashvili
c80bd28e5f inotify_tests buckify
Summary: inotify_tests buckify

Reviewed By: fmanco

Differential Revision: D13399806

fbshipit-source-id: 2ea33d61c9a3f48cf3914ed2f8e60b5012e5808c
2018-12-11 08:29:15 -08:00
George Guliashvili
059645a078 buckify fsevents test
Summary: buckify fsevents test

Reviewed By: akindyakov

Differential Revision: D13399058

fbshipit-source-id: d8ee81aa203cc8ffc30cf53922e4a76426604c4b
2018-12-11 08:29:15 -08:00
Filipe Manco
6ebabe6ce0 Add missing includes to posix/filepath.cpp
Summary: These missing includes make the build fail with some toolchains.

Reviewed By: guliashvili

Differential Revision: D13414926

fbshipit-source-id: b9a7992e37751da81ec1f5a9055703bc1e3cc4bc
2018-12-11 05:00:18 -08:00
Alexander Kindyakov
3b992f03bd events_tests should not depend on yara utils
Reviewed By: guliashvili

Differential Revision: D13398243

fbshipit-source-id: 1cb956df89843eb647dd0ba65f8ff46e73faaf5b
2018-12-11 03:31:18 -08:00
Alexander Kindyakov
3bbe6c511f win_timestamp column of time table is windows specific
Reviewed By: guliashvili

Differential Revision: D13398138

fbshipit-source-id: 9c37c50d551770ba55e175dca633ba85b94b6753
2018-12-11 03:31:18 -08:00