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