Cybersecurity-Projects/PROJECTS/intermediate
CarterPerez-dev 79851054fd fix(dlp-scanner): a call site that already names its arguments should say so in the signature
ruff 0.16.0 stabilized PLR0917 (too-many-positional-arguments) out of
preview. The project selects PL wholesale and CI installs ruff unpinned,
so the rule switched on by itself and four signatures went red without a
line of source changing.

Every flagged call site already passed the tail arguments by keyword, so
the signatures were understating a contract the code had already adopted.
Mark that tail keyword-only:

  DetectorRegistry.__init__   - six optional config knobs, all keyword
  _append_findings            - matches/text positional, context keyword
  _process_dns_packet         - packet data positional, context keyword
  _make_packet (test helper)  - eight defaulted fields, all keyword

_process_dns_packet was the only caller passing positionally; it now
names path/packet_num/dns_detector/result like every sibling call does.

313 tests pass, ruff clean on both 0.15.7 and 0.16.1, mypy unchanged at
its three pre-existing errors.
2026-07-31 19:09:36 -04:00
..
api-security-scanner chore(deps): bump pydantic-settings 2026-06-20 01:35:21 +00:00
binary-analysis-tool chore(binary-analysis): update live demo URL and fix prod healthcheck 2026-07-19 02:45:20 -04:00
credential-enumeration fix(credential-enumeration): rename .nimble to credenum.nimble 2026-04-29 01:23:40 -04:00
credential-rotation-enforcer feat(cre): one-shot curl|bash installer for credential-rotation-enforcer 2026-06-18 23:24:30 -04:00
dlp-scanner fix(dlp-scanner): a call site that already names its arguments should say so in the signature 2026-07-31 19:09:36 -04:00
docker-security-audit chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp 2026-04-08 20:02:55 +00:00
ja3-ja4-tls-fingerprinting feat(tlsfp): add social-share OG image and one-command tunnel redeploy 2026-06-18 23:24:30 -04:00
sbom-generator-vulnerability-matcher cracked 2026-05-23 05:01:01 -04:00
secrets-scanner chore(deps): bump golang.org/x/crypto 2026-07-09 21:25:45 +00:00
security-news-scraper chore(deps): bump golang.org/x/net 2026-07-09 21:25:41 +00:00
siem-dashboard chore(deps): bump axios 2026-07-21 00:42:46 +00:00