Commit graph

  • 2fb6f209aa
    Update docker_start.sh (#2780) Laurence Jones 2024-01-24 22:51:33 +0000
  • 055475bd96 disable 'set -e' in docker entrypoint #2780 marco 2024-01-24 23:33:16 +0100
  • 155a6a305d
    Update docker_start.sh Laurence Jones 2024-01-24 22:12:37 +0000
  • 3f9e8e81e6
    fix some bats tests (#2775) Manuel Sabban 2024-01-24 19:51:55 +0100
  • 006f1e5df9 Merge branch 'master' into cscli-alerts marco 2024-01-24 17:36:20 +0100
  • 8c75efdb2a
    lint: disallow naked returns (#2771) mmetc 2024-01-24 17:31:34 +0100
  • f75cdeb239
    lint: enalble linter "wastedassign" (#2772) mmetc 2024-01-24 17:31:11 +0100
  • e3958cbdbe avoid globals: Client, dbClient marco 2024-01-24 17:30:21 +0100
  • 4081ae26e4 don't export alertsToTable(), displayOneAlert() marco 2024-01-24 17:17:29 +0100
  • 21b9fdc815 remove unused functions (debug helpers for papi??) marco 2024-01-24 17:14:56 +0100
  • d3f24c1cc9 don't export internal constructors marco 2024-01-24 17:08:01 +0100
  • 4d8f377065 if -> switch marco 2024-01-24 17:04:28 +0100
  • ac01b99573 cscli alerts: drop redundant if block marco 2024-01-24 17:01:42 +0100
  • e7b2d3cc25 cscli machines add: example with "-f -", split creds to stdout and messages to stderr marco 2024-01-24 15:36:53 +0100
  • 8896b38487 cscli machines: extract list(), avoid globals (dbClient, csConfig) marco 2024-01-24 14:23:12 +0100
  • 5e723f73e4 cscli machines: updated method add() marco 2024-01-24 14:06:14 +0100
  • 48bb74a051 cscli machines: extracted methods purge(), validate(), deleteValid() marco 2024-01-24 13:44:39 +0100
  • 7594713f58 load LAPI config and nerf messages marco 2024-01-24 11:23:44 +0100
  • b75da76da5 lint marco 2024-01-24 09:36:29 +0100
  • 66953ae660 don't use global variable "csConfig" marco 2024-01-24 00:41:03 +0100
  • 0c29495355 move global getBouncers() to list() method marco 2024-01-24 00:32:38 +0100
  • fe142dc0b7 don't load server config to avoid printing things like "push and pull to Central API disabled" marco 2024-01-24 00:02:47 +0100
  • 5217f80cff don't use global variable "dbClient" marco 2024-01-24 00:01:07 +0100
  • 4dec9f60aa update method delete(), extract deleteValid() marco 2024-01-23 23:47:06 +0100
  • 2dc00c4a55 update add method marco 2024-01-23 23:31:25 +0100
  • b4fa272b69 pass each flag in a closure; don't export constructor methods marco 2024-01-23 09:47:38 +0100
  • 15e4e72e11 wip prune marco 2024-01-22 17:45:52 +0100
  • 3ebde4ad41 redundant check Marco Mariani 2023-12-11 11:38:11 +0100
  • 0d8da42985 fix some tests #2775 sabban 2024-01-23 18:48:42 +0100
  • 9e1cfb18b9 Support console options in console enroll (#2760) #2767 various_small_bats_fixes Thibault "bui" Koechlin 2024-01-19 15:49:00 +0100
  • 4b8e6cd780
    appsec: avoid nil dereference (#2773) v1.6.0 mmetc 2024-01-23 09:32:41 +0100
  • 977d904b94 use Prometheus COnfig instead of Plugin sabban 2024-01-22 18:44:59 +0100
  • 3693d57609 appsec: avoid nil dereference #2773 marco 2024-01-22 16:12:50 +0100
  • c7f5af6957 add fc39 fc39_tests sabban 2024-01-22 15:39:56 +0100
  • 2541e881ac
    Merge d64d8e7f46 into 84606eb207 #2238 Piotr P. Karwasz 2024-01-22 15:24:19 +0100
  • 5beed41288 fc39 may require a specific python version sabban 2024-01-22 15:20:52 +0100
  • 13a8126f4d lint: disallow naked returns #2771 marco 2024-01-22 14:44:15 +0100
  • 84f7d862ba lint: enalble linter "wastedassign" #2772 marco 2024-01-22 15:11:27 +0100
  • 84606eb207
    Appsec hooks fixes (#2769) blotus 2024-01-22 13:33:20 +0100
  • dc698ecea8
    log "loading papi client" only if papi is enabled (#2762) mmetc 2024-01-22 13:25:36 +0100
  • 6c9fd7251b
    do not marshal internal transaction when dumping request #2769 Sebastien Blot 2024-01-22 12:49:37 +0100
  • 455acf7c90
    lapi/papi: when receiving alerts, log and discard invalid addr/range (#2708) mmetc 2024-01-22 12:24:26 +0100
  • 22199aa2b0
    use proper logger + don't hide expr error Sebastien Blot 2024-01-22 11:55:24 +0100
  • e1429c3484
    fix log level in request dump Sebastien Blot 2024-01-22 11:53:57 +0100
  • 489d576368 remove comment #2708 marco 2024-01-22 11:42:39 +0100
  • 3d4a54aa1d cscli: don't ignore extra arguments after "decisions import" marco 2024-01-22 11:38:59 +0100
  • 375556f951 don't preallocate decisionbuilders slice marco 2024-01-22 11:27:48 +0100
  • fb703a8ebb handle partially or completely discarded alerts marco 2024-01-22 11:15:59 +0100
  • 675e192351 test log file content marco 2024-01-09 13:49:42 +0100
  • cabba2bc6e comment marco 2024-01-09 10:19:13 +0100
  • ba72ca4c1b func test marco 2024-01-09 10:17:33 +0100
  • 4728dac60e lapi: when receiving alerts, log and discard invalid addr/range marco 2024-01-09 09:54:38 +0100
  • 5ef27d7b1e
    Make english more english #2765 Laurence 2024-01-20 15:48:28 +0000
  • 4b5bd679f4
    Removed redundant prerune since Args with validate it for us Laurence 2024-01-20 15:47:06 +0000
  • 91c5e6c00a
    Short should be short Laurence 2024-01-20 15:43:48 +0000
  • 73601395d4
    Split function to reusable and pass to inspect since both rely on a valid plugin name, fix short/long of list command Laurence 2024-01-20 15:41:58 +0000
  • 69fd67791b
    Add cscli notifications test ValidArgsFunction for tab completion Laurence 2024-01-20 15:30:00 +0000
  • 4d83b3b49f
    Add unix socket option to http plugin, we have to use this in conjunction with URL parameter as we dont know which path the user wants so if they would like to communicate over unix socket they need to use both, however, the hostname can be whatever they want. We could be a little smarter and actually parse the url, however, increasing code when a user can just define it correctly make no sense Laurence 2024-01-20 14:27:02 +0000
  • 6508965192 typos sabban 2024-01-19 23:22:47 +0100
  • eeb3aade32 typo sabban 2024-01-19 18:13:58 +0100
  • 98239eff31 fix for centos9 sabban 2024-01-19 18:00:07 +0100
  • 43e5226735
    Merge diff issue Laurence 2024-01-19 16:16:29 +0000
  • ba7c8ba3a3
    Allow TLS unix socket Laurence 2024-01-19 16:14:04 +0000
  • df31f882b8 log "loading papi client" only if papi is enabled #2762 marco 2024-01-19 16:40:46 +0100
  • acfda3642c
    Merge branch 'master' into appsec_socket Laurence Jones 2024-01-19 16:01:48 +0000
  • b0c0b5ee00 typo sabban 2024-01-19 16:30:52 +0100
  • cbb6359e10 typo sabban 2024-01-19 16:19:27 +0100
  • 19d36c0fb2
    Support console options in console enroll (#2760) Thibault "bui" Koechlin 2024-01-19 15:49:00 +0100
  • 2eb513aef9 typo sabban 2024-01-19 15:45:12 +0100
  • 89fd883466 try fix sabban 2024-01-19 15:40:13 +0100
  • 8a03694493 allow 'all' shortcut for --enable #2760 bui 2024-01-19 15:09:34 +0100
  • 094d845e11 fix 04_capi.bats to avoid // sabban 2024-01-19 15:02:19 +0100
  • 7c212d5194
    Merge branch 'master' into console_opts_enroll Thibault "bui" Koechlin 2024-01-19 14:35:07 +0100
  • fe68444ec4
    Update console.go Thibault "bui" Koechlin 2024-01-19 14:32:56 +0100
  • ce32fc019e
    func tests improvements (#2759) mmetc 2024-01-19 13:55:28 +0100
  • f99b613766 allow enroll to specify options to enable bui 2024-01-19 13:26:54 +0100
  • a524d7bf4e simplify and make more consistent help message about console opts bui 2024-01-19 13:26:37 +0100
  • bad4a50a6a make dev.yaml has a valid/default console path bui 2024-01-19 13:18:15 +0100
  • 2471da7bbd bats: fix lapi status test #2759 marco 2024-01-19 13:15:30 +0100
  • 85b9eb4f24 bats: replace 'netcat' requirement with python script marco 2024-01-19 12:16:38 +0100
  • eeee30920a bats: decode-jwt script marco 2024-01-19 12:15:11 +0100
  • feef5a026b bats: faster reload test marco 2024-01-19 09:11:44 +0100
  • 6ffb68322f
    pkg/hubtest: split hubtest_item.go (#2753) mmetc 2024-01-18 11:09:14 +0100
  • b92d51b62b pkg/hubtest: generalize method installHubItems() #2753 marco 2024-01-18 09:53:17 +0100
  • a22d9733de pkg/hubtest: split installAppsecRule marco 2024-01-17 18:31:08 +0100
  • fbffb2b34f pkg/hubtest: split installPostoverflow marco 2024-01-17 18:26:46 +0100
  • e7502149c4 pkg/hubtest: split installScenario marco 2024-01-17 18:18:26 +0100
  • 47542561ac pkg/hubtest: split installParser marco 2024-01-17 18:15:57 +0100
  • 7eaa189f2d pkg/hubtest: extract loops to methods marco 2024-01-17 17:58:26 +0100
  • 1223cefc16 pkg/hubtest: split hubtest_item.go, update linter config marco 2024-01-17 17:15:19 +0100
  • fa8d5b6992
    post-install: reduce verbosity (#2751) mmetc 2024-01-18 09:20:52 +0100
  • ad13e0908f rpm post install: avoid info and warning messages when registering to capi #2751 marco 2024-01-18 00:24:27 +0100
  • 4d05f313d1 debian post install: avoid info and warning messages when registering to capi marco 2024-01-18 00:11:48 +0100
  • 5d0d5ac9c9
    CI: enable code complexity linters (#2752) mmetc 2024-01-17 21:57:45 +0100
  • d760b401e6
    apiclient: split auth_key, auth_retry, auth_jwt (#2743) mmetc 2024-01-17 15:08:41 +0100
  • 8d77e12e17 CI: enable code complexity linters #2752 marco 2024-01-17 15:03:53 +0100
  • e04acc9e0f golangci-lint message, comment #2743 marco 2024-01-16 09:27:36 +0100
  • 8753627065 apiclient: split auth_key, auth_retry, auth_jwt marco 2024-01-10 15:28:25 +0100
  • 82fd8e4519 lint (backtick) marco 2024-01-17 13:00:50 +0100
  • e6d7eaef92 removed redundant debug msg marco 2024-01-17 12:59:32 +0100