David
65a2f79fb3
🐛 Not write response body for HEAD requests ( #277 )
...
* Fixes
* XX
* Fix
* 🍱 Lint
* 🍱 remove useless comments
---------
Co-authored-by: Max Lerebourg <maxlerebourg@gmail.com >
2025-10-06 11:19:19 +02:00
David
84a5674b14
📈 Report traffic dropped metrics to LAPI ( #223 )
...
* Initial implementation
* fix
* fixes
* Fixes
* xx
* progress
* xx
* xx
* xx
* fix linter
* Progress
* Fixes
* xx
* xx
* Remove trace logger
* Last fix
* fix lint
* fix lint
* fix lint
---------
Co-authored-by: Max Lerebourg <maxlerebourg@gmail.com >
2025-07-02 11:36:09 +02:00
maxlerebourg
45d5f38c4d
✨ add remediation header when plugin made decision ( #189 )
...
* ✨ add remediation header when plugin made decision
* 🍱 add documentation
2024-09-25 19:30:27 +02:00
mathieuHa
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
maxlerebourg
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 >
2024-04-01 11:41:28 +02:00
maxlerebourg
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
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
Max Lerebourg
1f094d818a
💄 move getTlsConfig to configuration pkg
2022-12-05 08:10:56 +01:00
Max Lerebourg
a17e082ba3
💄 fix lint
2022-12-04 21:56:03 +01:00
Max Lerebourg
7e9044c41d
🧪 fix test
2022-12-04 21:47:15 +01:00
Max Lerebourg
988f3ebeae
✨ add configuration pkg and tests
2022-12-04 21:40:14 +01:00
Max Lerebourg
2543127abb
🍱 fix lint
2022-12-04 16:58:49 +01:00
Max Lerebourg
5dd06567f4
🍱 test validate
2022-12-04 16:58:06 +01:00
Mathieu HANOTAUX
76e5c7497d
✅ Add test structure for bouncer pkg
2022-12-04 15:20:25 +01:00
mathieuHa
a2fe60c621
51 feature support tls connections to crowdsec not signed by a public ca ( #53 )
...
* ✨ Add support for insecure tls connections to LAPI
* 📝 Add documentation for the TLS insecure parameter
* 🚧 Add tls authority certificate and checks for params
* 📝 Add example for tls communication in readme and folder
* 📝 Update documentation and example for tls
* 🚨 Fix easy lint errors
* 🦺 logic to fetch certificates
* 🚨 Fix lint on readme
* ♻️ Refactor validate to fix lint and clean
* 🚧 Add doc, cert gen for crowdsec example
* 🚧 Progress on setting up Crowdsec with tls
* 🚧 Update certs validation for example
* ♻️ Add load variable from file or value and get client cert
* ♻️ Refactor getting variables
* 🚨 Fix lint, no new line on new files
* 🐛 Fix bug on condition check lapi key cert
* ♻️ Update after review
* ♻️ Update after review
* 🍱 fix mathieu code
* ♻️ Refactor logic of loading tls certificates
* 🍱 clean code
* 🍱 last fix
* 🍱 fix lint
* ♻️ Add documentation in readme, fix lint, remove unfinished tests
* 🐛 Fix conditions logics
* 🚨 Fix Lint
* ♻️ simplify code on getVariable
Co-authored-by: Max Lerebourg <maxlerebourg@gmail.com >
2022-11-30 17:54:49 +01:00
mathieuHa
0a54f7b09f
Update CI following latest plugindemo version ( #34 )
...
* Update CI following latest plugindemo version
* disable some linter
* Disable some linter
* Fix linter in redis, add error logger
* 🚨 Fix lint errors in private packages
* 🚨 Update lints in package and core code
* 🚨 exclude unfixable lint errors
* 🚨 update lint at package level and ignore necessary global variable
* 🍱 fix lint qnd merge
* 🚨 Fix Lint for string
* 🚨 Fix lint for bouncer
* 🚨 Fix error
* Fix weird linter error
Co-authored-by: Max Lerebourg <maxlerebourg@gmail.com >
2022-11-19 19:35:01 +01:00
Max Lerebourg
64a117d7b0
🍱 change default mode to live
2022-10-11 19:56:14 +02:00
MathieuHa
60b789ba9d
Clean docker-compose, add test data in .traefik
2022-09-28 20:44:52 +02:00
Max Lerebourg
5a370d9a88
add vendor
2022-09-28 17:52:24 +02:00
Max Lerebourg
9adb7d9500
🍱 live added
2022-09-28 13:14:41 +02:00
Max Lerebourg
af41af2cee
first commit
2022-09-27 18:12:25 +02:00