Skip to content

refact whitelist/allowlist: net.IP to net/netip #3683

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mmetc
Copy link
Contributor

@mmetc mmetc commented Jun 12, 2025

since address parsing is stricter we need to log or error depending on context, I'm leaving XXX

@mmetc mmetc added this to the Next release milestone Jun 12, 2025
Copy link

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

Copy link

codecov bot commented Jun 12, 2025

Codecov Report

Attention: Patch coverage is 83.33333% with 6 lines in your changes missing coverage. Please review.

Project coverage is 60.65%. Comparing base (4411d82) to head (6792092).

Files with missing lines Patch % Lines
pkg/apiserver/apic.go 50.00% 3 Missing and 1 partial ⚠️
pkg/database/allowlists.go 66.66% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3683      +/-   ##
==========================================
- Coverage   60.67%   60.65%   -0.02%     
==========================================
  Files         375      375              
  Lines       41328    41335       +7     
==========================================
- Hits        25074    25072       -2     
- Misses      14179    14186       +7     
- Partials     2075     2077       +2     
Flag Coverage Δ
bats 44.74% <41.66%> (-0.03%) ⬇️
unit-linux 34.27% <77.77%> (+<0.01%) ⬆️
unit-windows 24.29% <66.66%> (-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.

@mmetc mmetc force-pushed the allowlist-netip branch 2 times, most recently from b51c153 to bcf6d4b Compare June 20, 2025 09:07
@mmetc mmetc force-pushed the allowlist-netip branch 2 times, most recently from e81493b to 82cf1bf Compare July 4, 2025 21:31
@mmetc mmetc force-pushed the allowlist-netip branch 2 times, most recently from 17b5c91 to 1bece3e Compare July 23, 2025 14:20
@mmetc mmetc modified the milestones: Next release, 1.7.0 Jul 23, 2025
@mmetc mmetc marked this pull request as ready for review July 23, 2025 14:31
@mmetc mmetc force-pushed the allowlist-netip branch from 1bece3e to 6792092 Compare July 23, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant