Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
137d5cf
update capella package
JingqiuDu Jul 19, 2025
0e12c6a
Added Randy and Zeeshan in codeowners list (#825)
zeeIBM Jul 19, 2025
e407d5a
Merge pull request #822 from IBM/GRD-104227_mergeCapellaInPublic
pankajkumaribm Jul 20, 2025
7b9faa2
fix typo
JingqiuDu Jul 20, 2025
e298d56
Merge pull request #830 from IBM/GRD-104227_mergeCapellaInPublic
taees-eimouri Jul 21, 2025
e36d1b1
GRD_104978 : Update README.md
rasikashete3 Jul 21, 2025
4579705
Merge pull request #835 from IBM/GRD-104978
rasikashete3 Jul 21, 2025
c45113b
GRD-105129 Fixed typos in readme
Jul 21, 2025
defb410
GRD-105129 Fixed readme
Jul 21, 2025
ec2c25d
Merge pull request #836 from PratikshaSonawane/GRD-105129
PratikshaSonawane Jul 21, 2025
3bbd849
GRD-104738: OuaOverConnectJdbcReadme link updates
Rose-Kaur Jul 21, 2025
525d932
GRD-104309: Update OuaOverPipeReadme.md with minimum privileges
Rose-Kaur Jul 21, 2025
2f316bb
Adding Git ID - CODEOWNERS
Rose-Kaur Jul 22, 2025
ee09511
Merge pull request #846 from Rose-Kaur/patch-1
hadarkorny Jul 23, 2025
db65b24
cherry pick1
JingqiuDu Jul 23, 2025
eed56ca
update capella unittest
JingqiuDu Jul 21, 2025
e368fdd
Fix iso timezone
JingqiuDu Jul 23, 2025
27f7fe6
fix iso timezone
JingqiuDu Jul 23, 2025
8b21fdc
fix unittest in travis build
JingqiuDu Jul 23, 2025
107a6ec
GRD-104452 Added new UCs to be built, capella, trino and databricks (…
zeeIBM Jul 15, 2025
fd88cc4
july 23
laurel-hu Jul 23, 2025
ad27015
july 23
laurel-hu Jul 23, 2025
085965d
remove duplicated unittests (#811)
laurel-hu Jul 16, 2025
f8fce4a
GRD-104865 Databricks UC package directory has a spelling mistake (#817)
zeeIBM Jul 17, 2025
1dee5ae
GRD-104865 Fixed a type in unit test method name (#820)
zeeIBM Jul 18, 2025
33827f6
Added Randy and Zeeshan in codeowners list (#825)
zeeIBM Jul 19, 2025
e4e2234
update capella package
JingqiuDu Jul 19, 2025
ff93638
fix typo
JingqiuDu Jul 20, 2025
3dd0267
july 23
laurel-hu Jul 23, 2025
339c94d
july 23
laurel-hu Jul 23, 2025
0c9d71f
GRD-105129 Fixed typos in readme
Jul 21, 2025
6ce74c0
GRD-105129 Fixed readme
Jul 21, 2025
c20ee1f
Adding Git ID - CODEOWNERS
Rose-Kaur Jul 22, 2025
be80e82
GRD-105129 Fixed typos in readme
Jul 21, 2025
38cd5da
GRD-105129 Fixed readme
Jul 21, 2025
ccd09df
update capella package
JingqiuDu Jul 19, 2025
b0ba3a2
fix typo
JingqiuDu Jul 20, 2025
77cc30b
Merge branch 'main' into GRD-105161
laurel-hu Jul 23, 2025
dc8d560
Merge pull request #849 from IBM/MergeCapellaInReleaseInMain
JingqiuDu Jul 23, 2025
96d4229
Merge pull request #848 from laurel-hu/GRD-105161
JingqiuDu Jul 24, 2025
4d28ac5
GRD-104116: Fix mssql-jdbc-7.4.1.jre8 download link (#853)
jimmyzhangibm Jul 24, 2025
635189a
GRD-104452 Added new UCs to be built, capella, trino and databricks (…
zeeIBM Jul 15, 2025
593597f
july 23
laurel-hu Jul 23, 2025
dac5e49
july 23
laurel-hu Jul 23, 2025
3dc39ba
remove duplicated unittests (#811)
laurel-hu Jul 16, 2025
49cabf5
GRD-104865 Databricks UC package directory has a spelling mistake (#817)
zeeIBM Jul 17, 2025
75de5be
GRD-104865 Fixed a type in unit test method name (#820)
zeeIBM Jul 18, 2025
47ac24d
Added Randy and Zeeshan in codeowners list (#825)
zeeIBM Jul 19, 2025
f6aaa20
update capella package
JingqiuDu Jul 19, 2025
0524395
fix typo
JingqiuDu Jul 20, 2025
74ab41e
GRD-105129 Fixed typos in readme
Jul 21, 2025
06bb760
GRD-105129 Fixed readme
Jul 21, 2025
da9c4c7
Adding Git ID - CODEOWNERS
Rose-Kaur Jul 22, 2025
854b972
july 23
laurel-hu Jul 23, 2025
0827286
july 23
laurel-hu Jul 23, 2025
1ee4efc
cherry pick1
JingqiuDu Jul 23, 2025
db6ba76
update capella unittest
JingqiuDu Jul 21, 2025
c226408
Fix iso timezone
JingqiuDu Jul 23, 2025
9ca53e7
fix iso timezone
JingqiuDu Jul 23, 2025
c1c1e96
fix unittest in travis build
JingqiuDu Jul 23, 2025
7cd608e
update capella package
JingqiuDu Jul 19, 2025
5a2cac5
fix typo
JingqiuDu Jul 20, 2025
37880f7
GRD-105129 Fixed typos in readme
Jul 21, 2025
c332a7c
GRD-105129 Fixed readme
Jul 21, 2025
af606c8
update capella package
JingqiuDu Jul 19, 2025
95df201
fix typo
JingqiuDu Jul 20, 2025
31dda28
GRD-104116: Fix mssql-jdbc-7.4.1.jre8 download link (#853)
jimmyzhangibm Jul 24, 2025
5eea51c
july 24
laurel-hu Jul 24, 2025
dea6d2f
Merge branch 'main' into Name-change-for-trino
laurel-hu Jul 24, 2025
06db826
Merge pull request #854 from laurel-hu/Name-change-for-trino
JingqiuDu Jul 25, 2025
8c43cba
Amazon OpenSearch Filter plugin added to Guardium
pankajkumaribm Jul 25, 2025
a29fc1a
Merge pull request #855 from pankajkumaribm/opensearch
pankajkumaribm Jul 25, 2025
7432a77
add multi stap and data delay notes in Readme
JingqiuDu Jul 25, 2025
aca49ea
update the readme
JingqiuDu Jul 25, 2025
a3592c0
Merge pull request #856 from IBM/MergeCapellaInReleaseInMain
JingqiuDu Jul 25, 2025
14b51f6
Readme updated
pankajkumaribm Jul 25, 2025
7e01d72
Merge pull request #858 from pankajkumaribm/opensearch
pankajkumaribm Jul 25, 2025
b7f1a30
Merge Release v1.6.7 contents to main branch (#857)
zeeIBM Jul 25, 2025
36e1bc0
fix folder letter (#860)
JingqiuDu Jul 26, 2025
883133e
GRD-105823 Added http input plugin v3.10 which is a newer version tha…
zeeIBM Jul 26, 2025
38669bd
Merge pull request #863 from zeeIBM/GRD-105823_trino_http_clean
pankajkumaribm Jul 26, 2025
980ea49
Fixing Opensearch build issue
pankajkumaribm Jul 28, 2025
5f8f2da
Merge pull request #866 from pankajkumaribm/osFix
pankajkumaribm Jul 28, 2025
1333fdd
Fixing Opensearch build issue
pankajkumaribm Jul 28, 2025
0185f70
Merge pull request #867 from pankajkumaribm/osReadme
pankajkumaribm Jul 28, 2025
f154d25
Update filter-plugin/logstash-filter-oua-guardium/OuaOverPipeReadme.md
Rose-Kaur Jul 29, 2025
7c57db4
Merge pull request #838 from Rose-Kaur/main
ShalakaKulkarni15 Jul 31, 2025
10cd2cd
GRD-106316 Adding the missing dependencies to build/lib
taees-eimouri Jul 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
# the repo. Unless a later match takes precedence,
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
* @devanshah2 @Tal-Daniel @ofer-haim @natalygmkibm @apurva-birajdar @itai-g-weather-com @RefaelAdi @PratikshaSonawane @mwnovak-ibm @hadarkorny @doryo @chirag-ibm @rasikashete3 @pankajkumaribm @taees-eimouri @pankajkumar @piyush-desai-ibm @ShalakaKulkarni15 @JingqiuDu

* @devanshah2 @Tal-Daniel @ofer-haim @natalygmkibm @apurva-birajdar @itai-g-weather-com @RefaelAdi @PratikshaSonawane @mwnovak-ibm @hadarkorny @doryo @chirag-ibm @rasikashete3 @pankajkumaribm @taees-eimouri @pankajkumar @piyush-desai-ibm @ShalakaKulkarni15 @JingqiuDu @rupathil @zeeIBM @Rose-Kaur
12 changes: 7 additions & 5 deletions build/defaultOfflinePackagePlugins.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ filter-plugin/logstash-filter-intersystems-iris-guardium/logstash-filter-intersy
filter-plugin/logstash-filter-postgres-ibmcloud-guardium/logstash-filter-icd_postgresql_guardium_filter
filter-plugin/logstash-filter-mysql-azure-guardium/logstash-filter-azure_mysql_guardium_filter
filter-plugin/logstash-filter-scylldb-guardium/logstash-filter-scylladb_guardium_filter
filter-plugin/logstash-filter-databricks-guardium/logstash-filter-databricks_guardium_filter
filter-plugin/logstash-filter-trino-guardium/logstash-filter-trino_guardium_filter
filter-plugin/logstash-filter-capella-guardium/logstash-filter-capella_guardium_filter
filter-plugin/logstash-filter-opensearch-guardium/logstash-filter-opensearch_guardium_filter
input-plugin/logstash-input-couchbase-capella/logstash-input-couchbase_capella_input
input-plugin/logstash-input-http/logstash-offline-input-http-plugins
input-plugin/logstash-input-mongo-atlas/logstash-input-mongo_atlas_input
input-plugin/logstash-input-couchbase-capella/logstash-input-couchbase-capella_input
input-plugin/logstash-input-http/logstash-input-http_input
filter-plugin/logstash-filter-capella-guardium/logstash-filter-capella-guardium_filter
filter-plugin/logstash-filter-databricks-guardium/logstash-filter-databricks-guardium_filter
filter-plugin/logstash-filter-trino-guardium/logstash-filter-trino-guardium_filter

9 changes: 5 additions & 4 deletions build/pluginsToBuild_GDP.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ filter-plugin/logstash-filter-intersystems-iris-guardium
filter-plugin/logstash-filter-postgres-ibmcloud-guardium
filter-plugin/logstash-filter-mysql-azure-guardium
filter-plugin/logstash-filter-scylldb-guardium
input-plugin/logstash-input-mongo-atlas
filter-plugin/logstash-filter-databricks-guardium
filter-plugin/logstash-filter-trino-guardium
filter-plugin/logstash-filter-capella-guardium
filter-plugin/logstash-filter-opensearch-guardium
input-plugin/logstash-input-couchbase-capella
input-plugin/logstash-input-http
filter-plugin/logstash-filter-capella-guardium
filter-plugin/logstash-filter-databricks-guardium
filter-plugin/logstash-filter-trino-guardium
input-plugin/logstash-input-mongo-atlas
8 changes: 7 additions & 1 deletion build/verifiedUCPlugins_gdp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,18 @@ filter-plugin/logstash-filter-mysql-guardium/MySQLOverSyslogPackage
#Other
filter-plugin/logstash-filter-mongodb-guardium/MongodbOverMongoAtlasPackage
filter-plugin/logstash-filter-azure-postgresql-guardium/AzurePostgresqlOverAzureEventHub
filter-plugin/logstash-filter-databricks-guardium/AzureDatabricksOverAzureEventHub
filter-plugin/logstash-filter-trino-guardium/TrinoOverSyslogPackage
filter-plugin/logstash-filter-capella-guardium/CapellaCouchbaseOverCapellaPackage
filter-plugin/logstash-filter-opensearch-guardium/OpenSearchOverCloudwatchPackage
#Input plug-ins
input-plugin/logstash-input-azure-event-hubs/AzureEventHubsInputPackage
input-plugin/logstash-input-beats/FilebeatInputPackage
input-plugin/logstash-input-couchbase-capella/InputCouchbaseCapellaPackage
input-plugin/logstash-input-cloudwatch-logs/CloudwatchLogsInputPackage
input-plugin/logstash-input-jdbc/JdbcInputPackage
input-plugin/logstash-input-mongo-atlas/InputMongoAtlasPackage
input-plugin/logstash-input-sqs/SQSInputPackage
input-plugin/logstash-input-tcp-syslog/SyslogInputPackage
input-plugin/logstash-input-google-pubsub/GooglePubSubPackage
input-plugin/logstash-input-http/httpInputPackage
input-plugin/logstash-input-google-pubsub/GooglePubSubPackage
8 changes: 8 additions & 0 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,11 @@ artifacts {
archives sourcesJar
archives javadocJar
}

task copyDependencies(type: Copy) {
description 'Copies all runtime dependencies into build/libs directory'
from configurations.runtimeClasspath
into "${buildDir}/libs"
}

jar.finalizedBy(copyDependencies)
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ The Guardium universal connector is the Guardium entry point for native audit lo

**Note**: For Guardium Data Protection version 11.4 without appliance bundle 11.0p490 or prior or Guardium Data Protection version 11.5 without appliance bundle 11.0p540 or prior, download the [Azure-SQL-Offline-Package.zip](https://github.com/IBM/universal-connectors/releases/download/v1.5.6/logstash-filter-azuresql_guardium_plugin_filter.zip) plug-in. (Do not unzip the offline-package file throughout the procedure).

• Download the mssql-jdbc-7.4.1.jre8 from [here](https://jar-download.com/artifacts/com.microsoft.sqlserver/mssql-jdbc/7.4.1.jre8)
• Download the mssql-jdbc-7.4.1.jre8 from [here](https://repo1.maven.org/maven2/com/microsoft/sqlserver/mssql-jdbc/7.4.1.jre8/mssql-jdbc-7.4.1.jre8.jar)

#### Configuration

Expand Down
8 changes: 4 additions & 4 deletions filter-plugin/logstash-filter-capella-guardium/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ enforcements. Configure Guardium to read the native audit/data_access logs by cu
the [logstash-input-couchbase_capella_input](../../input-plugin/logstash-input-couchbase-capella/logstash-input-couchbase_capella_input.zip)
plug-in.
* Download
the [logstash-filter-capella_guardium_filter](capellaCouchbaseOverCapellaPackage/capella/logstash-filter-capella_guardium_filter.zip)
the [logstash-filter-capella_guardium_filter](logstash-filter-capella_guardium_filter.zip)
plug-in.
* Capella-Guardium Logstash filter plug-in is automatically available with Guardium Data Protection versions 12.x, 11.4
with appliance bundle 11.0p490 or later or Guardium Data Protection version 11.5 with appliance bundle 11.0p540 or
Expand All @@ -129,15 +129,15 @@ enforcements. Configure Guardium to read the native audit/data_access logs by cu
1. On the collector, go to ```Setup``` > ```Tools and Views``` > ```Configure Universal Connector```.
2. Enable the universal connector if it is disabled.
3. Click ```Upload File``` and select the
offline [logstash-filter-capella_guardium_filter](capellaCouchbaseOverCapellaPackage/capella/logstash-filter-capella_guardium_filter.zip)
offline [logstash-filter-capella_guardium_filter](logstash-filter-capella_guardium_filter.zip)
plug-in. After it is uploaded, click ```OK```.
4. Click the Plus sign to open the Connector Configuration dialog box.
5. Type a name in the Connector name field.
6. Update the input section to add the details from
the [capellaCouchbase.conf](capellaCouchbaseOverCapellaPackage/capella/capellaCouchbase.conf) file's input part,
the [capellaCouchbase.conf](CapellaCouchbaseOverCapellaPackage/capellaCouchbase.conf) file's input part,
omitting the keyword "input{" at the beginning and its corresponding "}" at the end.
7. Update the filter section to add the details from
the [capellaCouchbase.conf](capellaCouchbaseOverCapellaPackage/capella/capellaCouchbase.conf) file's filter part,
the [capellaCouchbase.conf](CapellaCouchbaseOverCapellaPackage/capellaCouchbase.conf) file's filter part,
omitting the keyword "filter{" at the beginning and its corresponding "}" at the end.
8. The 'type' fields should match in the input and filter configuration sections. This field should be unique for every
individual connector added.
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ protected ExceptionRecord getException(String payload, String sqlString) {
return exceptionRecord;
} else if (statement != null && !status.contains(SUCCESS_STATUS)) {
exceptionRecord.setDescription(serviceName);
exceptionRecord.setSqlString(sqlString);
exceptionRecord.setSqlString(statement);
exceptionRecord.setExceptionTypeId(SQL_ERROR);
return exceptionRecord;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -753,5 +753,6 @@ void testSQLError() {
assertEquals("COUCHB", record.getAccessor().getLanguage());
assertEquals("UNRECOGNIZED statement", record.getException().getDescription());
assertEquals("SQL_ERROR", record.getException().getExceptionTypeId());
assertEquals("select * fro test;", record.getException().getSqlString());
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#/*
#Copyright 2020-2021 IBM Inc. All rights reserved
#SPDX-License-Identifier: Apache-2.0
#*/

input {
tcp {
port => 5001
type => "syslog-mongodb"
dns_reverse_lookup_enabled => false
ssl_enable => true
# ssl_certificate_authorities => SSL_CERT_AUTH
ssl_cert => "/service/certs/external/tls-syslog.crt"
ssl_key => "/service/certs/external/tls-syslog.key"
ssl_verify => true
}
}



filter {
if [type] == "syslog-mongodb" {
# break apart the message and prepare for what filter expects
grok {
match => { "message" => "%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:server_hostname} %{SYSLOGPROG:source_program}(?:[%{POSINT:syslog_pid}])?: %{GREEDYDATA:syslog_message}" }
}

date {
match => [ "timestamp", "MMM d HH:mm:ss", "MMM dd HH:mm:ss" ]
}

mutate { rename => { "host" => "server_ip" } }

# send to filter
mongodb_guardium_filter {}

# keep original event fields, for debugging
if "_mongoguardium_json_parse_error" not in [tags] {
mutate { remove_field => [
"message", "syslog_timestamp", "source_program", "program",
"syslog_pid", "syslog_message",
"server_hostname", "client_hostname", "host",
"ecs", "log", "agent", "input"]
}
}
}


# uncomment to test events/sec
# metrics {
# meter => "events"
# add_tag => "metric"
# }
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#/*
#Copyright 2020-2021 IBM Inc. All rights reserved
#SPDX-License-Identifier: Apache-2.0
#*/

input {
beats {
port => <port>
type => "filebeat"
# For SSL over Filebeat, uncomment the following lines after generating an SSL key and a certificate authority (CA) using GuardAPI (see documentation), copy the public certificate authority (CA) to your data source and adjust Filebeat configuration:
#ssl => true
#ssl_certificate => "${SSL_DIR}/cert.pem"
#ssl_key => "${SSL_DIR}/key.pem"
}
}
filter{
if [type] == "filebeat" and "guc_filter_param_datasource_tag" in [tags] {
mutate { add_field => { "source_program" => "mongod" } }
mutate { add_field => { "server_hostname" => "%{[host][name]}" } }
mutate { add_field => { "server_ip" => "%{[host][ip][0]}" } }
mutate { replace => { "message" => "%{source_program}: %{message}" } }

mongodb_guardium_filter {}

if "_mongoguardium_json_parse_error" not in [tags] {
mutate { remove_field => ["message","syslog_timestamp","source_program","program","syslog_pid","syslog_message","server_hostname","client_hostname","host","ecs","log","agent","input"] }
}
}

# uncomment to test events/sec
# metrics {
# meter => "events"
# add_tag => "metric"
# }
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
input {
mongo_atlas_input{
interval => 300
public-key => "<PUBLIC-KEY>"
private-key => "<PRIVATE-KEY>"
group-id => "<GROUP-ID>" # example, 61f8b9021d9dcc4b97fbfcf1
hostname => "<HOSTNAME>" # example, cluster1-shard-00-02.i2jq9.mongodb.net
type => "mongodbatlas"
}
}

filter {
if [type] == "mongodbatlas" {
mutate { add_field => { "source_program" => "mongod" } }
mutate { add_field => { "client_hostname" => "%{[agent][hostname]}" } }
mutate { add_field => { "server_hostname" => "%{hostname}" } }
mutate { add_field => { "server_ip" => "%{[host][ip][0]}" } }
mutate { replace => { "message" => "%{source_program}: %{message}" } }

mongodb_guardium_filter {}

# keep original event fields, for debugging
if "_mongoguardium_json_parse_error" not in [tags] {
mutate { remove_field => [
"message", "syslog_timestamp",
"source_program", "program",
"syslog_pid", "syslog_message",
"server_hostname", "client_hostname", "host",
"ecs", "log", "agent", "input"]
}
}
}
}

Loading
Loading