Skip to content

feat(types): add the current Public API fields and error codes - #11

Merged
batuhanisildak-malwation merged 1 commit into
mainfrom
fix/staging-e2e-models
Oct 19, 2026
Merged

batuhanisildak-malwation merged 1 commit into
mainfrom
fix/staging-e2e-models

Conversation

@batuhanisildak-malwation

Copy link
Copy Markdown
Contributor

Add the response fields of the current Public API: connection outcomes, DNS answers, MITRE v20 version, domain and attempted techniques, indicator engine, list URL, typed report options, plan dates and the endpoint severity level. Every API error now has code. New ServiceUnavailableError and BehaviourIndexBuildingError handle 503 responses.

Tests use payloads shaped like real API responses, with example values. No network calls.

Model the network outcomes, MITRE v20 fields, typed report options, plan dates and list URL. Expose the error code on every API error and add the 503 errors.
@batuhanisildak-malwation
batuhanisildak-malwation merged commit 9b96ec4 into main Oct 19, 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