Skip to content

add cscli bot subcommand - #4666

Open
blotus wants to merge 1 commit into
masterfrom
cscli-bot
Open

add cscli bot subcommand#4666
blotus wants to merge 1 commit into
masterfrom
cscli-bot

Conversation

@blotus

@blotus blotus commented Sep 8, 2026

Copy link
Copy Markdown
Member

Add a new cscli bot command that contains:

  • match: takes an IP/UA/path as a parameter to test whether it matches any bot data files with MatchKnownBot
  • fsid: takes an FSID as a parameter and parses it to reconstruct part of the original fingerprint for easier understanding

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

@blotus: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.

  • /kind feature
  • /kind enhancement
  • /kind refactoring
  • /kind fix
  • /kind chore
  • /kind dependencies
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.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

@blotus: 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.

@codecov

codecov Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 12.37624% with 354 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.84%. Comparing base (909b515) to head (af4386a).

Files with missing lines Patch % Lines
pkg/appsec/challenge/fsid/fsid.go 0.00% 226 Missing ⚠️
cmd/crowdsec-cli/clibot/match.go 21.21% 77 Missing and 1 partial ⚠️
cmd/crowdsec-cli/clibot/fsid.go 39.02% 24 Missing and 1 partial ⚠️
pkg/exprhelpers/botfile.go 0.00% 22 Missing ⚠️
cmd/crowdsec-cli/clibot/bot.go 78.57% 2 Missing and 1 partial ⚠️

❗ There is a different number of reports uploaded between BASE (909b515) and HEAD (af4386a). Click for more details.

HEAD has 4 uploads less than BASE
Flag BASE (909b515) HEAD (af4386a)
unit-windows 1 0
unit-linux 2 0
bats 2 1
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #4666       +/-   ##
===========================================
- Coverage   64.71%   40.84%   -23.88%     
===========================================
  Files         522      500       -22     
  Lines       39862    38921      -941     
===========================================
- Hits        25798    15896     -9902     
- Misses      11663    21099     +9436     
+ Partials     2401     1926      -475     
Flag Coverage Δ
bats 40.84% <12.37%> (-0.25%) ⬇️
unit-linux ?
unit-windows ?

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

☔ View full report in Codecov by Harness.
📢 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.

@blotus

blotus commented Sep 8, 2026

Copy link
Copy Markdown
Member Author

/kind enhancement
/area cscli

@blotus blotus added this to the 1.8.2 milestone Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cscli kind/enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant