mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
2b808e3296
Summary: Pull Request resolved: https://github.com/facebook/osquery/pull/5473 to be able to exclude dependency on enroll:tls plugin from plugins_sdk. Only plugin registration was moved by now. The actual plugin code will be moved a bit later. Reviewed By: guliashvili Differential Revision: D14241687 fbshipit-source-id: 814d52719ff27bd1283bcaecdc912fca3830ff5e
102 lines
3.8 KiB
Python
102 lines
3.8 KiB
Python
# 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_library")
|
|
load("//tools/build_defs/oss/osquery:native.bzl", "osquery_target")
|
|
load("//tools/build_defs/oss/osquery:platforms.bzl", "LINUX", "MACOSX", "POSIX", "WINDOWS")
|
|
load("//tools/build_defs/oss/osquery:third_party.bzl", "osquery_tp_target")
|
|
|
|
osquery_cxx_library(
|
|
name = "main",
|
|
srcs = [
|
|
"main.cpp",
|
|
],
|
|
header_namespace = "osquery/main",
|
|
exported_headers = [
|
|
"main.h",
|
|
],
|
|
platform_deps = [
|
|
(
|
|
LINUX,
|
|
[
|
|
osquery_target("plugins/logger:aws_firehose"),
|
|
osquery_target("plugins/logger:aws_kinesis"),
|
|
osquery_target("plugins/logger:aws_log_forwarder"),
|
|
osquery_target("plugins/logger:kafka_producer"),
|
|
],
|
|
),
|
|
(
|
|
MACOSX,
|
|
[
|
|
osquery_target("plugins/logger:aws_firehose"),
|
|
osquery_target("plugins/logger:aws_kinesis"),
|
|
osquery_target("plugins/logger:aws_log_forwarder"),
|
|
osquery_target("plugins/logger:kafka_producer"),
|
|
],
|
|
),
|
|
(
|
|
WINDOWS,
|
|
[
|
|
osquery_target("plugins/logger:aws_firehose"),
|
|
osquery_target("plugins/logger:aws_kinesis"),
|
|
osquery_target("plugins/logger:aws_log_forwarder"),
|
|
osquery_target("plugins/logger:windows_event_log"),
|
|
],
|
|
),
|
|
],
|
|
platform_srcs = [
|
|
(
|
|
POSIX,
|
|
[
|
|
"posix/main.cpp",
|
|
],
|
|
),
|
|
(
|
|
WINDOWS,
|
|
[
|
|
"windows/main.cpp",
|
|
],
|
|
),
|
|
],
|
|
visibility = ["PUBLIC"],
|
|
deps = [
|
|
osquery_target("osquery:headers"),
|
|
osquery_target("osquery/core:core"),
|
|
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"),
|
|
osquery_target("osquery/extensions:impl_thrift"),
|
|
osquery_target("osquery/killswitch:killswitch"),
|
|
osquery_target("osquery/logger:data_logger"),
|
|
osquery_target("osquery/process:process"),
|
|
osquery_target("osquery/numeric_monitoring:numeric_monitoring"),
|
|
osquery_target("osquery/numeric_monitoring/plugins:numeric_monitoring_filesystem"),
|
|
osquery_target("osquery/registry:registry"),
|
|
osquery_target("osquery/remote/enroll:tls_enroll"),
|
|
osquery_target("osquery/sql:sql"),
|
|
osquery_target("plugins/config:filesystem_config"),
|
|
osquery_target("plugins/config:tls_config"),
|
|
osquery_target("plugins/config/parsers:parsers"),
|
|
osquery_target("plugins/distributed:tls_distributed"),
|
|
osquery_target("plugins/logger:buffered"),
|
|
osquery_target("plugins/logger:filesystem_logger"),
|
|
osquery_target("plugins/logger:stdout"),
|
|
osquery_target("plugins/logger:syslog"),
|
|
osquery_target("plugins/logger:tls_logger"),
|
|
osquery_target("plugins/killswitch:killswitch_filesystem"),
|
|
osquery_target("plugins/killswitch:killswitch_tls"),
|
|
osquery_target("plugins/remote/enroll:tls_enroll_plugin"),
|
|
osquery_target("specs:tables"),
|
|
osquery_tp_target("boost"),
|
|
],
|
|
)
|