This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 184932632e Avoid false positive alerts from gitleaks
184932632e is described below
commit 184932632e3f11a221aeece70052a0c3b98fa3fe
Author: JiriOndrusek <[email protected]>
AuthorDate: Mon Jul 7 18:06:14 2025 +0200
Avoid false positive alerts from gitleaks
---
.gitleaks.toml | 28 ++++++++++++++++++++++
.../kafka/sasl/KafkaSaslSslTestResource.java | 4 ++--
.../quarkus/kafka/ssl/KafkaSslTestResource.java | 2 +-
3 files changed, 31 insertions(+), 3 deletions(-)
diff --git a/.gitleaks.toml b/.gitleaks.toml
new file mode 100644
index 0000000000..7d8ac95129
--- /dev/null
+++ b/.gitleaks.toml
@@ -0,0 +1,28 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+[allowlist]
+ description = "Global Allowlist"
+
+ # Ignore based on any subset of the file path
+ paths = [
+
+ # Ignore some keys
+ '''camel\/integration-tests\/jsch\/src\/main\/resources\/camel-key.pgp''',
+ '''camel\/integration-tests\/grpc\/src\/main\/resources\/keys\/app.json'''
+ ]
+
diff --git
a/integration-tests/kafka-sasl-ssl/src/test/java/org/apache/camel/quarkus/kafka/sasl/KafkaSaslSslTestResource.java
b/integration-tests/kafka-sasl-ssl/src/test/java/org/apache/camel/quarkus/kafka/sasl/KafkaSaslSslTestResource.java
index 7de0728de2..d91f22e387 100644
---
a/integration-tests/kafka-sasl-ssl/src/test/java/org/apache/camel/quarkus/kafka/sasl/KafkaSaslSslTestResource.java
+++
b/integration-tests/kafka-sasl-ssl/src/test/java/org/apache/camel/quarkus/kafka/sasl/KafkaSaslSslTestResource.java
@@ -31,9 +31,9 @@ import org.testcontainers.utility.MountableFile;
import static
io.strimzi.test.container.StrimziZookeeperContainer.ZOOKEEPER_PORT;
public class KafkaSaslSslTestResource extends KafkaTestResource {
- static final String KAFKA_KEYSTORE_PASSWORD =
"n7BfLSrdIKZSd2SJv8pUvVurrOW6q2Q3G";
+ static final String KAFKA_KEYSTORE_PASSWORD = "changeit";
//min lengthe is 32 because of SCRAM-SHA-512
- static final String ALICE_PASSWORD = "IuepUrtaAXpwgTy6TPmInRAUinlK2acQL";
+ static final String ALICE_PASSWORD = "alice_changeit";
static final String KAFKA_HOSTNAME = "localhost";
static final String CERTS_BASEDIR = "target/certs";
diff --git
a/integration-tests/kafka-ssl/src/test/java/org/apache/camel/quarkus/kafka/ssl/KafkaSslTestResource.java
b/integration-tests/kafka-ssl/src/test/java/org/apache/camel/quarkus/kafka/ssl/KafkaSslTestResource.java
index 2f7a767eb3..ecf218e39f 100644
---
a/integration-tests/kafka-ssl/src/test/java/org/apache/camel/quarkus/kafka/ssl/KafkaSslTestResource.java
+++
b/integration-tests/kafka-ssl/src/test/java/org/apache/camel/quarkus/kafka/ssl/KafkaSslTestResource.java
@@ -29,7 +29,7 @@ import org.testcontainers.utility.MountableFile;
public class KafkaSslTestResource extends KafkaTestResource {
- static final String KAFKA_KEYSTORE_PASSWORD =
"PAG4i8511xp1lzVu585foRLjD4v62yBS";
+ static final String KAFKA_KEYSTORE_PASSWORD = "changeit";
static final String KAFKA_HOSTNAME = "localhost";
static final String CERTS_BASEDIR = "target/certs";