Skip to content

feat: add the remaining endpoints and webhook verification - #6

Merged
RejectModders merged 2 commits into
mainfrom
feat/remaining-endpoints
Nov 29, 2026
Merged

RejectModders merged 2 commits into
mainfrom
feat/remaining-endpoints

Conversation

@RejectModders

Copy link
Copy Markdown
Member

Adds the calls an API key can make that the SDK did not cover yet:

  • Bulk scans, signed-in scans, AI review and scan summaries, subdomain search, host reputation and the demo scan.
  • verify_webhook() for both signature formats. A bad timestamped signature is not accepted on the older one, and require_timestamp=True refuses deliveries without it.
  • A scan that lost its signed-in session is marked authenticated-session in incomplete.
  • Addresses without a scheme get https:// where the server needs one, so a bulk request does not drop them.

Slow calls are given 330 seconds and, like every write, are sent once.

Tested locally on Windows: 389 offline tests pass on Python 3.11 to 3.13, ruff and mypy --strict pass on 3.13. Written against the server source; not run against a live server.

Bulk and signed-in scans, AI review and summaries, subdomain search, host
reputation, the demo scan and a webhook signature check. A lost login marks
the result incomplete, and addresses get a scheme where the server needs one.
A server without working AI returns the findings unchanged, which looked
like a review that found nothing wrong, so verify() and verify_batch() now
raise when no finding got a verdict. Webhook checking refuses a tolerance
that would accept any age and no longer crashes on an odd header, and the
README shows what a subdomain entry holds.
@RejectModders
RejectModders merged commit 8a9ce14 into main Nov 29, 2026
13 checks passed
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.

1 participant