Skip to main content

Integrations

These examples connect urlquery to the platforms security teams already work in. Each is one Python script on the Python library, written to be read, adapted and run as it is.

The scripts are under the MIT license, like the libraries. They are maintained with these pages and tested against the platform versions each page names. Report problems or ask for changes at contact@urlquery.net.

PlatformWhat the example does
MISPEnriches the URL attributes of MISP events: adds a sandbox report, a phishing object and Telegram bots, with the screenshot, and tags each attribute with urlquery's verdict.
OpenCTIAn enrichment connector for Url, Domain-Name and Hostname observables: a score and labels from the verdict, the report as an external reference, the screenshot, a note with the findings, and the server's IP.
TheHive and CortexTwo Cortex analyzers for TheHive cases: analyze a URL or look up a URL, domain or host name, with urlquery's verdict and alerts as taxonomies and the server's IP as a new observable.
SOAR platformsOne action that turns a URL into a decision, block, review or no_evidence, with the evidence for the case.
SIEMsA relay that checks urlquery's webhook signatures and forwards YARA matches, watchlist hits and page changes to Splunk, Elasticsearch or Microsoft Sentinel, with example searches.

How they work​

The examples follow the same rules. Keep them when you adapt one.

  • Reuse recent reports. A URL analyzed in the last 7 days isn't analyzed again; its newest report is used. Analyses count against your quota, and a page analyzed minutes ago rarely needs a second look.
  • Restricted by default. New analyses are restricted, so the URLs from your cases aren't shown to every account. See Report visibility.
  • Submit once. If an analysis doesn't finish in time, the scripts keep its queue and report IDs and use the report later; they never submit the URL again.
  • Evidence, not indicators. urlquery's verdict comes from one browser visit. The examples add it as context, with a link to the report. They don't create IDS indicators or block anything on their own; that stays a decision for your process.
  • Mind what you share. Looking up or submitting a URL sends it to urlquery. The OpenCTI connector skips observables marked above a TLP level you set; with MISP and SOAR platforms, choose the events and cases you send.

Each script needs a urlquery API key in URLQUERY_APIKEY; see Authentication. For a whole investigation outside these platforms, see Investigating a phishing URL.