6187a722ca
167 feature update to go 122 ( #168 )
...
* ⬆️ Upgrade golang version
* 🚨 Optimize Lint for strings
* 🔒 ️ Add allow list of packages
* 🚨 Fix final lint
* 👷 Update ci
* 🍱 upgrade dependencies
* 🍱 fix comment
---------
Co-authored-by: Max Lerebourg <maxlerebourg@gmail.com >
2024-05-18 13:20:14 +02:00
70ad0365f0
🐛 fix content-type header for ban and captcha page ( #166 )
...
* 🍱 fix content-type header for ban and captcha page
* 🍱 Add comment to warn future developer
---------
Co-authored-by: max.lerebourg <max.lerebourg@monisnap.com >
v1.3.1
2024-05-16 18:40:28 +02:00
mathieuHa and GitHub
8975216af8
📝 Update readme on loglevel written to stdout/stderr ( #164 )
2024-05-16 09:32:14 +02:00
mathieuHa and GitHub
e6b10b8ac4
⬆️ 📝 Update exemples and version traefik 3, crowdsec 1.6.1-2, plugin … ( #160 )
...
* ⬆️ 📝 Update exemples and version traefik 3, crowdsec 1.6.1-2, plugin 1.3.0
* 📝 🐛 Fix race in exemple and doc for tls
2024-05-01 20:03:19 +02:00
mathieuHa and GitHub
1f11531509
📝 Update doc for appsec with required collection and upgrade images ( #158 )
2024-05-01 19:50:00 +02:00
ee97250acf
✨ Add grace period to reach LAPI without blocking further queries ( #153 )
...
* ✨ Add grace period to reach LAPI without blocking further queries
* 🐛 Fix config validation for maxFailedStreamUpdate
* 🚨 Fix some lint issue
* 🚨 Bypass lint complexity on ServeHTTP
* 🍱 fix and improve
* 🚨 Fix lint
* 🚨 Fix lint
* 🐛 Fix logic for update max failure
* 📝 Update doc and docker compose local reset
* 🍱 fix log nightmare
* 🍱 fix
---------
Co-authored-by: max.lerebourg <max.lerebourg@monisnap.com >
2024-05-01 18:07:44 +02:00
b6a0404efd
✨ Add user-agent header from crowdsec ( #149 )
...
* ✨ Add user-agent header from crowdsec
* 🐛 : https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin/issues/151
---------
Co-authored-by: maxlerebourg <maxlerebourg@gmail.com >
v1.3.0-beta4
v1.3.0
2024-04-16 13:26:46 +02:00
mathieuHa and GitHub
a0e701f985
📝 Update typo on doc for ban custom page ( #147 )
2024-04-05 09:30:49 +02:00
b8dd883bb6
130 feature custom html error page integration on 403 like captcha but for ban ( #145 )
...
* ✨ Add ban html template
* 📝 Add doc for custom ban page
* ⚰️ Remove old code due to merge
* ✏️ Fix merge remaining in html
* ✨ render banTemplate from html/template to string
* 🚨 : fix lint
---------
Co-authored-by: max.lerebourg <max.lerebourg@monisnap.com >
v1.3.0-beta3
2024-04-04 21:32:31 +02:00
cb4f95d5d0
📝 Add first diagrams ( #144 )
...
* 📝 Add first diagrams
* 📝 Add diagram for none mode
* 📝 Add diagrams for each mode
* 📝 Fix rendering
* 📝 Fix chart rendering
* 🍱 fix readme
* 🍱 fix readme
---------
Co-authored-by: maxlerebourg <maxlerebourg@gmail.com >
Co-authored-by: max.lerebourg <max.lerebourg@monisnap.com >
2024-04-04 07:26:30 +02:00
615e7ccf69
✨ Add ban html template ( #142 )
...
* ✨ Add ban html template
* 📝 Add doc for custom ban page
* 🍱 fix Mathieu work
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
---------
Co-authored-by: Max Lerebourg <maxlerebourg@gmail.com >
2024-04-03 17:58:18 +02:00
6059f23dc3
🐛 fix bug with recaptcha ( #141 ) and add doc for recaptcha
...
* 🐛 fix bug with recaptcha
* 📝 Add documentation for recpatcha
---------
Co-authored-by: max.lerebourg <max.lerebourg@monisnap.com >
Co-authored-by: mhx <mathieu@hanotaux.fr >
v1.3.0-beta2
2024-04-01 20:47:54 +02:00
497d1a2928
✨ Implement captcha protection ( #139 )
...
* ✨ Implement captcha protection
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 📝 Update exemple doc
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Add doc for the captcha and update some exemples
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Update doc readme with some arguments
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Update doc
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 generic documentation in readme on catpcha feature
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Update exemple captcha
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Fix rendering and typos
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 🍱 fix readme
* 📝 update doc ongoing
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Add doc on crowdsec config
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Add sequence diagram for captcha exemple
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* Fix rendering and typos
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 add mermaid basics graphs
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Update first diagram
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Update first seq diagram
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 🐛 Fix bug in diagram syntax
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 rework all diagrams
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Update a bit diagrams
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 🌐 Fix lang fr
* 🚸 change advice on uniq lapi confusing for users
* ✅ Fix test du to rework on cache interface
* 🚨 Fix lint
---------
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
Co-authored-by: max.lerebourg <max.lerebourg@monisnap.com >
Co-authored-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
v1.3.0-beta1
2024-04-01 11:41:28 +02:00
mathieuHa and GitHub
c3e0c2d4c3
🐛 Update documentation that help avoid a bug in traefik chart ( #135 )
...
* 🐛 Update documentation that help avoid a bug in traefik chart
* 🚨 Fix lint and remove comment
v1.2.1
2024-02-19 20:47:53 +01:00
maxlerebourg and GitHub
575d3a02e5
✨ Add a logger instance to bouncer instance ( #134 )
...
* ✨ Add a logger instance to bouncer instance
* 🍱 fix test
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix test
* 🍱 fix test
* 🍱 fix lint + test
* 🍱 fix test
* 🍱 fix test
* 🍱 fix test
* 🍱 fix lint
* 🍱 fix lint
v1.2.1-rc1
2024-02-11 11:52:47 +01:00
maxlerebourg and GitHub
6c183d9231
✨ add a new mode to enable only appsec checking ( #128 )
...
* ✨ add a new mode to enable only appsec checking
* 🍱 fix comments
v1.2.0-rc2
v1.2.0
2024-02-06 19:42:28 +01:00
maxlerebourg and GitHub
bd71b58f19
🐛 fix coherence naming for forwardedHeadersCustomHeader became forwardedHeadersCustomName ( #129 )
2024-02-04 15:52:53 +01:00
b68c692ed1
✨ add support for appsec in crowdsec ( #123 )
...
* ✨ add support for appsec in crowdsec
* 🐛 lint
* 🐛 fix lint
* 🐛 fix lint
* 🐛 fix lint
* fix: comments
* 🐛 lint and doc
* 🐛 fix comment and lint
* 📝 Start documentation for appsec with exemple
* 📝 Fix readme typos and update example
* 🚨 Fix Lint
---------
Co-authored-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
v1.2.0-rc1
2024-01-24 14:11:34 +01:00
mathieuHa and GitHub
fc3da2fc2d
🐛 Add / in regexp for LAPI key ( #117 )
v1.1.16
2023-09-24 13:56:19 +02:00
Rasmus and GitHub
1a9bdc578f
Exemples -> Examples ( #116 )
...
* Exemples -> Examples
* Exemples -> Examples
* Uppercase
* Uppercase v2
* Uppercase v3
* Uppercases
* Another one
* Add whoami because .gitignore is ignoring conf folder
2023-09-24 13:31:29 +02:00
mathieuHa and GitHub
f2aea695fc
🐛 Update regex to support = in lapikey update some exemples with 1.5.3 crowdsec ( #115 )
v1.1.15
2023-09-19 20:57:29 +02:00
Joseph Kavanagh and GitHub
2827fef273
🐛 env values need to be string ( #112 )
...
cannot unmarshal bool into Go struct field EnvVar.spec.template.spec.containers.env.value of type string
2023-09-05 13:26:50 +02:00
07c8fae927
🔧 Add conf variable: CrowdsecStreamTimeout ( #110 )
...
* 🔧 Add conf variable: CrowdsecStreamTimeout
* 🥅 catch error from sscan
* ✨ fix ugly code
* 🐛 clean code
* ✨ fix type + wrong type assertion
* 🚨 fix lint go simplify
* 📝 Update readme with new variable
* 🍱 fix variable naming
* 🍱 revert vendor file
* 🍱 fix lint
---------
Co-authored-by: Max Lerebourg <maxlerebourg@gmail.com >
v1.1.14
2023-08-20 15:49:49 +02:00
mathieuHa and GitHub
13c209be3f
📝 First version of doc update with single bouncer instance ( #108 )
2023-08-05 16:01:50 +02:00
maxlerebourg and GitHub
93340ffa55
🍱 update dependencies redisclient to reduce memory consumption ( #105 )
...
* 🍱 update dependencies to avoid memory leak
* 🍱 update dep
v1.1.13
v1.1.13-beta-fix-104
2023-06-20 09:22:51 +02:00
maxlerebourg and GitHub
0c2668d578
✨ add redis database selection ( #100 )
...
* ✨ add redis database selection
* 📝 update docs
* 📝 readme
v1.1.12
2023-05-25 17:20:14 +02:00
maxlerebourg and GitHub
abae7ee028
📝 update version used ( #97 )
...
* 📝 update version used
* 📝 update doc
* 📝 documentation
* 📝 documentation
* 📝 versionning
2023-04-17 09:25:57 +02:00
maxlerebourg and GitHub
1fcd4f4e2f
✨ remove down at start if crowdsec unavailable ( #93 )
...
* ✨ remove down at start if crowdsec unavailable
* 🚨 fix lint
v1.1.11
2023-03-12 20:49:00 +01:00
mathieuHa and GitHub
39fcc38980
🐛 Bump simple redis to 1.0.6 to fix bug hang with password, update doc on redis ( #89 )
v1.1.11-beta2
2023-03-05 14:32:43 +01:00
Max Lerebourg
dd322a966a
🍱 fix lint
v1.1.11-beta
2023-03-04 12:11:22 +01:00
Max Lerebourg
f0bb140596
🍱 fix lint
2023-03-04 12:08:03 +01:00
Max Lerebourg
46e581eca2
🍱 fix readme to add redis pass
2023-03-04 12:05:09 +01:00
maxlerebourg and GitHub
50690d1ac7
✨ handle redis password ( #87 )
...
* ✨ handle redis password
* 🍱 fix version
2023-03-04 11:51:54 +01:00
maxlerebourg and GitHub
b079073ff6
✨ handle isHealthy in the main function and log error became… ( #84 )
...
* ✨ handle isHealthy in the main function and log error became debug
* fix: lint
* fix: lint
2023-03-01 14:18:19 +01:00
maxlerebourg and GitHub
976cbb7d1f
81 bug stream mode stops blocking ( #82 )
...
* ✨ fix isHealthy issue at startup
* 🍱 not added in first commit ?
* 🍱 remove unused import
* 🍱 fix lint
* fix: lint
v1.1.10
2023-01-30 14:03:10 +01:00
Max Lerebourg
80726df450
🐛 fix alone mode
v1.1.9
2023-01-25 20:43:07 +01:00
maxlerebourg and GitHub
4132445a79
✨ cache decision in live mode for maximum defaultDecisionTimeout params ( #79 )
v1.1.8
v1.1.8-beta2
2023-01-18 21:03:09 +01:00
5b15d6fdc4
📝 Update Readme spelling and clarify ( #76 )
...
* 📝 Update Readme spelling and clarify
* 📝 Update Readme exemple
* 📝 Update Readme clarity
* 📝 Update Readme clarity
* 📝 Update Readme clarity
* 📝 Update Readme clarity
* 📝 Update Readme clarity
* 📝 Update Readme clarity
* 📝 Update Readme clarity
* 📝 Update Readme clarity
* 📝 Update Readme clarity
* Update README.md
* Update README.md
Co-authored-by: maxlerebourg <maxlerebourg@gmail.com >
v1.1.8-beta1
2023-01-02 13:18:45 +01:00
1b310b2c15
✨ Standalone mode come back ( #74 )
...
* ✨ Standalone mode come back
* 🍱 fix lint
* 🐛 fix tests cache
* 🐛 fix tests
* 🐛 fix tests
* 🚨 fix lint
* 🚨 fix lint
* 🍱 add logging
* :rotating-light: fix lint
* 🍱 fix comments
* 🐛 fix tests
* 🚨 Fix lint
Co-authored-by: Mathieu HANOTAUX <mathieu@hanotaux.fr >
2023-01-02 11:53:57 +01:00
maxlerebourg and GitHub
87a839f22d
Update issue templates
2022-12-31 16:25:52 +01:00
maxlerebourg and GitHub
f14a4e3a68
✨ add external simpleredis and add log for cache ( #73 )
...
* ✨ add external simpleredis and add log for cache
* 🐛 fix comment
2022-12-31 16:18:08 +01:00
maxlerebourg and GitHub
11b615b9bd
📃 Update issue templates
2022-12-31 11:31:49 +01:00
maxlerebourg and GitHub
8f937d22a2
🐛 fix all incoherence ( #71 )
...
* 🐛 fix all incoherence
* 🐛 fix comment + lint
2022-12-31 11:15:36 +01:00
mathieuHa and GitHub
041b0f67b7
📝 55 feature clean readme doc ( #70 )
...
* 📝 Clean documentation in Readme
* 📝 Update readme
* 📝 Place exemples in seperated README
* ⬆️ Update traefik to 2.9.6 and crowdsec to 1.4.3 in exemples
* 📝 Add exemple at the right place
v1.1.7
2022-12-30 23:35:33 +01:00
mathieuHa and GitHub
5458db93cf
📝 40 Add working exemple on kubernetes ( #56 )
...
* 📝 Add initial doc and file structure
* 🍱 Add struct for crowdsec
* 📝 Update doc install cs
* 🚧 Update exemple, add traefik settings
* 📝 Update doc for kubernetes
* 📝 update doc on kubernetes usage
* 📝 Add read logs from traefik
* 📝 Add read logs from traefik
* 📝 Update doc lisibility
* 📝 Update doc with new namespace
* 📝 Update doc with enable plugin in traefik
* 📝 Update doc on kube
* 📝 Finish exemple of Kubernetes
* 📝 Update after review
2022-12-30 22:20:45 +01:00
mathieuHa and GitHub
29878e837c
🐛 65 confused about configuring tls ( #69 )
...
* 🐛 Fix bug reading LAPIKEY, update exemples
* 🚨 Fix lint
v1.1.7-beta1
2022-12-30 11:24:14 +01:00
mathieuHa and GitHub
aff7c496c2
🐛 Remove trailing and leading spaces between each IP or range ( #68 )
2022-12-29 10:30:19 +01:00
Mathieu HANOTAUX
1e82ecd1b9
🚑 Fix bug that prevent Treafik plugin to pull first logs
v1.1.5
v1.1.5-beta-1
v1.1.6
2022-12-11 21:48:19 +01:00
mathieuHa and GitHub
4cca0bc2fb
55 feature clean readme doc ( #59 )
...
* 📝 Clean documentation in Readme
* 📝 Update readme
v1.1.5-beta
2022-12-05 20:52:10 +01:00
maxlerebourg and GitHub
fe3b3b05fd
Merge pull request #58 from maxlerebourg/55-feature-clean-readme-doc
...
🍱 fix readme
2022-12-05 20:03:30 +01:00