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

add headers when using raw output #1087

Merged
merged 3 commits into from
Dec 14, 2021
Merged

add headers when using raw output #1087

merged 3 commits into from
Dec 14, 2021

Conversation

AlteredCoder
Copy link
Contributor

fix #1068

@AlteredCoder AlteredCoder merged commit 01130a5 into master Dec 14, 2021
@AlteredCoder AlteredCoder deleted the fix_1068 branch December 14, 2021 10:09
blotus added a commit that referenced this pull request Jan 12, 2022
* test build windows

* user install test build

* Update test_build.ps1

* crowdsec as a windows service first commit

* logging startup to windows eventlog to test crowdsec as a windows service

* managing lifecycle of service

* Windows Installer

* template for generating choco  package

* Msi initial config

* Installer configured for windows installation and service registration

* Default Windows Config for installation by package

* loader adapted to windows

* sync go.mod go.sum with crowdsec

* sync go.mod for pull request

* upgrade main_windows with new changes

* adding default conf for cscli

* for windows version do not make this check

* trim \r for windows

* cleaning

* comment code that is only valid for linux in windows version

* cleaning and reorganizing scripts

* doc for installing the windows version and the necessary tools

* Update windows.md

line breaks in windows doc

* remove plugins with "make clean" (#1015)

* fix perms in package installation (#1012)

* fix perms

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>

* Fix bugs in cloudwatch acq (#991)

* Fix bugs in cloudwatch acq

- Fix concurrent writes to map streamIndexes
- Fix multiple cases of modifying while iterating on slice.
- Fix order of fetching cloudwatch events.
- Remove `startup` hack.

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>

* Fix cloudwatch tests

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>

* don't attempt to start crowdsec if LAPI has been disabled with debconf (#1016)

* Entgo 0.9 (#1018)

* update entgo & sqlite to latest version

* schema update

* don't wait on tomb if no datasources were started (#1019)

* Alerts flush: Optimization of the flush mechanism (batch and limit to one job) + add `cscli alerts flush` command (#1024)

 - Don't allow running more than one alert flush job at a time to prevent runaway CPU usage in some case. (fix High CPU after Upgrade to 1.2.0 #1022)
 - Add a cscli alerts flush command to manually flush the alerts in the database (fixes Improvement/Manual flush mechanism #1023 ).
 - Enable cascading deletion on alerts as we upgraded ent: Deleting an alert in the database will automatically delete all related decisions, events and meta
 - Add an index on alerts.id to try to improve flush performance with very big sqlite database.
- Flush alert now operates in batch

* add --limit parameter to cscli decisions list (#1025)

* add name and alias in cscli console enroll (#950)

* add name and alias in cscli console enroll

* add a --key to cscli config show (#1029)

* add a --key to cscli config show

* Extra syslog debug (#1030)

* extra logging

* Allow user to specify key for bouncers. (#1026)

* Allow user to specify key for bouncers.

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>

* .gitignore plugin binaries (#1037)

* typos (#1036)

* Make docker start executable (#1031)

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>

* Allow using cloudwatch using iam role instead of hardcoded tokens (#1035)

* Improve explain (#1039)

* improve explain feature

* nicer display for details, --verbose in favor of --debug for details

* Fix issue 1033 (#1034)

* Fix issue 1033

* removed legacy cron script (#1040)

* add evt. (#1045)

* install coreutils under alpine; do not copy notification configuration (#1044)

under Docker; assume systemctl is not running if it does not exist

* reorganizing os specific code

* add --failures to explain feature : only display failed lines (#1048)

* add --failures to explain feature : only display failed lines

* no error no problem

* Add ARM docker images. (#1051)

* Use math.MaxInt32 instead of math.MaxUint32 (#980)

To fix 32 bits compilation in v1.2.0
#979

Signed-off-by: Kerma Gérald <gandalf@gk2.net>

* fix #873 without breaking backward (#1052)

* feature cscli|crowdsec add additional labels on crowdsec dsn run (#1053)

* feature cscli|crowdsec add additional labels on crowdsec dsn run

* optimize the flush function by deleting alerts based on their id (#1054)

* Shell fixes (#1056)

* broken test

* don't expand filenames into options

* fix for ./test_env.sh -h => ./test_env.sh: line 15: usage: command not found

* gitignore the files generated while building the debian package (#1059)

* Fix typo in README (#1063)

* Docker datasource (#1064)

* add docker datasource

* allow BUILD_TAG to be overridden when building outside a git tree (#1058)

* typos of various nature (#1072)

* resolve conflict with new param

* log4j vuln fix for metabase (#1082)

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>

* fatal if cannot add bouncer: fix for #1066 (#1067)

* enabled -> enabling (#1090)

* fix #1083 : do not update/overwrite 'not installed' collections sub-items on 'cscli XX upgrade' (#1089)

* fix #1083 : do not update/overwrite 'not installed' collections sub-items on 'cscli XX upgrade'

* Fix #1070 (#1092)

* fix #1070

* Fix null point error if server cfg is empty while doing cscli explain (#1096)

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>

* Remove additional `apk update`, in Dockerfile (#1079)

* add more helpers (#1091)

* add more exprhelpers

* fix hubtest --no-clean when failure (#1088)

* add headers when using raw output (#1087)

* add headers when output raw with cscli

* return an error if we can't add a bouncer (#1085)

* fix links in wizard (#1098)

* add cscli decisions import (#1038)

* add cscli decisions import

Co-authored-by: Sebastien Blot <sebastien@crowdsec.net>
Co-authored-by: bui <thibault@crowdsec.net>

* merge checkowner linux with current version

* camelcase

* createcmd

* changing _linux file to build constraint for multi build

* reverting filenames it doesn't compile on windows anymore

* avoiding duplicate loadconfig

* main  logger start code in run_svc

* making multi unix build wit build constraints

Co-authored-by: mmetc <92726601+mmetc@users.noreply.github.com>
Co-authored-by: Manuel Sabban <github@sabban.eu>
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
Co-authored-by: Shivam Sandbhor <shivam@crowdsec.net>
Co-authored-by: blotus <sebastien@crowdsec.net>
Co-authored-by: Thibault "bui" Koechlin <thibault@crowdsec.net>
Co-authored-by: AlteredCoder <64792091+AlteredCoder@users.noreply.github.com>
Co-authored-by: Kavin <20838718+FireMasterK@users.noreply.github.com>
Co-authored-by: Kerma Gérald <gandalf@gk2.net>
Co-authored-by: he2ss <hamza.essahely@gmail.com>
Co-authored-by: Peter Dave Hello <hsu@peterdavehello.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug/some cscli CSV output shows headers, some don't
3 participants