Skip to content

[pull] master from crowdsecurity:master #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 479 commits into
base: master
Choose a base branch
from

Conversation

pull[bot]
Copy link

@pull pull bot commented Feb 3, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

mmetc and others added 27 commits July 22, 2024 10:54
* new hapi url
* mock url in tests has to be updated
---------

Co-authored-by: marco <[email protected]>
In k8s there can be extra directories while mounting config maps, which
leads to a failure while parsing the hub state. The PR changes these
kind of errors to warnings.
* pkg/cwhub: redundant log messages

* CI: fixture output and elapsed time

* CI: preload only essential hub items

* report full version (including -rc2 etc.) with cscli hub update --debug

* lint
…#3159)

* fix #1742 : Allow QueryCAPIStatus to return as well enrollment status

---------

Co-authored-by: marco <[email protected]>
* command "cscli doc --target /path/to/dir"

* typos and improved messages

* CI: remove obsolete parameters for golangi-lint action

* lint
…#3170)

* metrics: avoid nil deref with inactive bouncers

* log message from API even it if cannot be parsed

* fix unit test
* correct variable names

* prevent nil deref when loading cti config
…lete" (#3177)

* cscli: add option --ignore-missing to "bouncers delete", "machines delete"

* lint
* use golangci-lint 1.60

* lint (gosimple/S1009) -> len(nil) == 0

* nerf govet for now
* refact (nestif): extract functions in pkg/leakybucket/overflows.go

* refact (nestif): extract functions in pkg/leakybucket/manager_load.go

* lint
* cscli refact: package 'cliconsole'

* dry

* lint

* lint
* pkg/cwhub: improve support for k8s config maps as custom items

 - allow links to links
 - ignore hidden ..data directories, but allow links to their content

* allow any number of subdirectories in /etc/crowdsec/{hubtype}

* item name as subdir/file.yaml

* improve func test

* lint
mmetc and others added 30 commits March 12, 2025 10:36
Hubtests are now much faster and have a --max-jobs option which defaults to the number of cpu cores.
* CI: enable linter "noctx"

* rename NewRequestWithContext() -> PrepareRequest()
* golangci-lint v2

* CI: reduce parallel jobs for hubtests
* lint: enable reflectvaluecompare
* lint: remove exception
* lint: stylecheck ST016 - methods on the same type should have the same receiver name
* lint: enable revive[time-equal]
* fix error check on postoverflow config

* lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.