Skip to content
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

[pull] master from crowdsecurity:master #70

Open
wants to merge 414 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 June 6, 2024 10:21
* cscli decisions: extract method add()

* cscli decisions: extract method delete()

* cscli lapi: avoid apiclient global

* cscli capi: avoid apiclient global

* cscli decisions: error cleanup, avoid global for api client

* update test

* cscli alerts: extract method delete()

* lint
* enable linter "stylecheck"

* stylecheck: omit redundant types
* lint: revive (blank-imports) require a comment to justify blank imports

* typo
* lint revive(deep-exit): refactor cmd/crowdsec

* lint
* enable linter: revive (early-return)

* lint
* cscli refactor: explicit context for hub (version lookup)

* change order of version checks

* pkg/cwhub: split NewHub() + Update() + Load()

* cscli refactor: explicit context for hub (index update)

* updated pkg/cwhub docs

* lint
* enable linter: revive (indent-error-flow)

* lint
missing newline, proper return code, same msg as dashboard, test
* cscli: helper require.DBClient()

* refactor pkg/database: explicit context to dbclient constructor

* lint
* cscli refactor: extract method cliSetup.detect()
* cscli refactor: extract method cliSetup.install()
* cscli refactor: extract method cliSetup.dataSources()
* cscli refactor: method ccliSetup.validate()
* skip redundant pre-loop checks
* pkg/parser: extract method processGrok()

* early return

* early return/2
* comment fix

* redundancy

* typo nill -> nil

* remove extra newline from log
* enable linter: revive (superfluous-else)

* lint (whitespace)
* db: don't set bouncer last_pull until first connection

* cscli bouncers prune: query creation date if they never connected
mmetc and others added 30 commits January 16, 2025 16:13
* lint: enable errcheck with explicit allow list
* add explicit error checks
* windows tests
* windows nolint
* enhance: Log appsec error on writing response to remediation

* fix: note to self dont write code at midnight
* pkg/cticlient: Add missing field in SmokeItem and FireItem
… to /usr/lib (#3415)

We don't need to explicitly copy the file, but the standard location is
/usr/lib, not /lib - hence we must avoid duplicating it by copying explicitly if /lib
is not linked to /usr/lib.

Also we don't need preinst anymore and the message is in postinst as well.
* wip

* attempt #2

* next

* up

* up

* up

* up

* add more feature description

* up

* next iteration

* up
* fix #3343

* fix #3350

* fix #3350

---------

Co-authored-by: blotus <[email protected]>
Co-authored-by: Laurence Jones <[email protected]>
* fix: use CreatedAt instead of StartAt

fix: #3321

* not a ptr
this should fix a caching issue with github
* acquisition/victorialogs: add new datasource

Data source supports:
- cat mode with automatic adjustment of poll interval (same as one at Loki datasource)
- tail mode by using tailing API
* don't ask user to reload systemd service when running in docker

* refactor + give appropriate message if terminal is attached

* remove explicit filetype
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.