censys 1.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +632 -0
- data/Rakefile +10 -0
- data/censys.gemspec +39 -0
- data/docs/Activemq.md +40 -0
- data/docs/AlternativeQuery.md +20 -0
- data/docs/Amqp.md +24 -0
- data/docs/AmqpProtocol.md +20 -0
- data/docs/AmqpVersion.md +22 -0
- data/docs/AnalyticsCapabilities.md +24 -0
- data/docs/AnyConnect.md +26 -0
- data/docs/AssetCertificateListInputBody.md +18 -0
- data/docs/AssetHostListInputBody.md +18 -0
- data/docs/AssetWebpropertyListInputBody.md +18 -0
- data/docs/AsteriskManagerInterface.md +18 -0
- data/docs/Attribute.md +42 -0
- data/docs/Auth.md +18 -0
- data/docs/AuthorityInfoAccess.md +20 -0
- data/docs/AutonomousSystem.md +28 -0
- data/docs/Bacnet.md +34 -0
- data/docs/BasicConstraints.md +20 -0
- data/docs/CPE.md +32 -0
- data/docs/CPELifeCycle.md +22 -0
- data/docs/CVSS.md +22 -0
- data/docs/CVSSComponents.md +32 -0
- data/docs/CVSSv4.md +22 -0
- data/docs/CVSSv4Components.md +44 -0
- data/docs/CWE.md +18 -0
- data/docs/CabfOrganizationId.md +24 -0
- data/docs/Capabilities.md +36 -0
- data/docs/Certificate.md +62 -0
- data/docs/CertificateAsset.md +20 -0
- data/docs/CertificateExtensions.md +48 -0
- data/docs/CertificateParsed.md +44 -0
- data/docs/CertificatePolicy.md +22 -0
- data/docs/CertificateRevocation.md +20 -0
- data/docs/CertificateRevocationRevocationInfo.md +24 -0
- data/docs/CheckpointTopology.md +20 -0
- data/docs/ChromeDevtools.md +28 -0
- data/docs/ChromeDevtoolsTarget.md +22 -0
- data/docs/Chromecast.md +30 -0
- data/docs/ChromecastApplication.md +28 -0
- data/docs/ChromecastNamespace.md +18 -0
- data/docs/ChromecastVolume.md +24 -0
- data/docs/CiscoIpsla.md +20 -0
- data/docs/CiscoIpslaHandshake.md +20 -0
- data/docs/CiscoIpslaHandshakeHeader.md +24 -0
- data/docs/CiscoIpslaHandshakeMessage.md +24 -0
- data/docs/CiscoIpslaMeasureResponse.md +30 -0
- data/docs/Coap.md +28 -0
- data/docs/CobaltStrike.md +20 -0
- data/docs/CobaltStrikeConfig.md +46 -0
- data/docs/CobaltStrikeHttpConfig.md +22 -0
- data/docs/CobaltStrikePostEx.md +20 -0
- data/docs/Collection.md +36 -0
- data/docs/CollectionEvent.md +20 -0
- data/docs/CollectionEventsResponse.md +20 -0
- data/docs/CollectionsApi.md +636 -0
- data/docs/Connection.md +34 -0
- data/docs/Contact.md +22 -0
- data/docs/ConvertQueryError.md +18 -0
- data/docs/Coordinates.md +20 -0
- data/docs/CountCondition.md +18 -0
- data/docs/CrestronCp3.md +18 -0
- data/docs/CrestronDinAp2.md +18 -0
- data/docs/CrudCreateInputBody.md +22 -0
- data/docs/CrudUpdateInputBody.md +22 -0
- data/docs/CryptSetup.md +22 -0
- data/docs/Ct.md +18 -0
- data/docs/CtRecord.md +22 -0
- data/docs/Cwmp.md +22 -0
- data/docs/DSACryptographicKey.md +24 -0
- data/docs/Darkcomet.md +18 -0
- data/docs/Darkgate.md +18 -0
- data/docs/DarkgateFile.md +20 -0
- data/docs/Dcerpc.md +22 -0
- data/docs/DcerpcEndpoint.md +24 -0
- data/docs/DesktopInfo.md +24 -0
- data/docs/DeviceCapabilities.md +22 -0
- data/docs/DeviceIOCapabilities.md +30 -0
- data/docs/Dhcpdiscover.md +20 -0
- data/docs/DhcpdiscoverDeviceInfo.md +54 -0
- data/docs/DhcpdiscoverIpAddress.md +26 -0
- data/docs/DhcpdiscoverResponseParams.md +18 -0
- data/docs/DistinguishedName.md +50 -0
- data/docs/Dns.md +34 -0
- data/docs/DnsEDns.md +24 -0
- data/docs/DnsResourceRecord.md +22 -0
- data/docs/DsaPublicKey.md +24 -0
- data/docs/DvrIp.md +40 -0
- data/docs/DvrIpPartitionCapability.md +20 -0
- data/docs/ECDSACryptographicKey.md +36 -0
- data/docs/ED25519CryptographicKey.md +18 -0
- data/docs/EPSS.md +20 -0
- data/docs/EcdsaPublicKey.md +36 -0
- data/docs/EdiPartyName.md +20 -0
- data/docs/Eip.md +22 -0
- data/docs/EipIdentity.md +40 -0
- data/docs/EipInterface.md +20 -0
- data/docs/EipService.md +24 -0
- data/docs/ElasticSearch.md +22 -0
- data/docs/ElasticSearchErrorMessage.md +22 -0
- data/docs/ElasticSearchResultsNodeInfo.md +20 -0
- data/docs/ElasticSearchResultsNodeInfoClusterCombinedInfo.md +28 -0
- data/docs/ElasticSearchResultsNodeInfoClusterCombinedInfoFilesystem.md +28 -0
- data/docs/ElasticSearchResultsNodeInfoClusterCombinedInfoIndices.md +22 -0
- data/docs/ElasticSearchResultsNodeInfoClusterCombinedInfoIndicesDocs.md +20 -0
- data/docs/ElasticSearchResultsNodeInfoClusterCombinedInfoIndicesStore.md +20 -0
- data/docs/ElasticSearchResultsNodeInfoNodes.md +20 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeData.md +48 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataJVM.md +34 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataModules.md +32 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataNodeSettings.md +20 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataNodeSettingsNode.md +20 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataNodeSettingsNodeAttr.md +20 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataNodeSettingsNodeAttrML.md +22 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataOS.md +30 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataThreadPool.md +26 -0
- data/docs/ElasticSearchSystemInfo.md +24 -0
- data/docs/ElasticSearchSystemInfoVer.md +34 -0
- data/docs/ElfFile.md +26 -0
- data/docs/EndpointScan.md +72 -0
- data/docs/EndpointScanState.md +68 -0
- data/docs/EndpointScanned.md +20 -0
- data/docs/Epmd.md +18 -0
- data/docs/ErrorDetail.md +22 -0
- data/docs/ErrorModel.md +28 -0
- data/docs/Etcd.md +22 -0
- data/docs/EtcdV2.md +22 -0
- data/docs/EtcdV3.md +22 -0
- data/docs/EtcdVersion.md +20 -0
- data/docs/Ethereum.md +22 -0
- data/docs/EthereumVersion.md +26 -0
- data/docs/EventAssetChange.md +22 -0
- data/docs/EventStatusChange.md +24 -0
- data/docs/EventsCapabilities.md +26 -0
- data/docs/Evidence.md +32 -0
- data/docs/Export.md +30 -0
- data/docs/ExportList.md +20 -0
- data/docs/ExtendedKeyUsage.md +144 -0
- data/docs/Extension.md +22 -0
- data/docs/FieldDiff.md +20 -0
- data/docs/FieldValuePair.md +20 -0
- data/docs/FloatValue.md +18 -0
- data/docs/Fortigate.md +28 -0
- data/docs/ForwardDnsResolved.md +20 -0
- data/docs/Fox.md +52 -0
- data/docs/Ftp.md +26 -0
- data/docs/Gearman.md +22 -0
- data/docs/GeneralNames.md +32 -0
- data/docs/GeneralSubtreeIp.md +24 -0
- data/docs/GlobalDataApi.md +1383 -0
- data/docs/Graphql.md +20 -0
- data/docs/HidVertx.md +30 -0
- data/docs/Hikvision.md +24 -0
- data/docs/HikvisionPlatform.md +20 -0
- data/docs/HikvisionPlatformLibrary.md +20 -0
- data/docs/Host.md +36 -0
- data/docs/HostAsset.md +20 -0
- data/docs/HostDns.md +22 -0
- data/docs/HostDnsForwardResolution.md +24 -0
- data/docs/HostDnsReverseResolution.md +22 -0
- data/docs/HostObservationRange.md +28 -0
- data/docs/HostObservationResponse.md +22 -0
- data/docs/HostTimeline.md +20 -0
- data/docs/HostTimelineEvent.md +34 -0
- data/docs/HostTimelineEventAsset.md +20 -0
- data/docs/Http.md +44 -0
- data/docs/HttpFavicon.md +28 -0
- data/docs/HttpRepeatedHeaders.md +18 -0
- data/docs/Ibmnje.md +28 -0
- data/docs/Ike.md +20 -0
- data/docs/IkeV1.md +22 -0
- data/docs/IkeV2.md +22 -0
- data/docs/ImageCapabilities.md +18 -0
- data/docs/Imap.md +18 -0
- data/docs/Iota.md +22 -0
- data/docs/Ipmi.md +26 -0
- data/docs/IpmiCapabilities.md +30 -0
- data/docs/IpmiCapabilitiesAuthStatus.md +28 -0
- data/docs/IpmiCapabilitiesCompletionCode.md +20 -0
- data/docs/IpmiCapabilitiesExtendedCapabilities.md +20 -0
- data/docs/IpmiCapabilitiesSupportedAuthTypes.md +30 -0
- data/docs/IpmiCommandPayload.md +26 -0
- data/docs/IpmiCommandPayloadCommandNumber.md +20 -0
- data/docs/IpmiCommandPayloadPackedNetFn.md +22 -0
- data/docs/IpmiCommandPayloadPackedNetFnLogicalUnitNumber.md +20 -0
- data/docs/IpmiCommandPayloadPackedNetFnNetFn.md +26 -0
- data/docs/IpmiRMCPHeader.md +22 -0
- data/docs/IpmiRMCPHeaderMessageClass.md +24 -0
- data/docs/IpmiSessionHeader.md +24 -0
- data/docs/IpmiSessionHeaderAuthType.md +22 -0
- data/docs/Ipp.md +32 -0
- data/docs/IppAttribute.md +20 -0
- data/docs/Iscsi.md +22 -0
- data/docs/IvantiAvalanche.md +22 -0
- data/docs/JA4TScanScan.md +20 -0
- data/docs/JarmScan.md +34 -0
- data/docs/JarmScanned.md +20 -0
- data/docs/KEV.md +22 -0
- data/docs/KeyAlgorithm.md +20 -0
- data/docs/KeyUsage.md +36 -0
- data/docs/Krpc.md +18 -0
- data/docs/Kubernetes.md +28 -0
- data/docs/KubernetesEndpoint.md +22 -0
- data/docs/KubernetesEndpointSubset.md +20 -0
- data/docs/KubernetesEndpointSubsetEndpointAddress.md +22 -0
- data/docs/KubernetesEndpointSubsetPort.md +22 -0
- data/docs/KubernetesNode.md +36 -0
- data/docs/KubernetesNodeNodeAddress.md +20 -0
- data/docs/KubernetesRole.md +20 -0
- data/docs/KubernetesRoleRule.md +22 -0
- data/docs/KubernetesVersionInfo.md +34 -0
- data/docs/L2Tp.md +34 -0
- data/docs/L2TpAttributeValues.md +38 -0
- data/docs/L2TpSccrp.md +18 -0
- data/docs/L2TpStopCcn.md +18 -0
- data/docs/Label.md +24 -0
- data/docs/Ldap.md +22 -0
- data/docs/LdapAttribute.md +20 -0
- data/docs/ListCollectionsResponseV1.md +20 -0
- data/docs/Location.md +36 -0
- data/docs/LocationUpdated.md +18 -0
- data/docs/Lpd.md +30 -0
- data/docs/LpdMessage.md +20 -0
- data/docs/Mdns.md +22 -0
- data/docs/MdnsResult.md +30 -0
- data/docs/MediaCapabilities.md +28 -0
- data/docs/MediaProfile.md +18 -0
- data/docs/MediaStreaming.md +24 -0
- data/docs/Members.md +24 -0
- data/docs/Memcached.md +26 -0
- data/docs/Metrics.md +24 -0
- data/docs/Minecraft.md +26 -0
- data/docs/Mms.md +22 -0
- data/docs/Modbus.md +24 -0
- data/docs/ModbusExceptionResponse.md +20 -0
- data/docs/ModbusMEIResponse.md +22 -0
- data/docs/MoneroP2P.md +18 -0
- data/docs/MoneroP2PEntry.md +20 -0
- data/docs/MoneroP2PPayload.md +18 -0
- data/docs/MoneroP2PPingResponse.md +20 -0
- data/docs/MoneroP2PResponseHeader.md +30 -0
- data/docs/Mongodb.md +20 -0
- data/docs/MongodbBuildInfo.md +22 -0
- data/docs/MongodbBuildInfoBuildEnvironment.md +34 -0
- data/docs/MongodbIsMaster.md +32 -0
- data/docs/Mqtt.md +22 -0
- data/docs/MqttConnectionAckReturn.md +20 -0
- data/docs/MqttSubscriptionAckReturn.md +20 -0
- data/docs/Mssql.md +24 -0
- data/docs/MssqlPreloginOptions.md +34 -0
- data/docs/MssqlPreloginOptionsServerVersion.md +22 -0
- data/docs/Murmur.md +30 -0
- data/docs/MurmurMessage.md +20 -0
- data/docs/MurmurMessageMurmurHeader.md +20 -0
- data/docs/MurmurMurmurVersion.md +28 -0
- data/docs/Mysql.md +38 -0
- data/docs/NameConstraints.md +46 -0
- data/docs/NatsIo.md +48 -0
- data/docs/Nbd.md +22 -0
- data/docs/Network.md +28 -0
- data/docs/NetworkCapabilities.md +34 -0
- data/docs/NfsMountd.md +18 -0
- data/docs/Nmea.md +18 -0
- data/docs/NmeaNmeaMessage.md +24 -0
- data/docs/NodeInfoV0.md +32 -0
- data/docs/NodeInfoV1.md +30 -0
- data/docs/NodeInfoV2.md +46 -0
- data/docs/NoticeReference.md +20 -0
- data/docs/NtlmInfo.md +44 -0
- data/docs/Ntp.md +18 -0
- data/docs/NtpNTPHeader.md +30 -0
- data/docs/Ollama.md +22 -0
- data/docs/OllamaModel.md +32 -0
- data/docs/Onvif.md +20 -0
- data/docs/OnvifHostname.md +20 -0
- data/docs/OnvifService.md +26 -0
- data/docs/OpcUa.md +28 -0
- data/docs/OpcUaDescription.md +30 -0
- data/docs/OpcUaEndpoint.md +32 -0
- data/docs/OpcUaLocalizedText.md +22 -0
- data/docs/OpcUaUserTokenPolicy.md +26 -0
- data/docs/OpenDirectory.md +20 -0
- data/docs/OpenDirectoryFile.md +30 -0
- data/docs/Openvpn.md +20 -0
- data/docs/OpenvpnMgmt.md +26 -0
- data/docs/Oracle.md +40 -0
- data/docs/OracleDescriptor.md +20 -0
- data/docs/Organization.md +38 -0
- data/docs/OtherName.md +20 -0
- data/docs/PanTiltZoomCapabilities.md +26 -0
- data/docs/PcAnywhere.md +22 -0
- data/docs/PcAnywhereStatus.md +20 -0
- data/docs/Peer.md +26 -0
- data/docs/Pgbouncer.md +18 -0
- data/docs/PgbouncerStartupCapabilities.md +22 -0
- data/docs/PixelFormat.md +42 -0
- data/docs/PlexMediaServer.md +18 -0
- data/docs/Pop3.md +18 -0
- data/docs/Port.md +20 -0
- data/docs/Portmap.md +20 -0
- data/docs/PortmapV2Entry.md +26 -0
- data/docs/PortmapV3Entry.md +28 -0
- data/docs/Postgres.md +22 -0
- data/docs/Pprof.md +34 -0
- data/docs/Pptp.md +34 -0
- data/docs/PptpResponseInfo.md +20 -0
- data/docs/PptpVersion.md +20 -0
- data/docs/ProfinetCm.md +22 -0
- data/docs/Prometheus.md +18 -0
- data/docs/PrometheusMetricFamily.md +20 -0
- data/docs/PrometheusResponse.md +28 -0
- data/docs/PrometheusResponseActiveTarget.md +28 -0
- data/docs/PrometheusResponseActiveTargetDiscoveredLabels.md +24 -0
- data/docs/PrometheusResponseActiveTargetLabels.md +20 -0
- data/docs/PrometheusResponseDroppedTarget.md +24 -0
- data/docs/PrometheusResponsePrometheusVersion.md +22 -0
- data/docs/PrometheusTarget.md +18 -0
- data/docs/QcStatements.md +20 -0
- data/docs/QcStatementsMonetaryValue.md +24 -0
- data/docs/QcStatementsParsedStatements.md +30 -0
- data/docs/QcStatementsPdsLocation.md +20 -0
- data/docs/QcStatementsQCLegislation.md +18 -0
- data/docs/QcStatementsQcType.md +18 -0
- data/docs/RSACryptographicKey.md +22 -0
- data/docs/RawCertificateResponse.md +20 -0
- data/docs/Rdate.md +18 -0
- data/docs/Rdp.md +30 -0
- data/docs/RdpCertificateInfo.md +20 -0
- data/docs/RdpConnectResponse.md +20 -0
- data/docs/RdpDomainParameters.md +32 -0
- data/docs/RdpEmbeddedRSACert.md +30 -0
- data/docs/RdpProtocolFlags.md +26 -0
- data/docs/RdpSecurityProtocol.md +44 -0
- data/docs/RdpVersion.md +22 -0
- data/docs/Realport.md +30 -0
- data/docs/RecordingCapabilities.md +32 -0
- data/docs/Redis.md +58 -0
- data/docs/RedisRawOutput.md +18 -0
- data/docs/Redline.md +22 -0
- data/docs/RedlionCrimson.md +28 -0
- data/docs/RedlionWeb.md +22 -0
- data/docs/Reject.md +20 -0
- data/docs/ReplayCapabilities.md +22 -0
- data/docs/RepresentativeInfo.md +24 -0
- data/docs/ResponseEnvelopeCertificateAsset.md +18 -0
- data/docs/ResponseEnvelopeCollection.md +18 -0
- data/docs/ResponseEnvelopeCollectionEventsResponse.md +18 -0
- data/docs/ResponseEnvelopeHostAsset.md +18 -0
- data/docs/ResponseEnvelopeHostObservationResponse.md +18 -0
- data/docs/ResponseEnvelopeHostTimeline.md +18 -0
- data/docs/ResponseEnvelopeListCertificateAsset.md +18 -0
- data/docs/ResponseEnvelopeListCollectionsResponseV1.md +18 -0
- data/docs/ResponseEnvelopeListHostAsset.md +18 -0
- data/docs/ResponseEnvelopeListRawCertificateResponse.md +18 -0
- data/docs/ResponseEnvelopeListSearchConvertQueryResponse.md +18 -0
- data/docs/ResponseEnvelopeListWebpropertyAsset.md +18 -0
- data/docs/ResponseEnvelopeSearchAggregateResponse.md +18 -0
- data/docs/ResponseEnvelopeSearchQueryResponse.md +18 -0
- data/docs/ResponseEnvelopeTrackedScan.md +18 -0
- data/docs/ResponseEnvelopeValueCountsResponse.md +18 -0
- data/docs/ResponseEnvelopeWebpropertyAsset.md +18 -0
- data/docs/ReverseDnsResolved.md +20 -0
- data/docs/Rifatron.md +18 -0
- data/docs/Ripple.md +22 -0
- data/docs/RippleClioResults.md +24 -0
- data/docs/RipplePeerResults.md +30 -0
- data/docs/RippledPublicResults.md +32 -0
- data/docs/Risk.md +36 -0
- data/docs/Rlogin.md +24 -0
- data/docs/Rocketmq.md +22 -0
- data/docs/RocketmqClusterInfo.md +20 -0
- data/docs/RocketmqResponseHeader.md +26 -0
- data/docs/RocketmqTopicList.md +20 -0
- data/docs/RootStore.md +32 -0
- data/docs/RootStoreChain.md +18 -0
- data/docs/RouteUpdated.md +20 -0
- data/docs/Routing.md +28 -0
- data/docs/RsaPublicKey.md +22 -0
- data/docs/Rtsp.md +24 -0
- data/docs/S7.md +44 -0
- data/docs/SapRouter.md +20 -0
- data/docs/SapRouterClientInfo.md +28 -0
- data/docs/SapRouterRouterInfo.md +34 -0
- data/docs/SapRouterRouterVersionInfo.md +22 -0
- data/docs/ScadaView.md +20 -0
- data/docs/ScansDiscoveryInputBody.md +18 -0
- data/docs/ScansDiscoveryInputBodyTarget.md +49 -0
- data/docs/ScansDiscoveryInputBodyTargetOneOf.md +18 -0
- data/docs/ScansDiscoveryInputBodyTargetOneOf1.md +18 -0
- data/docs/ScansDiscoveryInputBodyTargetOneOf1HostnamePort.md +20 -0
- data/docs/ScansDiscoveryInputBodyTargetOneOfHostPort.md +20 -0
- data/docs/ScansRescanInputBody.md +18 -0
- data/docs/ScansRescanInputBodyTarget.md +49 -0
- data/docs/ScansRescanInputBodyTargetOneOf.md +18 -0
- data/docs/ScansRescanInputBodyTargetOneOf1.md +18 -0
- data/docs/ScansRescanInputBodyTargetOneOf1WebOrigin.md +20 -0
- data/docs/ScansRescanInputBodyTargetOneOfServiceId.md +24 -0
- data/docs/Scpi.md +24 -0
- data/docs/Screenshot.md +22 -0
- data/docs/SearchAggregateInputBody.md +26 -0
- data/docs/SearchAggregateResponse.md +26 -0
- data/docs/SearchAggregateResponseBucket.md +20 -0
- data/docs/SearchCapabilities.md +20 -0
- data/docs/SearchConvertQueryInputBody.md +18 -0
- data/docs/SearchConvertQueryResponse.md +28 -0
- data/docs/SearchQueryHit.md +22 -0
- data/docs/SearchQueryInputBody.md +24 -0
- data/docs/SearchQueryResponse.md +26 -0
- data/docs/SearchValueCountsInputBody.md +20 -0
- data/docs/SecurityCapabilities.md +52 -0
- data/docs/Ser2Net.md +26 -0
- data/docs/Ser2NetSerialParameters.md +24 -0
- data/docs/ServerConfig.md +30 -0
- data/docs/ServerSync.md +22 -0
- data/docs/Service.md +286 -0
- data/docs/ServiceId.md +24 -0
- data/docs/ServiceScan.md +262 -0
- data/docs/ServiceScanned.md +20 -0
- data/docs/SevenDaysToDie.md +30 -0
- data/docs/Signature.md +24 -0
- data/docs/SignedCertificateTimestamp.md +24 -0
- data/docs/SignedCertificateTimestampSignature.md +22 -0
- data/docs/Sip.md +24 -0
- data/docs/Skinny.md +18 -0
- data/docs/Smb.md +34 -0
- data/docs/SmbHeaderLog.md +26 -0
- data/docs/SmbNegotiationLog.md +32 -0
- data/docs/SmbSessionSetupLog.md +24 -0
- data/docs/SmbSmbCapabilities.md +30 -0
- data/docs/SmbSmbVersions.md +24 -0
- data/docs/Smtp.md +20 -0
- data/docs/Snmp.md +26 -0
- data/docs/SnmpEngine.md +34 -0
- data/docs/SnmpInterfaces.md +18 -0
- data/docs/SnmpPhysical.md +30 -0
- data/docs/SnmpSystem.md +30 -0
- data/docs/SnmpSystemServices.md +30 -0
- data/docs/Socks.md +24 -0
- data/docs/Spice.md +24 -0
- data/docs/Ssdp.md +20 -0
- data/docs/Ssh.md +26 -0
- data/docs/SshAlgorithmSelection.md +24 -0
- data/docs/SshAlgorithmSelectionDirectionAlgorithms.md +22 -0
- data/docs/SshEndpointId.md +24 -0
- data/docs/SshKexInitMessage.md +38 -0
- data/docs/SshServerHostKey.md +28 -0
- data/docs/Status.md +24 -0
- data/docs/Steam.md +62 -0
- data/docs/SubjectKeyInfo.md +28 -0
- data/docs/SystemCapabilities.md +38 -0
- data/docs/TacacsPlus.md +30 -0
- data/docs/Target.md +30 -0
- data/docs/TeamViewer.md +18 -0
- data/docs/Telnet.md +24 -0
- data/docs/TextMessage.md +26 -0
- data/docs/Threat.md +36 -0
- data/docs/ThreatActor.md +26 -0
- data/docs/ThreatDetails.md +24 -0
- data/docs/ThreatHuntingApi.md +323 -0
- data/docs/ThreatMalware.md +26 -0
- data/docs/Tibia.md +32 -0
- data/docs/Tls.md +30 -0
- data/docs/TlsChain.md +22 -0
- data/docs/TlsVersionData.md +22 -0
- data/docs/TorServiceDescriptor.md +24 -0
- data/docs/TplinkKasa.md +46 -0
- data/docs/TrackedScan.md +26 -0
- data/docs/TrackedScanScanTarget.md +24 -0
- data/docs/TrackedScanScanTargetHostPort.md +20 -0
- data/docs/TrackedScanScanTargetHostnamePort.md +20 -0
- data/docs/TrackedScanTask.md +22 -0
- data/docs/UnitronicsPcom.md +36 -0
- data/docs/UnrecognizedPublicKey.md +18 -0
- data/docs/Upnp.md +24 -0
- data/docs/UpnpDevice.md +46 -0
- data/docs/UpnpService.md +26 -0
- data/docs/UpnpSpecVersion.md +20 -0
- data/docs/User.md +20 -0
- data/docs/UserNotice.md +20 -0
- data/docs/Validation.md +24 -0
- data/docs/ValidityPeriod.md +22 -0
- data/docs/ValueCountsResponse.md +18 -0
- data/docs/Ventrilo.md +20 -0
- data/docs/VentriloHeader.md +26 -0
- data/docs/VentriloMessage.md +22 -0
- data/docs/Vnc.md +28 -0
- data/docs/VncKeyValue.md +20 -0
- data/docs/Vuln.md +38 -0
- data/docs/WebOrigin.md +20 -0
- data/docs/WeblogicT3.md +22 -0
- data/docs/Webproperty.md +46 -0
- data/docs/WebpropertyAsset.md +20 -0
- data/docs/Whois.md +20 -0
- data/docs/WhoisUpdated.md +20 -0
- data/docs/Winrm.md +20 -0
- data/docs/Worker.md +24 -0
- data/docs/WsDiscovery.md +24 -0
- data/docs/X11.md +24 -0
- data/docs/ZLint.md +30 -0
- data/docs/Zeromq.md +24 -0
- data/docs/ZeromqGreeting.md +26 -0
- data/docs/ZeromqHandshake.md +22 -0
- data/git_push.sh +57 -0
- data/lib/censys/api/collections_api.rb +677 -0
- data/lib/censys/api/global_data_api.rb +1416 -0
- data/lib/censys/api/threat_hunting_api.rb +342 -0
- data/lib/censys/api_client.rb +393 -0
- data/lib/censys/api_error.rb +58 -0
- data/lib/censys/configuration.rb +308 -0
- data/lib/censys/models/activemq.rb +319 -0
- data/lib/censys/models/alternative_query.rb +275 -0
- data/lib/censys/models/amqp.rb +249 -0
- data/lib/censys/models/amqp_protocol.rb +248 -0
- data/lib/censys/models/amqp_version.rb +295 -0
- data/lib/censys/models/analytics_capabilities.rb +247 -0
- data/lib/censys/models/any_connect.rb +267 -0
- data/lib/censys/models/asset_certificate_list_input_body.rb +250 -0
- data/lib/censys/models/asset_host_list_input_body.rb +250 -0
- data/lib/censys/models/asset_webproperty_list_input_body.rb +250 -0
- data/lib/censys/models/asterisk_manager_interface.rb +220 -0
- data/lib/censys/models/attribute.rb +371 -0
- data/lib/censys/models/auth.rb +220 -0
- data/lib/censys/models/authority_info_access.rb +235 -0
- data/lib/censys/models/autonomous_system.rb +290 -0
- data/lib/censys/models/bacnet.rb +330 -0
- data/lib/censys/models/basic_constraints.rb +231 -0
- data/lib/censys/models/cabf_organization_id.rb +247 -0
- data/lib/censys/models/capabilities.rb +301 -0
- data/lib/censys/models/certificate.rb +488 -0
- data/lib/censys/models/certificate_asset.rb +263 -0
- data/lib/censys/models/certificate_extensions.rb +380 -0
- data/lib/censys/models/certificate_parsed.rb +349 -0
- data/lib/censys/models/certificate_policy.rb +244 -0
- data/lib/censys/models/certificate_revocation.rb +229 -0
- data/lib/censys/models/certificate_revocation_revocation_info.rb +284 -0
- data/lib/censys/models/checkpoint_topology.rb +229 -0
- data/lib/censys/models/chrome_devtools.rb +268 -0
- data/lib/censys/models/chrome_devtools_target.rb +238 -0
- data/lib/censys/models/chromecast.rb +277 -0
- data/lib/censys/models/chromecast_application.rb +268 -0
- data/lib/censys/models/chromecast_namespace.rb +220 -0
- data/lib/censys/models/chromecast_volume.rb +247 -0
- data/lib/censys/models/cisco_ipsla.rb +229 -0
- data/lib/censys/models/cisco_ipsla_handshake.rb +229 -0
- data/lib/censys/models/cisco_ipsla_handshake_header.rb +323 -0
- data/lib/censys/models/cisco_ipsla_handshake_message.rb +304 -0
- data/lib/censys/models/cisco_ipsla_measure_response.rb +388 -0
- data/lib/censys/models/coap.rb +303 -0
- data/lib/censys/models/cobalt_strike.rb +229 -0
- data/lib/censys/models/cobalt_strike_config.rb +464 -0
- data/lib/censys/models/cobalt_strike_http_config.rb +238 -0
- data/lib/censys/models/cobalt_strike_post_ex.rb +229 -0
- data/lib/censys/models/collection.rb +493 -0
- data/lib/censys/models/collection_event.rb +229 -0
- data/lib/censys/models/collection_events_response.rb +251 -0
- data/lib/censys/models/connection.rb +447 -0
- data/lib/censys/models/contact.rb +238 -0
- data/lib/censys/models/convert_query_error.rb +238 -0
- data/lib/censys/models/coordinates.rb +229 -0
- data/lib/censys/models/count_condition.rb +241 -0
- data/lib/censys/models/cpe.rb +283 -0
- data/lib/censys/models/cpe_life_cycle.rb +238 -0
- data/lib/censys/models/crestron_cp3.rb +220 -0
- data/lib/censys/models/crestron_din_ap2.rb +220 -0
- data/lib/censys/models/crud_create_input_body.rb +275 -0
- data/lib/censys/models/crud_update_input_body.rb +275 -0
- data/lib/censys/models/crypt_setup.rb +238 -0
- data/lib/censys/models/ct.rb +222 -0
- data/lib/censys/models/ct_record.rb +241 -0
- data/lib/censys/models/cvss.rb +241 -0
- data/lib/censys/models/cvss_components.rb +409 -0
- data/lib/censys/models/cvssv4.rb +241 -0
- data/lib/censys/models/cvssv4_components.rb +534 -0
- data/lib/censys/models/cwe.rb +221 -0
- data/lib/censys/models/cwmp.rb +244 -0
- data/lib/censys/models/darkcomet.rb +220 -0
- data/lib/censys/models/darkgate.rb +223 -0
- data/lib/censys/models/darkgate_file.rb +229 -0
- data/lib/censys/models/dcerpc.rb +241 -0
- data/lib/censys/models/dcerpc_endpoint.rb +250 -0
- data/lib/censys/models/desktop_info.rb +304 -0
- data/lib/censys/models/device_capabilities.rb +238 -0
- data/lib/censys/models/device_io_capabilities.rb +407 -0
- data/lib/censys/models/dhcpdiscover.rb +229 -0
- data/lib/censys/models/dhcpdiscover_device_info.rb +382 -0
- data/lib/censys/models/dhcpdiscover_ip_address.rb +256 -0
- data/lib/censys/models/dhcpdiscover_response_params.rb +220 -0
- data/lib/censys/models/distinguished_name.rb +431 -0
- data/lib/censys/models/dns.rb +357 -0
- data/lib/censys/models/dns_e_dns.rb +288 -0
- data/lib/censys/models/dns_resource_record.rb +275 -0
- data/lib/censys/models/dsa_cryptographic_key.rb +247 -0
- data/lib/censys/models/dsa_public_key.rb +247 -0
- data/lib/censys/models/dvr_ip.rb +319 -0
- data/lib/censys/models/dvr_ip_partition_capability.rb +229 -0
- data/lib/censys/models/ecdsa_cryptographic_key.rb +320 -0
- data/lib/censys/models/ecdsa_public_key.rb +301 -0
- data/lib/censys/models/ed25519_cryptographic_key.rb +220 -0
- data/lib/censys/models/edi_party_name.rb +229 -0
- data/lib/censys/models/eip.rb +244 -0
- data/lib/censys/models/eip_identity.rb +433 -0
- data/lib/censys/models/eip_interface.rb +248 -0
- data/lib/censys/models/eip_service.rb +266 -0
- data/lib/censys/models/elastic_search.rb +238 -0
- data/lib/censys/models/elastic_search_error_message.rb +238 -0
- data/lib/censys/models/elastic_search_results_node_info.rb +232 -0
- data/lib/censys/models/elastic_search_results_node_info_cluster_combined_info.rb +284 -0
- data/lib/censys/models/elastic_search_results_node_info_cluster_combined_info_filesystem.rb +322 -0
- data/lib/censys/models/elastic_search_results_node_info_cluster_combined_info_indices.rb +257 -0
- data/lib/censys/models/elastic_search_results_node_info_cluster_combined_info_indices_docs.rb +267 -0
- data/lib/censys/models/elastic_search_results_node_info_cluster_combined_info_indices_store.rb +267 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes.rb +229 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data.rb +386 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_jvm.rb +320 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_modules.rb +286 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_node_settings.rb +229 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_node_settings_node.rb +229 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_node_settings_node_attr.rb +229 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_node_settings_node_attr_ml.rb +238 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_os.rb +293 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_thread_pool.rb +256 -0
- data/lib/censys/models/elastic_search_system_info.rb +247 -0
- data/lib/censys/models/elastic_search_system_info_ver.rb +292 -0
- data/lib/censys/models/elf_file.rb +256 -0
- data/lib/censys/models/endpoint_scan.rb +519 -0
- data/lib/censys/models/endpoint_scan_state.rb +501 -0
- data/lib/censys/models/endpoint_scanned.rb +231 -0
- data/lib/censys/models/epmd.rb +223 -0
- data/lib/censys/models/epss.rb +229 -0
- data/lib/censys/models/error_detail.rb +241 -0
- data/lib/censys/models/error_model.rb +276 -0
- data/lib/censys/models/etcd.rb +238 -0
- data/lib/censys/models/etcd_v2.rb +260 -0
- data/lib/censys/models/etcd_v3.rb +260 -0
- data/lib/censys/models/etcd_version.rb +229 -0
- data/lib/censys/models/ethereum.rb +241 -0
- data/lib/censys/models/ethereum_version.rb +256 -0
- data/lib/censys/models/event_asset_change.rb +313 -0
- data/lib/censys/models/event_status_change.rb +317 -0
- data/lib/censys/models/events_capabilities.rb +294 -0
- data/lib/censys/models/evidence.rb +283 -0
- data/lib/censys/models/export.rb +353 -0
- data/lib/censys/models/export_list.rb +232 -0
- data/lib/censys/models/extended_key_usage.rb +790 -0
- data/lib/censys/models/extension.rb +238 -0
- data/lib/censys/models/field_diff.rb +229 -0
- data/lib/censys/models/field_value_pair.rb +265 -0
- data/lib/censys/models/float_value.rb +220 -0
- data/lib/censys/models/fortigate.rb +265 -0
- data/lib/censys/models/forward_dns_resolved.rb +229 -0
- data/lib/censys/models/fox.rb +392 -0
- data/lib/censys/models/ftp.rb +256 -0
- data/lib/censys/models/gearman.rb +244 -0
- data/lib/censys/models/general_names.rb +315 -0
- data/lib/censys/models/general_subtree_ip.rb +251 -0
- data/lib/censys/models/graphql.rb +229 -0
- data/lib/censys/models/hid_vertx.rb +274 -0
- data/lib/censys/models/hikvision.rb +250 -0
- data/lib/censys/models/hikvision_platform.rb +232 -0
- data/lib/censys/models/hikvision_platform_library.rb +229 -0
- data/lib/censys/models/host.rb +307 -0
- data/lib/censys/models/host_asset.rb +263 -0
- data/lib/censys/models/host_dns.rb +243 -0
- data/lib/censys/models/host_dns_forward_resolution.rb +281 -0
- data/lib/censys/models/host_dns_reverse_resolution.rb +241 -0
- data/lib/censys/models/host_observation_range.rb +355 -0
- data/lib/censys/models/host_observation_response.rb +260 -0
- data/lib/censys/models/host_timeline.rb +251 -0
- data/lib/censys/models/host_timeline_event.rb +292 -0
- data/lib/censys/models/host_timeline_event_asset.rb +263 -0
- data/lib/censys/models/http.rb +357 -0
- data/lib/censys/models/http_favicon.rb +269 -0
- data/lib/censys/models/http_repeated_headers.rb +224 -0
- data/lib/censys/models/ibmnje.rb +284 -0
- data/lib/censys/models/ike.rb +229 -0
- data/lib/censys/models/ike_v1.rb +247 -0
- data/lib/censys/models/ike_v2.rb +244 -0
- data/lib/censys/models/image_capabilities.rb +220 -0
- data/lib/censys/models/imap.rb +221 -0
- data/lib/censys/models/iota.rb +238 -0
- data/lib/censys/models/ipmi.rb +261 -0
- data/lib/censys/models/ipmi_capabilities.rb +281 -0
- data/lib/censys/models/ipmi_capabilities_auth_status.rb +271 -0
- data/lib/censys/models/ipmi_capabilities_completion_code.rb +231 -0
- data/lib/censys/models/ipmi_capabilities_extended_capabilities.rb +231 -0
- data/lib/censys/models/ipmi_capabilities_supported_auth_types.rb +281 -0
- data/lib/censys/models/ipmi_command_payload.rb +261 -0
- data/lib/censys/models/ipmi_command_payload_command_number.rb +231 -0
- data/lib/censys/models/ipmi_command_payload_packed_net_fn.rb +241 -0
- data/lib/censys/models/ipmi_command_payload_packed_net_fn_logical_unit_number.rb +231 -0
- data/lib/censys/models/ipmi_command_payload_packed_net_fn_net_fn.rb +261 -0
- data/lib/censys/models/ipmi_rmcp_header.rb +241 -0
- data/lib/censys/models/ipmi_rmcp_header_message_class.rb +251 -0
- data/lib/censys/models/ipmi_session_header.rb +251 -0
- data/lib/censys/models/ipmi_session_header_auth_type.rb +241 -0
- data/lib/censys/models/ipp.rb +338 -0
- data/lib/censys/models/ipp_attribute.rb +248 -0
- data/lib/censys/models/iscsi.rb +244 -0
- data/lib/censys/models/ivanti_avalanche.rb +238 -0
- data/lib/censys/models/ja4_t_scan_scan.rb +229 -0
- data/lib/censys/models/jarm_scan.rb +349 -0
- data/lib/censys/models/jarm_scanned.rb +231 -0
- data/lib/censys/models/kev.rb +275 -0
- data/lib/censys/models/key_algorithm.rb +230 -0
- data/lib/censys/models/key_usage.rb +330 -0
- data/lib/censys/models/krpc.rb +220 -0
- data/lib/censys/models/kubernetes.rb +278 -0
- data/lib/censys/models/kubernetes_endpoint.rb +241 -0
- data/lib/censys/models/kubernetes_endpoint_subset.rb +235 -0
- data/lib/censys/models/kubernetes_endpoint_subset_endpoint_address.rb +238 -0
- data/lib/censys/models/kubernetes_endpoint_subset_port.rb +257 -0
- data/lib/censys/models/kubernetes_node.rb +315 -0
- data/lib/censys/models/kubernetes_node_node_address.rb +231 -0
- data/lib/censys/models/kubernetes_role.rb +233 -0
- data/lib/censys/models/kubernetes_role_rule.rb +250 -0
- data/lib/censys/models/kubernetes_version_info.rb +300 -0
- data/lib/censys/models/l2_tp.rb +295 -0
- data/lib/censys/models/l2_tp_attribute_values.rb +424 -0
- data/lib/censys/models/l2_tp_sccrp.rb +220 -0
- data/lib/censys/models/l2_tp_stop_ccn.rb +220 -0
- data/lib/censys/models/label.rb +284 -0
- data/lib/censys/models/ldap.rb +263 -0
- data/lib/censys/models/ldap_attribute.rb +234 -0
- data/lib/censys/models/list_collections_response_v1.rb +251 -0
- data/lib/censys/models/location.rb +311 -0
- data/lib/censys/models/location_updated.rb +220 -0
- data/lib/censys/models/lpd.rb +274 -0
- data/lib/censys/models/lpd_message.rb +248 -0
- data/lib/censys/models/mdns.rb +244 -0
- data/lib/censys/models/mdns_result.rb +280 -0
- data/lib/censys/models/media_capabilities.rb +265 -0
- data/lib/censys/models/media_profile.rb +239 -0
- data/lib/censys/models/media_streaming.rb +247 -0
- data/lib/censys/models/members.rb +253 -0
- data/lib/censys/models/memcached.rb +263 -0
- data/lib/censys/models/metrics.rb +247 -0
- data/lib/censys/models/minecraft.rb +256 -0
- data/lib/censys/models/mms.rb +238 -0
- data/lib/censys/models/modbus.rb +266 -0
- data/lib/censys/models/modbus_exception_response.rb +267 -0
- data/lib/censys/models/modbus_mei_response.rb +240 -0
- data/lib/censys/models/monero_p2_p.rb +220 -0
- data/lib/censys/models/monero_p2_p_entry.rb +229 -0
- data/lib/censys/models/monero_p2_p_payload.rb +223 -0
- data/lib/censys/models/monero_p2_p_ping_response.rb +229 -0
- data/lib/censys/models/monero_p2_p_response_header.rb +369 -0
- data/lib/censys/models/mongodb.rb +229 -0
- data/lib/censys/models/mongodb_build_info.rb +240 -0
- data/lib/censys/models/mongodb_build_info_build_environment.rb +292 -0
- data/lib/censys/models/mongodb_is_master.rb +283 -0
- data/lib/censys/models/mqtt.rb +239 -0
- data/lib/censys/models/mqtt_connection_ack_return.rb +250 -0
- data/lib/censys/models/mqtt_subscription_ack_return.rb +250 -0
- data/lib/censys/models/mssql.rb +248 -0
- data/lib/censys/models/mssql_prelogin_options.rb +313 -0
- data/lib/censys/models/mssql_prelogin_options_server_version.rb +295 -0
- data/lib/censys/models/murmur.rb +280 -0
- data/lib/censys/models/murmur_message.rb +229 -0
- data/lib/censys/models/murmur_message_murmur_header.rb +248 -0
- data/lib/censys/models/murmur_murmur_version.rb +322 -0
- data/lib/censys/models/mysql.rb +382 -0
- data/lib/censys/models/name_constraints.rb +402 -0
- data/lib/censys/models/nats_io.rb +361 -0
- data/lib/censys/models/nbd.rb +244 -0
- data/lib/censys/models/network.rb +269 -0
- data/lib/censys/models/network_capabilities.rb +330 -0
- data/lib/censys/models/nfs_mountd.rb +223 -0
- data/lib/censys/models/nmea.rb +223 -0
- data/lib/censys/models/nmea_nmea_message.rb +250 -0
- data/lib/censys/models/node_info_v0.rb +286 -0
- data/lib/censys/models/node_info_v1.rb +277 -0
- data/lib/censys/models/node_info_v2.rb +352 -0
- data/lib/censys/models/notice_reference.rb +232 -0
- data/lib/censys/models/ntlm_info.rb +356 -0
- data/lib/censys/models/ntp.rb +221 -0
- data/lib/censys/models/ntp_ntp_header.rb +357 -0
- data/lib/censys/models/ollama.rb +244 -0
- data/lib/censys/models/ollama_model.rb +321 -0
- data/lib/censys/models/onvif.rb +232 -0
- data/lib/censys/models/onvif_hostname.rb +229 -0
- data/lib/censys/models/onvif_service.rb +294 -0
- data/lib/censys/models/opc_ua.rb +363 -0
- data/lib/censys/models/opc_ua_description.rb +296 -0
- data/lib/censys/models/opc_ua_endpoint.rb +324 -0
- data/lib/censys/models/opc_ua_localized_text.rb +257 -0
- data/lib/censys/models/opc_ua_user_token_policy.rb +256 -0
- data/lib/censys/models/open_directory.rb +232 -0
- data/lib/censys/models/open_directory_file.rb +274 -0
- data/lib/censys/models/openvpn.rb +229 -0
- data/lib/censys/models/openvpn_mgmt.rb +259 -0
- data/lib/censys/models/oracle.rb +361 -0
- data/lib/censys/models/oracle_descriptor.rb +231 -0
- data/lib/censys/models/organization.rb +319 -0
- data/lib/censys/models/other_name.rb +231 -0
- data/lib/censys/models/pan_tilt_zoom_capabilities.rb +256 -0
- data/lib/censys/models/pc_anywhere.rb +240 -0
- data/lib/censys/models/pc_anywhere_status.rb +231 -0
- data/lib/censys/models/peer.rb +256 -0
- data/lib/censys/models/pgbouncer.rb +220 -0
- data/lib/censys/models/pgbouncer_startup_capabilities.rb +238 -0
- data/lib/censys/models/pixel_format.rb +547 -0
- data/lib/censys/models/plex_media_server.rb +220 -0
- data/lib/censys/models/pop3.rb +221 -0
- data/lib/censys/models/port.rb +232 -0
- data/lib/censys/models/portmap.rb +235 -0
- data/lib/censys/models/portmap_v2_entry.rb +294 -0
- data/lib/censys/models/portmap_v3_entry.rb +284 -0
- data/lib/censys/models/postgres.rb +244 -0
- data/lib/censys/models/pprof.rb +292 -0
- data/lib/censys/models/pptp.rb +311 -0
- data/lib/censys/models/pptp_response_info.rb +248 -0
- data/lib/censys/models/pptp_version.rb +267 -0
- data/lib/censys/models/profinet_cm.rb +238 -0
- data/lib/censys/models/prometheus.rb +221 -0
- data/lib/censys/models/prometheus_metric_family.rb +229 -0
- data/lib/censys/models/prometheus_response.rb +285 -0
- data/lib/censys/models/prometheus_response_active_target.rb +269 -0
- data/lib/censys/models/prometheus_response_active_target_discovered_labels.rb +251 -0
- data/lib/censys/models/prometheus_response_active_target_labels.rb +231 -0
- data/lib/censys/models/prometheus_response_dropped_target.rb +251 -0
- data/lib/censys/models/prometheus_response_prometheus_version.rb +241 -0
- data/lib/censys/models/prometheus_target.rb +223 -0
- data/lib/censys/models/qc_statements.rb +232 -0
- data/lib/censys/models/qc_statements_monetary_value.rb +247 -0
- data/lib/censys/models/qc_statements_parsed_statements.rb +295 -0
- data/lib/censys/models/qc_statements_pds_location.rb +229 -0
- data/lib/censys/models/qc_statements_qc_legislation.rb +223 -0
- data/lib/censys/models/qc_statements_qc_type.rb +223 -0
- data/lib/censys/models/raw_certificate_response.rb +263 -0
- data/lib/censys/models/rdate.rb +220 -0
- data/lib/censys/models/rdp.rb +312 -0
- data/lib/censys/models/rdp_certificate_info.rb +232 -0
- data/lib/censys/models/rdp_connect_response.rb +248 -0
- data/lib/censys/models/rdp_domain_parameters.rb +283 -0
- data/lib/censys/models/rdp_embedded_rsa_cert.rb +369 -0
- data/lib/censys/models/rdp_protocol_flags.rb +256 -0
- data/lib/censys/models/rdp_security_protocol.rb +356 -0
- data/lib/censys/models/rdp_version.rb +239 -0
- data/lib/censys/models/realport.rb +352 -0
- data/lib/censys/models/recording_capabilities.rb +359 -0
- data/lib/censys/models/redis.rb +562 -0
- data/lib/censys/models/redis_raw_output.rb +220 -0
- data/lib/censys/models/redline.rb +238 -0
- data/lib/censys/models/redlion_crimson.rb +265 -0
- data/lib/censys/models/redlion_web.rb +241 -0
- data/lib/censys/models/reject.rb +263 -0
- data/lib/censys/models/replay_capabilities.rb +238 -0
- data/lib/censys/models/representative_info.rb +306 -0
- data/lib/censys/models/response_envelope_certificate_asset.rb +220 -0
- data/lib/censys/models/response_envelope_collection.rb +220 -0
- data/lib/censys/models/response_envelope_collection_events_response.rb +220 -0
- data/lib/censys/models/response_envelope_host_asset.rb +220 -0
- data/lib/censys/models/response_envelope_host_observation_response.rb +220 -0
- data/lib/censys/models/response_envelope_host_timeline.rb +220 -0
- data/lib/censys/models/response_envelope_list_certificate_asset.rb +223 -0
- data/lib/censys/models/response_envelope_list_collections_response_v1.rb +220 -0
- data/lib/censys/models/response_envelope_list_host_asset.rb +223 -0
- data/lib/censys/models/response_envelope_list_raw_certificate_response.rb +223 -0
- data/lib/censys/models/response_envelope_list_search_convert_query_response.rb +223 -0
- data/lib/censys/models/response_envelope_list_webproperty_asset.rb +223 -0
- data/lib/censys/models/response_envelope_search_aggregate_response.rb +220 -0
- data/lib/censys/models/response_envelope_search_query_response.rb +220 -0
- data/lib/censys/models/response_envelope_tracked_scan.rb +220 -0
- data/lib/censys/models/response_envelope_value_counts_response.rb +220 -0
- data/lib/censys/models/response_envelope_webproperty_asset.rb +220 -0
- data/lib/censys/models/reverse_dns_resolved.rb +232 -0
- data/lib/censys/models/rifatron.rb +220 -0
- data/lib/censys/models/ripple.rb +238 -0
- data/lib/censys/models/ripple_clio_results.rb +247 -0
- data/lib/censys/models/ripple_peer_results.rb +283 -0
- data/lib/censys/models/rippled_public_results.rb +286 -0
- data/lib/censys/models/risk.rb +381 -0
- data/lib/censys/models/rlogin.rb +247 -0
- data/lib/censys/models/rocketmq.rb +238 -0
- data/lib/censys/models/rocketmq_cluster_info.rb +229 -0
- data/lib/censys/models/rocketmq_response_header.rb +256 -0
- data/lib/censys/models/rocketmq_topic_list.rb +232 -0
- data/lib/censys/models/root_store.rb +331 -0
- data/lib/censys/models/root_store_chain.rb +223 -0
- data/lib/censys/models/route_updated.rb +231 -0
- data/lib/censys/models/routing.rb +290 -0
- data/lib/censys/models/rsa_cryptographic_key.rb +257 -0
- data/lib/censys/models/rsa_public_key.rb +241 -0
- data/lib/censys/models/rtsp.rb +250 -0
- data/lib/censys/models/s7.rb +337 -0
- data/lib/censys/models/sap_router.rb +229 -0
- data/lib/censys/models/sap_router_client_info.rb +284 -0
- data/lib/censys/models/sap_router_router_info.rb +390 -0
- data/lib/censys/models/sap_router_router_version_info.rb +276 -0
- data/lib/censys/models/scada_view.rb +229 -0
- data/lib/censys/models/scans_discovery_input_body.rb +237 -0
- data/lib/censys/models/scans_discovery_input_body_target.rb +105 -0
- data/lib/censys/models/scans_discovery_input_body_target_one_of.rb +238 -0
- data/lib/censys/models/scans_discovery_input_body_target_one_of1.rb +238 -0
- data/lib/censys/models/scans_discovery_input_body_target_one_of1_hostname_port.rb +283 -0
- data/lib/censys/models/scans_discovery_input_body_target_one_of_host_port.rb +283 -0
- data/lib/censys/models/scans_rescan_input_body.rb +237 -0
- data/lib/censys/models/scans_rescan_input_body_target.rb +105 -0
- data/lib/censys/models/scans_rescan_input_body_target_one_of.rb +238 -0
- data/lib/censys/models/scans_rescan_input_body_target_one_of1.rb +238 -0
- data/lib/censys/models/scans_rescan_input_body_target_one_of1_web_origin.rb +283 -0
- data/lib/censys/models/scans_rescan_input_body_target_one_of_service_id.rb +360 -0
- data/lib/censys/models/scpi.rb +247 -0
- data/lib/censys/models/screenshot.rb +238 -0
- data/lib/censys/models/search_aggregate_input_body.rb +323 -0
- data/lib/censys/models/search_aggregate_response.rb +329 -0
- data/lib/censys/models/search_aggregate_response_bucket.rb +263 -0
- data/lib/censys/models/search_capabilities.rb +229 -0
- data/lib/censys/models/search_convert_query_input_body.rb +241 -0
- data/lib/censys/models/search_convert_query_response.rb +326 -0
- data/lib/censys/models/search_query_hit.rb +238 -0
- data/lib/censys/models/search_query_input_body.rb +287 -0
- data/lib/censys/models/search_query_response.rb +329 -0
- data/lib/censys/models/search_value_counts_input_body.rb +236 -0
- data/lib/censys/models/security_capabilities.rb +449 -0
- data/lib/censys/models/ser2_net.rb +256 -0
- data/lib/censys/models/ser2_net_serial_parameters.rb +247 -0
- data/lib/censys/models/server_config.rb +350 -0
- data/lib/censys/models/server_sync.rb +260 -0
- data/lib/censys/models/service.rb +1509 -0
- data/lib/censys/models/service_id.rb +300 -0
- data/lib/censys/models/service_scan.rb +1374 -0
- data/lib/censys/models/service_scanned.rb +231 -0
- data/lib/censys/models/seven_days_to_die.rb +274 -0
- data/lib/censys/models/signature.rb +250 -0
- data/lib/censys/models/signed_certificate_timestamp.rb +247 -0
- data/lib/censys/models/signed_certificate_timestamp_signature.rb +238 -0
- data/lib/censys/models/sip.rb +249 -0
- data/lib/censys/models/skinny.rb +220 -0
- data/lib/censys/models/smb.rb +297 -0
- data/lib/censys/models/smb_header_log.rb +332 -0
- data/lib/censys/models/smb_negotiation_log.rb +381 -0
- data/lib/censys/models/smb_session_setup_log.rb +285 -0
- data/lib/censys/models/smb_smb_capabilities.rb +281 -0
- data/lib/censys/models/smb_smb_versions.rb +308 -0
- data/lib/censys/models/smtp.rb +231 -0
- data/lib/censys/models/snmp.rb +262 -0
- data/lib/censys/models/snmp_engine.rb +349 -0
- data/lib/censys/models/snmp_interfaces.rb +240 -0
- data/lib/censys/models/snmp_physical.rb +281 -0
- data/lib/censys/models/snmp_system.rb +300 -0
- data/lib/censys/models/snmp_system_services.rb +281 -0
- data/lib/censys/models/socks.rb +266 -0
- data/lib/censys/models/spice.rb +285 -0
- data/lib/censys/models/ssdp.rb +231 -0
- data/lib/censys/models/ssh.rb +256 -0
- data/lib/censys/models/ssh_algorithm_selection.rb +247 -0
- data/lib/censys/models/ssh_algorithm_selection_direction_algorithms.rb +238 -0
- data/lib/censys/models/ssh_endpoint_id.rb +247 -0
- data/lib/censys/models/ssh_kex_init_message.rb +350 -0
- data/lib/censys/models/ssh_server_host_key.rb +265 -0
- data/lib/censys/models/status.rb +247 -0
- data/lib/censys/models/steam.rb +522 -0
- data/lib/censys/models/subject_key_info.rb +271 -0
- data/lib/censys/models/system_capabilities.rb +310 -0
- data/lib/censys/models/tacacs_plus.rb +388 -0
- data/lib/censys/models/target.rb +289 -0
- data/lib/censys/models/team_viewer.rb +220 -0
- data/lib/censys/models/telnet.rb +255 -0
- data/lib/censys/models/text_message.rb +284 -0
- data/lib/censys/models/threat.rb +347 -0
- data/lib/censys/models/threat_actor.rb +259 -0
- data/lib/censys/models/threat_details.rb +250 -0
- data/lib/censys/models/threat_malware.rb +259 -0
- data/lib/censys/models/tibia.rb +283 -0
- data/lib/censys/models/tls.rb +319 -0
- data/lib/censys/models/tls_chain.rb +241 -0
- data/lib/censys/models/tls_version_data.rb +272 -0
- data/lib/censys/models/tor_service_descriptor.rb +247 -0
- data/lib/censys/models/tplink_kasa.rb +346 -0
- data/lib/censys/models/tracked_scan.rb +259 -0
- data/lib/censys/models/tracked_scan_scan_target.rb +247 -0
- data/lib/censys/models/tracked_scan_scan_target_host_port.rb +248 -0
- data/lib/censys/models/tracked_scan_scan_target_hostname_port.rb +248 -0
- data/lib/censys/models/tracked_scan_task.rb +272 -0
- data/lib/censys/models/unitronics_pcom.rb +301 -0
- data/lib/censys/models/unrecognized_public_key.rb +220 -0
- data/lib/censys/models/upnp.rb +252 -0
- data/lib/censys/models/upnp_device.rb +350 -0
- data/lib/censys/models/upnp_service.rb +256 -0
- data/lib/censys/models/upnp_spec_version.rb +229 -0
- data/lib/censys/models/user.rb +229 -0
- data/lib/censys/models/user_notice.rb +229 -0
- data/lib/censys/models/validation.rb +251 -0
- data/lib/censys/models/validity_period.rb +241 -0
- data/lib/censys/models/value_counts_response.rb +225 -0
- data/lib/censys/models/ventrilo.rb +235 -0
- data/lib/censys/models/ventrilo_header.rb +351 -0
- data/lib/censys/models/ventrilo_message.rb +238 -0
- data/lib/censys/models/vnc.rb +271 -0
- data/lib/censys/models/vnc_key_value.rb +229 -0
- data/lib/censys/models/vuln.rb +396 -0
- data/lib/censys/models/web_origin.rb +248 -0
- data/lib/censys/models/weblogic_t3.rb +238 -0
- data/lib/censys/models/webproperty.rb +392 -0
- data/lib/censys/models/webproperty_asset.rb +263 -0
- data/lib/censys/models/whois.rb +229 -0
- data/lib/censys/models/whois_updated.rb +231 -0
- data/lib/censys/models/winrm.rb +232 -0
- data/lib/censys/models/worker.rb +247 -0
- data/lib/censys/models/ws_discovery.rb +275 -0
- data/lib/censys/models/x11.rb +247 -0
- data/lib/censys/models/z_lint.rb +284 -0
- data/lib/censys/models/zeromq.rb +249 -0
- data/lib/censys/models/zeromq_greeting.rb +294 -0
- data/lib/censys/models/zeromq_handshake.rb +238 -0
- data/lib/censys/version.rb +15 -0
- data/lib/censys.rb +539 -0
- data/spec/api/collections_api_spec.rb +158 -0
- data/spec/api/global_data_api_spec.rb +291 -0
- data/spec/api/threat_hunting_api_spec.rb +97 -0
- data/spec/models/activemq_spec.rb +102 -0
- data/spec/models/alternative_query_spec.rb +46 -0
- data/spec/models/amqp_protocol_spec.rb +42 -0
- data/spec/models/amqp_spec.rb +54 -0
- data/spec/models/amqp_version_spec.rb +48 -0
- data/spec/models/analytics_capabilities_spec.rb +54 -0
- data/spec/models/any_connect_spec.rb +60 -0
- data/spec/models/asset_certificate_list_input_body_spec.rb +36 -0
- data/spec/models/asset_host_list_input_body_spec.rb +36 -0
- data/spec/models/asset_webproperty_list_input_body_spec.rb +36 -0
- data/spec/models/asterisk_manager_interface_spec.rb +36 -0
- data/spec/models/attribute_spec.rb +112 -0
- data/spec/models/auth_spec.rb +36 -0
- data/spec/models/authority_info_access_spec.rb +42 -0
- data/spec/models/autonomous_system_spec.rb +66 -0
- data/spec/models/bacnet_spec.rb +84 -0
- data/spec/models/basic_constraints_spec.rb +42 -0
- data/spec/models/cabf_organization_id_spec.rb +54 -0
- data/spec/models/capabilities_spec.rb +90 -0
- data/spec/models/certificate_asset_spec.rb +42 -0
- data/spec/models/certificate_extensions_spec.rb +126 -0
- data/spec/models/certificate_parsed_spec.rb +114 -0
- data/spec/models/certificate_policy_spec.rb +48 -0
- data/spec/models/certificate_revocation_revocation_info_spec.rb +58 -0
- data/spec/models/certificate_revocation_spec.rb +42 -0
- data/spec/models/certificate_spec.rb +176 -0
- data/spec/models/checkpoint_topology_spec.rb +42 -0
- data/spec/models/chrome_devtools_spec.rb +66 -0
- data/spec/models/chrome_devtools_target_spec.rb +48 -0
- data/spec/models/chromecast_application_spec.rb +66 -0
- data/spec/models/chromecast_namespace_spec.rb +36 -0
- data/spec/models/chromecast_spec.rb +72 -0
- data/spec/models/chromecast_volume_spec.rb +54 -0
- data/spec/models/cisco_ipsla_handshake_header_spec.rb +54 -0
- data/spec/models/cisco_ipsla_handshake_message_spec.rb +54 -0
- data/spec/models/cisco_ipsla_handshake_spec.rb +42 -0
- data/spec/models/cisco_ipsla_measure_response_spec.rb +72 -0
- data/spec/models/cisco_ipsla_spec.rb +42 -0
- data/spec/models/coap_spec.rb +66 -0
- data/spec/models/cobalt_strike_config_spec.rb +120 -0
- data/spec/models/cobalt_strike_http_config_spec.rb +48 -0
- data/spec/models/cobalt_strike_post_ex_spec.rb +42 -0
- data/spec/models/cobalt_strike_spec.rb +42 -0
- data/spec/models/collection_event_spec.rb +42 -0
- data/spec/models/collection_events_response_spec.rb +42 -0
- data/spec/models/collection_spec.rb +98 -0
- data/spec/models/connection_spec.rb +84 -0
- data/spec/models/contact_spec.rb +48 -0
- data/spec/models/convert_query_error_spec.rb +36 -0
- data/spec/models/coordinates_spec.rb +42 -0
- data/spec/models/count_condition_spec.rb +36 -0
- data/spec/models/cpe_life_cycle_spec.rb +48 -0
- data/spec/models/cpe_spec.rb +78 -0
- data/spec/models/crestron_cp3_spec.rb +36 -0
- data/spec/models/crestron_din_ap2_spec.rb +36 -0
- data/spec/models/crud_create_input_body_spec.rb +48 -0
- data/spec/models/crud_update_input_body_spec.rb +48 -0
- data/spec/models/crypt_setup_spec.rb +48 -0
- data/spec/models/ct_record_spec.rb +48 -0
- data/spec/models/ct_spec.rb +36 -0
- data/spec/models/cvss_components_spec.rb +110 -0
- data/spec/models/cvss_spec.rb +48 -0
- data/spec/models/cvssv4_components_spec.rb +170 -0
- data/spec/models/cvssv4_spec.rb +48 -0
- data/spec/models/cwe_spec.rb +36 -0
- data/spec/models/cwmp_spec.rb +48 -0
- data/spec/models/darkcomet_spec.rb +36 -0
- data/spec/models/darkgate_file_spec.rb +42 -0
- data/spec/models/darkgate_spec.rb +36 -0
- data/spec/models/dcerpc_endpoint_spec.rb +54 -0
- data/spec/models/dcerpc_spec.rb +48 -0
- data/spec/models/desktop_info_spec.rb +54 -0
- data/spec/models/device_capabilities_spec.rb +48 -0
- data/spec/models/device_io_capabilities_spec.rb +72 -0
- data/spec/models/dhcpdiscover_device_info_spec.rb +144 -0
- data/spec/models/dhcpdiscover_ip_address_spec.rb +60 -0
- data/spec/models/dhcpdiscover_response_params_spec.rb +36 -0
- data/spec/models/dhcpdiscover_spec.rb +42 -0
- data/spec/models/distinguished_name_spec.rb +132 -0
- data/spec/models/dns_e_dns_spec.rb +54 -0
- data/spec/models/dns_resource_record_spec.rb +52 -0
- data/spec/models/dns_spec.rb +92 -0
- data/spec/models/dsa_cryptographic_key_spec.rb +54 -0
- data/spec/models/dsa_public_key_spec.rb +54 -0
- data/spec/models/dvr_ip_partition_capability_spec.rb +42 -0
- data/spec/models/dvr_ip_spec.rb +102 -0
- data/spec/models/ecdsa_cryptographic_key_spec.rb +90 -0
- data/spec/models/ecdsa_public_key_spec.rb +90 -0
- data/spec/models/ed25519_cryptographic_key_spec.rb +36 -0
- data/spec/models/edi_party_name_spec.rb +42 -0
- data/spec/models/eip_identity_spec.rb +102 -0
- data/spec/models/eip_interface_spec.rb +42 -0
- data/spec/models/eip_service_spec.rb +54 -0
- data/spec/models/eip_spec.rb +48 -0
- data/spec/models/elastic_search_error_message_spec.rb +48 -0
- data/spec/models/elastic_search_results_node_info_cluster_combined_info_filesystem_spec.rb +66 -0
- data/spec/models/elastic_search_results_node_info_cluster_combined_info_indices_docs_spec.rb +42 -0
- data/spec/models/elastic_search_results_node_info_cluster_combined_info_indices_spec.rb +48 -0
- data/spec/models/elastic_search_results_node_info_cluster_combined_info_indices_store_spec.rb +42 -0
- data/spec/models/elastic_search_results_node_info_cluster_combined_info_spec.rb +66 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_jvm_spec.rb +84 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_modules_spec.rb +78 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_node_settings_node_attr_ml_spec.rb +48 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_node_settings_node_attr_spec.rb +42 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_node_settings_node_spec.rb +42 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_node_settings_spec.rb +42 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_os_spec.rb +72 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_spec.rb +126 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_thread_pool_spec.rb +60 -0
- data/spec/models/elastic_search_results_node_info_nodes_spec.rb +42 -0
- data/spec/models/elastic_search_results_node_info_spec.rb +42 -0
- data/spec/models/elastic_search_spec.rb +48 -0
- data/spec/models/elastic_search_system_info_spec.rb +54 -0
- data/spec/models/elastic_search_system_info_ver_spec.rb +84 -0
- data/spec/models/elf_file_spec.rb +60 -0
- data/spec/models/endpoint_scan_spec.rb +202 -0
- data/spec/models/endpoint_scan_state_spec.rb +190 -0
- data/spec/models/endpoint_scanned_spec.rb +42 -0
- data/spec/models/epmd_spec.rb +36 -0
- data/spec/models/epss_spec.rb +42 -0
- data/spec/models/error_detail_spec.rb +48 -0
- data/spec/models/error_model_spec.rb +66 -0
- data/spec/models/etcd_spec.rb +48 -0
- data/spec/models/etcd_v2_spec.rb +48 -0
- data/spec/models/etcd_v3_spec.rb +48 -0
- data/spec/models/etcd_version_spec.rb +42 -0
- data/spec/models/ethereum_spec.rb +48 -0
- data/spec/models/ethereum_version_spec.rb +60 -0
- data/spec/models/event_asset_change_spec.rb +52 -0
- data/spec/models/event_status_change_spec.rb +62 -0
- data/spec/models/events_capabilities_spec.rb +60 -0
- data/spec/models/evidence_spec.rb +78 -0
- data/spec/models/export_list_spec.rb +42 -0
- data/spec/models/export_spec.rb +72 -0
- data/spec/models/extended_key_usage_spec.rb +414 -0
- data/spec/models/extension_spec.rb +48 -0
- data/spec/models/field_diff_spec.rb +42 -0
- data/spec/models/field_value_pair_spec.rb +42 -0
- data/spec/models/float_value_spec.rb +36 -0
- data/spec/models/fortigate_spec.rb +66 -0
- data/spec/models/forward_dns_resolved_spec.rb +42 -0
- data/spec/models/fox_spec.rb +138 -0
- data/spec/models/ftp_spec.rb +60 -0
- data/spec/models/gearman_spec.rb +48 -0
- data/spec/models/general_names_spec.rb +78 -0
- data/spec/models/general_subtree_ip_spec.rb +54 -0
- data/spec/models/graphql_spec.rb +42 -0
- data/spec/models/hid_vertx_spec.rb +72 -0
- data/spec/models/hikvision_platform_library_spec.rb +42 -0
- data/spec/models/hikvision_platform_spec.rb +42 -0
- data/spec/models/hikvision_spec.rb +54 -0
- data/spec/models/host_asset_spec.rb +42 -0
- data/spec/models/host_dns_forward_resolution_spec.rb +58 -0
- data/spec/models/host_dns_reverse_resolution_spec.rb +48 -0
- data/spec/models/host_dns_spec.rb +48 -0
- data/spec/models/host_observation_range_spec.rb +66 -0
- data/spec/models/host_observation_response_spec.rb +48 -0
- data/spec/models/host_spec.rb +90 -0
- data/spec/models/host_timeline_event_asset_spec.rb +42 -0
- data/spec/models/host_timeline_event_spec.rb +84 -0
- data/spec/models/host_timeline_spec.rb +42 -0
- data/spec/models/http_favicon_spec.rb +66 -0
- data/spec/models/http_repeated_headers_spec.rb +36 -0
- data/spec/models/http_spec.rb +114 -0
- data/spec/models/ibmnje_spec.rb +66 -0
- data/spec/models/ike_spec.rb +42 -0
- data/spec/models/ike_v1_spec.rb +48 -0
- data/spec/models/ike_v2_spec.rb +48 -0
- data/spec/models/image_capabilities_spec.rb +36 -0
- data/spec/models/imap_spec.rb +36 -0
- data/spec/models/iota_spec.rb +48 -0
- data/spec/models/ipmi_capabilities_auth_status_spec.rb +66 -0
- data/spec/models/ipmi_capabilities_completion_code_spec.rb +42 -0
- data/spec/models/ipmi_capabilities_extended_capabilities_spec.rb +42 -0
- data/spec/models/ipmi_capabilities_spec.rb +72 -0
- data/spec/models/ipmi_capabilities_supported_auth_types_spec.rb +72 -0
- data/spec/models/ipmi_command_payload_command_number_spec.rb +42 -0
- data/spec/models/ipmi_command_payload_packed_net_fn_logical_unit_number_spec.rb +42 -0
- data/spec/models/ipmi_command_payload_packed_net_fn_net_fn_spec.rb +60 -0
- data/spec/models/ipmi_command_payload_packed_net_fn_spec.rb +48 -0
- data/spec/models/ipmi_command_payload_spec.rb +60 -0
- data/spec/models/ipmi_rmcp_header_message_class_spec.rb +54 -0
- data/spec/models/ipmi_rmcp_header_spec.rb +48 -0
- data/spec/models/ipmi_session_header_auth_type_spec.rb +48 -0
- data/spec/models/ipmi_session_header_spec.rb +54 -0
- data/spec/models/ipmi_spec.rb +60 -0
- data/spec/models/ipp_attribute_spec.rb +42 -0
- data/spec/models/ipp_spec.rb +78 -0
- data/spec/models/iscsi_spec.rb +48 -0
- data/spec/models/ivanti_avalanche_spec.rb +48 -0
- data/spec/models/ja4_t_scan_scan_spec.rb +42 -0
- data/spec/models/jarm_scan_spec.rb +88 -0
- data/spec/models/jarm_scanned_spec.rb +42 -0
- data/spec/models/kev_spec.rb +52 -0
- data/spec/models/key_algorithm_spec.rb +42 -0
- data/spec/models/key_usage_spec.rb +90 -0
- data/spec/models/krpc_spec.rb +36 -0
- data/spec/models/kubernetes_endpoint_spec.rb +48 -0
- data/spec/models/kubernetes_endpoint_subset_endpoint_address_spec.rb +48 -0
- data/spec/models/kubernetes_endpoint_subset_port_spec.rb +48 -0
- data/spec/models/kubernetes_endpoint_subset_spec.rb +42 -0
- data/spec/models/kubernetes_node_node_address_spec.rb +42 -0
- data/spec/models/kubernetes_node_spec.rb +90 -0
- data/spec/models/kubernetes_role_rule_spec.rb +48 -0
- data/spec/models/kubernetes_role_spec.rb +42 -0
- data/spec/models/kubernetes_spec.rb +66 -0
- data/spec/models/kubernetes_version_info_spec.rb +84 -0
- data/spec/models/l2_tp_attribute_values_spec.rb +96 -0
- data/spec/models/l2_tp_sccrp_spec.rb +36 -0
- data/spec/models/l2_tp_spec.rb +84 -0
- data/spec/models/l2_tp_stop_ccn_spec.rb +36 -0
- data/spec/models/label_spec.rb +58 -0
- data/spec/models/ldap_attribute_spec.rb +42 -0
- data/spec/models/ldap_spec.rb +48 -0
- data/spec/models/list_collections_response_v1_spec.rb +42 -0
- data/spec/models/location_spec.rb +90 -0
- data/spec/models/location_updated_spec.rb +36 -0
- data/spec/models/lpd_message_spec.rb +42 -0
- data/spec/models/lpd_spec.rb +72 -0
- data/spec/models/mdns_result_spec.rb +72 -0
- data/spec/models/mdns_spec.rb +48 -0
- data/spec/models/media_capabilities_spec.rb +66 -0
- data/spec/models/media_profile_spec.rb +36 -0
- data/spec/models/media_streaming_spec.rb +54 -0
- data/spec/models/members_spec.rb +54 -0
- data/spec/models/memcached_spec.rb +60 -0
- data/spec/models/metrics_spec.rb +54 -0
- data/spec/models/minecraft_spec.rb +60 -0
- data/spec/models/mms_spec.rb +48 -0
- data/spec/models/modbus_exception_response_spec.rb +42 -0
- data/spec/models/modbus_mei_response_spec.rb +48 -0
- data/spec/models/modbus_spec.rb +54 -0
- data/spec/models/monero_p2_p_entry_spec.rb +42 -0
- data/spec/models/monero_p2_p_payload_spec.rb +36 -0
- data/spec/models/monero_p2_p_ping_response_spec.rb +42 -0
- data/spec/models/monero_p2_p_response_header_spec.rb +72 -0
- data/spec/models/monero_p2_p_spec.rb +36 -0
- data/spec/models/mongodb_build_info_build_environment_spec.rb +84 -0
- data/spec/models/mongodb_build_info_spec.rb +48 -0
- data/spec/models/mongodb_is_master_spec.rb +78 -0
- data/spec/models/mongodb_spec.rb +42 -0
- data/spec/models/mqtt_connection_ack_return_spec.rb +42 -0
- data/spec/models/mqtt_spec.rb +48 -0
- data/spec/models/mqtt_subscription_ack_return_spec.rb +42 -0
- data/spec/models/mssql_prelogin_options_server_version_spec.rb +48 -0
- data/spec/models/mssql_prelogin_options_spec.rb +84 -0
- data/spec/models/mssql_spec.rb +54 -0
- data/spec/models/murmur_message_murmur_header_spec.rb +42 -0
- data/spec/models/murmur_message_spec.rb +42 -0
- data/spec/models/murmur_murmur_version_spec.rb +66 -0
- data/spec/models/murmur_spec.rb +72 -0
- data/spec/models/mysql_spec.rb +96 -0
- data/spec/models/name_constraints_spec.rb +120 -0
- data/spec/models/nats_io_spec.rb +126 -0
- data/spec/models/nbd_spec.rb +48 -0
- data/spec/models/network_capabilities_spec.rb +84 -0
- data/spec/models/network_spec.rb +66 -0
- data/spec/models/nfs_mountd_spec.rb +36 -0
- data/spec/models/nmea_nmea_message_spec.rb +54 -0
- data/spec/models/nmea_spec.rb +36 -0
- data/spec/models/node_info_v0_spec.rb +78 -0
- data/spec/models/node_info_v1_spec.rb +72 -0
- data/spec/models/node_info_v2_spec.rb +120 -0
- data/spec/models/notice_reference_spec.rb +42 -0
- data/spec/models/ntlm_info_spec.rb +114 -0
- data/spec/models/ntp_ntp_header_spec.rb +72 -0
- data/spec/models/ntp_spec.rb +36 -0
- data/spec/models/ollama_model_spec.rb +78 -0
- data/spec/models/ollama_spec.rb +48 -0
- data/spec/models/onvif_hostname_spec.rb +42 -0
- data/spec/models/onvif_service_spec.rb +60 -0
- data/spec/models/onvif_spec.rb +42 -0
- data/spec/models/opc_ua_description_spec.rb +72 -0
- data/spec/models/opc_ua_endpoint_spec.rb +78 -0
- data/spec/models/opc_ua_localized_text_spec.rb +48 -0
- data/spec/models/opc_ua_spec.rb +66 -0
- data/spec/models/opc_ua_user_token_policy_spec.rb +60 -0
- data/spec/models/open_directory_file_spec.rb +72 -0
- data/spec/models/open_directory_spec.rb +42 -0
- data/spec/models/openvpn_mgmt_spec.rb +60 -0
- data/spec/models/openvpn_spec.rb +42 -0
- data/spec/models/oracle_descriptor_spec.rb +42 -0
- data/spec/models/oracle_spec.rb +102 -0
- data/spec/models/organization_spec.rb +96 -0
- data/spec/models/other_name_spec.rb +42 -0
- data/spec/models/pan_tilt_zoom_capabilities_spec.rb +60 -0
- data/spec/models/pc_anywhere_spec.rb +48 -0
- data/spec/models/pc_anywhere_status_spec.rb +42 -0
- data/spec/models/peer_spec.rb +60 -0
- data/spec/models/pgbouncer_spec.rb +36 -0
- data/spec/models/pgbouncer_startup_capabilities_spec.rb +48 -0
- data/spec/models/pixel_format_spec.rb +108 -0
- data/spec/models/plex_media_server_spec.rb +36 -0
- data/spec/models/pop3_spec.rb +36 -0
- data/spec/models/port_spec.rb +42 -0
- data/spec/models/portmap_spec.rb +42 -0
- data/spec/models/portmap_v2_entry_spec.rb +60 -0
- data/spec/models/portmap_v3_entry_spec.rb +66 -0
- data/spec/models/postgres_spec.rb +48 -0
- data/spec/models/pprof_spec.rb +84 -0
- data/spec/models/pptp_response_info_spec.rb +42 -0
- data/spec/models/pptp_spec.rb +84 -0
- data/spec/models/pptp_version_spec.rb +42 -0
- data/spec/models/profinet_cm_spec.rb +48 -0
- data/spec/models/prometheus_metric_family_spec.rb +42 -0
- data/spec/models/prometheus_response_active_target_discovered_labels_spec.rb +54 -0
- data/spec/models/prometheus_response_active_target_labels_spec.rb +42 -0
- data/spec/models/prometheus_response_active_target_spec.rb +66 -0
- data/spec/models/prometheus_response_dropped_target_spec.rb +54 -0
- data/spec/models/prometheus_response_prometheus_version_spec.rb +48 -0
- data/spec/models/prometheus_response_spec.rb +66 -0
- data/spec/models/prometheus_spec.rb +36 -0
- data/spec/models/prometheus_target_spec.rb +36 -0
- data/spec/models/qc_statements_monetary_value_spec.rb +54 -0
- data/spec/models/qc_statements_parsed_statements_spec.rb +72 -0
- data/spec/models/qc_statements_pds_location_spec.rb +42 -0
- data/spec/models/qc_statements_qc_legislation_spec.rb +36 -0
- data/spec/models/qc_statements_qc_type_spec.rb +36 -0
- data/spec/models/qc_statements_spec.rb +42 -0
- data/spec/models/raw_certificate_response_spec.rb +42 -0
- data/spec/models/rdate_spec.rb +36 -0
- data/spec/models/rdp_certificate_info_spec.rb +42 -0
- data/spec/models/rdp_connect_response_spec.rb +42 -0
- data/spec/models/rdp_domain_parameters_spec.rb +78 -0
- data/spec/models/rdp_embedded_rsa_cert_spec.rb +72 -0
- data/spec/models/rdp_protocol_flags_spec.rb +60 -0
- data/spec/models/rdp_security_protocol_spec.rb +114 -0
- data/spec/models/rdp_spec.rb +72 -0
- data/spec/models/rdp_version_spec.rb +48 -0
- data/spec/models/realport_spec.rb +72 -0
- data/spec/models/recording_capabilities_spec.rb +78 -0
- data/spec/models/redis_raw_output_spec.rb +36 -0
- data/spec/models/redis_spec.rb +156 -0
- data/spec/models/redline_spec.rb +48 -0
- data/spec/models/redlion_crimson_spec.rb +66 -0
- data/spec/models/redlion_web_spec.rb +48 -0
- data/spec/models/reject_spec.rb +46 -0
- data/spec/models/replay_capabilities_spec.rb +48 -0
- data/spec/models/representative_info_spec.rb +58 -0
- data/spec/models/response_envelope_certificate_asset_spec.rb +36 -0
- data/spec/models/response_envelope_collection_events_response_spec.rb +36 -0
- data/spec/models/response_envelope_collection_spec.rb +36 -0
- data/spec/models/response_envelope_host_asset_spec.rb +36 -0
- data/spec/models/response_envelope_host_observation_response_spec.rb +36 -0
- data/spec/models/response_envelope_host_timeline_spec.rb +36 -0
- data/spec/models/response_envelope_list_certificate_asset_spec.rb +36 -0
- data/spec/models/response_envelope_list_collections_response_v1_spec.rb +36 -0
- data/spec/models/response_envelope_list_host_asset_spec.rb +36 -0
- data/spec/models/response_envelope_list_raw_certificate_response_spec.rb +36 -0
- data/spec/models/response_envelope_list_search_convert_query_response_spec.rb +36 -0
- data/spec/models/response_envelope_list_webproperty_asset_spec.rb +36 -0
- data/spec/models/response_envelope_search_aggregate_response_spec.rb +36 -0
- data/spec/models/response_envelope_search_query_response_spec.rb +36 -0
- data/spec/models/response_envelope_tracked_scan_spec.rb +36 -0
- data/spec/models/response_envelope_value_counts_response_spec.rb +36 -0
- data/spec/models/response_envelope_webproperty_asset_spec.rb +36 -0
- data/spec/models/reverse_dns_resolved_spec.rb +42 -0
- data/spec/models/rifatron_spec.rb +36 -0
- data/spec/models/ripple_clio_results_spec.rb +54 -0
- data/spec/models/ripple_peer_results_spec.rb +72 -0
- data/spec/models/ripple_spec.rb +48 -0
- data/spec/models/rippled_public_results_spec.rb +78 -0
- data/spec/models/risk_spec.rb +102 -0
- data/spec/models/rlogin_spec.rb +54 -0
- data/spec/models/rocketmq_cluster_info_spec.rb +42 -0
- data/spec/models/rocketmq_response_header_spec.rb +60 -0
- data/spec/models/rocketmq_spec.rb +48 -0
- data/spec/models/rocketmq_topic_list_spec.rb +42 -0
- data/spec/models/root_store_chain_spec.rb +36 -0
- data/spec/models/root_store_spec.rb +82 -0
- data/spec/models/route_updated_spec.rb +42 -0
- data/spec/models/routing_spec.rb +66 -0
- data/spec/models/rsa_cryptographic_key_spec.rb +48 -0
- data/spec/models/rsa_public_key_spec.rb +48 -0
- data/spec/models/rtsp_spec.rb +54 -0
- data/spec/models/s7_spec.rb +114 -0
- data/spec/models/sap_router_client_info_spec.rb +66 -0
- data/spec/models/sap_router_router_info_spec.rb +84 -0
- data/spec/models/sap_router_router_version_info_spec.rb +48 -0
- data/spec/models/sap_router_spec.rb +42 -0
- data/spec/models/scada_view_spec.rb +42 -0
- data/spec/models/scans_discovery_input_body_spec.rb +36 -0
- data/spec/models/scans_discovery_input_body_target_one_of1_hostname_port_spec.rb +42 -0
- data/spec/models/scans_discovery_input_body_target_one_of1_spec.rb +36 -0
- data/spec/models/scans_discovery_input_body_target_one_of_host_port_spec.rb +42 -0
- data/spec/models/scans_discovery_input_body_target_one_of_spec.rb +36 -0
- data/spec/models/scans_discovery_input_body_target_spec.rb +32 -0
- data/spec/models/scans_rescan_input_body_spec.rb +36 -0
- data/spec/models/scans_rescan_input_body_target_one_of1_spec.rb +36 -0
- data/spec/models/scans_rescan_input_body_target_one_of1_web_origin_spec.rb +42 -0
- data/spec/models/scans_rescan_input_body_target_one_of_service_id_spec.rb +58 -0
- data/spec/models/scans_rescan_input_body_target_one_of_spec.rb +36 -0
- data/spec/models/scans_rescan_input_body_target_spec.rb +32 -0
- data/spec/models/scpi_spec.rb +54 -0
- data/spec/models/screenshot_spec.rb +48 -0
- data/spec/models/search_aggregate_input_body_spec.rb +60 -0
- data/spec/models/search_aggregate_response_bucket_spec.rb +42 -0
- data/spec/models/search_aggregate_response_spec.rb +60 -0
- data/spec/models/search_capabilities_spec.rb +42 -0
- data/spec/models/search_convert_query_input_body_spec.rb +36 -0
- data/spec/models/search_convert_query_response_spec.rb +70 -0
- data/spec/models/search_query_hit_spec.rb +48 -0
- data/spec/models/search_query_input_body_spec.rb +54 -0
- data/spec/models/search_query_response_spec.rb +60 -0
- data/spec/models/search_value_counts_input_body_spec.rb +42 -0
- data/spec/models/security_capabilities_spec.rb +138 -0
- data/spec/models/ser2_net_serial_parameters_spec.rb +54 -0
- data/spec/models/ser2_net_spec.rb +60 -0
- data/spec/models/server_config_spec.rb +72 -0
- data/spec/models/server_sync_spec.rb +48 -0
- data/spec/models/service_id_spec.rb +58 -0
- data/spec/models/service_scan_spec.rb +772 -0
- data/spec/models/service_scanned_spec.rb +42 -0
- data/spec/models/service_spec.rb +844 -0
- data/spec/models/seven_days_to_die_spec.rb +72 -0
- data/spec/models/signature_spec.rb +54 -0
- data/spec/models/signed_certificate_timestamp_signature_spec.rb +48 -0
- data/spec/models/signed_certificate_timestamp_spec.rb +54 -0
- data/spec/models/sip_spec.rb +54 -0
- data/spec/models/skinny_spec.rb +36 -0
- data/spec/models/smb_header_log_spec.rb +60 -0
- data/spec/models/smb_negotiation_log_spec.rb +78 -0
- data/spec/models/smb_session_setup_log_spec.rb +54 -0
- data/spec/models/smb_smb_capabilities_spec.rb +72 -0
- data/spec/models/smb_smb_versions_spec.rb +54 -0
- data/spec/models/smb_spec.rb +84 -0
- data/spec/models/smtp_spec.rb +42 -0
- data/spec/models/snmp_engine_spec.rb +84 -0
- data/spec/models/snmp_interfaces_spec.rb +36 -0
- data/spec/models/snmp_physical_spec.rb +72 -0
- data/spec/models/snmp_spec.rb +60 -0
- data/spec/models/snmp_system_services_spec.rb +72 -0
- data/spec/models/snmp_system_spec.rb +72 -0
- data/spec/models/socks_spec.rb +54 -0
- data/spec/models/spice_spec.rb +54 -0
- data/spec/models/ssdp_spec.rb +42 -0
- data/spec/models/ssh_algorithm_selection_direction_algorithms_spec.rb +48 -0
- data/spec/models/ssh_algorithm_selection_spec.rb +54 -0
- data/spec/models/ssh_endpoint_id_spec.rb +54 -0
- data/spec/models/ssh_kex_init_message_spec.rb +96 -0
- data/spec/models/ssh_server_host_key_spec.rb +66 -0
- data/spec/models/ssh_spec.rb +60 -0
- data/spec/models/status_spec.rb +54 -0
- data/spec/models/steam_spec.rb +168 -0
- data/spec/models/subject_key_info_spec.rb +66 -0
- data/spec/models/system_capabilities_spec.rb +96 -0
- data/spec/models/tacacs_plus_spec.rb +72 -0
- data/spec/models/target_spec.rb +72 -0
- data/spec/models/team_viewer_spec.rb +36 -0
- data/spec/models/telnet_spec.rb +54 -0
- data/spec/models/text_message_spec.rb +60 -0
- data/spec/models/threat_actor_spec.rb +60 -0
- data/spec/models/threat_details_spec.rb +54 -0
- data/spec/models/threat_malware_spec.rb +60 -0
- data/spec/models/threat_spec.rb +94 -0
- data/spec/models/tibia_spec.rb +78 -0
- data/spec/models/tls_chain_spec.rb +48 -0
- data/spec/models/tls_spec.rb +76 -0
- data/spec/models/tls_version_data_spec.rb +52 -0
- data/spec/models/tor_service_descriptor_spec.rb +54 -0
- data/spec/models/tplink_kasa_spec.rb +120 -0
- data/spec/models/tracked_scan_scan_target_host_port_spec.rb +42 -0
- data/spec/models/tracked_scan_scan_target_hostname_port_spec.rb +42 -0
- data/spec/models/tracked_scan_scan_target_spec.rb +54 -0
- data/spec/models/tracked_scan_spec.rb +60 -0
- data/spec/models/tracked_scan_task_spec.rb +52 -0
- data/spec/models/unitronics_pcom_spec.rb +90 -0
- data/spec/models/unrecognized_public_key_spec.rb +36 -0
- data/spec/models/upnp_device_spec.rb +120 -0
- data/spec/models/upnp_service_spec.rb +60 -0
- data/spec/models/upnp_spec.rb +54 -0
- data/spec/models/upnp_spec_version_spec.rb +42 -0
- data/spec/models/user_notice_spec.rb +42 -0
- data/spec/models/user_spec.rb +42 -0
- data/spec/models/validation_spec.rb +54 -0
- data/spec/models/validity_period_spec.rb +48 -0
- data/spec/models/value_counts_response_spec.rb +36 -0
- data/spec/models/ventrilo_header_spec.rb +60 -0
- data/spec/models/ventrilo_message_spec.rb +48 -0
- data/spec/models/ventrilo_spec.rb +42 -0
- data/spec/models/vnc_key_value_spec.rb +42 -0
- data/spec/models/vnc_spec.rb +66 -0
- data/spec/models/vuln_spec.rb +108 -0
- data/spec/models/web_origin_spec.rb +42 -0
- data/spec/models/weblogic_t3_spec.rb +48 -0
- data/spec/models/webproperty_asset_spec.rb +42 -0
- data/spec/models/webproperty_spec.rb +120 -0
- data/spec/models/whois_spec.rb +42 -0
- data/spec/models/whois_updated_spec.rb +42 -0
- data/spec/models/winrm_spec.rb +42 -0
- data/spec/models/worker_spec.rb +54 -0
- data/spec/models/ws_discovery_spec.rb +54 -0
- data/spec/models/x11_spec.rb +54 -0
- data/spec/models/z_lint_spec.rb +72 -0
- data/spec/models/zeromq_greeting_spec.rb +60 -0
- data/spec/models/zeromq_handshake_spec.rb +48 -0
- data/spec/models/zeromq_spec.rb +54 -0
- data/spec/spec_helper.rb +111 -0
- metadata +2095 -0
|
@@ -0,0 +1,1383 @@
|
|
|
1
|
+
# CensysApi::GlobalDataApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.platform.censys.io*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**v3_globaldata_asset_certificate**](GlobalDataApi.md#v3_globaldata_asset_certificate) | **GET** /v3/global/asset/certificate/{certificate_id} | Get a certificate |
|
|
8
|
+
| [**v3_globaldata_asset_certificate_list**](GlobalDataApi.md#v3_globaldata_asset_certificate_list) | **GET** /v3/global/asset/certificate | Retrieve multiple certificates |
|
|
9
|
+
| [**v3_globaldata_asset_certificate_list_post**](GlobalDataApi.md#v3_globaldata_asset_certificate_list_post) | **POST** /v3/global/asset/certificate | Retrieve multiple certificates |
|
|
10
|
+
| [**v3_globaldata_asset_certificate_list_raw**](GlobalDataApi.md#v3_globaldata_asset_certificate_list_raw) | **GET** /v3/global/asset/certificate/raw | Retrieve multiple certificates in PEM format |
|
|
11
|
+
| [**v3_globaldata_asset_certificate_list_raw_post**](GlobalDataApi.md#v3_globaldata_asset_certificate_list_raw_post) | **POST** /v3/global/asset/certificate/raw | Retrieve multiple certificates in PEM format |
|
|
12
|
+
| [**v3_globaldata_asset_certificate_raw**](GlobalDataApi.md#v3_globaldata_asset_certificate_raw) | **GET** /v3/global/asset/certificate/{certificate_id}/raw | Get a certificate in PEM format |
|
|
13
|
+
| [**v3_globaldata_asset_host**](GlobalDataApi.md#v3_globaldata_asset_host) | **GET** /v3/global/asset/host/{host_id} | Get a host |
|
|
14
|
+
| [**v3_globaldata_asset_host_list**](GlobalDataApi.md#v3_globaldata_asset_host_list) | **GET** /v3/global/asset/host | Retrieve multiple hosts |
|
|
15
|
+
| [**v3_globaldata_asset_host_list_post**](GlobalDataApi.md#v3_globaldata_asset_host_list_post) | **POST** /v3/global/asset/host | Retrieve multiple hosts |
|
|
16
|
+
| [**v3_globaldata_asset_host_timeline**](GlobalDataApi.md#v3_globaldata_asset_host_timeline) | **GET** /v3/global/asset/host/{host_id}/timeline | Get host event history |
|
|
17
|
+
| [**v3_globaldata_asset_webproperty**](GlobalDataApi.md#v3_globaldata_asset_webproperty) | **GET** /v3/global/asset/webproperty/{webproperty_id} | Get a web property |
|
|
18
|
+
| [**v3_globaldata_asset_webproperty_list**](GlobalDataApi.md#v3_globaldata_asset_webproperty_list) | **GET** /v3/global/asset/webproperty | Retrieve multiple web properties |
|
|
19
|
+
| [**v3_globaldata_asset_webproperty_list_post**](GlobalDataApi.md#v3_globaldata_asset_webproperty_list_post) | **POST** /v3/global/asset/webproperty | Retrieve multiple web properties |
|
|
20
|
+
| [**v3_globaldata_scans_get**](GlobalDataApi.md#v3_globaldata_scans_get) | **GET** /v3/global/scans/{scan_id} | Get scan status |
|
|
21
|
+
| [**v3_globaldata_scans_rescan**](GlobalDataApi.md#v3_globaldata_scans_rescan) | **POST** /v3/global/scans/rescan | Live Rescan: Initiate a new rescan |
|
|
22
|
+
| [**v3_globaldata_search_aggregate**](GlobalDataApi.md#v3_globaldata_search_aggregate) | **POST** /v3/global/search/aggregate | Aggregate results for a search query |
|
|
23
|
+
| [**v3_globaldata_search_convert**](GlobalDataApi.md#v3_globaldata_search_convert) | **POST** /v3/global/search/convert | Convert Legacy Search queries to Platform queries |
|
|
24
|
+
| [**v3_globaldata_search_query**](GlobalDataApi.md#v3_globaldata_search_query) | **POST** /v3/global/search/query | Run a search query |
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## v3_globaldata_asset_certificate
|
|
28
|
+
|
|
29
|
+
> <ResponseEnvelopeCertificateAsset> v3_globaldata_asset_certificate(organization_id, certificate_id, opts)
|
|
30
|
+
|
|
31
|
+
Get a certificate
|
|
32
|
+
|
|
33
|
+
Retrieve information about a single certificate. A certificate ID is its SHA-256 fingerprint in the Censys dataset.
|
|
34
|
+
|
|
35
|
+
### Examples
|
|
36
|
+
|
|
37
|
+
```ruby
|
|
38
|
+
require 'time'
|
|
39
|
+
require 'censys'
|
|
40
|
+
# setup authorization
|
|
41
|
+
CensysApi.configure do |config|
|
|
42
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
43
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
47
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
48
|
+
certificate_id = '3daf2843a77b6f4e6af43cd9b6f6746053b8c928e056e8a724808db8905a94cf' # String | The SHA-256 certificate fingerprint.
|
|
49
|
+
opts = {
|
|
50
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
begin
|
|
54
|
+
# Get a certificate
|
|
55
|
+
result = api_instance.v3_globaldata_asset_certificate(organization_id, certificate_id, opts)
|
|
56
|
+
p result
|
|
57
|
+
rescue CensysApi::ApiError => e
|
|
58
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_certificate: #{e}"
|
|
59
|
+
end
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
#### Using the v3_globaldata_asset_certificate_with_http_info variant
|
|
63
|
+
|
|
64
|
+
This returns an Array which contains the response data, status code and headers.
|
|
65
|
+
|
|
66
|
+
> <Array(<ResponseEnvelopeCertificateAsset>, Integer, Hash)> v3_globaldata_asset_certificate_with_http_info(organization_id, certificate_id, opts)
|
|
67
|
+
|
|
68
|
+
```ruby
|
|
69
|
+
begin
|
|
70
|
+
# Get a certificate
|
|
71
|
+
data, status_code, headers = api_instance.v3_globaldata_asset_certificate_with_http_info(organization_id, certificate_id, opts)
|
|
72
|
+
p status_code # => 2xx
|
|
73
|
+
p headers # => { ... }
|
|
74
|
+
p data # => <ResponseEnvelopeCertificateAsset>
|
|
75
|
+
rescue CensysApi::ApiError => e
|
|
76
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_certificate_with_http_info: #{e}"
|
|
77
|
+
end
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Parameters
|
|
81
|
+
|
|
82
|
+
| Name | Type | Description | Notes |
|
|
83
|
+
| ---- | ---- | ----------- | ----- |
|
|
84
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
85
|
+
| **certificate_id** | **String** | The SHA-256 certificate fingerprint. | |
|
|
86
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
87
|
+
|
|
88
|
+
### Return type
|
|
89
|
+
|
|
90
|
+
[**ResponseEnvelopeCertificateAsset**](ResponseEnvelopeCertificateAsset.md)
|
|
91
|
+
|
|
92
|
+
### Authorization
|
|
93
|
+
|
|
94
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
95
|
+
|
|
96
|
+
### HTTP request headers
|
|
97
|
+
|
|
98
|
+
- **Content-Type**: Not defined
|
|
99
|
+
- **Accept**: application/vnd.censys.api.v3.certificate.v1+json, application/problem+json
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
## v3_globaldata_asset_certificate_list
|
|
103
|
+
|
|
104
|
+
> <ResponseEnvelopeListCertificateAsset> v3_globaldata_asset_certificate_list(organization_id, certificate_ids, opts)
|
|
105
|
+
|
|
106
|
+
Retrieve multiple certificates
|
|
107
|
+
|
|
108
|
+
Retrieve information about multiple certificates. A certificate ID is its SHA-256 fingerprint in the Censys dataset.<br><br>The GET method of this endpoint is deprecated, but will continue to be supported for backwards compatibility. Please use the [POST variant](https://docs.censys.com/reference/v3-globaldata-asset-certificate-list-post#/) of this endpoint instead.
|
|
109
|
+
|
|
110
|
+
### Examples
|
|
111
|
+
|
|
112
|
+
```ruby
|
|
113
|
+
require 'time'
|
|
114
|
+
require 'censys'
|
|
115
|
+
# setup authorization
|
|
116
|
+
CensysApi.configure do |config|
|
|
117
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
118
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
122
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
123
|
+
certificate_ids = ['inner_example'] # Array<String> | A list of SHA-256 certificate fingerprints.
|
|
124
|
+
opts = {
|
|
125
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
begin
|
|
129
|
+
# Retrieve multiple certificates
|
|
130
|
+
result = api_instance.v3_globaldata_asset_certificate_list(organization_id, certificate_ids, opts)
|
|
131
|
+
p result
|
|
132
|
+
rescue CensysApi::ApiError => e
|
|
133
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_certificate_list: #{e}"
|
|
134
|
+
end
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
#### Using the v3_globaldata_asset_certificate_list_with_http_info variant
|
|
138
|
+
|
|
139
|
+
This returns an Array which contains the response data, status code and headers.
|
|
140
|
+
|
|
141
|
+
> <Array(<ResponseEnvelopeListCertificateAsset>, Integer, Hash)> v3_globaldata_asset_certificate_list_with_http_info(organization_id, certificate_ids, opts)
|
|
142
|
+
|
|
143
|
+
```ruby
|
|
144
|
+
begin
|
|
145
|
+
# Retrieve multiple certificates
|
|
146
|
+
data, status_code, headers = api_instance.v3_globaldata_asset_certificate_list_with_http_info(organization_id, certificate_ids, opts)
|
|
147
|
+
p status_code # => 2xx
|
|
148
|
+
p headers # => { ... }
|
|
149
|
+
p data # => <ResponseEnvelopeListCertificateAsset>
|
|
150
|
+
rescue CensysApi::ApiError => e
|
|
151
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_certificate_list_with_http_info: #{e}"
|
|
152
|
+
end
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### Parameters
|
|
156
|
+
|
|
157
|
+
| Name | Type | Description | Notes |
|
|
158
|
+
| ---- | ---- | ----------- | ----- |
|
|
159
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
160
|
+
| **certificate_ids** | [**Array<String>**](String.md) | A list of SHA-256 certificate fingerprints. | |
|
|
161
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
162
|
+
|
|
163
|
+
### Return type
|
|
164
|
+
|
|
165
|
+
[**ResponseEnvelopeListCertificateAsset**](ResponseEnvelopeListCertificateAsset.md)
|
|
166
|
+
|
|
167
|
+
### Authorization
|
|
168
|
+
|
|
169
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
170
|
+
|
|
171
|
+
### HTTP request headers
|
|
172
|
+
|
|
173
|
+
- **Content-Type**: Not defined
|
|
174
|
+
- **Accept**: application/vnd.censys.api.v3.certificate.v1+json, application/problem+json
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
## v3_globaldata_asset_certificate_list_post
|
|
178
|
+
|
|
179
|
+
> <ResponseEnvelopeListCertificateAsset> v3_globaldata_asset_certificate_list_post(organization_id, asset_certificate_list_input_body, opts)
|
|
180
|
+
|
|
181
|
+
Retrieve multiple certificates
|
|
182
|
+
|
|
183
|
+
Retrieve information about multiple certificates. A certificate ID is its SHA-256 fingerprint in the Censys dataset.
|
|
184
|
+
|
|
185
|
+
### Examples
|
|
186
|
+
|
|
187
|
+
```ruby
|
|
188
|
+
require 'time'
|
|
189
|
+
require 'censys'
|
|
190
|
+
# setup authorization
|
|
191
|
+
CensysApi.configure do |config|
|
|
192
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
193
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
197
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
198
|
+
asset_certificate_list_input_body = CensysApi::AssetCertificateListInputBody.new({certificate_ids: ['certificate_ids_example']}) # AssetCertificateListInputBody |
|
|
199
|
+
opts = {
|
|
200
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
begin
|
|
204
|
+
# Retrieve multiple certificates
|
|
205
|
+
result = api_instance.v3_globaldata_asset_certificate_list_post(organization_id, asset_certificate_list_input_body, opts)
|
|
206
|
+
p result
|
|
207
|
+
rescue CensysApi::ApiError => e
|
|
208
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_certificate_list_post: #{e}"
|
|
209
|
+
end
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
#### Using the v3_globaldata_asset_certificate_list_post_with_http_info variant
|
|
213
|
+
|
|
214
|
+
This returns an Array which contains the response data, status code and headers.
|
|
215
|
+
|
|
216
|
+
> <Array(<ResponseEnvelopeListCertificateAsset>, Integer, Hash)> v3_globaldata_asset_certificate_list_post_with_http_info(organization_id, asset_certificate_list_input_body, opts)
|
|
217
|
+
|
|
218
|
+
```ruby
|
|
219
|
+
begin
|
|
220
|
+
# Retrieve multiple certificates
|
|
221
|
+
data, status_code, headers = api_instance.v3_globaldata_asset_certificate_list_post_with_http_info(organization_id, asset_certificate_list_input_body, opts)
|
|
222
|
+
p status_code # => 2xx
|
|
223
|
+
p headers # => { ... }
|
|
224
|
+
p data # => <ResponseEnvelopeListCertificateAsset>
|
|
225
|
+
rescue CensysApi::ApiError => e
|
|
226
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_certificate_list_post_with_http_info: #{e}"
|
|
227
|
+
end
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### Parameters
|
|
231
|
+
|
|
232
|
+
| Name | Type | Description | Notes |
|
|
233
|
+
| ---- | ---- | ----------- | ----- |
|
|
234
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
235
|
+
| **asset_certificate_list_input_body** | [**AssetCertificateListInputBody**](AssetCertificateListInputBody.md) | | |
|
|
236
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
237
|
+
|
|
238
|
+
### Return type
|
|
239
|
+
|
|
240
|
+
[**ResponseEnvelopeListCertificateAsset**](ResponseEnvelopeListCertificateAsset.md)
|
|
241
|
+
|
|
242
|
+
### Authorization
|
|
243
|
+
|
|
244
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
245
|
+
|
|
246
|
+
### HTTP request headers
|
|
247
|
+
|
|
248
|
+
- **Content-Type**: application/json
|
|
249
|
+
- **Accept**: application/vnd.censys.api.v3.certificate.v1+json, application/problem+json
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
## v3_globaldata_asset_certificate_list_raw
|
|
253
|
+
|
|
254
|
+
> <ResponseEnvelopeListRawCertificateResponse> v3_globaldata_asset_certificate_list_raw(organization_id, certificate_ids, opts)
|
|
255
|
+
|
|
256
|
+
Retrieve multiple certificates in PEM format
|
|
257
|
+
|
|
258
|
+
Retrieve the raw PEM-encoded format for multiple certificates. A certificate ID is its SHA-256 fingerprint in the Censys dataset.<br><br>The GET method of this endpoint is deprecated, but will continue to be supported for backwards compatibility. Please use the [POST variant](https://docs.censys.com/reference/v3-globaldata-asset-certificate-list-raw-post#/) of this endpoint instead.
|
|
259
|
+
|
|
260
|
+
### Examples
|
|
261
|
+
|
|
262
|
+
```ruby
|
|
263
|
+
require 'time'
|
|
264
|
+
require 'censys'
|
|
265
|
+
# setup authorization
|
|
266
|
+
CensysApi.configure do |config|
|
|
267
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
268
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
272
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
273
|
+
certificate_ids = ['inner_example'] # Array<String> | A list of SHA-256 certificate fingerprints.
|
|
274
|
+
opts = {
|
|
275
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
begin
|
|
279
|
+
# Retrieve multiple certificates in PEM format
|
|
280
|
+
result = api_instance.v3_globaldata_asset_certificate_list_raw(organization_id, certificate_ids, opts)
|
|
281
|
+
p result
|
|
282
|
+
rescue CensysApi::ApiError => e
|
|
283
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_certificate_list_raw: #{e}"
|
|
284
|
+
end
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
#### Using the v3_globaldata_asset_certificate_list_raw_with_http_info variant
|
|
288
|
+
|
|
289
|
+
This returns an Array which contains the response data, status code and headers.
|
|
290
|
+
|
|
291
|
+
> <Array(<ResponseEnvelopeListRawCertificateResponse>, Integer, Hash)> v3_globaldata_asset_certificate_list_raw_with_http_info(organization_id, certificate_ids, opts)
|
|
292
|
+
|
|
293
|
+
```ruby
|
|
294
|
+
begin
|
|
295
|
+
# Retrieve multiple certificates in PEM format
|
|
296
|
+
data, status_code, headers = api_instance.v3_globaldata_asset_certificate_list_raw_with_http_info(organization_id, certificate_ids, opts)
|
|
297
|
+
p status_code # => 2xx
|
|
298
|
+
p headers # => { ... }
|
|
299
|
+
p data # => <ResponseEnvelopeListRawCertificateResponse>
|
|
300
|
+
rescue CensysApi::ApiError => e
|
|
301
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_certificate_list_raw_with_http_info: #{e}"
|
|
302
|
+
end
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
### Parameters
|
|
306
|
+
|
|
307
|
+
| Name | Type | Description | Notes |
|
|
308
|
+
| ---- | ---- | ----------- | ----- |
|
|
309
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
310
|
+
| **certificate_ids** | [**Array<String>**](String.md) | A list of SHA-256 certificate fingerprints. | |
|
|
311
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
312
|
+
|
|
313
|
+
### Return type
|
|
314
|
+
|
|
315
|
+
[**ResponseEnvelopeListRawCertificateResponse**](ResponseEnvelopeListRawCertificateResponse.md)
|
|
316
|
+
|
|
317
|
+
### Authorization
|
|
318
|
+
|
|
319
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
320
|
+
|
|
321
|
+
### HTTP request headers
|
|
322
|
+
|
|
323
|
+
- **Content-Type**: Not defined
|
|
324
|
+
- **Accept**: application/json, application/problem+json
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
## v3_globaldata_asset_certificate_list_raw_post
|
|
328
|
+
|
|
329
|
+
> <ResponseEnvelopeListRawCertificateResponse> v3_globaldata_asset_certificate_list_raw_post(organization_id, asset_certificate_list_input_body, opts)
|
|
330
|
+
|
|
331
|
+
Retrieve multiple certificates in PEM format
|
|
332
|
+
|
|
333
|
+
Retrieve the raw PEM-encoded format for multiple certificates. A certificate ID is its SHA-256 fingerprint in the Censys dataset.
|
|
334
|
+
|
|
335
|
+
### Examples
|
|
336
|
+
|
|
337
|
+
```ruby
|
|
338
|
+
require 'time'
|
|
339
|
+
require 'censys'
|
|
340
|
+
# setup authorization
|
|
341
|
+
CensysApi.configure do |config|
|
|
342
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
343
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
347
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
348
|
+
asset_certificate_list_input_body = CensysApi::AssetCertificateListInputBody.new({certificate_ids: ['certificate_ids_example']}) # AssetCertificateListInputBody |
|
|
349
|
+
opts = {
|
|
350
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
begin
|
|
354
|
+
# Retrieve multiple certificates in PEM format
|
|
355
|
+
result = api_instance.v3_globaldata_asset_certificate_list_raw_post(organization_id, asset_certificate_list_input_body, opts)
|
|
356
|
+
p result
|
|
357
|
+
rescue CensysApi::ApiError => e
|
|
358
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_certificate_list_raw_post: #{e}"
|
|
359
|
+
end
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
#### Using the v3_globaldata_asset_certificate_list_raw_post_with_http_info variant
|
|
363
|
+
|
|
364
|
+
This returns an Array which contains the response data, status code and headers.
|
|
365
|
+
|
|
366
|
+
> <Array(<ResponseEnvelopeListRawCertificateResponse>, Integer, Hash)> v3_globaldata_asset_certificate_list_raw_post_with_http_info(organization_id, asset_certificate_list_input_body, opts)
|
|
367
|
+
|
|
368
|
+
```ruby
|
|
369
|
+
begin
|
|
370
|
+
# Retrieve multiple certificates in PEM format
|
|
371
|
+
data, status_code, headers = api_instance.v3_globaldata_asset_certificate_list_raw_post_with_http_info(organization_id, asset_certificate_list_input_body, opts)
|
|
372
|
+
p status_code # => 2xx
|
|
373
|
+
p headers # => { ... }
|
|
374
|
+
p data # => <ResponseEnvelopeListRawCertificateResponse>
|
|
375
|
+
rescue CensysApi::ApiError => e
|
|
376
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_certificate_list_raw_post_with_http_info: #{e}"
|
|
377
|
+
end
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
### Parameters
|
|
381
|
+
|
|
382
|
+
| Name | Type | Description | Notes |
|
|
383
|
+
| ---- | ---- | ----------- | ----- |
|
|
384
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
385
|
+
| **asset_certificate_list_input_body** | [**AssetCertificateListInputBody**](AssetCertificateListInputBody.md) | | |
|
|
386
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
387
|
+
|
|
388
|
+
### Return type
|
|
389
|
+
|
|
390
|
+
[**ResponseEnvelopeListRawCertificateResponse**](ResponseEnvelopeListRawCertificateResponse.md)
|
|
391
|
+
|
|
392
|
+
### Authorization
|
|
393
|
+
|
|
394
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
395
|
+
|
|
396
|
+
### HTTP request headers
|
|
397
|
+
|
|
398
|
+
- **Content-Type**: application/json
|
|
399
|
+
- **Accept**: application/json, application/problem+json
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
## v3_globaldata_asset_certificate_raw
|
|
403
|
+
|
|
404
|
+
> File v3_globaldata_asset_certificate_raw(organization_id, certificate_id, opts)
|
|
405
|
+
|
|
406
|
+
Get a certificate in PEM format
|
|
407
|
+
|
|
408
|
+
Retrieve the raw PEM-encoded format of a certificate. A certificate ID is its SHA-256 fingerprint in the Censys dataset.
|
|
409
|
+
|
|
410
|
+
### Examples
|
|
411
|
+
|
|
412
|
+
```ruby
|
|
413
|
+
require 'time'
|
|
414
|
+
require 'censys'
|
|
415
|
+
# setup authorization
|
|
416
|
+
CensysApi.configure do |config|
|
|
417
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
418
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
422
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
423
|
+
certificate_id = '3daf2843a77b6f4e6af43cd9b6f6746053b8c928e056e8a724808db8905a94cf' # String | The SHA-256 certificate fingerprint.
|
|
424
|
+
opts = {
|
|
425
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
begin
|
|
429
|
+
# Get a certificate in PEM format
|
|
430
|
+
result = api_instance.v3_globaldata_asset_certificate_raw(organization_id, certificate_id, opts)
|
|
431
|
+
p result
|
|
432
|
+
rescue CensysApi::ApiError => e
|
|
433
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_certificate_raw: #{e}"
|
|
434
|
+
end
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
#### Using the v3_globaldata_asset_certificate_raw_with_http_info variant
|
|
438
|
+
|
|
439
|
+
This returns an Array which contains the response data, status code and headers.
|
|
440
|
+
|
|
441
|
+
> <Array(File, Integer, Hash)> v3_globaldata_asset_certificate_raw_with_http_info(organization_id, certificate_id, opts)
|
|
442
|
+
|
|
443
|
+
```ruby
|
|
444
|
+
begin
|
|
445
|
+
# Get a certificate in PEM format
|
|
446
|
+
data, status_code, headers = api_instance.v3_globaldata_asset_certificate_raw_with_http_info(organization_id, certificate_id, opts)
|
|
447
|
+
p status_code # => 2xx
|
|
448
|
+
p headers # => { ... }
|
|
449
|
+
p data # => File
|
|
450
|
+
rescue CensysApi::ApiError => e
|
|
451
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_certificate_raw_with_http_info: #{e}"
|
|
452
|
+
end
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
### Parameters
|
|
456
|
+
|
|
457
|
+
| Name | Type | Description | Notes |
|
|
458
|
+
| ---- | ---- | ----------- | ----- |
|
|
459
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
460
|
+
| **certificate_id** | **String** | The SHA-256 certificate fingerprint. | |
|
|
461
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
462
|
+
|
|
463
|
+
### Return type
|
|
464
|
+
|
|
465
|
+
**File**
|
|
466
|
+
|
|
467
|
+
### Authorization
|
|
468
|
+
|
|
469
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
470
|
+
|
|
471
|
+
### HTTP request headers
|
|
472
|
+
|
|
473
|
+
- **Content-Type**: Not defined
|
|
474
|
+
- **Accept**: application/x-pem-file, application/problem+json
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
## v3_globaldata_asset_host
|
|
478
|
+
|
|
479
|
+
> <ResponseEnvelopeHostAsset> v3_globaldata_asset_host(organization_id, host_id, opts)
|
|
480
|
+
|
|
481
|
+
Get a host
|
|
482
|
+
|
|
483
|
+
Retrieve information about a single host. A host ID is its IP address.
|
|
484
|
+
|
|
485
|
+
### Examples
|
|
486
|
+
|
|
487
|
+
```ruby
|
|
488
|
+
require 'time'
|
|
489
|
+
require 'censys'
|
|
490
|
+
# setup authorization
|
|
491
|
+
CensysApi.configure do |config|
|
|
492
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
493
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
494
|
+
end
|
|
495
|
+
|
|
496
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
497
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
498
|
+
host_id = '8.8.8.8' # String | The IP address of a host.
|
|
499
|
+
opts = {
|
|
500
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555', # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
501
|
+
at_time: Time.parse('2025-01-01T00:00:00Z') # Time | RFC3339 Timestamp to view a host at a specific point in time. Must be a valid RFC3339 string. Ensure that you suffix the date with T00:00:00Z or a specific time.
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
begin
|
|
505
|
+
# Get a host
|
|
506
|
+
result = api_instance.v3_globaldata_asset_host(organization_id, host_id, opts)
|
|
507
|
+
p result
|
|
508
|
+
rescue CensysApi::ApiError => e
|
|
509
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_host: #{e}"
|
|
510
|
+
end
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
#### Using the v3_globaldata_asset_host_with_http_info variant
|
|
514
|
+
|
|
515
|
+
This returns an Array which contains the response data, status code and headers.
|
|
516
|
+
|
|
517
|
+
> <Array(<ResponseEnvelopeHostAsset>, Integer, Hash)> v3_globaldata_asset_host_with_http_info(organization_id, host_id, opts)
|
|
518
|
+
|
|
519
|
+
```ruby
|
|
520
|
+
begin
|
|
521
|
+
# Get a host
|
|
522
|
+
data, status_code, headers = api_instance.v3_globaldata_asset_host_with_http_info(organization_id, host_id, opts)
|
|
523
|
+
p status_code # => 2xx
|
|
524
|
+
p headers # => { ... }
|
|
525
|
+
p data # => <ResponseEnvelopeHostAsset>
|
|
526
|
+
rescue CensysApi::ApiError => e
|
|
527
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_host_with_http_info: #{e}"
|
|
528
|
+
end
|
|
529
|
+
```
|
|
530
|
+
|
|
531
|
+
### Parameters
|
|
532
|
+
|
|
533
|
+
| Name | Type | Description | Notes |
|
|
534
|
+
| ---- | ---- | ----------- | ----- |
|
|
535
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
536
|
+
| **host_id** | **String** | The IP address of a host. | |
|
|
537
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
538
|
+
| **at_time** | **Time** | RFC3339 Timestamp to view a host at a specific point in time. Must be a valid RFC3339 string. Ensure that you suffix the date with T00:00:00Z or a specific time. | [optional] |
|
|
539
|
+
|
|
540
|
+
### Return type
|
|
541
|
+
|
|
542
|
+
[**ResponseEnvelopeHostAsset**](ResponseEnvelopeHostAsset.md)
|
|
543
|
+
|
|
544
|
+
### Authorization
|
|
545
|
+
|
|
546
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
547
|
+
|
|
548
|
+
### HTTP request headers
|
|
549
|
+
|
|
550
|
+
- **Content-Type**: Not defined
|
|
551
|
+
- **Accept**: application/vnd.censys.api.v3.host.v1+json, application/problem+json
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
## v3_globaldata_asset_host_list
|
|
555
|
+
|
|
556
|
+
> <ResponseEnvelopeListHostAsset> v3_globaldata_asset_host_list(organization_id, host_ids, opts)
|
|
557
|
+
|
|
558
|
+
Retrieve multiple hosts
|
|
559
|
+
|
|
560
|
+
Retrieve information about multiple hosts. A host ID is its IP address.<br><br>The GET method of this endpoint is deprecated, but will continue to be supported for backwards compatibility. Please use the [POST variant](https://docs.censys.com/reference/v3-globaldata-asset-host-list-post#/) of this endpoint instead.
|
|
561
|
+
|
|
562
|
+
### Examples
|
|
563
|
+
|
|
564
|
+
```ruby
|
|
565
|
+
require 'time'
|
|
566
|
+
require 'censys'
|
|
567
|
+
# setup authorization
|
|
568
|
+
CensysApi.configure do |config|
|
|
569
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
570
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
571
|
+
end
|
|
572
|
+
|
|
573
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
574
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
575
|
+
host_ids = ['inner_example'] # Array<String> | A list of host IP addresses.
|
|
576
|
+
opts = {
|
|
577
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
begin
|
|
581
|
+
# Retrieve multiple hosts
|
|
582
|
+
result = api_instance.v3_globaldata_asset_host_list(organization_id, host_ids, opts)
|
|
583
|
+
p result
|
|
584
|
+
rescue CensysApi::ApiError => e
|
|
585
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_host_list: #{e}"
|
|
586
|
+
end
|
|
587
|
+
```
|
|
588
|
+
|
|
589
|
+
#### Using the v3_globaldata_asset_host_list_with_http_info variant
|
|
590
|
+
|
|
591
|
+
This returns an Array which contains the response data, status code and headers.
|
|
592
|
+
|
|
593
|
+
> <Array(<ResponseEnvelopeListHostAsset>, Integer, Hash)> v3_globaldata_asset_host_list_with_http_info(organization_id, host_ids, opts)
|
|
594
|
+
|
|
595
|
+
```ruby
|
|
596
|
+
begin
|
|
597
|
+
# Retrieve multiple hosts
|
|
598
|
+
data, status_code, headers = api_instance.v3_globaldata_asset_host_list_with_http_info(organization_id, host_ids, opts)
|
|
599
|
+
p status_code # => 2xx
|
|
600
|
+
p headers # => { ... }
|
|
601
|
+
p data # => <ResponseEnvelopeListHostAsset>
|
|
602
|
+
rescue CensysApi::ApiError => e
|
|
603
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_host_list_with_http_info: #{e}"
|
|
604
|
+
end
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
### Parameters
|
|
608
|
+
|
|
609
|
+
| Name | Type | Description | Notes |
|
|
610
|
+
| ---- | ---- | ----------- | ----- |
|
|
611
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
612
|
+
| **host_ids** | [**Array<String>**](String.md) | A list of host IP addresses. | |
|
|
613
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
614
|
+
|
|
615
|
+
### Return type
|
|
616
|
+
|
|
617
|
+
[**ResponseEnvelopeListHostAsset**](ResponseEnvelopeListHostAsset.md)
|
|
618
|
+
|
|
619
|
+
### Authorization
|
|
620
|
+
|
|
621
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
622
|
+
|
|
623
|
+
### HTTP request headers
|
|
624
|
+
|
|
625
|
+
- **Content-Type**: Not defined
|
|
626
|
+
- **Accept**: application/vnd.censys.api.v3.host.v1+json, application/problem+json
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
## v3_globaldata_asset_host_list_post
|
|
630
|
+
|
|
631
|
+
> <ResponseEnvelopeListHostAsset> v3_globaldata_asset_host_list_post(organization_id, asset_host_list_input_body, opts)
|
|
632
|
+
|
|
633
|
+
Retrieve multiple hosts
|
|
634
|
+
|
|
635
|
+
Retrieve information about multiple hosts. A host ID is its IP address.
|
|
636
|
+
|
|
637
|
+
### Examples
|
|
638
|
+
|
|
639
|
+
```ruby
|
|
640
|
+
require 'time'
|
|
641
|
+
require 'censys'
|
|
642
|
+
# setup authorization
|
|
643
|
+
CensysApi.configure do |config|
|
|
644
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
645
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
646
|
+
end
|
|
647
|
+
|
|
648
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
649
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
650
|
+
asset_host_list_input_body = CensysApi::AssetHostListInputBody.new({host_ids: ['host_ids_example']}) # AssetHostListInputBody |
|
|
651
|
+
opts = {
|
|
652
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
begin
|
|
656
|
+
# Retrieve multiple hosts
|
|
657
|
+
result = api_instance.v3_globaldata_asset_host_list_post(organization_id, asset_host_list_input_body, opts)
|
|
658
|
+
p result
|
|
659
|
+
rescue CensysApi::ApiError => e
|
|
660
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_host_list_post: #{e}"
|
|
661
|
+
end
|
|
662
|
+
```
|
|
663
|
+
|
|
664
|
+
#### Using the v3_globaldata_asset_host_list_post_with_http_info variant
|
|
665
|
+
|
|
666
|
+
This returns an Array which contains the response data, status code and headers.
|
|
667
|
+
|
|
668
|
+
> <Array(<ResponseEnvelopeListHostAsset>, Integer, Hash)> v3_globaldata_asset_host_list_post_with_http_info(organization_id, asset_host_list_input_body, opts)
|
|
669
|
+
|
|
670
|
+
```ruby
|
|
671
|
+
begin
|
|
672
|
+
# Retrieve multiple hosts
|
|
673
|
+
data, status_code, headers = api_instance.v3_globaldata_asset_host_list_post_with_http_info(organization_id, asset_host_list_input_body, opts)
|
|
674
|
+
p status_code # => 2xx
|
|
675
|
+
p headers # => { ... }
|
|
676
|
+
p data # => <ResponseEnvelopeListHostAsset>
|
|
677
|
+
rescue CensysApi::ApiError => e
|
|
678
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_host_list_post_with_http_info: #{e}"
|
|
679
|
+
end
|
|
680
|
+
```
|
|
681
|
+
|
|
682
|
+
### Parameters
|
|
683
|
+
|
|
684
|
+
| Name | Type | Description | Notes |
|
|
685
|
+
| ---- | ---- | ----------- | ----- |
|
|
686
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
687
|
+
| **asset_host_list_input_body** | [**AssetHostListInputBody**](AssetHostListInputBody.md) | | |
|
|
688
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
689
|
+
|
|
690
|
+
### Return type
|
|
691
|
+
|
|
692
|
+
[**ResponseEnvelopeListHostAsset**](ResponseEnvelopeListHostAsset.md)
|
|
693
|
+
|
|
694
|
+
### Authorization
|
|
695
|
+
|
|
696
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
697
|
+
|
|
698
|
+
### HTTP request headers
|
|
699
|
+
|
|
700
|
+
- **Content-Type**: application/json
|
|
701
|
+
- **Accept**: application/vnd.censys.api.v3.host.v1+json, application/problem+json
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
## v3_globaldata_asset_host_timeline
|
|
705
|
+
|
|
706
|
+
> <ResponseEnvelopeHostTimeline> v3_globaldata_asset_host_timeline(organization_id, host_id, start_time, end_time, opts)
|
|
707
|
+
|
|
708
|
+
Get host event history
|
|
709
|
+
|
|
710
|
+
Retrieve event history for a host. A host ID is its IP address.<br><br>Note that when a service protocol changes after a new scan (for example, from `UNKNOWN` to `NETBIOS`), this information will only be reflected in the `scan` object. It will not be shown in the `service_scanned diff` object.
|
|
711
|
+
|
|
712
|
+
### Examples
|
|
713
|
+
|
|
714
|
+
```ruby
|
|
715
|
+
require 'time'
|
|
716
|
+
require 'censys'
|
|
717
|
+
# setup authorization
|
|
718
|
+
CensysApi.configure do |config|
|
|
719
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
720
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
721
|
+
end
|
|
722
|
+
|
|
723
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
724
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
725
|
+
host_id = '8.8.8.8' # String | The IP address of a host.
|
|
726
|
+
start_time = Time.parse('2025-01-02T00:00:00Z') # Time | Start time of the host timeline. Equivalent to the To field in the event history UI. This must be the timestamp closest to the current time. For example, if you want events from January 1, 2025 to the start of January 2, 2025, input the January 2 timestamp here. Must be a valid RFC3339 string. Ensure that you suffix the date with T00:00:00Z or a specific time.
|
|
727
|
+
end_time = Time.parse('2025-01-01T00:00:00Z') # Time | End time of the host timeline. Equivalent to the From field in the event history UI. This must be the timestamp furthest from the current time. For example, if you want events from January 1, 2025 to the start of January 2, 2025, input the January 1 timestamp here. Must be a valid RFC3339 string. Ensure that you suffix the date with T00:00:00Z or a specific time.
|
|
728
|
+
opts = {
|
|
729
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
begin
|
|
733
|
+
# Get host event history
|
|
734
|
+
result = api_instance.v3_globaldata_asset_host_timeline(organization_id, host_id, start_time, end_time, opts)
|
|
735
|
+
p result
|
|
736
|
+
rescue CensysApi::ApiError => e
|
|
737
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_host_timeline: #{e}"
|
|
738
|
+
end
|
|
739
|
+
```
|
|
740
|
+
|
|
741
|
+
#### Using the v3_globaldata_asset_host_timeline_with_http_info variant
|
|
742
|
+
|
|
743
|
+
This returns an Array which contains the response data, status code and headers.
|
|
744
|
+
|
|
745
|
+
> <Array(<ResponseEnvelopeHostTimeline>, Integer, Hash)> v3_globaldata_asset_host_timeline_with_http_info(organization_id, host_id, start_time, end_time, opts)
|
|
746
|
+
|
|
747
|
+
```ruby
|
|
748
|
+
begin
|
|
749
|
+
# Get host event history
|
|
750
|
+
data, status_code, headers = api_instance.v3_globaldata_asset_host_timeline_with_http_info(organization_id, host_id, start_time, end_time, opts)
|
|
751
|
+
p status_code # => 2xx
|
|
752
|
+
p headers # => { ... }
|
|
753
|
+
p data # => <ResponseEnvelopeHostTimeline>
|
|
754
|
+
rescue CensysApi::ApiError => e
|
|
755
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_host_timeline_with_http_info: #{e}"
|
|
756
|
+
end
|
|
757
|
+
```
|
|
758
|
+
|
|
759
|
+
### Parameters
|
|
760
|
+
|
|
761
|
+
| Name | Type | Description | Notes |
|
|
762
|
+
| ---- | ---- | ----------- | ----- |
|
|
763
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
764
|
+
| **host_id** | **String** | The IP address of a host. | |
|
|
765
|
+
| **start_time** | **Time** | Start time of the host timeline. Equivalent to the To field in the event history UI. This must be the timestamp closest to the current time. For example, if you want events from January 1, 2025 to the start of January 2, 2025, input the January 2 timestamp here. Must be a valid RFC3339 string. Ensure that you suffix the date with T00:00:00Z or a specific time. | |
|
|
766
|
+
| **end_time** | **Time** | End time of the host timeline. Equivalent to the From field in the event history UI. This must be the timestamp furthest from the current time. For example, if you want events from January 1, 2025 to the start of January 2, 2025, input the January 1 timestamp here. Must be a valid RFC3339 string. Ensure that you suffix the date with T00:00:00Z or a specific time. | |
|
|
767
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
768
|
+
|
|
769
|
+
### Return type
|
|
770
|
+
|
|
771
|
+
[**ResponseEnvelopeHostTimeline**](ResponseEnvelopeHostTimeline.md)
|
|
772
|
+
|
|
773
|
+
### Authorization
|
|
774
|
+
|
|
775
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
776
|
+
|
|
777
|
+
### HTTP request headers
|
|
778
|
+
|
|
779
|
+
- **Content-Type**: Not defined
|
|
780
|
+
- **Accept**: application/vnd.censys.api.v3.host_timeline_event.v1+json, application/problem+json
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
## v3_globaldata_asset_webproperty
|
|
784
|
+
|
|
785
|
+
> <ResponseEnvelopeWebpropertyAsset> v3_globaldata_asset_webproperty(organization_id, webproperty_id, opts)
|
|
786
|
+
|
|
787
|
+
Get a web property
|
|
788
|
+
|
|
789
|
+
Retrieve information about a single web property. Web properties are identified using a combination of a hostname and port joined with a colon, such as `platform.censys.io:80`.
|
|
790
|
+
|
|
791
|
+
### Examples
|
|
792
|
+
|
|
793
|
+
```ruby
|
|
794
|
+
require 'time'
|
|
795
|
+
require 'censys'
|
|
796
|
+
# setup authorization
|
|
797
|
+
CensysApi.configure do |config|
|
|
798
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
799
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
800
|
+
end
|
|
801
|
+
|
|
802
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
803
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
804
|
+
webproperty_id = 'platform.censys.io:80' # String | A web property identifier.
|
|
805
|
+
opts = {
|
|
806
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555', # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
807
|
+
at_time: Time.parse('2025-01-01T00:00:00Z') # Time | RFC3339 Timestamp to view a webproperty at a specific point in time. Must be a valid RFC3339 string. Ensure that you suffix the date with T00:00:00Z or a specific time
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
begin
|
|
811
|
+
# Get a web property
|
|
812
|
+
result = api_instance.v3_globaldata_asset_webproperty(organization_id, webproperty_id, opts)
|
|
813
|
+
p result
|
|
814
|
+
rescue CensysApi::ApiError => e
|
|
815
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_webproperty: #{e}"
|
|
816
|
+
end
|
|
817
|
+
```
|
|
818
|
+
|
|
819
|
+
#### Using the v3_globaldata_asset_webproperty_with_http_info variant
|
|
820
|
+
|
|
821
|
+
This returns an Array which contains the response data, status code and headers.
|
|
822
|
+
|
|
823
|
+
> <Array(<ResponseEnvelopeWebpropertyAsset>, Integer, Hash)> v3_globaldata_asset_webproperty_with_http_info(organization_id, webproperty_id, opts)
|
|
824
|
+
|
|
825
|
+
```ruby
|
|
826
|
+
begin
|
|
827
|
+
# Get a web property
|
|
828
|
+
data, status_code, headers = api_instance.v3_globaldata_asset_webproperty_with_http_info(organization_id, webproperty_id, opts)
|
|
829
|
+
p status_code # => 2xx
|
|
830
|
+
p headers # => { ... }
|
|
831
|
+
p data # => <ResponseEnvelopeWebpropertyAsset>
|
|
832
|
+
rescue CensysApi::ApiError => e
|
|
833
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_webproperty_with_http_info: #{e}"
|
|
834
|
+
end
|
|
835
|
+
```
|
|
836
|
+
|
|
837
|
+
### Parameters
|
|
838
|
+
|
|
839
|
+
| Name | Type | Description | Notes |
|
|
840
|
+
| ---- | ---- | ----------- | ----- |
|
|
841
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
842
|
+
| **webproperty_id** | **String** | A web property identifier. | |
|
|
843
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
844
|
+
| **at_time** | **Time** | RFC3339 Timestamp to view a webproperty at a specific point in time. Must be a valid RFC3339 string. Ensure that you suffix the date with T00:00:00Z or a specific time | [optional] |
|
|
845
|
+
|
|
846
|
+
### Return type
|
|
847
|
+
|
|
848
|
+
[**ResponseEnvelopeWebpropertyAsset**](ResponseEnvelopeWebpropertyAsset.md)
|
|
849
|
+
|
|
850
|
+
### Authorization
|
|
851
|
+
|
|
852
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
853
|
+
|
|
854
|
+
### HTTP request headers
|
|
855
|
+
|
|
856
|
+
- **Content-Type**: Not defined
|
|
857
|
+
- **Accept**: application/vnd.censys.api.v3.webproperty.v1+json, application/problem+json
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
## v3_globaldata_asset_webproperty_list
|
|
861
|
+
|
|
862
|
+
> <ResponseEnvelopeListWebpropertyAsset> v3_globaldata_asset_webproperty_list(organization_id, webproperty_ids, opts)
|
|
863
|
+
|
|
864
|
+
Retrieve multiple web properties
|
|
865
|
+
|
|
866
|
+
Retrieve information about multiple web properties. Web properties are identified using a combination of a hostname and port joined with a colon, such as `platform.censys.io:80`.<br><br>The GET method of this endpoint is deprecated, but will continue to be supported for backwards compatibility. Please use the [POST variant](https://docs.censys.com/reference/v3-globaldata-asset-webproperty-list-post#/) of this endpoint instead.
|
|
867
|
+
|
|
868
|
+
### Examples
|
|
869
|
+
|
|
870
|
+
```ruby
|
|
871
|
+
require 'time'
|
|
872
|
+
require 'censys'
|
|
873
|
+
# setup authorization
|
|
874
|
+
CensysApi.configure do |config|
|
|
875
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
876
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
877
|
+
end
|
|
878
|
+
|
|
879
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
880
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
881
|
+
webproperty_ids = ['inner_example'] # Array<String> | A list of web property identifiers.
|
|
882
|
+
opts = {
|
|
883
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
begin
|
|
887
|
+
# Retrieve multiple web properties
|
|
888
|
+
result = api_instance.v3_globaldata_asset_webproperty_list(organization_id, webproperty_ids, opts)
|
|
889
|
+
p result
|
|
890
|
+
rescue CensysApi::ApiError => e
|
|
891
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_webproperty_list: #{e}"
|
|
892
|
+
end
|
|
893
|
+
```
|
|
894
|
+
|
|
895
|
+
#### Using the v3_globaldata_asset_webproperty_list_with_http_info variant
|
|
896
|
+
|
|
897
|
+
This returns an Array which contains the response data, status code and headers.
|
|
898
|
+
|
|
899
|
+
> <Array(<ResponseEnvelopeListWebpropertyAsset>, Integer, Hash)> v3_globaldata_asset_webproperty_list_with_http_info(organization_id, webproperty_ids, opts)
|
|
900
|
+
|
|
901
|
+
```ruby
|
|
902
|
+
begin
|
|
903
|
+
# Retrieve multiple web properties
|
|
904
|
+
data, status_code, headers = api_instance.v3_globaldata_asset_webproperty_list_with_http_info(organization_id, webproperty_ids, opts)
|
|
905
|
+
p status_code # => 2xx
|
|
906
|
+
p headers # => { ... }
|
|
907
|
+
p data # => <ResponseEnvelopeListWebpropertyAsset>
|
|
908
|
+
rescue CensysApi::ApiError => e
|
|
909
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_webproperty_list_with_http_info: #{e}"
|
|
910
|
+
end
|
|
911
|
+
```
|
|
912
|
+
|
|
913
|
+
### Parameters
|
|
914
|
+
|
|
915
|
+
| Name | Type | Description | Notes |
|
|
916
|
+
| ---- | ---- | ----------- | ----- |
|
|
917
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
918
|
+
| **webproperty_ids** | [**Array<String>**](String.md) | A list of web property identifiers. | |
|
|
919
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
920
|
+
|
|
921
|
+
### Return type
|
|
922
|
+
|
|
923
|
+
[**ResponseEnvelopeListWebpropertyAsset**](ResponseEnvelopeListWebpropertyAsset.md)
|
|
924
|
+
|
|
925
|
+
### Authorization
|
|
926
|
+
|
|
927
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
928
|
+
|
|
929
|
+
### HTTP request headers
|
|
930
|
+
|
|
931
|
+
- **Content-Type**: Not defined
|
|
932
|
+
- **Accept**: application/vnd.censys.api.v3.webproperty.v1+json, application/problem+json
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
## v3_globaldata_asset_webproperty_list_post
|
|
936
|
+
|
|
937
|
+
> <ResponseEnvelopeListWebpropertyAsset> v3_globaldata_asset_webproperty_list_post(organization_id, asset_webproperty_list_input_body, opts)
|
|
938
|
+
|
|
939
|
+
Retrieve multiple web properties
|
|
940
|
+
|
|
941
|
+
Retrieve information about multiple web properties. Web properties are identified using a combination of a hostname and port joined with a colon, such as `platform.censys.io:80`.
|
|
942
|
+
|
|
943
|
+
### Examples
|
|
944
|
+
|
|
945
|
+
```ruby
|
|
946
|
+
require 'time'
|
|
947
|
+
require 'censys'
|
|
948
|
+
# setup authorization
|
|
949
|
+
CensysApi.configure do |config|
|
|
950
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
951
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
952
|
+
end
|
|
953
|
+
|
|
954
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
955
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
956
|
+
asset_webproperty_list_input_body = CensysApi::AssetWebpropertyListInputBody.new({webproperty_ids: ['webproperty_ids_example']}) # AssetWebpropertyListInputBody |
|
|
957
|
+
opts = {
|
|
958
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
begin
|
|
962
|
+
# Retrieve multiple web properties
|
|
963
|
+
result = api_instance.v3_globaldata_asset_webproperty_list_post(organization_id, asset_webproperty_list_input_body, opts)
|
|
964
|
+
p result
|
|
965
|
+
rescue CensysApi::ApiError => e
|
|
966
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_webproperty_list_post: #{e}"
|
|
967
|
+
end
|
|
968
|
+
```
|
|
969
|
+
|
|
970
|
+
#### Using the v3_globaldata_asset_webproperty_list_post_with_http_info variant
|
|
971
|
+
|
|
972
|
+
This returns an Array which contains the response data, status code and headers.
|
|
973
|
+
|
|
974
|
+
> <Array(<ResponseEnvelopeListWebpropertyAsset>, Integer, Hash)> v3_globaldata_asset_webproperty_list_post_with_http_info(organization_id, asset_webproperty_list_input_body, opts)
|
|
975
|
+
|
|
976
|
+
```ruby
|
|
977
|
+
begin
|
|
978
|
+
# Retrieve multiple web properties
|
|
979
|
+
data, status_code, headers = api_instance.v3_globaldata_asset_webproperty_list_post_with_http_info(organization_id, asset_webproperty_list_input_body, opts)
|
|
980
|
+
p status_code # => 2xx
|
|
981
|
+
p headers # => { ... }
|
|
982
|
+
p data # => <ResponseEnvelopeListWebpropertyAsset>
|
|
983
|
+
rescue CensysApi::ApiError => e
|
|
984
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_asset_webproperty_list_post_with_http_info: #{e}"
|
|
985
|
+
end
|
|
986
|
+
```
|
|
987
|
+
|
|
988
|
+
### Parameters
|
|
989
|
+
|
|
990
|
+
| Name | Type | Description | Notes |
|
|
991
|
+
| ---- | ---- | ----------- | ----- |
|
|
992
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
993
|
+
| **asset_webproperty_list_input_body** | [**AssetWebpropertyListInputBody**](AssetWebpropertyListInputBody.md) | | |
|
|
994
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
995
|
+
|
|
996
|
+
### Return type
|
|
997
|
+
|
|
998
|
+
[**ResponseEnvelopeListWebpropertyAsset**](ResponseEnvelopeListWebpropertyAsset.md)
|
|
999
|
+
|
|
1000
|
+
### Authorization
|
|
1001
|
+
|
|
1002
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
1003
|
+
|
|
1004
|
+
### HTTP request headers
|
|
1005
|
+
|
|
1006
|
+
- **Content-Type**: application/json
|
|
1007
|
+
- **Accept**: application/vnd.censys.api.v3.webproperty.v1+json, application/problem+json
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
## v3_globaldata_scans_get
|
|
1011
|
+
|
|
1012
|
+
> <ResponseEnvelopeTrackedScan> v3_globaldata_scans_get(organization_id, scan_id, opts)
|
|
1013
|
+
|
|
1014
|
+
Get scan status
|
|
1015
|
+
|
|
1016
|
+
Retrieve the current status of a scan by its ID. This endpoint works for both [Live Discovery scans](https://docs.censys.com/reference/v3-threathunting-scans-discovery#/) and [Live Rescans](https://docs.censys.com/reference/v3-globaldata-scans-rescan#/).<br><br>If the scan was successful, perform a lookup on the target asset to retrieve detailed scan information.<br><br>This endpoint is available to all Enterprise customers. This endpoint does not cost any credits to execute.
|
|
1017
|
+
|
|
1018
|
+
### Examples
|
|
1019
|
+
|
|
1020
|
+
```ruby
|
|
1021
|
+
require 'time'
|
|
1022
|
+
require 'censys'
|
|
1023
|
+
# setup authorization
|
|
1024
|
+
CensysApi.configure do |config|
|
|
1025
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
1026
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1027
|
+
end
|
|
1028
|
+
|
|
1029
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
1030
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
1031
|
+
scan_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The unique identifier of the tracked scan
|
|
1032
|
+
opts = {
|
|
1033
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
begin
|
|
1037
|
+
# Get scan status
|
|
1038
|
+
result = api_instance.v3_globaldata_scans_get(organization_id, scan_id, opts)
|
|
1039
|
+
p result
|
|
1040
|
+
rescue CensysApi::ApiError => e
|
|
1041
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_scans_get: #{e}"
|
|
1042
|
+
end
|
|
1043
|
+
```
|
|
1044
|
+
|
|
1045
|
+
#### Using the v3_globaldata_scans_get_with_http_info variant
|
|
1046
|
+
|
|
1047
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1048
|
+
|
|
1049
|
+
> <Array(<ResponseEnvelopeTrackedScan>, Integer, Hash)> v3_globaldata_scans_get_with_http_info(organization_id, scan_id, opts)
|
|
1050
|
+
|
|
1051
|
+
```ruby
|
|
1052
|
+
begin
|
|
1053
|
+
# Get scan status
|
|
1054
|
+
data, status_code, headers = api_instance.v3_globaldata_scans_get_with_http_info(organization_id, scan_id, opts)
|
|
1055
|
+
p status_code # => 2xx
|
|
1056
|
+
p headers # => { ... }
|
|
1057
|
+
p data # => <ResponseEnvelopeTrackedScan>
|
|
1058
|
+
rescue CensysApi::ApiError => e
|
|
1059
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_scans_get_with_http_info: #{e}"
|
|
1060
|
+
end
|
|
1061
|
+
```
|
|
1062
|
+
|
|
1063
|
+
### Parameters
|
|
1064
|
+
|
|
1065
|
+
| Name | Type | Description | Notes |
|
|
1066
|
+
| ---- | ---- | ----------- | ----- |
|
|
1067
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
1068
|
+
| **scan_id** | **String** | The unique identifier of the tracked scan | |
|
|
1069
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
1070
|
+
|
|
1071
|
+
### Return type
|
|
1072
|
+
|
|
1073
|
+
[**ResponseEnvelopeTrackedScan**](ResponseEnvelopeTrackedScan.md)
|
|
1074
|
+
|
|
1075
|
+
### Authorization
|
|
1076
|
+
|
|
1077
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
1078
|
+
|
|
1079
|
+
### HTTP request headers
|
|
1080
|
+
|
|
1081
|
+
- **Content-Type**: Not defined
|
|
1082
|
+
- **Accept**: application/vnd.censys.api.v3.trackedscan.v1+json, application/problem+json
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
## v3_globaldata_scans_rescan
|
|
1086
|
+
|
|
1087
|
+
> <ResponseEnvelopeTrackedScan> v3_globaldata_scans_rescan(organization_id, scans_rescan_input_body, opts)
|
|
1088
|
+
|
|
1089
|
+
Live Rescan: Initiate a new rescan
|
|
1090
|
+
|
|
1091
|
+
Initiate a rescan for a known host service at a specific IP and port (`ip:port`) or hostname and port (`hostname:port`). This is equivalent to the [Live Rescan](https://docs.censys.com/docs/platform-live-rescan#/) feature available in the UI, but you can also target web properties in addition to hosts.<br><br>The scan may take several minutes to complete. The response will contain a scan ID that you can use to [monitor the scan's status](https://docs.censys.com/reference/v3-globaldata-scans-get#/). After the scan completes, perform a lookup on the target asset to retrieve detailed scan information.<br><br>This endpoint is available to all Enterprise customers. It costs 10 credits to execute.
|
|
1092
|
+
|
|
1093
|
+
### Examples
|
|
1094
|
+
|
|
1095
|
+
```ruby
|
|
1096
|
+
require 'time'
|
|
1097
|
+
require 'censys'
|
|
1098
|
+
# setup authorization
|
|
1099
|
+
CensysApi.configure do |config|
|
|
1100
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
1101
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1102
|
+
end
|
|
1103
|
+
|
|
1104
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
1105
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
1106
|
+
scans_rescan_input_body = CensysApi::ScansRescanInputBody.new({target: CensysApi::ScansRescanInputBodyTargetOneOf.new({service_id: CensysApi::ScansRescanInputBodyTargetOneOfServiceId.new({ip: 'ip_example', port: 37, protocol: 'protocol_example', transport_protocol: 'unknown'})})}) # ScansRescanInputBody |
|
|
1107
|
+
opts = {
|
|
1108
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
begin
|
|
1112
|
+
# Live Rescan: Initiate a new rescan
|
|
1113
|
+
result = api_instance.v3_globaldata_scans_rescan(organization_id, scans_rescan_input_body, opts)
|
|
1114
|
+
p result
|
|
1115
|
+
rescue CensysApi::ApiError => e
|
|
1116
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_scans_rescan: #{e}"
|
|
1117
|
+
end
|
|
1118
|
+
```
|
|
1119
|
+
|
|
1120
|
+
#### Using the v3_globaldata_scans_rescan_with_http_info variant
|
|
1121
|
+
|
|
1122
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1123
|
+
|
|
1124
|
+
> <Array(<ResponseEnvelopeTrackedScan>, Integer, Hash)> v3_globaldata_scans_rescan_with_http_info(organization_id, scans_rescan_input_body, opts)
|
|
1125
|
+
|
|
1126
|
+
```ruby
|
|
1127
|
+
begin
|
|
1128
|
+
# Live Rescan: Initiate a new rescan
|
|
1129
|
+
data, status_code, headers = api_instance.v3_globaldata_scans_rescan_with_http_info(organization_id, scans_rescan_input_body, opts)
|
|
1130
|
+
p status_code # => 2xx
|
|
1131
|
+
p headers # => { ... }
|
|
1132
|
+
p data # => <ResponseEnvelopeTrackedScan>
|
|
1133
|
+
rescue CensysApi::ApiError => e
|
|
1134
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_scans_rescan_with_http_info: #{e}"
|
|
1135
|
+
end
|
|
1136
|
+
```
|
|
1137
|
+
|
|
1138
|
+
### Parameters
|
|
1139
|
+
|
|
1140
|
+
| Name | Type | Description | Notes |
|
|
1141
|
+
| ---- | ---- | ----------- | ----- |
|
|
1142
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
1143
|
+
| **scans_rescan_input_body** | [**ScansRescanInputBody**](ScansRescanInputBody.md) | | |
|
|
1144
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
1145
|
+
|
|
1146
|
+
### Return type
|
|
1147
|
+
|
|
1148
|
+
[**ResponseEnvelopeTrackedScan**](ResponseEnvelopeTrackedScan.md)
|
|
1149
|
+
|
|
1150
|
+
### Authorization
|
|
1151
|
+
|
|
1152
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
1153
|
+
|
|
1154
|
+
### HTTP request headers
|
|
1155
|
+
|
|
1156
|
+
- **Content-Type**: application/json
|
|
1157
|
+
- **Accept**: application/json, application/problem+json
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
## v3_globaldata_search_aggregate
|
|
1161
|
+
|
|
1162
|
+
> <ResponseEnvelopeSearchAggregateResponse> v3_globaldata_search_aggregate(organization_id, search_aggregate_input_body, opts)
|
|
1163
|
+
|
|
1164
|
+
Aggregate results for a search query
|
|
1165
|
+
|
|
1166
|
+
Aggregate results for a Platform search query. This functionality is equivalent to the [Report Builder](https://docs.censys.com/docs/platform-report-builder#/) in the Platform web UI.
|
|
1167
|
+
|
|
1168
|
+
### Examples
|
|
1169
|
+
|
|
1170
|
+
```ruby
|
|
1171
|
+
require 'time'
|
|
1172
|
+
require 'censys'
|
|
1173
|
+
# setup authorization
|
|
1174
|
+
CensysApi.configure do |config|
|
|
1175
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
1176
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1177
|
+
end
|
|
1178
|
+
|
|
1179
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
1180
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
1181
|
+
search_aggregate_input_body = CensysApi::SearchAggregateInputBody.new({field: 'field_example', number_of_buckets: 3.56, query: 'query_example'}) # SearchAggregateInputBody |
|
|
1182
|
+
opts = {
|
|
1183
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
begin
|
|
1187
|
+
# Aggregate results for a search query
|
|
1188
|
+
result = api_instance.v3_globaldata_search_aggregate(organization_id, search_aggregate_input_body, opts)
|
|
1189
|
+
p result
|
|
1190
|
+
rescue CensysApi::ApiError => e
|
|
1191
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_search_aggregate: #{e}"
|
|
1192
|
+
end
|
|
1193
|
+
```
|
|
1194
|
+
|
|
1195
|
+
#### Using the v3_globaldata_search_aggregate_with_http_info variant
|
|
1196
|
+
|
|
1197
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1198
|
+
|
|
1199
|
+
> <Array(<ResponseEnvelopeSearchAggregateResponse>, Integer, Hash)> v3_globaldata_search_aggregate_with_http_info(organization_id, search_aggregate_input_body, opts)
|
|
1200
|
+
|
|
1201
|
+
```ruby
|
|
1202
|
+
begin
|
|
1203
|
+
# Aggregate results for a search query
|
|
1204
|
+
data, status_code, headers = api_instance.v3_globaldata_search_aggregate_with_http_info(organization_id, search_aggregate_input_body, opts)
|
|
1205
|
+
p status_code # => 2xx
|
|
1206
|
+
p headers # => { ... }
|
|
1207
|
+
p data # => <ResponseEnvelopeSearchAggregateResponse>
|
|
1208
|
+
rescue CensysApi::ApiError => e
|
|
1209
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_search_aggregate_with_http_info: #{e}"
|
|
1210
|
+
end
|
|
1211
|
+
```
|
|
1212
|
+
|
|
1213
|
+
### Parameters
|
|
1214
|
+
|
|
1215
|
+
| Name | Type | Description | Notes |
|
|
1216
|
+
| ---- | ---- | ----------- | ----- |
|
|
1217
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
1218
|
+
| **search_aggregate_input_body** | [**SearchAggregateInputBody**](SearchAggregateInputBody.md) | | |
|
|
1219
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
1220
|
+
|
|
1221
|
+
### Return type
|
|
1222
|
+
|
|
1223
|
+
[**ResponseEnvelopeSearchAggregateResponse**](ResponseEnvelopeSearchAggregateResponse.md)
|
|
1224
|
+
|
|
1225
|
+
### Authorization
|
|
1226
|
+
|
|
1227
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
1228
|
+
|
|
1229
|
+
### HTTP request headers
|
|
1230
|
+
|
|
1231
|
+
- **Content-Type**: application/json
|
|
1232
|
+
- **Accept**: application/json, application/problem+json
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
## v3_globaldata_search_convert
|
|
1236
|
+
|
|
1237
|
+
> <ResponseEnvelopeListSearchConvertQueryResponse> v3_globaldata_search_convert(organization_id, search_convert_query_input_body, opts)
|
|
1238
|
+
|
|
1239
|
+
Convert Legacy Search queries to Platform queries
|
|
1240
|
+
|
|
1241
|
+
Convert Censys Search Language queries used in Legacy Search into Censys Query Language (CenQL) queries for use in the Platform.<br><br>Reference the [documentation on CenQL](https://docs.censys.com/docs/censys-query-language) for more information about query syntax.
|
|
1242
|
+
|
|
1243
|
+
### Examples
|
|
1244
|
+
|
|
1245
|
+
```ruby
|
|
1246
|
+
require 'time'
|
|
1247
|
+
require 'censys'
|
|
1248
|
+
# setup authorization
|
|
1249
|
+
CensysApi.configure do |config|
|
|
1250
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
1251
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1252
|
+
end
|
|
1253
|
+
|
|
1254
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
1255
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
1256
|
+
search_convert_query_input_body = CensysApi::SearchConvertQueryInputBody.new({queries: ['queries_example']}) # SearchConvertQueryInputBody |
|
|
1257
|
+
opts = {
|
|
1258
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
begin
|
|
1262
|
+
# Convert Legacy Search queries to Platform queries
|
|
1263
|
+
result = api_instance.v3_globaldata_search_convert(organization_id, search_convert_query_input_body, opts)
|
|
1264
|
+
p result
|
|
1265
|
+
rescue CensysApi::ApiError => e
|
|
1266
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_search_convert: #{e}"
|
|
1267
|
+
end
|
|
1268
|
+
```
|
|
1269
|
+
|
|
1270
|
+
#### Using the v3_globaldata_search_convert_with_http_info variant
|
|
1271
|
+
|
|
1272
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1273
|
+
|
|
1274
|
+
> <Array(<ResponseEnvelopeListSearchConvertQueryResponse>, Integer, Hash)> v3_globaldata_search_convert_with_http_info(organization_id, search_convert_query_input_body, opts)
|
|
1275
|
+
|
|
1276
|
+
```ruby
|
|
1277
|
+
begin
|
|
1278
|
+
# Convert Legacy Search queries to Platform queries
|
|
1279
|
+
data, status_code, headers = api_instance.v3_globaldata_search_convert_with_http_info(organization_id, search_convert_query_input_body, opts)
|
|
1280
|
+
p status_code # => 2xx
|
|
1281
|
+
p headers # => { ... }
|
|
1282
|
+
p data # => <ResponseEnvelopeListSearchConvertQueryResponse>
|
|
1283
|
+
rescue CensysApi::ApiError => e
|
|
1284
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_search_convert_with_http_info: #{e}"
|
|
1285
|
+
end
|
|
1286
|
+
```
|
|
1287
|
+
|
|
1288
|
+
### Parameters
|
|
1289
|
+
|
|
1290
|
+
| Name | Type | Description | Notes |
|
|
1291
|
+
| ---- | ---- | ----------- | ----- |
|
|
1292
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
1293
|
+
| **search_convert_query_input_body** | [**SearchConvertQueryInputBody**](SearchConvertQueryInputBody.md) | | |
|
|
1294
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
1295
|
+
|
|
1296
|
+
### Return type
|
|
1297
|
+
|
|
1298
|
+
[**ResponseEnvelopeListSearchConvertQueryResponse**](ResponseEnvelopeListSearchConvertQueryResponse.md)
|
|
1299
|
+
|
|
1300
|
+
### Authorization
|
|
1301
|
+
|
|
1302
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
1303
|
+
|
|
1304
|
+
### HTTP request headers
|
|
1305
|
+
|
|
1306
|
+
- **Content-Type**: application/json
|
|
1307
|
+
- **Accept**: application/json, application/problem+json
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
## v3_globaldata_search_query
|
|
1311
|
+
|
|
1312
|
+
> <ResponseEnvelopeSearchQueryResponse> v3_globaldata_search_query(organization_id, search_query_input_body, opts)
|
|
1313
|
+
|
|
1314
|
+
Run a search query
|
|
1315
|
+
|
|
1316
|
+
Run a search query across Censys data. Reference the [documentation on Censys Query Language](https://docs.censys.com/docs/censys-query-language#/) for information about query syntax.
|
|
1317
|
+
|
|
1318
|
+
### Examples
|
|
1319
|
+
|
|
1320
|
+
```ruby
|
|
1321
|
+
require 'time'
|
|
1322
|
+
require 'censys'
|
|
1323
|
+
# setup authorization
|
|
1324
|
+
CensysApi.configure do |config|
|
|
1325
|
+
# Configure Bearer authorization: PersonalAccessToken
|
|
1326
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1327
|
+
end
|
|
1328
|
+
|
|
1329
|
+
api_instance = CensysApi::GlobalDataApi.new
|
|
1330
|
+
organization_id = '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
|
|
1331
|
+
search_query_input_body = CensysApi::SearchQueryInputBody.new({query: 'query_example'}) # SearchQueryInputBody |
|
|
1332
|
+
opts = {
|
|
1333
|
+
x_organization_id: '11111111-2222-3333-4444-555555555555' # String | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead.
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
begin
|
|
1337
|
+
# Run a search query
|
|
1338
|
+
result = api_instance.v3_globaldata_search_query(organization_id, search_query_input_body, opts)
|
|
1339
|
+
p result
|
|
1340
|
+
rescue CensysApi::ApiError => e
|
|
1341
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_search_query: #{e}"
|
|
1342
|
+
end
|
|
1343
|
+
```
|
|
1344
|
+
|
|
1345
|
+
#### Using the v3_globaldata_search_query_with_http_info variant
|
|
1346
|
+
|
|
1347
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1348
|
+
|
|
1349
|
+
> <Array(<ResponseEnvelopeSearchQueryResponse>, Integer, Hash)> v3_globaldata_search_query_with_http_info(organization_id, search_query_input_body, opts)
|
|
1350
|
+
|
|
1351
|
+
```ruby
|
|
1352
|
+
begin
|
|
1353
|
+
# Run a search query
|
|
1354
|
+
data, status_code, headers = api_instance.v3_globaldata_search_query_with_http_info(organization_id, search_query_input_body, opts)
|
|
1355
|
+
p status_code # => 2xx
|
|
1356
|
+
p headers # => { ... }
|
|
1357
|
+
p data # => <ResponseEnvelopeSearchQueryResponse>
|
|
1358
|
+
rescue CensysApi::ApiError => e
|
|
1359
|
+
puts "Error when calling GlobalDataApi->v3_globaldata_search_query_with_http_info: #{e}"
|
|
1360
|
+
end
|
|
1361
|
+
```
|
|
1362
|
+
|
|
1363
|
+
### Parameters
|
|
1364
|
+
|
|
1365
|
+
| Name | Type | Description | Notes |
|
|
1366
|
+
| ---- | ---- | ----------- | ----- |
|
|
1367
|
+
| **organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. | |
|
|
1368
|
+
| **search_query_input_body** | [**SearchQueryInputBody**](SearchQueryInputBody.md) | | |
|
|
1369
|
+
| **x_organization_id** | **String** | The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field in the query parameter instead. | [optional] |
|
|
1370
|
+
|
|
1371
|
+
### Return type
|
|
1372
|
+
|
|
1373
|
+
[**ResponseEnvelopeSearchQueryResponse**](ResponseEnvelopeSearchQueryResponse.md)
|
|
1374
|
+
|
|
1375
|
+
### Authorization
|
|
1376
|
+
|
|
1377
|
+
[PersonalAccessToken](../README.md#PersonalAccessToken)
|
|
1378
|
+
|
|
1379
|
+
### HTTP request headers
|
|
1380
|
+
|
|
1381
|
+
- **Content-Type**: application/json
|
|
1382
|
+
- **Accept**: application/json, application/problem+json
|
|
1383
|
+
|