From 67d140a1edcc57b83173d3f91a70b9f89f83aac0 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Tue, 7 Jan 2025 11:04:38 +0200 Subject: [PATCH] chore(lint): fix wront secret detection --- .../middleware_pluginBouncer_test.yaml | 24 +++++++++---------- .../docs/common/middlewares/plugin-bouncer.md | 12 +++++----- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/charts/library/common-test/tests/traefik/middleware_pluginBouncer_test.yaml b/charts/library/common-test/tests/traefik/middleware_pluginBouncer_test.yaml index 27cb81665d04..6200ac9f0fd1 100644 --- a/charts/library/common-test/tests/traefik/middleware_pluginBouncer_test.yaml +++ b/charts/library/common-test/tests/traefik/middleware_pluginBouncer_test.yaml @@ -45,24 +45,24 @@ tests: redisCachePassword: password redisCacheDatabase: "5" crowdsecLapiTLSCertificateAuthority: |- - -----BEGIN CERTIFICATE----- + -----BEGIN TOTALY NOT A CERT----- MIIEBzCCAu+gAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwgZQxCzAJBgNVBAYTAlVT ... Q0veeNzBQXg1f/JxfeA39IDIX1kiCf71tGlT - -----END CERTIFICATE----- + -----END TOTALY NOT A CERT----- crowdsecLapiTLSCertificateBouncer: |- - -----BEGIN CERTIFICATE----- + -----BEGIN TOTALY NOT A CERT----- MIIEHjCCAwagAwIBAgIUOBTs1eqkaAUcPplztUr2xRapvNAwDQYJKoZIhvcNAQEL ... RaXAnYYUVRblS1jmePemh388hFxbmrpG2pITx8B5FMULqHoj11o2Rl0gSV6tHIHz N2U= - -----END CERTIFICATE----- + -----END TOTALY NOT A CERT----- crowdsecLapiTLSCertificateBouncerKey: |- - -----BEGIN RSA PRIVATE KEY----- + -----BEGIN TOTALY NOT A SECRET----- MIIEogIBAAKCAQEAtYQnbJqifH+ZymePylDxGGLIuxzcAUU4/ajNj+qRAdI/Ux3d ... ic5cDRo6/VD3CS3MYzyBcibaGaV34nr0G/pI+KEqkYChzk/PZRA= - -----END RSA PRIVATE KEY----- + -----END TOTALY NOT A SECRET----- captchaProvider: hcaptcha captchaSiteKey: FIXME captchaSecretKey: FIXME @@ -109,24 +109,24 @@ tests: redisCachePassword: password redisCacheDatabase: "5" crowdsecLapiTLSCertificateAuthority: |- - -----BEGIN CERTIFICATE----- + -----BEGIN TOTALY NOT A CERT----- MIIEBzCCAu+gAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwgZQxCzAJBgNVBAYTAlVT ... Q0veeNzBQXg1f/JxfeA39IDIX1kiCf71tGlT - -----END CERTIFICATE----- + -----END TOTALY NOT A CERT----- crowdsecLapiTLSCertificateBouncer: |- - -----BEGIN CERTIFICATE----- + -----BEGIN TOTALY NOT A CERT----- MIIEHjCCAwagAwIBAgIUOBTs1eqkaAUcPplztUr2xRapvNAwDQYJKoZIhvcNAQEL ... RaXAnYYUVRblS1jmePemh388hFxbmrpG2pITx8B5FMULqHoj11o2Rl0gSV6tHIHz N2U= - -----END CERTIFICATE----- + -----END TOTALY NOT A CERT----- crowdsecLapiTLSCertificateBouncerKey: |- - -----BEGIN RSA PRIVATE KEY----- + -----BEGIN TOTALY NOT A SECRET----- MIIEogIBAAKCAQEAtYQnbJqifH+ZymePylDxGGLIuxzcAUU4/ajNj+qRAdI/Ux3d ... ic5cDRo6/VD3CS3MYzyBcibaGaV34nr0G/pI+KEqkYChzk/PZRA= - -----END RSA PRIVATE KEY----- + -----END TOTALY NOT A SECRET----- captchaProvider: hcaptcha captchaSiteKey: FIXME captchaSecretKey: FIXME diff --git a/website/src/content/docs/common/middlewares/plugin-bouncer.md b/website/src/content/docs/common/middlewares/plugin-bouncer.md index e21abaf1572d..3e06a0627c00 100644 --- a/website/src/content/docs/common/middlewares/plugin-bouncer.md +++ b/website/src/content/docs/common/middlewares/plugin-bouncer.md @@ -726,11 +726,11 @@ middlewares: middleware-name: data: crowdsecLapiTLSCertificateBouncerKey: |- - -----BEGIN RSA PRIVATE KEY----- + -----BEGIN TOTALY NOT A SECRET----- MIIEogIBAAKCAQEAtYQnbJqifH+ZymePylDxGGLIuxzcAUU4/ajNj+qRAdI/Ux3d ... ic5cDRo6/VD3CS3MYzyBcibaGaV34nr0G/pI+KEqkYChzk/PZRA= - -----END RSA PRIVATE KEY----- + -----END TOTALY NOT A SECRET----- ``` --- @@ -937,18 +937,18 @@ middlewares: redisCachePassword: password redisCacheDatabase: "5" crowdsecLapiTLSCertificateAuthority: |- - -----BEGIN CERTIFICATE----- + -----BEGIN TOTALY NOT A CERT----- MIIEBzCCAu+gAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwgZQxCzAJBgNVBAYTAlVT ... Q0veeNzBQXg1f/JxfeA39IDIX1kiCf71tGlT - -----END CERTIFICATE----- + -----END TOTALY NOT A CERT----- crowdsecLapiTLSCertificateBouncer: |- - -----BEGIN CERTIFICATE----- + -----BEGIN TOTALY NOT A CERT----- MIIEHjCCAwagAwIBAgIUOBTs1eqkaAUcPplztUr2xRapvNAwDQYJKoZIhvcNAQEL ... RaXAnYYUVRblS1jmePemh388hFxbmrpG2pITx8B5FMULqHoj11o2Rl0gSV6tHIHz N2U= - -----END CERTIFICATE----- + -----END TOTALY NOT A CERT----- captchaProvider: hcaptcha captchaSiteKey: FIXME captchaSecretKey: FIXME