mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-06 09:35:20 +00:00
Move plugins to a separate directory [5/?] (#5483)
Summary: Pull Request resolved: https://github.com/facebook/osquery/pull/5483 Initial steps to separate plugins from the rest of osquery. On the long run separating plugins will provide more build flexibility such that we can have configurable builds that include only the bits and pieces we actually need per deployment. Reducing the attack surface, possibility of supply chain attacks, binary size, etc. Move killswitch Reviewed By: guliashvili Differential Revision: D14259760 fbshipit-source-id: deaaa148fac25b3f534a8881a1ea9eda0ec6bdc9
This commit is contained in:
parent
83c730ec0e
commit
d14fd5d538
@ -17,7 +17,6 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/carver:carver"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -26,6 +25,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -20,7 +20,6 @@ osquery_cxx_test(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/config:config"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -31,6 +30,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("osquery/utils/system:time"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
":test_utils",
|
||||
],
|
||||
@ -49,7 +49,6 @@ osquery_cxx_test(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/config:config"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -60,6 +59,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("osquery/utils/system:time"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
":test_utils",
|
||||
],
|
||||
|
@ -16,7 +16,6 @@ osquery_cxx_test(
|
||||
deps = [
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -25,6 +24,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("osquery/utils/json:json"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -39,7 +39,6 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -49,6 +48,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/json:json"),
|
||||
osquery_target("osquery/sql/tests:sql_test_utils"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -15,7 +15,6 @@ osquery_cxx_test(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/devtools:devtools"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/events:events"),
|
||||
@ -24,6 +23,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/registry:registry"),
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -15,7 +15,6 @@ osquery_cxx_test(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -23,6 +22,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/registry:registry"),
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -36,7 +36,6 @@ osquery_cxx_test(
|
||||
deps = [
|
||||
osquery_target("osquery/config:config"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -45,6 +44,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("osquery/utils/system:time"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -1,3 +1,9 @@
|
||||
# Copyright (c) 2014-present, Facebook, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed as defined on the LICENSE file found in the
|
||||
# root directory of this source tree.
|
||||
|
||||
load("//tools/build_defs/oss/osquery:cxx.bzl", "osquery_cxx_test")
|
||||
load("//tools/build_defs/oss/osquery:native.bzl", "osquery_target")
|
||||
|
||||
@ -13,20 +19,20 @@ osquery_cxx_test(
|
||||
},
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/core/plugins:plugins"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/plugins:plugins"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
osquery_target("osquery/logger:logger"),
|
||||
osquery_target("osquery/registry:registry"),
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("osquery/utils/system:time"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -15,19 +15,17 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -39,19 +37,17 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -68,19 +64,18 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -97,19 +92,17 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -126,19 +119,17 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -155,19 +146,17 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -184,21 +173,19 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -16,7 +16,6 @@ osquery_cxx_test(
|
||||
deps = [
|
||||
osquery_target("osquery/config:config"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -26,6 +25,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("osquery/remote:utility"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -21,7 +21,6 @@ osquery_cxx_test(
|
||||
deps = [
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -29,6 +28,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("tests:helper"),
|
||||
],
|
||||
)
|
||||
|
@ -1,3 +1,9 @@
|
||||
# Copyright (c) 2014-present, Facebook, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed as defined on the LICENSE file found in the
|
||||
# root directory of this source tree.
|
||||
|
||||
load("//tools/build_defs/oss/osquery:cxx.bzl", "osquery_cxx_test")
|
||||
load("//tools/build_defs/oss/osquery:native.bzl", "osquery_target")
|
||||
|
||||
@ -8,9 +14,8 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/core/plugins:plugins"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/plugins:plugins"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -20,6 +25,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("osquery/utils/system:time"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -68,9 +68,6 @@ osquery_cxx_library(
|
||||
osquery_target("osquery/core/plugins:plugins"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/database/plugins:rocksdb_plugin"),
|
||||
osquery_target("osquery/database/plugins:sqlite_plugin"),
|
||||
osquery_target("osquery/devtools:devtools"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -87,6 +84,9 @@ osquery_cxx_library(
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/config/parsers:parsers"),
|
||||
osquery_target("plugins/config:update_config_plugin"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("plugins/database:rocksdb_plugin"),
|
||||
osquery_target("plugins/database:sqlite_plugin"),
|
||||
osquery_target("plugins/distributed:tls_distributed"),
|
||||
osquery_target("plugins/logger:buffered"),
|
||||
osquery_target("plugins/logger:filesystem_logger"),
|
||||
|
@ -15,13 +15,13 @@ osquery_cxx_test(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
osquery_target("osquery/numeric_monitoring:numeric_monitoring"),
|
||||
osquery_target("osquery/numeric_monitoring/plugins:numeric_monitoring_filesystem"),
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -15,7 +15,6 @@ osquery_cxx_test(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -24,6 +23,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/registry:registry"),
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -36,7 +36,6 @@ osquery_cxx_test(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/events:events"),
|
||||
@ -46,6 +45,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/registry:registry"),
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -15,7 +15,6 @@ osquery_cxx_test(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -23,6 +22,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/registry:registry"),
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -54,7 +54,6 @@ osquery_cxx_test(
|
||||
deps = [
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -64,6 +63,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("plugins/killswitch:killswitch_filesystem"),
|
||||
osquery_target("tests:helper"),
|
||||
],
|
||||
|
@ -20,7 +20,6 @@ osquery_cxx_library(
|
||||
deps = [
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -28,6 +27,7 @@ osquery_cxx_library(
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("plugins/killswitch:killswitch_filesystem"),
|
||||
osquery_target("tests:helper"),
|
||||
],
|
||||
@ -42,7 +42,6 @@ osquery_cxx_test(
|
||||
deps = [
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -51,6 +50,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("plugins/killswitch:killswitch_filesystem"),
|
||||
osquery_target("tests:helper"),
|
||||
],
|
||||
|
@ -45,7 +45,6 @@ osquery_cxx_test(
|
||||
deps = [
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -54,6 +53,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("plugins/killswitch:killswitch_filesystem"),
|
||||
osquery_target("tests:helper"),
|
||||
],
|
||||
|
@ -36,7 +36,6 @@ osquery_cxx_test(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -45,6 +44,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("osquery/sql:sql"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -82,7 +82,6 @@ osquery_cxx_library(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -91,6 +90,7 @@ osquery_cxx_library(
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("osquery/sql:sql"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -25,7 +25,6 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
osquery_target("osquery/logger:logger"),
|
||||
@ -34,6 +33,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/tables/events:events_table"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/config/parsers:parsers"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -55,7 +55,6 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/config:config"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
osquery_target("osquery/logger:logger"),
|
||||
@ -64,6 +63,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/tables/events:events_table"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/config/parsers:parsers"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -21,18 +21,17 @@ osquery_cxx_test(
|
||||
},
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/networking:networking"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote:http_client"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/tables/networking:networking"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_tp_target("boost"),
|
||||
],
|
||||
)
|
||||
@ -54,19 +53,18 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/networking:networking"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/tables/networking:networking"),
|
||||
osquery_target("osquery/remote:http_client"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_tp_target("boost"),
|
||||
],
|
||||
)
|
||||
@ -83,19 +81,18 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/networking:networking"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote:http_client"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/networking:networking"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_tp_target("boost"),
|
||||
],
|
||||
)
|
||||
|
@ -26,7 +26,6 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/config:config"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
osquery_target("osquery/logger:logger"),
|
||||
@ -35,6 +34,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/tables/events:events_table"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/config/parsers:parsers"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
osquery_tp_target("smartmontools", "libsmartctl"),
|
||||
],
|
||||
|
@ -20,18 +20,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -47,18 +45,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -74,18 +70,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -101,18 +95,17 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -128,18 +121,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -155,18 +146,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -182,18 +171,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -202,18 +189,16 @@ osquery_cxx_test(
|
||||
srcs = ["system_tables_tests.cpp"],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -234,18 +219,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -261,18 +244,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -293,18 +274,17 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -325,18 +305,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -357,18 +335,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -389,18 +365,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -416,18 +390,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -443,18 +415,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -470,18 +440,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -502,18 +470,16 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
||||
@ -529,17 +495,15 @@ osquery_cxx_test(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/core/sql:core_sql"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
@ -15,17 +15,17 @@ osquery_cxx_test(
|
||||
(
|
||||
POSIX,
|
||||
[
|
||||
osquery_target("osquery/tables/yara:yara_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote:http_client"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/tables/yara:yara_table"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/tables/system:system_table"),
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/remote/tests:remote_test_utils"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_tp_target("boost"),
|
||||
],
|
||||
),
|
||||
|
@ -20,7 +20,6 @@ osquery_cxx_test(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -30,6 +29,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/aws:aws"),
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -22,7 +22,6 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -33,6 +32,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/json:json"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/config/parsers:parsers"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -52,7 +52,6 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -63,6 +62,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/json:json"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/config/parsers:parsers"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -82,7 +82,6 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -94,6 +93,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/json:json"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/config/parsers:parsers"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -113,7 +113,6 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -125,6 +124,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/json:json"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/config/parsers:parsers"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
@ -144,7 +144,6 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -156,6 +155,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/json:json"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/config/parsers:parsers"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
)
|
||||
|
@ -14,7 +14,7 @@ osquery_cxx_library(
|
||||
srcs = [
|
||||
"ephemeral.cpp",
|
||||
],
|
||||
header_namespace = "osquery/database/plugins",
|
||||
header_namespace = "plugins/database",
|
||||
exported_headers = [
|
||||
"ephemeral.h",
|
||||
],
|
||||
@ -33,7 +33,7 @@ osquery_cxx_library(
|
||||
srcs = [
|
||||
"rocksdb.cpp",
|
||||
],
|
||||
header_namespace = "osquery/database/plugins",
|
||||
header_namespace = "plugins/database",
|
||||
exported_headers = [
|
||||
"rocksdb.h",
|
||||
],
|
||||
@ -47,7 +47,7 @@ osquery_cxx_library(
|
||||
],
|
||||
link_whole = True,
|
||||
tests = [
|
||||
osquery_target("osquery/database/plugins/tests:rocksdb_tests"),
|
||||
osquery_target("plugins/database/tests:rocksdb_tests"),
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
@ -65,7 +65,7 @@ osquery_cxx_library(
|
||||
srcs = [
|
||||
"sqlite.cpp",
|
||||
],
|
||||
header_namespace = "osquery/database/plugins",
|
||||
header_namespace = "plugins/database",
|
||||
exported_headers = [
|
||||
"sqlite.h",
|
||||
],
|
||||
@ -79,7 +79,7 @@ osquery_cxx_library(
|
||||
],
|
||||
link_whole = True,
|
||||
tests = [
|
||||
osquery_target("osquery/database/plugins/tests:sqlite_plugin_tests"),
|
||||
osquery_target("plugins/database/tests:sqlite_plugin_tests"),
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "osquery/database/plugins/ephemeral.h"
|
||||
#include "plugins/database/ephemeral.h"
|
||||
|
||||
namespace osquery {
|
||||
|
@ -12,14 +12,13 @@
|
||||
#include <rocksdb/env.h>
|
||||
#include <rocksdb/options.h>
|
||||
|
||||
#include <osquery/filesystem/fileops.h>
|
||||
#include <osquery/filesystem/filesystem.h>
|
||||
#include <osquery/flags.h>
|
||||
#include <osquery/logger.h>
|
||||
#include <osquery/registry_factory.h>
|
||||
|
||||
#include <osquery/database/plugins/rocksdb.h>
|
||||
#include <osquery/utils/conversions/tryto.h>
|
||||
#include <osquery/filesystem/fileops.h>
|
||||
#include <plugins/database/rocksdb.h>
|
||||
|
||||
namespace fs = boost::filesystem;
|
||||
|
@ -11,13 +11,12 @@
|
||||
#include <sqlite3.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <osquery/filesystem/fileops.h>
|
||||
#include <osquery/filesystem/filesystem.h>
|
||||
#include <osquery/logger.h>
|
||||
#include <osquery/query.h>
|
||||
|
||||
#include <osquery/database/plugins/sqlite.h>
|
||||
#include <osquery/filesystem/fileops.h>
|
||||
#include <osquery/utils/conversions/tryto.h>
|
||||
#include <plugins/database/sqlite.h>
|
||||
|
||||
namespace osquery {
|
||||
|
@ -16,8 +16,6 @@ osquery_cxx_test(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/database/plugins:sqlite_plugin"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/events:events"),
|
||||
@ -27,6 +25,8 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("osquery/utils/json:json"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("plugins/database:sqlite_plugin"),
|
||||
osquery_target("specs:tables"),
|
||||
":database_test_utils",
|
||||
],
|
||||
@ -40,8 +40,6 @@ osquery_cxx_test(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/database/plugins:rocksdb_plugin"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/events:events"),
|
||||
@ -51,6 +49,8 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/remote/enroll:tls_enroll"),
|
||||
osquery_target("osquery/utils/json:json"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("plugins/database:rocksdb_plugin"),
|
||||
osquery_target("specs:tables"),
|
||||
":database_test_utils",
|
||||
],
|
||||
@ -61,7 +61,7 @@ osquery_cxx_library(
|
||||
srcs = [
|
||||
"utils.cpp",
|
||||
],
|
||||
header_namespace = "osquery/database/plugins/tests",
|
||||
header_namespace = "plugins/database/tests",
|
||||
exported_headers = [
|
||||
"utils.h",
|
||||
],
|
@ -6,11 +6,10 @@
|
||||
* the LICENSE file found in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#include <plugins/database/rocksdb.h>
|
||||
#include <osquery/filesystem/filesystem.h>
|
||||
#include <osquery/sql.h>
|
||||
|
||||
#include <osquery/database/plugins/rocksdb.h>
|
||||
#include <osquery/database/plugins/tests/utils.h>
|
||||
#include <plugins/database/tests/utils.h>
|
||||
|
||||
namespace osquery {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* the LICENSE file found in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#include <osquery/database/plugins/tests/utils.h>
|
||||
#include <plugins/database/tests/utils.h>
|
||||
|
||||
namespace osquery {
|
||||
|
@ -13,10 +13,8 @@
|
||||
#include <osquery/registry.h>
|
||||
#include <osquery/registry_factory.h>
|
||||
#include <osquery/system.h>
|
||||
|
||||
#include <osquery/utils/json/json.h>
|
||||
|
||||
#include <osquery/database/plugins/tests/utils.h>
|
||||
#include <plugins/database/tests/utils.h>
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
|
@ -21,7 +21,6 @@ osquery_cxx_test(
|
||||
deps = [
|
||||
osquery_target("osquery/config/tests:test_utils"),
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -30,6 +29,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/killswitch:killswitch_filesystem"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("tests:helper"),
|
||||
],
|
||||
)
|
||||
|
@ -18,7 +18,6 @@ osquery_cxx_test(
|
||||
deps = [
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/plugins:plugins"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -29,6 +28,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("osquery/utils/system:time"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("plugins/logger:filesystem_logger"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
@ -43,7 +43,6 @@ osquery_cxx_test(
|
||||
deps = [
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/plugins:plugins"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -54,6 +53,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("osquery/utils/system:time"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("plugins/logger:buffered"),
|
||||
osquery_target("specs:tables"),
|
||||
],
|
||||
@ -79,7 +79,6 @@ osquery_cxx_test(
|
||||
deps = [
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/plugins:plugins"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -90,6 +89,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("osquery/utils/system:time"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("plugins/logger:kafka_producer"),
|
||||
osquery_target("specs:tables"),
|
||||
osquery_tp_target("gflags"),
|
||||
@ -105,7 +105,6 @@ osquery_cxx_test(
|
||||
deps = [
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/plugins:plugins"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -117,6 +116,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/system:time"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/logger:aws_kinesis"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("plugins/logger:buffered"),
|
||||
osquery_target("specs:tables"),
|
||||
osquery_tp_target("gflags"),
|
||||
@ -137,7 +137,6 @@ osquery_cxx_test(
|
||||
deps = [
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/plugins:plugins"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -148,6 +147,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("osquery/utils/system:time"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("plugins/logger:tls_logger"),
|
||||
osquery_target("specs:tables"),
|
||||
osquery_tp_target("gflags"),
|
||||
@ -174,7 +174,6 @@ osquery_cxx_test(
|
||||
deps = [
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/core/plugins:plugins"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/distributed:distributed"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -186,6 +185,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("osquery/utils/system:time"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("plugins/logger:syslog"),
|
||||
osquery_target("specs:tables"),
|
||||
osquery_tp_target("gflags"),
|
||||
|
4
sdk/BUCK
4
sdk/BUCK
@ -22,8 +22,8 @@ osquery_cxx_library(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery:headers"),
|
||||
osquery_target("osquery/config:config"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/dispatcher:dispatcher"),
|
||||
osquery_target("osquery/events:events_registry"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
@ -45,6 +45,6 @@ osquery_cxx_library(
|
||||
osquery_target("osquery/utils/system:uptime"),
|
||||
osquery_target("osquery/utils:attribute"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery:headers"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
],
|
||||
)
|
||||
|
19
tests/BUCK
19
tests/BUCK
@ -19,18 +19,17 @@ osquery_cxx_library(
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/sql:sql"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_tp_target("boost"),
|
||||
osquery_tp_target("googletest", "gtest_headers"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("osquery/filesystem:osquery_filesystem"),
|
||||
osquery_target("osquery/remote/serializers:serializer_json"),
|
||||
osquery_target("osquery/utils/system:time"),
|
||||
osquery_target("osquery/core:core"),
|
||||
osquery_target("specs:tables"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/process:process"),
|
||||
osquery_target("osquery/remote/serializers:serializer_json"),
|
||||
osquery_target("osquery/sql:sql"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/utils/system:time"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
osquery_tp_target("boost"),
|
||||
osquery_tp_target("googletest", "gtest_headers"),
|
||||
],
|
||||
)
|
||||
|
@ -19,9 +19,9 @@ osquery_cxx_library(
|
||||
"helper.h",
|
||||
],
|
||||
deps = [
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/sql:sql"),
|
||||
osquery_target("osquery/utils:utils"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_tp_target("boost"),
|
||||
osquery_tp_target("googletest", "gtest_headers"),
|
||||
],
|
||||
@ -292,7 +292,6 @@ osquery_cxx_test(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/database:database"),
|
||||
osquery_target("osquery/database/plugins:ephemeral"),
|
||||
osquery_target("osquery/events:events"),
|
||||
osquery_target("osquery/extensions:extensions"),
|
||||
osquery_target("osquery/extensions:impl_thrift"),
|
||||
@ -300,6 +299,7 @@ osquery_cxx_test(
|
||||
osquery_target("osquery/utils/conversions:conversions"),
|
||||
osquery_target("osquery/utils/info:info"),
|
||||
osquery_target("plugins/config:tls_config"),
|
||||
osquery_target("plugins/database:ephemeral"),
|
||||
osquery_target("specs:tables"),
|
||||
":integration_tests_helper",
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user