Skip to content

feat: URL analysis parity with the platform wave - #6

Merged
batuhanisildak-malwation merged 1 commit into
mainfrom
feat/url-analysis-parity
Aug 28, 2026
Merged

batuhanisildak-malwation merged 1 commit into
mainfrom
feat/url-analysis-parity

Conversation

@batuhanisildak-malwation

Copy link
Copy Markdown
Contributor

Summary

URL-analysis parity with the platform wave (Malwation/threatzone#1602). The SDK now covers every
URL-analysis surface the Public API ships.

  • create_url_submission accepts metafields and configurations (incl. sessionDurationSeconds,
    30-600). Both are optional; omitted values keep today's behavior and the platform defaults.
  • New methods, sync and async: get_device_presets, get_url_analysis_session,
    start_url_analysis_session, restart_url_analysis_session, restart_url_analysis.
  • list_media_files / get_media_file accept source="url_analysis"; media items carry kind.
  • UrlAnalysis gains the scoring fields (threatScore, riskLevel, privacy, provenance,
    impersonation) plus completeness, intelDetections, metafields, scoredAt — all optional,
    old servers keep working.
  • Testing harness, fake API scenarios, recipe example, README, TYPES/RECIPES docs updated.

Compatibility

No breaking change. All new request options are optional keyword arguments; all new response
fields are optional models. DEFAULT_BASE_URL is unchanged.

Verification

654 tests pass (pytest), ruff check + format clean, mypy strict clean.

Version stays 1.1.1; the changelog entry sits under ## Unreleased — cut the release separately.

Deploy note: the session and restart endpoints need the platform wave (threatzone#1602) deployed,
with INTERNAL_SERVICE_TOKEN / SUBMISSION_SERVICE_URL in the secrets records.

Session endpoints, restart, media source, device presets, create
options, and the scoring fields shipped by the platform wave.
@batuhanisildak-malwation
batuhanisildak-malwation merged commit 9a4a9c2 into main Aug 28, 2026
7 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