Commit graph

  • 4ba8c03774 refact pkg/database: unnecessary pointers marco 2025-05-06 14:47:26 +02:00
  • e6b85b641c
    feat(apic): add ApicAuth client and token re-authentication logic (#3522) Manuel Sabban 2025-05-06 16:23:56 +02:00
  • 3b9130469c
    refact pkg/parser: extract method, avoid calling defer in loop (#3564) mmetc 2025-05-06 16:11:24 +02:00
  • 15dcbdeec9
    refact: remove unused metod DeleteDecisionsWithFilter() (#3605) mmetc 2025-05-06 16:10:18 +02:00
  • 8bf2f2873d Merge branch 'master' into login/cache marco 2025-05-06 16:01:02 +02:00
  • 7c6cad1459 CI: update action for generating docker description marco 2025-04-02 13:21:35 +02:00
  • 0e8b557402
    refact alert, decision filters: remove unnecessary pointers (#3607) mmetc 2025-05-06 15:34:50 +02:00
  • c0cfe2181e lint marco 2025-05-06 15:25:51 +02:00
  • 449c8d615a Merge branch 'master' into pkg-parser marco 2025-05-06 15:23:11 +02:00
  • daeae34b61 lint marco 2025-05-06 15:21:16 +02:00
  • 8985476282 Merge branch 'master' into deadcode marco 2025-05-06 15:16:31 +02:00
  • 4527ad0fa8
    CI: update lint complexity thresholds (#3608) mmetc 2025-05-06 15:15:31 +02:00
  • b87a5e56e6 lint marco 2025-05-06 15:14:52 +02:00
  • 609c060e42 docstrings marco 2025-05-06 15:00:11 +02:00
  • 60d662425d extract load/save token functions marco 2025-05-06 14:38:13 +02:00
  • 08a5b33963 mod tidy marco 2025-05-06 14:11:28 +02:00
  • 959b872118
    allowlists: automatically expire current matching decisions on update (#3601) blotus 2025-05-06 14:10:30 +02:00
  • 2f2f4cac4c CI: replace release drafter action with release.yml release-notes marco 2025-05-06 11:55:20 +02:00
  • 3f92b9fbae add schema migration sabban 2025-05-06 11:07:06 +02:00
  • ebab153ec6 feat(database): enhance schema configuration for database compatibility sabban 2025-05-06 10:38:31 +02:00
  • e60b3a73cf Merge branch 'login/cache' of github.com:crowdsecurity/crowdsec into login/cache sabban 2025-05-06 10:16:45 +02:00
  • a4a33701eb Revert "Eventually add a new item in database" sabban 2025-05-06 10:15:45 +02:00
  • 03c50956ad mod tidy marco 2025-05-06 09:58:50 +02:00
  • 9cc1d1a6f4 Merge branch 'master' into login/cache marco 2025-05-06 09:58:31 +02:00
  • ea29affeed CI: update lint complexity thresholds marco 2025-05-06 09:37:59 +02:00
  • aae608b69a Merge branch 'login/cache' of github.com:crowdsecurity/crowdsec into login/cache sabban 2025-05-05 20:19:29 +02:00
  • e7b0878ac8 Eventually add a new item in database sabban 2025-05-05 20:18:57 +02:00
  • 531af79861 refact alert, decision filters: remove unnecessary pointers marco 2025-05-05 15:03:26 +02:00
  • f8f0b2a211
    improve support for parsing time durations with 'day' units (#3599) mmetc 2025-05-05 15:12:29 +02:00
  • 790b8ebd7a DurationWithDays for 'max_age' marco 2025-05-05 14:47:13 +02:00
  • 08e1e2d5ad wip lint-unused marco 2025-05-05 13:27:28 +02:00
  • 9c080aa8ee Merge branch 'master' into anomaly-detection marco 2025-05-05 13:09:22 +02:00
  • fc6978363d support days in 'metrics_max_age' marco 2025-05-05 10:47:18 +02:00
  • 976b5cf080 test fix marco 2025-04-30 14:35:50 +02:00
  • 97917c9032 lint marco 2025-04-30 14:07:58 +02:00
  • 4bb9528073 update dependency marco 2025-04-30 14:06:59 +02:00
  • 6f067db57f use custom duration type in expr helpers marco 2025-04-30 13:52:18 +02:00
  • ae65262396 replace old function ParseDuration marco 2025-04-30 13:50:19 +02:00
  • 662da8ce33 custom duration type for "cscli bouncers prune" marco 2025-04-30 13:40:15 +02:00
  • f5e9424b4a custom duration type for "cscli machines prune" marco 2025-04-30 13:29:52 +02:00
  • 11a13d64b7 custom duration type for "cscli allowlist add" marco 2025-04-30 13:13:36 +02:00
  • 45c6c11a15 custom duration type for "cscli decisions list", "cscli alerts list" marco 2025-04-29 23:18:10 +02:00
  • f2fcc7eb73
    Merge branch 'master' into master mmetc 2025-05-02 22:24:04 +02:00
  • 89b4fbe2aa lint marco 2025-05-02 21:28:33 +02:00
  • 65a5c29dc0 config.yaml: make config_dir and notification_dir optional marco 2025-05-02 16:41:17 +02:00
  • 4cea22c023
    enhance: mr linter pls be happy Laurence 2025-05-02 14:23:43 +01:00
  • b55d9cbe88
    enhance: Move info to reconnect goto Laurence 2025-05-02 14:14:55 +01:00
  • f04b51ba10
    enhance: Move info outside for loop Laurence 2025-05-02 14:12:30 +01:00
  • 38810df96b
    enhance: After a reconnect we always check the containers to attempt to resurrect or else we wait until a event comes in which it may not Laurence 2025-05-02 14:09:33 +01:00
  • 1081d615ee
    enhance: keep trying until we hit max timer Laurence 2025-05-02 13:58:53 +01:00
  • d6c180f3c2 refact: remove unused metod DeleteDecisionsWithFilter() marco 2025-05-02 14:30:15 +02:00
  • d10067e772
    refactor pkg/database/Client.createAlertChunk() (#3585) mmetc 2025-05-02 14:12:00 +02:00
  • e1014a9500 ... marco 2025-05-02 13:31:49 +02:00
  • f9a4ae3fe1
    enhance: mr linter mad Laurence 2025-05-02 11:58:22 +01:00
  • 45f46c8ed3
    enhance: remove max retries seconds as we have a max count instead Laurence 2025-05-02 11:34:26 +01:00
  • 68882a72ae
    enhance: Add a retry loop to reconnect to docker events when docker is down Laurence 2025-05-02 11:10:31 +01:00
  • 30e9da6e95 Merge branch 'master' into allowlist-existing-decisions marco 2025-05-02 10:31:12 +02:00
  • 1c7981efd7 test message marco 2025-05-02 09:58:59 +02:00
  • 201aebaac2
    cscli inspect: don't show metrics or converted rules if an item is not installed (#3602) mmetc 2025-05-02 00:12:55 +02:00
  • 203874af20 lint marco 2025-05-01 23:35:31 +02:00
  • 2b806d7890 Merge branch 'master' into inspect-non-installed marco 2025-05-01 23:10:22 +02:00
  • 54571d1688
    refact cscli: hub item - pointer receiver for consistency (#3595) mmetc 2025-05-01 23:04:42 +02:00
  • ed4dbf1f55 lint marco 2025-04-30 23:55:17 +02:00
  • 47d51f9cda Merge branch 'master' into lint-hugeparam marco 2025-04-30 23:25:56 +02:00
  • dafc9c3076
    CI: correct uv.lock path (#3596) mmetc 2025-04-30 23:24:33 +02:00
  • 0a9e6ddd4f
    CI: remove obsolete reference to directory dyn-bats (#3600) mmetc 2025-04-30 23:23:49 +02:00
  • 0ec9f4a834 update test marco 2025-04-30 17:06:00 +02:00
  • e105e15b54 cscli inspect: don't show metrics or converted rules if an item is not installed marco 2025-04-30 16:24:35 +02:00
  • fbee073b0d
    add bats tests Sebastien Blot 2025-04-30 16:06:07 +02:00
  • 2415b73e94
    only non-expired decisions Sebastien Blot 2025-04-30 15:28:56 +02:00
  • 8949309223
    Fix monitorNewFiles for NFS + Remove dead tails from tail map (#3508) David 2025-04-30 15:05:17 +02:00
  • 582a192c1e
    build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 (#3581) dependabot[bot] 2025-04-30 14:45:57 +02:00
  • bc8903d7f4 correct uv.lock path marco 2025-04-28 10:03:16 +02:00
  • 02aa2bc852 lint config marco 2025-04-27 20:55:48 +02:00
  • 76b70da9fc refact: extract function retryOnBusy() marco 2025-04-22 23:54:35 +02:00
  • 12675f4a42 refact: extract function saveAlerts() marco 2025-04-22 23:36:52 +02:00
  • 7f0bb51277 refact: extract function buildDecisions() marco 2025-04-22 21:25:34 +02:00
  • 055ce9dcb7 refact: extract function buildMetaCreates() marco 2025-04-21 23:28:50 +02:00
  • bfd86a9805 refact: extract function buildEventCreates() marco 2025-04-21 00:21:16 +02:00
  • 08c87a4933 refact: extract function parseAlertTimes() marco 2025-04-19 23:30:43 +02:00
  • 787c161784 CI: remove obsolete reference to directory dyn-bats marco 2025-04-30 14:38:21 +02:00
  • 180bcb63c5
    also expire when pulling an allowlist from papi Sebastien Blot 2025-04-30 14:24:06 +02:00
  • 7eaa828e60
    expire decisions when updating allowlists Sebastien Blot 2025-04-30 14:21:24 +02:00
  • c519833429
    enhance: warnf -> warn Laurence 2025-04-30 13:03:24 +01:00
  • 4b8f2340a6
    enhance: add check_interval test and add deprecation warning Laurence 2025-04-30 13:02:39 +01:00
  • e1b5337445
    enhance: fixes Laurence 2025-04-30 12:21:44 +01:00
  • e981128f61
    enhance: split code and add events to mock client Laurence 2025-04-30 11:43:33 +01:00
  • b2bced8046
    enhance: Remove docker acquis internal timer use docker events Laurence 2025-04-30 11:04:07 +01:00
  • 764deee1c0
    enhance: add listen_socket to http acquisition (#3499) Laurence Jones 2025-04-29 17:19:10 +01:00
  • 8871c0b3ce CI: correct uv.lock path marco 2025-04-28 10:03:16 +02:00
  • d69496d4d8 refact cscli: hub item - pointer receiver for consistency marco 2025-01-14 16:01:41 +01:00
  • 5739c39058
    enhance: mr linter pls be happy with me Laurence 2025-04-29 15:36:36 +01:00
  • f0ec9cfd06
    enhance: use mktemp instead of hardcoding Laurence 2025-04-29 15:22:53 +01:00
  • 46e2288806 fix regression - tail files from the end if they are detected when the application starts marco 2025-04-29 16:19:08 +02:00
  • 5b3fa98b9f Merge branch 'master' into fixreader marco 2025-04-29 16:11:14 +02:00
  • 0a75b7c177
    enhance: use temp dir for socket tests Laurence 2025-04-29 14:50:36 +01:00
  • c50b5e41f1
    enhance: Cancel early go routines if config is emtpy and add a socket test Laurence 2025-04-29 14:36:54 +01:00
  • 60af11979e
    Merge branch 'master' into http_acquis_socket Laurence Jones 2025-04-29 14:11:33 +01:00
  • 46e6398868
    enhance: Allow the use of 'd' suffix in profiles (#3594) Laurence Jones 2025-04-29 12:18:06 +01:00
  • 3614d82fef wrap error for long socket path marco 2025-04-29 13:14:54 +02:00