Censys · Schema

AlternativeQuery

AlternativeQuery schema from Censys Platform API

SecurityInternet IntelligenceAttack Surface ManagementThreat HuntingCyber Threat IntelligenceOSINTInternet ScanningCertificatesAsset Discovery

Properties

Name Type Description
query string An alternative query that may be used.
targets arraynull The types of Platform data records (host, cert, and web) that can be targeted by the alternative query.
View JSON Schema on GitHub

JSON Schema

platform-alternativequery-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/censys/refs/heads/main/json-schema/platform-alternativequery-schema.json",
  "title": "AlternativeQuery",
  "description": "AlternativeQuery schema from Censys Platform API",
  "type": "object",
  "properties": {
    "query": {
      "description": "An alternative query that may be used.",
      "type": "string"
    },
    "targets": {
      "description": "The types of Platform data records (host, cert, and web) that can be targeted by the alternative query.",
      "items": {
        "enum": [
          "host",
          "web",
          "cert",
          "unknown"
        ],
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    }
  },
  "required": [
    "query",
    "targets"
  ],
  "additionalProperties": false
}