Skip to content

Censys annotator improvement - strip off result[resource[...]] from Censys response#67

Merged
zakird merged 1 commit intomainfrom
phillip/censys-enrichment-improve
Apr 12, 2026
Merged

Censys annotator improvement - strip off result[resource[...]] from Censys response#67
zakird merged 1 commit intomainfrom
phillip/censys-enrichment-improve

Conversation

@phillip-stephens
Copy link
Copy Markdown
Contributor

Previously, the censys annotator always included a dictionary -
censys: { result: {resource: {actual data here}}}

This strips those two outer layers to make it easier to deal with:
censys: {actual data here}

If Censys changes the format (and we cannot strip off the result{resource{}} without error), we'll just fall back to the old approach of returning the exact text Censys returns.

@phillip-stephens phillip-stephens marked this pull request as ready for review April 11, 2026 05:24
@phillip-stephens phillip-stephens requested a review from zakird April 11, 2026 05:24
@zakird zakird merged commit 2f065c2 into main Apr 12, 2026
6 checks passed
@zakird zakird deleted the phillip/censys-enrichment-improve branch April 12, 2026 20:00
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.

2 participants