{
  "service": "censys",
  "displayName": "Censys",
  "categories": [
    "Security",
    "Data"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "Personal Access Token",
      "placeholder": "CENSYS_PERSONAL_ACCESS_TOKEN",
      "description": "Censys Personal Access Token sent with the Authorization Bearer header. Create or view tokens in the Censys Platform account settings: https://platform.censys.io.",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://censys.com",
  "actions": [
    {
      "id": "censys.get_certificate",
      "service": "censys",
      "name": "get_certificate",
      "description": "Get one Censys Global Data certificate asset by certificate ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "certificate_id": {
            "type": "string",
            "minLength": 1,
            "description": "Censys certificate ID to retrieve."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for retrieving one Censys certificate asset."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "certificate": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Raw certificate asset returned by Censys."
          }
        },
        "additionalProperties": false,
        "description": "Normalized Censys certificate asset details."
      }
    },
    {
      "id": "censys.get_host",
      "service": "censys",
      "name": "get_host",
      "description": "Get one Censys Global Data host asset by host ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "host_id": {
            "type": "string",
            "minLength": 1,
            "description": "Censys host ID to retrieve."
          },
          "at_time": {
            "type": "string",
            "description": "RFC 3339 timestamp for retrieving a historical host view.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "host_id"
        ],
        "description": "Input parameters for retrieving one Censys host asset."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "host": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Raw host asset returned by Censys."
          }
        },
        "additionalProperties": false,
        "description": "Normalized Censys host asset details."
      }
    },
    {
      "id": "censys.get_web_property",
      "service": "censys",
      "name": "get_web_property",
      "description": "Get one Censys Global Data web property asset by web property ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "webproperty_id": {
            "type": "string",
            "minLength": 1,
            "description": "Censys web property ID in hostname:port format, such as platform.censys.io:443.",
            "pattern": "^[^:/?#]+:[0-9]{1,5}$"
          },
          "at_time": {
            "type": "string",
            "description": "RFC 3339 timestamp for retrieving a historical web property view.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "webproperty_id"
        ],
        "description": "Input parameters for retrieving one Censys web property asset."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "webProperty": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Raw web property asset returned by Censys."
          }
        },
        "additionalProperties": false,
        "description": "Normalized Censys web property asset details."
      }
    }
  ]
}
