Skip to content

cscli: print command name along with errors#3768

Merged
mmetc merged 15 commits into
masterfrom
cscli-error
Jul 31, 2025
Merged

cscli: print command name along with errors#3768
mmetc merged 15 commits into
masterfrom
cscli-error

Conversation

@mmetc
Copy link
Copy Markdown
Contributor

@mmetc mmetc commented Jul 31, 2025

this can help to debug scripts

@mmetc mmetc added this to the 1.7.0 milestone Jul 31, 2025
@mmetc mmetc added the kind/enhancement New feature or request label Jul 31, 2025
@github-actions
Copy link
Copy Markdown

@mmetc: There are no area labels on this PR. You can add as many areas as you see fit.

  • /area agent
  • /area local-api
  • /area cscli
  • /area appsec
  • /area security
  • /area configuration
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@mmetc mmetc requested a review from blotus July 31, 2025 09:10
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.62%. Comparing base (76ea87c) to head (b6675d6).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3768      +/-   ##
==========================================
+ Coverage   60.60%   60.62%   +0.01%     
==========================================
  Files         390      390              
  Lines       41872    41880       +8     
==========================================
+ Hits        25377    25389      +12     
+ Misses      14397    14394       -3     
+ Partials     2098     2097       -1     
Flag Coverage Δ
bats 44.78% <100.00%> (+<0.01%) ⬆️
unit-linux 34.14% <0.00%> (+0.01%) ⬆️
unit-windows 24.18% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

this can help to debug scripts
mmetc and others added 14 commits July 31, 2025 14:19
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.2 to 3.29.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@181d5ee...4e828ff)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.29.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* enhance: Add averagetime function which allows to compute averagetime span

* enhance: lint

* enhance: Add median function and act on @mmetc feedback

* enhance: NIT on tests

* enhance: switch to []time.Time instead and handle using expr map which returns interfaces

* enhance: Add a bunch of test cases

* enhance: Rename *duration to *interval
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.74.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Bumps [github.com/r3labs/diff/v2](https://github.com/r3labs/diff) from 2.14.1 to 2.15.1.
- [Commits](r3labs/diff@v2.14.1...v2.15.1)

---
updated-dependencies:
- dependency-name: github.com/r3labs/diff/v2
  dependency-version: 2.15.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@mmetc mmetc merged commit 59df443 into master Jul 31, 2025
16 checks passed
@mmetc mmetc deleted the cscli-error branch July 31, 2025 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement New feature or request needs/area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants