censys 1.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +632 -0
- data/Rakefile +10 -0
- data/censys.gemspec +39 -0
- data/docs/Activemq.md +40 -0
- data/docs/AlternativeQuery.md +20 -0
- data/docs/Amqp.md +24 -0
- data/docs/AmqpProtocol.md +20 -0
- data/docs/AmqpVersion.md +22 -0
- data/docs/AnalyticsCapabilities.md +24 -0
- data/docs/AnyConnect.md +26 -0
- data/docs/AssetCertificateListInputBody.md +18 -0
- data/docs/AssetHostListInputBody.md +18 -0
- data/docs/AssetWebpropertyListInputBody.md +18 -0
- data/docs/AsteriskManagerInterface.md +18 -0
- data/docs/Attribute.md +42 -0
- data/docs/Auth.md +18 -0
- data/docs/AuthorityInfoAccess.md +20 -0
- data/docs/AutonomousSystem.md +28 -0
- data/docs/Bacnet.md +34 -0
- data/docs/BasicConstraints.md +20 -0
- data/docs/CPE.md +32 -0
- data/docs/CPELifeCycle.md +22 -0
- data/docs/CVSS.md +22 -0
- data/docs/CVSSComponents.md +32 -0
- data/docs/CVSSv4.md +22 -0
- data/docs/CVSSv4Components.md +44 -0
- data/docs/CWE.md +18 -0
- data/docs/CabfOrganizationId.md +24 -0
- data/docs/Capabilities.md +36 -0
- data/docs/Certificate.md +62 -0
- data/docs/CertificateAsset.md +20 -0
- data/docs/CertificateExtensions.md +48 -0
- data/docs/CertificateParsed.md +44 -0
- data/docs/CertificatePolicy.md +22 -0
- data/docs/CertificateRevocation.md +20 -0
- data/docs/CertificateRevocationRevocationInfo.md +24 -0
- data/docs/CheckpointTopology.md +20 -0
- data/docs/ChromeDevtools.md +28 -0
- data/docs/ChromeDevtoolsTarget.md +22 -0
- data/docs/Chromecast.md +30 -0
- data/docs/ChromecastApplication.md +28 -0
- data/docs/ChromecastNamespace.md +18 -0
- data/docs/ChromecastVolume.md +24 -0
- data/docs/CiscoIpsla.md +20 -0
- data/docs/CiscoIpslaHandshake.md +20 -0
- data/docs/CiscoIpslaHandshakeHeader.md +24 -0
- data/docs/CiscoIpslaHandshakeMessage.md +24 -0
- data/docs/CiscoIpslaMeasureResponse.md +30 -0
- data/docs/Coap.md +28 -0
- data/docs/CobaltStrike.md +20 -0
- data/docs/CobaltStrikeConfig.md +46 -0
- data/docs/CobaltStrikeHttpConfig.md +22 -0
- data/docs/CobaltStrikePostEx.md +20 -0
- data/docs/Collection.md +36 -0
- data/docs/CollectionEvent.md +20 -0
- data/docs/CollectionEventsResponse.md +20 -0
- data/docs/CollectionsApi.md +636 -0
- data/docs/Connection.md +34 -0
- data/docs/Contact.md +22 -0
- data/docs/ConvertQueryError.md +18 -0
- data/docs/Coordinates.md +20 -0
- data/docs/CountCondition.md +18 -0
- data/docs/CrestronCp3.md +18 -0
- data/docs/CrestronDinAp2.md +18 -0
- data/docs/CrudCreateInputBody.md +22 -0
- data/docs/CrudUpdateInputBody.md +22 -0
- data/docs/CryptSetup.md +22 -0
- data/docs/Ct.md +18 -0
- data/docs/CtRecord.md +22 -0
- data/docs/Cwmp.md +22 -0
- data/docs/DSACryptographicKey.md +24 -0
- data/docs/Darkcomet.md +18 -0
- data/docs/Darkgate.md +18 -0
- data/docs/DarkgateFile.md +20 -0
- data/docs/Dcerpc.md +22 -0
- data/docs/DcerpcEndpoint.md +24 -0
- data/docs/DesktopInfo.md +24 -0
- data/docs/DeviceCapabilities.md +22 -0
- data/docs/DeviceIOCapabilities.md +30 -0
- data/docs/Dhcpdiscover.md +20 -0
- data/docs/DhcpdiscoverDeviceInfo.md +54 -0
- data/docs/DhcpdiscoverIpAddress.md +26 -0
- data/docs/DhcpdiscoverResponseParams.md +18 -0
- data/docs/DistinguishedName.md +50 -0
- data/docs/Dns.md +34 -0
- data/docs/DnsEDns.md +24 -0
- data/docs/DnsResourceRecord.md +22 -0
- data/docs/DsaPublicKey.md +24 -0
- data/docs/DvrIp.md +40 -0
- data/docs/DvrIpPartitionCapability.md +20 -0
- data/docs/ECDSACryptographicKey.md +36 -0
- data/docs/ED25519CryptographicKey.md +18 -0
- data/docs/EPSS.md +20 -0
- data/docs/EcdsaPublicKey.md +36 -0
- data/docs/EdiPartyName.md +20 -0
- data/docs/Eip.md +22 -0
- data/docs/EipIdentity.md +40 -0
- data/docs/EipInterface.md +20 -0
- data/docs/EipService.md +24 -0
- data/docs/ElasticSearch.md +22 -0
- data/docs/ElasticSearchErrorMessage.md +22 -0
- data/docs/ElasticSearchResultsNodeInfo.md +20 -0
- data/docs/ElasticSearchResultsNodeInfoClusterCombinedInfo.md +28 -0
- data/docs/ElasticSearchResultsNodeInfoClusterCombinedInfoFilesystem.md +28 -0
- data/docs/ElasticSearchResultsNodeInfoClusterCombinedInfoIndices.md +22 -0
- data/docs/ElasticSearchResultsNodeInfoClusterCombinedInfoIndicesDocs.md +20 -0
- data/docs/ElasticSearchResultsNodeInfoClusterCombinedInfoIndicesStore.md +20 -0
- data/docs/ElasticSearchResultsNodeInfoNodes.md +20 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeData.md +48 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataJVM.md +34 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataModules.md +32 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataNodeSettings.md +20 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataNodeSettingsNode.md +20 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataNodeSettingsNodeAttr.md +20 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataNodeSettingsNodeAttrML.md +22 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataOS.md +30 -0
- data/docs/ElasticSearchResultsNodeInfoNodesNodeDataThreadPool.md +26 -0
- data/docs/ElasticSearchSystemInfo.md +24 -0
- data/docs/ElasticSearchSystemInfoVer.md +34 -0
- data/docs/ElfFile.md +26 -0
- data/docs/EndpointScan.md +72 -0
- data/docs/EndpointScanState.md +68 -0
- data/docs/EndpointScanned.md +20 -0
- data/docs/Epmd.md +18 -0
- data/docs/ErrorDetail.md +22 -0
- data/docs/ErrorModel.md +28 -0
- data/docs/Etcd.md +22 -0
- data/docs/EtcdV2.md +22 -0
- data/docs/EtcdV3.md +22 -0
- data/docs/EtcdVersion.md +20 -0
- data/docs/Ethereum.md +22 -0
- data/docs/EthereumVersion.md +26 -0
- data/docs/EventAssetChange.md +22 -0
- data/docs/EventStatusChange.md +24 -0
- data/docs/EventsCapabilities.md +26 -0
- data/docs/Evidence.md +32 -0
- data/docs/Export.md +30 -0
- data/docs/ExportList.md +20 -0
- data/docs/ExtendedKeyUsage.md +144 -0
- data/docs/Extension.md +22 -0
- data/docs/FieldDiff.md +20 -0
- data/docs/FieldValuePair.md +20 -0
- data/docs/FloatValue.md +18 -0
- data/docs/Fortigate.md +28 -0
- data/docs/ForwardDnsResolved.md +20 -0
- data/docs/Fox.md +52 -0
- data/docs/Ftp.md +26 -0
- data/docs/Gearman.md +22 -0
- data/docs/GeneralNames.md +32 -0
- data/docs/GeneralSubtreeIp.md +24 -0
- data/docs/GlobalDataApi.md +1383 -0
- data/docs/Graphql.md +20 -0
- data/docs/HidVertx.md +30 -0
- data/docs/Hikvision.md +24 -0
- data/docs/HikvisionPlatform.md +20 -0
- data/docs/HikvisionPlatformLibrary.md +20 -0
- data/docs/Host.md +36 -0
- data/docs/HostAsset.md +20 -0
- data/docs/HostDns.md +22 -0
- data/docs/HostDnsForwardResolution.md +24 -0
- data/docs/HostDnsReverseResolution.md +22 -0
- data/docs/HostObservationRange.md +28 -0
- data/docs/HostObservationResponse.md +22 -0
- data/docs/HostTimeline.md +20 -0
- data/docs/HostTimelineEvent.md +34 -0
- data/docs/HostTimelineEventAsset.md +20 -0
- data/docs/Http.md +44 -0
- data/docs/HttpFavicon.md +28 -0
- data/docs/HttpRepeatedHeaders.md +18 -0
- data/docs/Ibmnje.md +28 -0
- data/docs/Ike.md +20 -0
- data/docs/IkeV1.md +22 -0
- data/docs/IkeV2.md +22 -0
- data/docs/ImageCapabilities.md +18 -0
- data/docs/Imap.md +18 -0
- data/docs/Iota.md +22 -0
- data/docs/Ipmi.md +26 -0
- data/docs/IpmiCapabilities.md +30 -0
- data/docs/IpmiCapabilitiesAuthStatus.md +28 -0
- data/docs/IpmiCapabilitiesCompletionCode.md +20 -0
- data/docs/IpmiCapabilitiesExtendedCapabilities.md +20 -0
- data/docs/IpmiCapabilitiesSupportedAuthTypes.md +30 -0
- data/docs/IpmiCommandPayload.md +26 -0
- data/docs/IpmiCommandPayloadCommandNumber.md +20 -0
- data/docs/IpmiCommandPayloadPackedNetFn.md +22 -0
- data/docs/IpmiCommandPayloadPackedNetFnLogicalUnitNumber.md +20 -0
- data/docs/IpmiCommandPayloadPackedNetFnNetFn.md +26 -0
- data/docs/IpmiRMCPHeader.md +22 -0
- data/docs/IpmiRMCPHeaderMessageClass.md +24 -0
- data/docs/IpmiSessionHeader.md +24 -0
- data/docs/IpmiSessionHeaderAuthType.md +22 -0
- data/docs/Ipp.md +32 -0
- data/docs/IppAttribute.md +20 -0
- data/docs/Iscsi.md +22 -0
- data/docs/IvantiAvalanche.md +22 -0
- data/docs/JA4TScanScan.md +20 -0
- data/docs/JarmScan.md +34 -0
- data/docs/JarmScanned.md +20 -0
- data/docs/KEV.md +22 -0
- data/docs/KeyAlgorithm.md +20 -0
- data/docs/KeyUsage.md +36 -0
- data/docs/Krpc.md +18 -0
- data/docs/Kubernetes.md +28 -0
- data/docs/KubernetesEndpoint.md +22 -0
- data/docs/KubernetesEndpointSubset.md +20 -0
- data/docs/KubernetesEndpointSubsetEndpointAddress.md +22 -0
- data/docs/KubernetesEndpointSubsetPort.md +22 -0
- data/docs/KubernetesNode.md +36 -0
- data/docs/KubernetesNodeNodeAddress.md +20 -0
- data/docs/KubernetesRole.md +20 -0
- data/docs/KubernetesRoleRule.md +22 -0
- data/docs/KubernetesVersionInfo.md +34 -0
- data/docs/L2Tp.md +34 -0
- data/docs/L2TpAttributeValues.md +38 -0
- data/docs/L2TpSccrp.md +18 -0
- data/docs/L2TpStopCcn.md +18 -0
- data/docs/Label.md +24 -0
- data/docs/Ldap.md +22 -0
- data/docs/LdapAttribute.md +20 -0
- data/docs/ListCollectionsResponseV1.md +20 -0
- data/docs/Location.md +36 -0
- data/docs/LocationUpdated.md +18 -0
- data/docs/Lpd.md +30 -0
- data/docs/LpdMessage.md +20 -0
- data/docs/Mdns.md +22 -0
- data/docs/MdnsResult.md +30 -0
- data/docs/MediaCapabilities.md +28 -0
- data/docs/MediaProfile.md +18 -0
- data/docs/MediaStreaming.md +24 -0
- data/docs/Members.md +24 -0
- data/docs/Memcached.md +26 -0
- data/docs/Metrics.md +24 -0
- data/docs/Minecraft.md +26 -0
- data/docs/Mms.md +22 -0
- data/docs/Modbus.md +24 -0
- data/docs/ModbusExceptionResponse.md +20 -0
- data/docs/ModbusMEIResponse.md +22 -0
- data/docs/MoneroP2P.md +18 -0
- data/docs/MoneroP2PEntry.md +20 -0
- data/docs/MoneroP2PPayload.md +18 -0
- data/docs/MoneroP2PPingResponse.md +20 -0
- data/docs/MoneroP2PResponseHeader.md +30 -0
- data/docs/Mongodb.md +20 -0
- data/docs/MongodbBuildInfo.md +22 -0
- data/docs/MongodbBuildInfoBuildEnvironment.md +34 -0
- data/docs/MongodbIsMaster.md +32 -0
- data/docs/Mqtt.md +22 -0
- data/docs/MqttConnectionAckReturn.md +20 -0
- data/docs/MqttSubscriptionAckReturn.md +20 -0
- data/docs/Mssql.md +24 -0
- data/docs/MssqlPreloginOptions.md +34 -0
- data/docs/MssqlPreloginOptionsServerVersion.md +22 -0
- data/docs/Murmur.md +30 -0
- data/docs/MurmurMessage.md +20 -0
- data/docs/MurmurMessageMurmurHeader.md +20 -0
- data/docs/MurmurMurmurVersion.md +28 -0
- data/docs/Mysql.md +38 -0
- data/docs/NameConstraints.md +46 -0
- data/docs/NatsIo.md +48 -0
- data/docs/Nbd.md +22 -0
- data/docs/Network.md +28 -0
- data/docs/NetworkCapabilities.md +34 -0
- data/docs/NfsMountd.md +18 -0
- data/docs/Nmea.md +18 -0
- data/docs/NmeaNmeaMessage.md +24 -0
- data/docs/NodeInfoV0.md +32 -0
- data/docs/NodeInfoV1.md +30 -0
- data/docs/NodeInfoV2.md +46 -0
- data/docs/NoticeReference.md +20 -0
- data/docs/NtlmInfo.md +44 -0
- data/docs/Ntp.md +18 -0
- data/docs/NtpNTPHeader.md +30 -0
- data/docs/Ollama.md +22 -0
- data/docs/OllamaModel.md +32 -0
- data/docs/Onvif.md +20 -0
- data/docs/OnvifHostname.md +20 -0
- data/docs/OnvifService.md +26 -0
- data/docs/OpcUa.md +28 -0
- data/docs/OpcUaDescription.md +30 -0
- data/docs/OpcUaEndpoint.md +32 -0
- data/docs/OpcUaLocalizedText.md +22 -0
- data/docs/OpcUaUserTokenPolicy.md +26 -0
- data/docs/OpenDirectory.md +20 -0
- data/docs/OpenDirectoryFile.md +30 -0
- data/docs/Openvpn.md +20 -0
- data/docs/OpenvpnMgmt.md +26 -0
- data/docs/Oracle.md +40 -0
- data/docs/OracleDescriptor.md +20 -0
- data/docs/Organization.md +38 -0
- data/docs/OtherName.md +20 -0
- data/docs/PanTiltZoomCapabilities.md +26 -0
- data/docs/PcAnywhere.md +22 -0
- data/docs/PcAnywhereStatus.md +20 -0
- data/docs/Peer.md +26 -0
- data/docs/Pgbouncer.md +18 -0
- data/docs/PgbouncerStartupCapabilities.md +22 -0
- data/docs/PixelFormat.md +42 -0
- data/docs/PlexMediaServer.md +18 -0
- data/docs/Pop3.md +18 -0
- data/docs/Port.md +20 -0
- data/docs/Portmap.md +20 -0
- data/docs/PortmapV2Entry.md +26 -0
- data/docs/PortmapV3Entry.md +28 -0
- data/docs/Postgres.md +22 -0
- data/docs/Pprof.md +34 -0
- data/docs/Pptp.md +34 -0
- data/docs/PptpResponseInfo.md +20 -0
- data/docs/PptpVersion.md +20 -0
- data/docs/ProfinetCm.md +22 -0
- data/docs/Prometheus.md +18 -0
- data/docs/PrometheusMetricFamily.md +20 -0
- data/docs/PrometheusResponse.md +28 -0
- data/docs/PrometheusResponseActiveTarget.md +28 -0
- data/docs/PrometheusResponseActiveTargetDiscoveredLabels.md +24 -0
- data/docs/PrometheusResponseActiveTargetLabels.md +20 -0
- data/docs/PrometheusResponseDroppedTarget.md +24 -0
- data/docs/PrometheusResponsePrometheusVersion.md +22 -0
- data/docs/PrometheusTarget.md +18 -0
- data/docs/QcStatements.md +20 -0
- data/docs/QcStatementsMonetaryValue.md +24 -0
- data/docs/QcStatementsParsedStatements.md +30 -0
- data/docs/QcStatementsPdsLocation.md +20 -0
- data/docs/QcStatementsQCLegislation.md +18 -0
- data/docs/QcStatementsQcType.md +18 -0
- data/docs/RSACryptographicKey.md +22 -0
- data/docs/RawCertificateResponse.md +20 -0
- data/docs/Rdate.md +18 -0
- data/docs/Rdp.md +30 -0
- data/docs/RdpCertificateInfo.md +20 -0
- data/docs/RdpConnectResponse.md +20 -0
- data/docs/RdpDomainParameters.md +32 -0
- data/docs/RdpEmbeddedRSACert.md +30 -0
- data/docs/RdpProtocolFlags.md +26 -0
- data/docs/RdpSecurityProtocol.md +44 -0
- data/docs/RdpVersion.md +22 -0
- data/docs/Realport.md +30 -0
- data/docs/RecordingCapabilities.md +32 -0
- data/docs/Redis.md +58 -0
- data/docs/RedisRawOutput.md +18 -0
- data/docs/Redline.md +22 -0
- data/docs/RedlionCrimson.md +28 -0
- data/docs/RedlionWeb.md +22 -0
- data/docs/Reject.md +20 -0
- data/docs/ReplayCapabilities.md +22 -0
- data/docs/RepresentativeInfo.md +24 -0
- data/docs/ResponseEnvelopeCertificateAsset.md +18 -0
- data/docs/ResponseEnvelopeCollection.md +18 -0
- data/docs/ResponseEnvelopeCollectionEventsResponse.md +18 -0
- data/docs/ResponseEnvelopeHostAsset.md +18 -0
- data/docs/ResponseEnvelopeHostObservationResponse.md +18 -0
- data/docs/ResponseEnvelopeHostTimeline.md +18 -0
- data/docs/ResponseEnvelopeListCertificateAsset.md +18 -0
- data/docs/ResponseEnvelopeListCollectionsResponseV1.md +18 -0
- data/docs/ResponseEnvelopeListHostAsset.md +18 -0
- data/docs/ResponseEnvelopeListRawCertificateResponse.md +18 -0
- data/docs/ResponseEnvelopeListSearchConvertQueryResponse.md +18 -0
- data/docs/ResponseEnvelopeListWebpropertyAsset.md +18 -0
- data/docs/ResponseEnvelopeSearchAggregateResponse.md +18 -0
- data/docs/ResponseEnvelopeSearchQueryResponse.md +18 -0
- data/docs/ResponseEnvelopeTrackedScan.md +18 -0
- data/docs/ResponseEnvelopeValueCountsResponse.md +18 -0
- data/docs/ResponseEnvelopeWebpropertyAsset.md +18 -0
- data/docs/ReverseDnsResolved.md +20 -0
- data/docs/Rifatron.md +18 -0
- data/docs/Ripple.md +22 -0
- data/docs/RippleClioResults.md +24 -0
- data/docs/RipplePeerResults.md +30 -0
- data/docs/RippledPublicResults.md +32 -0
- data/docs/Risk.md +36 -0
- data/docs/Rlogin.md +24 -0
- data/docs/Rocketmq.md +22 -0
- data/docs/RocketmqClusterInfo.md +20 -0
- data/docs/RocketmqResponseHeader.md +26 -0
- data/docs/RocketmqTopicList.md +20 -0
- data/docs/RootStore.md +32 -0
- data/docs/RootStoreChain.md +18 -0
- data/docs/RouteUpdated.md +20 -0
- data/docs/Routing.md +28 -0
- data/docs/RsaPublicKey.md +22 -0
- data/docs/Rtsp.md +24 -0
- data/docs/S7.md +44 -0
- data/docs/SapRouter.md +20 -0
- data/docs/SapRouterClientInfo.md +28 -0
- data/docs/SapRouterRouterInfo.md +34 -0
- data/docs/SapRouterRouterVersionInfo.md +22 -0
- data/docs/ScadaView.md +20 -0
- data/docs/ScansDiscoveryInputBody.md +18 -0
- data/docs/ScansDiscoveryInputBodyTarget.md +49 -0
- data/docs/ScansDiscoveryInputBodyTargetOneOf.md +18 -0
- data/docs/ScansDiscoveryInputBodyTargetOneOf1.md +18 -0
- data/docs/ScansDiscoveryInputBodyTargetOneOf1HostnamePort.md +20 -0
- data/docs/ScansDiscoveryInputBodyTargetOneOfHostPort.md +20 -0
- data/docs/ScansRescanInputBody.md +18 -0
- data/docs/ScansRescanInputBodyTarget.md +49 -0
- data/docs/ScansRescanInputBodyTargetOneOf.md +18 -0
- data/docs/ScansRescanInputBodyTargetOneOf1.md +18 -0
- data/docs/ScansRescanInputBodyTargetOneOf1WebOrigin.md +20 -0
- data/docs/ScansRescanInputBodyTargetOneOfServiceId.md +24 -0
- data/docs/Scpi.md +24 -0
- data/docs/Screenshot.md +22 -0
- data/docs/SearchAggregateInputBody.md +26 -0
- data/docs/SearchAggregateResponse.md +26 -0
- data/docs/SearchAggregateResponseBucket.md +20 -0
- data/docs/SearchCapabilities.md +20 -0
- data/docs/SearchConvertQueryInputBody.md +18 -0
- data/docs/SearchConvertQueryResponse.md +28 -0
- data/docs/SearchQueryHit.md +22 -0
- data/docs/SearchQueryInputBody.md +24 -0
- data/docs/SearchQueryResponse.md +26 -0
- data/docs/SearchValueCountsInputBody.md +20 -0
- data/docs/SecurityCapabilities.md +52 -0
- data/docs/Ser2Net.md +26 -0
- data/docs/Ser2NetSerialParameters.md +24 -0
- data/docs/ServerConfig.md +30 -0
- data/docs/ServerSync.md +22 -0
- data/docs/Service.md +286 -0
- data/docs/ServiceId.md +24 -0
- data/docs/ServiceScan.md +262 -0
- data/docs/ServiceScanned.md +20 -0
- data/docs/SevenDaysToDie.md +30 -0
- data/docs/Signature.md +24 -0
- data/docs/SignedCertificateTimestamp.md +24 -0
- data/docs/SignedCertificateTimestampSignature.md +22 -0
- data/docs/Sip.md +24 -0
- data/docs/Skinny.md +18 -0
- data/docs/Smb.md +34 -0
- data/docs/SmbHeaderLog.md +26 -0
- data/docs/SmbNegotiationLog.md +32 -0
- data/docs/SmbSessionSetupLog.md +24 -0
- data/docs/SmbSmbCapabilities.md +30 -0
- data/docs/SmbSmbVersions.md +24 -0
- data/docs/Smtp.md +20 -0
- data/docs/Snmp.md +26 -0
- data/docs/SnmpEngine.md +34 -0
- data/docs/SnmpInterfaces.md +18 -0
- data/docs/SnmpPhysical.md +30 -0
- data/docs/SnmpSystem.md +30 -0
- data/docs/SnmpSystemServices.md +30 -0
- data/docs/Socks.md +24 -0
- data/docs/Spice.md +24 -0
- data/docs/Ssdp.md +20 -0
- data/docs/Ssh.md +26 -0
- data/docs/SshAlgorithmSelection.md +24 -0
- data/docs/SshAlgorithmSelectionDirectionAlgorithms.md +22 -0
- data/docs/SshEndpointId.md +24 -0
- data/docs/SshKexInitMessage.md +38 -0
- data/docs/SshServerHostKey.md +28 -0
- data/docs/Status.md +24 -0
- data/docs/Steam.md +62 -0
- data/docs/SubjectKeyInfo.md +28 -0
- data/docs/SystemCapabilities.md +38 -0
- data/docs/TacacsPlus.md +30 -0
- data/docs/Target.md +30 -0
- data/docs/TeamViewer.md +18 -0
- data/docs/Telnet.md +24 -0
- data/docs/TextMessage.md +26 -0
- data/docs/Threat.md +36 -0
- data/docs/ThreatActor.md +26 -0
- data/docs/ThreatDetails.md +24 -0
- data/docs/ThreatHuntingApi.md +323 -0
- data/docs/ThreatMalware.md +26 -0
- data/docs/Tibia.md +32 -0
- data/docs/Tls.md +30 -0
- data/docs/TlsChain.md +22 -0
- data/docs/TlsVersionData.md +22 -0
- data/docs/TorServiceDescriptor.md +24 -0
- data/docs/TplinkKasa.md +46 -0
- data/docs/TrackedScan.md +26 -0
- data/docs/TrackedScanScanTarget.md +24 -0
- data/docs/TrackedScanScanTargetHostPort.md +20 -0
- data/docs/TrackedScanScanTargetHostnamePort.md +20 -0
- data/docs/TrackedScanTask.md +22 -0
- data/docs/UnitronicsPcom.md +36 -0
- data/docs/UnrecognizedPublicKey.md +18 -0
- data/docs/Upnp.md +24 -0
- data/docs/UpnpDevice.md +46 -0
- data/docs/UpnpService.md +26 -0
- data/docs/UpnpSpecVersion.md +20 -0
- data/docs/User.md +20 -0
- data/docs/UserNotice.md +20 -0
- data/docs/Validation.md +24 -0
- data/docs/ValidityPeriod.md +22 -0
- data/docs/ValueCountsResponse.md +18 -0
- data/docs/Ventrilo.md +20 -0
- data/docs/VentriloHeader.md +26 -0
- data/docs/VentriloMessage.md +22 -0
- data/docs/Vnc.md +28 -0
- data/docs/VncKeyValue.md +20 -0
- data/docs/Vuln.md +38 -0
- data/docs/WebOrigin.md +20 -0
- data/docs/WeblogicT3.md +22 -0
- data/docs/Webproperty.md +46 -0
- data/docs/WebpropertyAsset.md +20 -0
- data/docs/Whois.md +20 -0
- data/docs/WhoisUpdated.md +20 -0
- data/docs/Winrm.md +20 -0
- data/docs/Worker.md +24 -0
- data/docs/WsDiscovery.md +24 -0
- data/docs/X11.md +24 -0
- data/docs/ZLint.md +30 -0
- data/docs/Zeromq.md +24 -0
- data/docs/ZeromqGreeting.md +26 -0
- data/docs/ZeromqHandshake.md +22 -0
- data/git_push.sh +57 -0
- data/lib/censys/api/collections_api.rb +677 -0
- data/lib/censys/api/global_data_api.rb +1416 -0
- data/lib/censys/api/threat_hunting_api.rb +342 -0
- data/lib/censys/api_client.rb +393 -0
- data/lib/censys/api_error.rb +58 -0
- data/lib/censys/configuration.rb +308 -0
- data/lib/censys/models/activemq.rb +319 -0
- data/lib/censys/models/alternative_query.rb +275 -0
- data/lib/censys/models/amqp.rb +249 -0
- data/lib/censys/models/amqp_protocol.rb +248 -0
- data/lib/censys/models/amqp_version.rb +295 -0
- data/lib/censys/models/analytics_capabilities.rb +247 -0
- data/lib/censys/models/any_connect.rb +267 -0
- data/lib/censys/models/asset_certificate_list_input_body.rb +250 -0
- data/lib/censys/models/asset_host_list_input_body.rb +250 -0
- data/lib/censys/models/asset_webproperty_list_input_body.rb +250 -0
- data/lib/censys/models/asterisk_manager_interface.rb +220 -0
- data/lib/censys/models/attribute.rb +371 -0
- data/lib/censys/models/auth.rb +220 -0
- data/lib/censys/models/authority_info_access.rb +235 -0
- data/lib/censys/models/autonomous_system.rb +290 -0
- data/lib/censys/models/bacnet.rb +330 -0
- data/lib/censys/models/basic_constraints.rb +231 -0
- data/lib/censys/models/cabf_organization_id.rb +247 -0
- data/lib/censys/models/capabilities.rb +301 -0
- data/lib/censys/models/certificate.rb +488 -0
- data/lib/censys/models/certificate_asset.rb +263 -0
- data/lib/censys/models/certificate_extensions.rb +380 -0
- data/lib/censys/models/certificate_parsed.rb +349 -0
- data/lib/censys/models/certificate_policy.rb +244 -0
- data/lib/censys/models/certificate_revocation.rb +229 -0
- data/lib/censys/models/certificate_revocation_revocation_info.rb +284 -0
- data/lib/censys/models/checkpoint_topology.rb +229 -0
- data/lib/censys/models/chrome_devtools.rb +268 -0
- data/lib/censys/models/chrome_devtools_target.rb +238 -0
- data/lib/censys/models/chromecast.rb +277 -0
- data/lib/censys/models/chromecast_application.rb +268 -0
- data/lib/censys/models/chromecast_namespace.rb +220 -0
- data/lib/censys/models/chromecast_volume.rb +247 -0
- data/lib/censys/models/cisco_ipsla.rb +229 -0
- data/lib/censys/models/cisco_ipsla_handshake.rb +229 -0
- data/lib/censys/models/cisco_ipsla_handshake_header.rb +323 -0
- data/lib/censys/models/cisco_ipsla_handshake_message.rb +304 -0
- data/lib/censys/models/cisco_ipsla_measure_response.rb +388 -0
- data/lib/censys/models/coap.rb +303 -0
- data/lib/censys/models/cobalt_strike.rb +229 -0
- data/lib/censys/models/cobalt_strike_config.rb +464 -0
- data/lib/censys/models/cobalt_strike_http_config.rb +238 -0
- data/lib/censys/models/cobalt_strike_post_ex.rb +229 -0
- data/lib/censys/models/collection.rb +493 -0
- data/lib/censys/models/collection_event.rb +229 -0
- data/lib/censys/models/collection_events_response.rb +251 -0
- data/lib/censys/models/connection.rb +447 -0
- data/lib/censys/models/contact.rb +238 -0
- data/lib/censys/models/convert_query_error.rb +238 -0
- data/lib/censys/models/coordinates.rb +229 -0
- data/lib/censys/models/count_condition.rb +241 -0
- data/lib/censys/models/cpe.rb +283 -0
- data/lib/censys/models/cpe_life_cycle.rb +238 -0
- data/lib/censys/models/crestron_cp3.rb +220 -0
- data/lib/censys/models/crestron_din_ap2.rb +220 -0
- data/lib/censys/models/crud_create_input_body.rb +275 -0
- data/lib/censys/models/crud_update_input_body.rb +275 -0
- data/lib/censys/models/crypt_setup.rb +238 -0
- data/lib/censys/models/ct.rb +222 -0
- data/lib/censys/models/ct_record.rb +241 -0
- data/lib/censys/models/cvss.rb +241 -0
- data/lib/censys/models/cvss_components.rb +409 -0
- data/lib/censys/models/cvssv4.rb +241 -0
- data/lib/censys/models/cvssv4_components.rb +534 -0
- data/lib/censys/models/cwe.rb +221 -0
- data/lib/censys/models/cwmp.rb +244 -0
- data/lib/censys/models/darkcomet.rb +220 -0
- data/lib/censys/models/darkgate.rb +223 -0
- data/lib/censys/models/darkgate_file.rb +229 -0
- data/lib/censys/models/dcerpc.rb +241 -0
- data/lib/censys/models/dcerpc_endpoint.rb +250 -0
- data/lib/censys/models/desktop_info.rb +304 -0
- data/lib/censys/models/device_capabilities.rb +238 -0
- data/lib/censys/models/device_io_capabilities.rb +407 -0
- data/lib/censys/models/dhcpdiscover.rb +229 -0
- data/lib/censys/models/dhcpdiscover_device_info.rb +382 -0
- data/lib/censys/models/dhcpdiscover_ip_address.rb +256 -0
- data/lib/censys/models/dhcpdiscover_response_params.rb +220 -0
- data/lib/censys/models/distinguished_name.rb +431 -0
- data/lib/censys/models/dns.rb +357 -0
- data/lib/censys/models/dns_e_dns.rb +288 -0
- data/lib/censys/models/dns_resource_record.rb +275 -0
- data/lib/censys/models/dsa_cryptographic_key.rb +247 -0
- data/lib/censys/models/dsa_public_key.rb +247 -0
- data/lib/censys/models/dvr_ip.rb +319 -0
- data/lib/censys/models/dvr_ip_partition_capability.rb +229 -0
- data/lib/censys/models/ecdsa_cryptographic_key.rb +320 -0
- data/lib/censys/models/ecdsa_public_key.rb +301 -0
- data/lib/censys/models/ed25519_cryptographic_key.rb +220 -0
- data/lib/censys/models/edi_party_name.rb +229 -0
- data/lib/censys/models/eip.rb +244 -0
- data/lib/censys/models/eip_identity.rb +433 -0
- data/lib/censys/models/eip_interface.rb +248 -0
- data/lib/censys/models/eip_service.rb +266 -0
- data/lib/censys/models/elastic_search.rb +238 -0
- data/lib/censys/models/elastic_search_error_message.rb +238 -0
- data/lib/censys/models/elastic_search_results_node_info.rb +232 -0
- data/lib/censys/models/elastic_search_results_node_info_cluster_combined_info.rb +284 -0
- data/lib/censys/models/elastic_search_results_node_info_cluster_combined_info_filesystem.rb +322 -0
- data/lib/censys/models/elastic_search_results_node_info_cluster_combined_info_indices.rb +257 -0
- data/lib/censys/models/elastic_search_results_node_info_cluster_combined_info_indices_docs.rb +267 -0
- data/lib/censys/models/elastic_search_results_node_info_cluster_combined_info_indices_store.rb +267 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes.rb +229 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data.rb +386 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_jvm.rb +320 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_modules.rb +286 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_node_settings.rb +229 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_node_settings_node.rb +229 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_node_settings_node_attr.rb +229 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_node_settings_node_attr_ml.rb +238 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_os.rb +293 -0
- data/lib/censys/models/elastic_search_results_node_info_nodes_node_data_thread_pool.rb +256 -0
- data/lib/censys/models/elastic_search_system_info.rb +247 -0
- data/lib/censys/models/elastic_search_system_info_ver.rb +292 -0
- data/lib/censys/models/elf_file.rb +256 -0
- data/lib/censys/models/endpoint_scan.rb +519 -0
- data/lib/censys/models/endpoint_scan_state.rb +501 -0
- data/lib/censys/models/endpoint_scanned.rb +231 -0
- data/lib/censys/models/epmd.rb +223 -0
- data/lib/censys/models/epss.rb +229 -0
- data/lib/censys/models/error_detail.rb +241 -0
- data/lib/censys/models/error_model.rb +276 -0
- data/lib/censys/models/etcd.rb +238 -0
- data/lib/censys/models/etcd_v2.rb +260 -0
- data/lib/censys/models/etcd_v3.rb +260 -0
- data/lib/censys/models/etcd_version.rb +229 -0
- data/lib/censys/models/ethereum.rb +241 -0
- data/lib/censys/models/ethereum_version.rb +256 -0
- data/lib/censys/models/event_asset_change.rb +313 -0
- data/lib/censys/models/event_status_change.rb +317 -0
- data/lib/censys/models/events_capabilities.rb +294 -0
- data/lib/censys/models/evidence.rb +283 -0
- data/lib/censys/models/export.rb +353 -0
- data/lib/censys/models/export_list.rb +232 -0
- data/lib/censys/models/extended_key_usage.rb +790 -0
- data/lib/censys/models/extension.rb +238 -0
- data/lib/censys/models/field_diff.rb +229 -0
- data/lib/censys/models/field_value_pair.rb +265 -0
- data/lib/censys/models/float_value.rb +220 -0
- data/lib/censys/models/fortigate.rb +265 -0
- data/lib/censys/models/forward_dns_resolved.rb +229 -0
- data/lib/censys/models/fox.rb +392 -0
- data/lib/censys/models/ftp.rb +256 -0
- data/lib/censys/models/gearman.rb +244 -0
- data/lib/censys/models/general_names.rb +315 -0
- data/lib/censys/models/general_subtree_ip.rb +251 -0
- data/lib/censys/models/graphql.rb +229 -0
- data/lib/censys/models/hid_vertx.rb +274 -0
- data/lib/censys/models/hikvision.rb +250 -0
- data/lib/censys/models/hikvision_platform.rb +232 -0
- data/lib/censys/models/hikvision_platform_library.rb +229 -0
- data/lib/censys/models/host.rb +307 -0
- data/lib/censys/models/host_asset.rb +263 -0
- data/lib/censys/models/host_dns.rb +243 -0
- data/lib/censys/models/host_dns_forward_resolution.rb +281 -0
- data/lib/censys/models/host_dns_reverse_resolution.rb +241 -0
- data/lib/censys/models/host_observation_range.rb +355 -0
- data/lib/censys/models/host_observation_response.rb +260 -0
- data/lib/censys/models/host_timeline.rb +251 -0
- data/lib/censys/models/host_timeline_event.rb +292 -0
- data/lib/censys/models/host_timeline_event_asset.rb +263 -0
- data/lib/censys/models/http.rb +357 -0
- data/lib/censys/models/http_favicon.rb +269 -0
- data/lib/censys/models/http_repeated_headers.rb +224 -0
- data/lib/censys/models/ibmnje.rb +284 -0
- data/lib/censys/models/ike.rb +229 -0
- data/lib/censys/models/ike_v1.rb +247 -0
- data/lib/censys/models/ike_v2.rb +244 -0
- data/lib/censys/models/image_capabilities.rb +220 -0
- data/lib/censys/models/imap.rb +221 -0
- data/lib/censys/models/iota.rb +238 -0
- data/lib/censys/models/ipmi.rb +261 -0
- data/lib/censys/models/ipmi_capabilities.rb +281 -0
- data/lib/censys/models/ipmi_capabilities_auth_status.rb +271 -0
- data/lib/censys/models/ipmi_capabilities_completion_code.rb +231 -0
- data/lib/censys/models/ipmi_capabilities_extended_capabilities.rb +231 -0
- data/lib/censys/models/ipmi_capabilities_supported_auth_types.rb +281 -0
- data/lib/censys/models/ipmi_command_payload.rb +261 -0
- data/lib/censys/models/ipmi_command_payload_command_number.rb +231 -0
- data/lib/censys/models/ipmi_command_payload_packed_net_fn.rb +241 -0
- data/lib/censys/models/ipmi_command_payload_packed_net_fn_logical_unit_number.rb +231 -0
- data/lib/censys/models/ipmi_command_payload_packed_net_fn_net_fn.rb +261 -0
- data/lib/censys/models/ipmi_rmcp_header.rb +241 -0
- data/lib/censys/models/ipmi_rmcp_header_message_class.rb +251 -0
- data/lib/censys/models/ipmi_session_header.rb +251 -0
- data/lib/censys/models/ipmi_session_header_auth_type.rb +241 -0
- data/lib/censys/models/ipp.rb +338 -0
- data/lib/censys/models/ipp_attribute.rb +248 -0
- data/lib/censys/models/iscsi.rb +244 -0
- data/lib/censys/models/ivanti_avalanche.rb +238 -0
- data/lib/censys/models/ja4_t_scan_scan.rb +229 -0
- data/lib/censys/models/jarm_scan.rb +349 -0
- data/lib/censys/models/jarm_scanned.rb +231 -0
- data/lib/censys/models/kev.rb +275 -0
- data/lib/censys/models/key_algorithm.rb +230 -0
- data/lib/censys/models/key_usage.rb +330 -0
- data/lib/censys/models/krpc.rb +220 -0
- data/lib/censys/models/kubernetes.rb +278 -0
- data/lib/censys/models/kubernetes_endpoint.rb +241 -0
- data/lib/censys/models/kubernetes_endpoint_subset.rb +235 -0
- data/lib/censys/models/kubernetes_endpoint_subset_endpoint_address.rb +238 -0
- data/lib/censys/models/kubernetes_endpoint_subset_port.rb +257 -0
- data/lib/censys/models/kubernetes_node.rb +315 -0
- data/lib/censys/models/kubernetes_node_node_address.rb +231 -0
- data/lib/censys/models/kubernetes_role.rb +233 -0
- data/lib/censys/models/kubernetes_role_rule.rb +250 -0
- data/lib/censys/models/kubernetes_version_info.rb +300 -0
- data/lib/censys/models/l2_tp.rb +295 -0
- data/lib/censys/models/l2_tp_attribute_values.rb +424 -0
- data/lib/censys/models/l2_tp_sccrp.rb +220 -0
- data/lib/censys/models/l2_tp_stop_ccn.rb +220 -0
- data/lib/censys/models/label.rb +284 -0
- data/lib/censys/models/ldap.rb +263 -0
- data/lib/censys/models/ldap_attribute.rb +234 -0
- data/lib/censys/models/list_collections_response_v1.rb +251 -0
- data/lib/censys/models/location.rb +311 -0
- data/lib/censys/models/location_updated.rb +220 -0
- data/lib/censys/models/lpd.rb +274 -0
- data/lib/censys/models/lpd_message.rb +248 -0
- data/lib/censys/models/mdns.rb +244 -0
- data/lib/censys/models/mdns_result.rb +280 -0
- data/lib/censys/models/media_capabilities.rb +265 -0
- data/lib/censys/models/media_profile.rb +239 -0
- data/lib/censys/models/media_streaming.rb +247 -0
- data/lib/censys/models/members.rb +253 -0
- data/lib/censys/models/memcached.rb +263 -0
- data/lib/censys/models/metrics.rb +247 -0
- data/lib/censys/models/minecraft.rb +256 -0
- data/lib/censys/models/mms.rb +238 -0
- data/lib/censys/models/modbus.rb +266 -0
- data/lib/censys/models/modbus_exception_response.rb +267 -0
- data/lib/censys/models/modbus_mei_response.rb +240 -0
- data/lib/censys/models/monero_p2_p.rb +220 -0
- data/lib/censys/models/monero_p2_p_entry.rb +229 -0
- data/lib/censys/models/monero_p2_p_payload.rb +223 -0
- data/lib/censys/models/monero_p2_p_ping_response.rb +229 -0
- data/lib/censys/models/monero_p2_p_response_header.rb +369 -0
- data/lib/censys/models/mongodb.rb +229 -0
- data/lib/censys/models/mongodb_build_info.rb +240 -0
- data/lib/censys/models/mongodb_build_info_build_environment.rb +292 -0
- data/lib/censys/models/mongodb_is_master.rb +283 -0
- data/lib/censys/models/mqtt.rb +239 -0
- data/lib/censys/models/mqtt_connection_ack_return.rb +250 -0
- data/lib/censys/models/mqtt_subscription_ack_return.rb +250 -0
- data/lib/censys/models/mssql.rb +248 -0
- data/lib/censys/models/mssql_prelogin_options.rb +313 -0
- data/lib/censys/models/mssql_prelogin_options_server_version.rb +295 -0
- data/lib/censys/models/murmur.rb +280 -0
- data/lib/censys/models/murmur_message.rb +229 -0
- data/lib/censys/models/murmur_message_murmur_header.rb +248 -0
- data/lib/censys/models/murmur_murmur_version.rb +322 -0
- data/lib/censys/models/mysql.rb +382 -0
- data/lib/censys/models/name_constraints.rb +402 -0
- data/lib/censys/models/nats_io.rb +361 -0
- data/lib/censys/models/nbd.rb +244 -0
- data/lib/censys/models/network.rb +269 -0
- data/lib/censys/models/network_capabilities.rb +330 -0
- data/lib/censys/models/nfs_mountd.rb +223 -0
- data/lib/censys/models/nmea.rb +223 -0
- data/lib/censys/models/nmea_nmea_message.rb +250 -0
- data/lib/censys/models/node_info_v0.rb +286 -0
- data/lib/censys/models/node_info_v1.rb +277 -0
- data/lib/censys/models/node_info_v2.rb +352 -0
- data/lib/censys/models/notice_reference.rb +232 -0
- data/lib/censys/models/ntlm_info.rb +356 -0
- data/lib/censys/models/ntp.rb +221 -0
- data/lib/censys/models/ntp_ntp_header.rb +357 -0
- data/lib/censys/models/ollama.rb +244 -0
- data/lib/censys/models/ollama_model.rb +321 -0
- data/lib/censys/models/onvif.rb +232 -0
- data/lib/censys/models/onvif_hostname.rb +229 -0
- data/lib/censys/models/onvif_service.rb +294 -0
- data/lib/censys/models/opc_ua.rb +363 -0
- data/lib/censys/models/opc_ua_description.rb +296 -0
- data/lib/censys/models/opc_ua_endpoint.rb +324 -0
- data/lib/censys/models/opc_ua_localized_text.rb +257 -0
- data/lib/censys/models/opc_ua_user_token_policy.rb +256 -0
- data/lib/censys/models/open_directory.rb +232 -0
- data/lib/censys/models/open_directory_file.rb +274 -0
- data/lib/censys/models/openvpn.rb +229 -0
- data/lib/censys/models/openvpn_mgmt.rb +259 -0
- data/lib/censys/models/oracle.rb +361 -0
- data/lib/censys/models/oracle_descriptor.rb +231 -0
- data/lib/censys/models/organization.rb +319 -0
- data/lib/censys/models/other_name.rb +231 -0
- data/lib/censys/models/pan_tilt_zoom_capabilities.rb +256 -0
- data/lib/censys/models/pc_anywhere.rb +240 -0
- data/lib/censys/models/pc_anywhere_status.rb +231 -0
- data/lib/censys/models/peer.rb +256 -0
- data/lib/censys/models/pgbouncer.rb +220 -0
- data/lib/censys/models/pgbouncer_startup_capabilities.rb +238 -0
- data/lib/censys/models/pixel_format.rb +547 -0
- data/lib/censys/models/plex_media_server.rb +220 -0
- data/lib/censys/models/pop3.rb +221 -0
- data/lib/censys/models/port.rb +232 -0
- data/lib/censys/models/portmap.rb +235 -0
- data/lib/censys/models/portmap_v2_entry.rb +294 -0
- data/lib/censys/models/portmap_v3_entry.rb +284 -0
- data/lib/censys/models/postgres.rb +244 -0
- data/lib/censys/models/pprof.rb +292 -0
- data/lib/censys/models/pptp.rb +311 -0
- data/lib/censys/models/pptp_response_info.rb +248 -0
- data/lib/censys/models/pptp_version.rb +267 -0
- data/lib/censys/models/profinet_cm.rb +238 -0
- data/lib/censys/models/prometheus.rb +221 -0
- data/lib/censys/models/prometheus_metric_family.rb +229 -0
- data/lib/censys/models/prometheus_response.rb +285 -0
- data/lib/censys/models/prometheus_response_active_target.rb +269 -0
- data/lib/censys/models/prometheus_response_active_target_discovered_labels.rb +251 -0
- data/lib/censys/models/prometheus_response_active_target_labels.rb +231 -0
- data/lib/censys/models/prometheus_response_dropped_target.rb +251 -0
- data/lib/censys/models/prometheus_response_prometheus_version.rb +241 -0
- data/lib/censys/models/prometheus_target.rb +223 -0
- data/lib/censys/models/qc_statements.rb +232 -0
- data/lib/censys/models/qc_statements_monetary_value.rb +247 -0
- data/lib/censys/models/qc_statements_parsed_statements.rb +295 -0
- data/lib/censys/models/qc_statements_pds_location.rb +229 -0
- data/lib/censys/models/qc_statements_qc_legislation.rb +223 -0
- data/lib/censys/models/qc_statements_qc_type.rb +223 -0
- data/lib/censys/models/raw_certificate_response.rb +263 -0
- data/lib/censys/models/rdate.rb +220 -0
- data/lib/censys/models/rdp.rb +312 -0
- data/lib/censys/models/rdp_certificate_info.rb +232 -0
- data/lib/censys/models/rdp_connect_response.rb +248 -0
- data/lib/censys/models/rdp_domain_parameters.rb +283 -0
- data/lib/censys/models/rdp_embedded_rsa_cert.rb +369 -0
- data/lib/censys/models/rdp_protocol_flags.rb +256 -0
- data/lib/censys/models/rdp_security_protocol.rb +356 -0
- data/lib/censys/models/rdp_version.rb +239 -0
- data/lib/censys/models/realport.rb +352 -0
- data/lib/censys/models/recording_capabilities.rb +359 -0
- data/lib/censys/models/redis.rb +562 -0
- data/lib/censys/models/redis_raw_output.rb +220 -0
- data/lib/censys/models/redline.rb +238 -0
- data/lib/censys/models/redlion_crimson.rb +265 -0
- data/lib/censys/models/redlion_web.rb +241 -0
- data/lib/censys/models/reject.rb +263 -0
- data/lib/censys/models/replay_capabilities.rb +238 -0
- data/lib/censys/models/representative_info.rb +306 -0
- data/lib/censys/models/response_envelope_certificate_asset.rb +220 -0
- data/lib/censys/models/response_envelope_collection.rb +220 -0
- data/lib/censys/models/response_envelope_collection_events_response.rb +220 -0
- data/lib/censys/models/response_envelope_host_asset.rb +220 -0
- data/lib/censys/models/response_envelope_host_observation_response.rb +220 -0
- data/lib/censys/models/response_envelope_host_timeline.rb +220 -0
- data/lib/censys/models/response_envelope_list_certificate_asset.rb +223 -0
- data/lib/censys/models/response_envelope_list_collections_response_v1.rb +220 -0
- data/lib/censys/models/response_envelope_list_host_asset.rb +223 -0
- data/lib/censys/models/response_envelope_list_raw_certificate_response.rb +223 -0
- data/lib/censys/models/response_envelope_list_search_convert_query_response.rb +223 -0
- data/lib/censys/models/response_envelope_list_webproperty_asset.rb +223 -0
- data/lib/censys/models/response_envelope_search_aggregate_response.rb +220 -0
- data/lib/censys/models/response_envelope_search_query_response.rb +220 -0
- data/lib/censys/models/response_envelope_tracked_scan.rb +220 -0
- data/lib/censys/models/response_envelope_value_counts_response.rb +220 -0
- data/lib/censys/models/response_envelope_webproperty_asset.rb +220 -0
- data/lib/censys/models/reverse_dns_resolved.rb +232 -0
- data/lib/censys/models/rifatron.rb +220 -0
- data/lib/censys/models/ripple.rb +238 -0
- data/lib/censys/models/ripple_clio_results.rb +247 -0
- data/lib/censys/models/ripple_peer_results.rb +283 -0
- data/lib/censys/models/rippled_public_results.rb +286 -0
- data/lib/censys/models/risk.rb +381 -0
- data/lib/censys/models/rlogin.rb +247 -0
- data/lib/censys/models/rocketmq.rb +238 -0
- data/lib/censys/models/rocketmq_cluster_info.rb +229 -0
- data/lib/censys/models/rocketmq_response_header.rb +256 -0
- data/lib/censys/models/rocketmq_topic_list.rb +232 -0
- data/lib/censys/models/root_store.rb +331 -0
- data/lib/censys/models/root_store_chain.rb +223 -0
- data/lib/censys/models/route_updated.rb +231 -0
- data/lib/censys/models/routing.rb +290 -0
- data/lib/censys/models/rsa_cryptographic_key.rb +257 -0
- data/lib/censys/models/rsa_public_key.rb +241 -0
- data/lib/censys/models/rtsp.rb +250 -0
- data/lib/censys/models/s7.rb +337 -0
- data/lib/censys/models/sap_router.rb +229 -0
- data/lib/censys/models/sap_router_client_info.rb +284 -0
- data/lib/censys/models/sap_router_router_info.rb +390 -0
- data/lib/censys/models/sap_router_router_version_info.rb +276 -0
- data/lib/censys/models/scada_view.rb +229 -0
- data/lib/censys/models/scans_discovery_input_body.rb +237 -0
- data/lib/censys/models/scans_discovery_input_body_target.rb +105 -0
- data/lib/censys/models/scans_discovery_input_body_target_one_of.rb +238 -0
- data/lib/censys/models/scans_discovery_input_body_target_one_of1.rb +238 -0
- data/lib/censys/models/scans_discovery_input_body_target_one_of1_hostname_port.rb +283 -0
- data/lib/censys/models/scans_discovery_input_body_target_one_of_host_port.rb +283 -0
- data/lib/censys/models/scans_rescan_input_body.rb +237 -0
- data/lib/censys/models/scans_rescan_input_body_target.rb +105 -0
- data/lib/censys/models/scans_rescan_input_body_target_one_of.rb +238 -0
- data/lib/censys/models/scans_rescan_input_body_target_one_of1.rb +238 -0
- data/lib/censys/models/scans_rescan_input_body_target_one_of1_web_origin.rb +283 -0
- data/lib/censys/models/scans_rescan_input_body_target_one_of_service_id.rb +360 -0
- data/lib/censys/models/scpi.rb +247 -0
- data/lib/censys/models/screenshot.rb +238 -0
- data/lib/censys/models/search_aggregate_input_body.rb +323 -0
- data/lib/censys/models/search_aggregate_response.rb +329 -0
- data/lib/censys/models/search_aggregate_response_bucket.rb +263 -0
- data/lib/censys/models/search_capabilities.rb +229 -0
- data/lib/censys/models/search_convert_query_input_body.rb +241 -0
- data/lib/censys/models/search_convert_query_response.rb +326 -0
- data/lib/censys/models/search_query_hit.rb +238 -0
- data/lib/censys/models/search_query_input_body.rb +287 -0
- data/lib/censys/models/search_query_response.rb +329 -0
- data/lib/censys/models/search_value_counts_input_body.rb +236 -0
- data/lib/censys/models/security_capabilities.rb +449 -0
- data/lib/censys/models/ser2_net.rb +256 -0
- data/lib/censys/models/ser2_net_serial_parameters.rb +247 -0
- data/lib/censys/models/server_config.rb +350 -0
- data/lib/censys/models/server_sync.rb +260 -0
- data/lib/censys/models/service.rb +1509 -0
- data/lib/censys/models/service_id.rb +300 -0
- data/lib/censys/models/service_scan.rb +1374 -0
- data/lib/censys/models/service_scanned.rb +231 -0
- data/lib/censys/models/seven_days_to_die.rb +274 -0
- data/lib/censys/models/signature.rb +250 -0
- data/lib/censys/models/signed_certificate_timestamp.rb +247 -0
- data/lib/censys/models/signed_certificate_timestamp_signature.rb +238 -0
- data/lib/censys/models/sip.rb +249 -0
- data/lib/censys/models/skinny.rb +220 -0
- data/lib/censys/models/smb.rb +297 -0
- data/lib/censys/models/smb_header_log.rb +332 -0
- data/lib/censys/models/smb_negotiation_log.rb +381 -0
- data/lib/censys/models/smb_session_setup_log.rb +285 -0
- data/lib/censys/models/smb_smb_capabilities.rb +281 -0
- data/lib/censys/models/smb_smb_versions.rb +308 -0
- data/lib/censys/models/smtp.rb +231 -0
- data/lib/censys/models/snmp.rb +262 -0
- data/lib/censys/models/snmp_engine.rb +349 -0
- data/lib/censys/models/snmp_interfaces.rb +240 -0
- data/lib/censys/models/snmp_physical.rb +281 -0
- data/lib/censys/models/snmp_system.rb +300 -0
- data/lib/censys/models/snmp_system_services.rb +281 -0
- data/lib/censys/models/socks.rb +266 -0
- data/lib/censys/models/spice.rb +285 -0
- data/lib/censys/models/ssdp.rb +231 -0
- data/lib/censys/models/ssh.rb +256 -0
- data/lib/censys/models/ssh_algorithm_selection.rb +247 -0
- data/lib/censys/models/ssh_algorithm_selection_direction_algorithms.rb +238 -0
- data/lib/censys/models/ssh_endpoint_id.rb +247 -0
- data/lib/censys/models/ssh_kex_init_message.rb +350 -0
- data/lib/censys/models/ssh_server_host_key.rb +265 -0
- data/lib/censys/models/status.rb +247 -0
- data/lib/censys/models/steam.rb +522 -0
- data/lib/censys/models/subject_key_info.rb +271 -0
- data/lib/censys/models/system_capabilities.rb +310 -0
- data/lib/censys/models/tacacs_plus.rb +388 -0
- data/lib/censys/models/target.rb +289 -0
- data/lib/censys/models/team_viewer.rb +220 -0
- data/lib/censys/models/telnet.rb +255 -0
- data/lib/censys/models/text_message.rb +284 -0
- data/lib/censys/models/threat.rb +347 -0
- data/lib/censys/models/threat_actor.rb +259 -0
- data/lib/censys/models/threat_details.rb +250 -0
- data/lib/censys/models/threat_malware.rb +259 -0
- data/lib/censys/models/tibia.rb +283 -0
- data/lib/censys/models/tls.rb +319 -0
- data/lib/censys/models/tls_chain.rb +241 -0
- data/lib/censys/models/tls_version_data.rb +272 -0
- data/lib/censys/models/tor_service_descriptor.rb +247 -0
- data/lib/censys/models/tplink_kasa.rb +346 -0
- data/lib/censys/models/tracked_scan.rb +259 -0
- data/lib/censys/models/tracked_scan_scan_target.rb +247 -0
- data/lib/censys/models/tracked_scan_scan_target_host_port.rb +248 -0
- data/lib/censys/models/tracked_scan_scan_target_hostname_port.rb +248 -0
- data/lib/censys/models/tracked_scan_task.rb +272 -0
- data/lib/censys/models/unitronics_pcom.rb +301 -0
- data/lib/censys/models/unrecognized_public_key.rb +220 -0
- data/lib/censys/models/upnp.rb +252 -0
- data/lib/censys/models/upnp_device.rb +350 -0
- data/lib/censys/models/upnp_service.rb +256 -0
- data/lib/censys/models/upnp_spec_version.rb +229 -0
- data/lib/censys/models/user.rb +229 -0
- data/lib/censys/models/user_notice.rb +229 -0
- data/lib/censys/models/validation.rb +251 -0
- data/lib/censys/models/validity_period.rb +241 -0
- data/lib/censys/models/value_counts_response.rb +225 -0
- data/lib/censys/models/ventrilo.rb +235 -0
- data/lib/censys/models/ventrilo_header.rb +351 -0
- data/lib/censys/models/ventrilo_message.rb +238 -0
- data/lib/censys/models/vnc.rb +271 -0
- data/lib/censys/models/vnc_key_value.rb +229 -0
- data/lib/censys/models/vuln.rb +396 -0
- data/lib/censys/models/web_origin.rb +248 -0
- data/lib/censys/models/weblogic_t3.rb +238 -0
- data/lib/censys/models/webproperty.rb +392 -0
- data/lib/censys/models/webproperty_asset.rb +263 -0
- data/lib/censys/models/whois.rb +229 -0
- data/lib/censys/models/whois_updated.rb +231 -0
- data/lib/censys/models/winrm.rb +232 -0
- data/lib/censys/models/worker.rb +247 -0
- data/lib/censys/models/ws_discovery.rb +275 -0
- data/lib/censys/models/x11.rb +247 -0
- data/lib/censys/models/z_lint.rb +284 -0
- data/lib/censys/models/zeromq.rb +249 -0
- data/lib/censys/models/zeromq_greeting.rb +294 -0
- data/lib/censys/models/zeromq_handshake.rb +238 -0
- data/lib/censys/version.rb +15 -0
- data/lib/censys.rb +539 -0
- data/spec/api/collections_api_spec.rb +158 -0
- data/spec/api/global_data_api_spec.rb +291 -0
- data/spec/api/threat_hunting_api_spec.rb +97 -0
- data/spec/models/activemq_spec.rb +102 -0
- data/spec/models/alternative_query_spec.rb +46 -0
- data/spec/models/amqp_protocol_spec.rb +42 -0
- data/spec/models/amqp_spec.rb +54 -0
- data/spec/models/amqp_version_spec.rb +48 -0
- data/spec/models/analytics_capabilities_spec.rb +54 -0
- data/spec/models/any_connect_spec.rb +60 -0
- data/spec/models/asset_certificate_list_input_body_spec.rb +36 -0
- data/spec/models/asset_host_list_input_body_spec.rb +36 -0
- data/spec/models/asset_webproperty_list_input_body_spec.rb +36 -0
- data/spec/models/asterisk_manager_interface_spec.rb +36 -0
- data/spec/models/attribute_spec.rb +112 -0
- data/spec/models/auth_spec.rb +36 -0
- data/spec/models/authority_info_access_spec.rb +42 -0
- data/spec/models/autonomous_system_spec.rb +66 -0
- data/spec/models/bacnet_spec.rb +84 -0
- data/spec/models/basic_constraints_spec.rb +42 -0
- data/spec/models/cabf_organization_id_spec.rb +54 -0
- data/spec/models/capabilities_spec.rb +90 -0
- data/spec/models/certificate_asset_spec.rb +42 -0
- data/spec/models/certificate_extensions_spec.rb +126 -0
- data/spec/models/certificate_parsed_spec.rb +114 -0
- data/spec/models/certificate_policy_spec.rb +48 -0
- data/spec/models/certificate_revocation_revocation_info_spec.rb +58 -0
- data/spec/models/certificate_revocation_spec.rb +42 -0
- data/spec/models/certificate_spec.rb +176 -0
- data/spec/models/checkpoint_topology_spec.rb +42 -0
- data/spec/models/chrome_devtools_spec.rb +66 -0
- data/spec/models/chrome_devtools_target_spec.rb +48 -0
- data/spec/models/chromecast_application_spec.rb +66 -0
- data/spec/models/chromecast_namespace_spec.rb +36 -0
- data/spec/models/chromecast_spec.rb +72 -0
- data/spec/models/chromecast_volume_spec.rb +54 -0
- data/spec/models/cisco_ipsla_handshake_header_spec.rb +54 -0
- data/spec/models/cisco_ipsla_handshake_message_spec.rb +54 -0
- data/spec/models/cisco_ipsla_handshake_spec.rb +42 -0
- data/spec/models/cisco_ipsla_measure_response_spec.rb +72 -0
- data/spec/models/cisco_ipsla_spec.rb +42 -0
- data/spec/models/coap_spec.rb +66 -0
- data/spec/models/cobalt_strike_config_spec.rb +120 -0
- data/spec/models/cobalt_strike_http_config_spec.rb +48 -0
- data/spec/models/cobalt_strike_post_ex_spec.rb +42 -0
- data/spec/models/cobalt_strike_spec.rb +42 -0
- data/spec/models/collection_event_spec.rb +42 -0
- data/spec/models/collection_events_response_spec.rb +42 -0
- data/spec/models/collection_spec.rb +98 -0
- data/spec/models/connection_spec.rb +84 -0
- data/spec/models/contact_spec.rb +48 -0
- data/spec/models/convert_query_error_spec.rb +36 -0
- data/spec/models/coordinates_spec.rb +42 -0
- data/spec/models/count_condition_spec.rb +36 -0
- data/spec/models/cpe_life_cycle_spec.rb +48 -0
- data/spec/models/cpe_spec.rb +78 -0
- data/spec/models/crestron_cp3_spec.rb +36 -0
- data/spec/models/crestron_din_ap2_spec.rb +36 -0
- data/spec/models/crud_create_input_body_spec.rb +48 -0
- data/spec/models/crud_update_input_body_spec.rb +48 -0
- data/spec/models/crypt_setup_spec.rb +48 -0
- data/spec/models/ct_record_spec.rb +48 -0
- data/spec/models/ct_spec.rb +36 -0
- data/spec/models/cvss_components_spec.rb +110 -0
- data/spec/models/cvss_spec.rb +48 -0
- data/spec/models/cvssv4_components_spec.rb +170 -0
- data/spec/models/cvssv4_spec.rb +48 -0
- data/spec/models/cwe_spec.rb +36 -0
- data/spec/models/cwmp_spec.rb +48 -0
- data/spec/models/darkcomet_spec.rb +36 -0
- data/spec/models/darkgate_file_spec.rb +42 -0
- data/spec/models/darkgate_spec.rb +36 -0
- data/spec/models/dcerpc_endpoint_spec.rb +54 -0
- data/spec/models/dcerpc_spec.rb +48 -0
- data/spec/models/desktop_info_spec.rb +54 -0
- data/spec/models/device_capabilities_spec.rb +48 -0
- data/spec/models/device_io_capabilities_spec.rb +72 -0
- data/spec/models/dhcpdiscover_device_info_spec.rb +144 -0
- data/spec/models/dhcpdiscover_ip_address_spec.rb +60 -0
- data/spec/models/dhcpdiscover_response_params_spec.rb +36 -0
- data/spec/models/dhcpdiscover_spec.rb +42 -0
- data/spec/models/distinguished_name_spec.rb +132 -0
- data/spec/models/dns_e_dns_spec.rb +54 -0
- data/spec/models/dns_resource_record_spec.rb +52 -0
- data/spec/models/dns_spec.rb +92 -0
- data/spec/models/dsa_cryptographic_key_spec.rb +54 -0
- data/spec/models/dsa_public_key_spec.rb +54 -0
- data/spec/models/dvr_ip_partition_capability_spec.rb +42 -0
- data/spec/models/dvr_ip_spec.rb +102 -0
- data/spec/models/ecdsa_cryptographic_key_spec.rb +90 -0
- data/spec/models/ecdsa_public_key_spec.rb +90 -0
- data/spec/models/ed25519_cryptographic_key_spec.rb +36 -0
- data/spec/models/edi_party_name_spec.rb +42 -0
- data/spec/models/eip_identity_spec.rb +102 -0
- data/spec/models/eip_interface_spec.rb +42 -0
- data/spec/models/eip_service_spec.rb +54 -0
- data/spec/models/eip_spec.rb +48 -0
- data/spec/models/elastic_search_error_message_spec.rb +48 -0
- data/spec/models/elastic_search_results_node_info_cluster_combined_info_filesystem_spec.rb +66 -0
- data/spec/models/elastic_search_results_node_info_cluster_combined_info_indices_docs_spec.rb +42 -0
- data/spec/models/elastic_search_results_node_info_cluster_combined_info_indices_spec.rb +48 -0
- data/spec/models/elastic_search_results_node_info_cluster_combined_info_indices_store_spec.rb +42 -0
- data/spec/models/elastic_search_results_node_info_cluster_combined_info_spec.rb +66 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_jvm_spec.rb +84 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_modules_spec.rb +78 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_node_settings_node_attr_ml_spec.rb +48 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_node_settings_node_attr_spec.rb +42 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_node_settings_node_spec.rb +42 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_node_settings_spec.rb +42 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_os_spec.rb +72 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_spec.rb +126 -0
- data/spec/models/elastic_search_results_node_info_nodes_node_data_thread_pool_spec.rb +60 -0
- data/spec/models/elastic_search_results_node_info_nodes_spec.rb +42 -0
- data/spec/models/elastic_search_results_node_info_spec.rb +42 -0
- data/spec/models/elastic_search_spec.rb +48 -0
- data/spec/models/elastic_search_system_info_spec.rb +54 -0
- data/spec/models/elastic_search_system_info_ver_spec.rb +84 -0
- data/spec/models/elf_file_spec.rb +60 -0
- data/spec/models/endpoint_scan_spec.rb +202 -0
- data/spec/models/endpoint_scan_state_spec.rb +190 -0
- data/spec/models/endpoint_scanned_spec.rb +42 -0
- data/spec/models/epmd_spec.rb +36 -0
- data/spec/models/epss_spec.rb +42 -0
- data/spec/models/error_detail_spec.rb +48 -0
- data/spec/models/error_model_spec.rb +66 -0
- data/spec/models/etcd_spec.rb +48 -0
- data/spec/models/etcd_v2_spec.rb +48 -0
- data/spec/models/etcd_v3_spec.rb +48 -0
- data/spec/models/etcd_version_spec.rb +42 -0
- data/spec/models/ethereum_spec.rb +48 -0
- data/spec/models/ethereum_version_spec.rb +60 -0
- data/spec/models/event_asset_change_spec.rb +52 -0
- data/spec/models/event_status_change_spec.rb +62 -0
- data/spec/models/events_capabilities_spec.rb +60 -0
- data/spec/models/evidence_spec.rb +78 -0
- data/spec/models/export_list_spec.rb +42 -0
- data/spec/models/export_spec.rb +72 -0
- data/spec/models/extended_key_usage_spec.rb +414 -0
- data/spec/models/extension_spec.rb +48 -0
- data/spec/models/field_diff_spec.rb +42 -0
- data/spec/models/field_value_pair_spec.rb +42 -0
- data/spec/models/float_value_spec.rb +36 -0
- data/spec/models/fortigate_spec.rb +66 -0
- data/spec/models/forward_dns_resolved_spec.rb +42 -0
- data/spec/models/fox_spec.rb +138 -0
- data/spec/models/ftp_spec.rb +60 -0
- data/spec/models/gearman_spec.rb +48 -0
- data/spec/models/general_names_spec.rb +78 -0
- data/spec/models/general_subtree_ip_spec.rb +54 -0
- data/spec/models/graphql_spec.rb +42 -0
- data/spec/models/hid_vertx_spec.rb +72 -0
- data/spec/models/hikvision_platform_library_spec.rb +42 -0
- data/spec/models/hikvision_platform_spec.rb +42 -0
- data/spec/models/hikvision_spec.rb +54 -0
- data/spec/models/host_asset_spec.rb +42 -0
- data/spec/models/host_dns_forward_resolution_spec.rb +58 -0
- data/spec/models/host_dns_reverse_resolution_spec.rb +48 -0
- data/spec/models/host_dns_spec.rb +48 -0
- data/spec/models/host_observation_range_spec.rb +66 -0
- data/spec/models/host_observation_response_spec.rb +48 -0
- data/spec/models/host_spec.rb +90 -0
- data/spec/models/host_timeline_event_asset_spec.rb +42 -0
- data/spec/models/host_timeline_event_spec.rb +84 -0
- data/spec/models/host_timeline_spec.rb +42 -0
- data/spec/models/http_favicon_spec.rb +66 -0
- data/spec/models/http_repeated_headers_spec.rb +36 -0
- data/spec/models/http_spec.rb +114 -0
- data/spec/models/ibmnje_spec.rb +66 -0
- data/spec/models/ike_spec.rb +42 -0
- data/spec/models/ike_v1_spec.rb +48 -0
- data/spec/models/ike_v2_spec.rb +48 -0
- data/spec/models/image_capabilities_spec.rb +36 -0
- data/spec/models/imap_spec.rb +36 -0
- data/spec/models/iota_spec.rb +48 -0
- data/spec/models/ipmi_capabilities_auth_status_spec.rb +66 -0
- data/spec/models/ipmi_capabilities_completion_code_spec.rb +42 -0
- data/spec/models/ipmi_capabilities_extended_capabilities_spec.rb +42 -0
- data/spec/models/ipmi_capabilities_spec.rb +72 -0
- data/spec/models/ipmi_capabilities_supported_auth_types_spec.rb +72 -0
- data/spec/models/ipmi_command_payload_command_number_spec.rb +42 -0
- data/spec/models/ipmi_command_payload_packed_net_fn_logical_unit_number_spec.rb +42 -0
- data/spec/models/ipmi_command_payload_packed_net_fn_net_fn_spec.rb +60 -0
- data/spec/models/ipmi_command_payload_packed_net_fn_spec.rb +48 -0
- data/spec/models/ipmi_command_payload_spec.rb +60 -0
- data/spec/models/ipmi_rmcp_header_message_class_spec.rb +54 -0
- data/spec/models/ipmi_rmcp_header_spec.rb +48 -0
- data/spec/models/ipmi_session_header_auth_type_spec.rb +48 -0
- data/spec/models/ipmi_session_header_spec.rb +54 -0
- data/spec/models/ipmi_spec.rb +60 -0
- data/spec/models/ipp_attribute_spec.rb +42 -0
- data/spec/models/ipp_spec.rb +78 -0
- data/spec/models/iscsi_spec.rb +48 -0
- data/spec/models/ivanti_avalanche_spec.rb +48 -0
- data/spec/models/ja4_t_scan_scan_spec.rb +42 -0
- data/spec/models/jarm_scan_spec.rb +88 -0
- data/spec/models/jarm_scanned_spec.rb +42 -0
- data/spec/models/kev_spec.rb +52 -0
- data/spec/models/key_algorithm_spec.rb +42 -0
- data/spec/models/key_usage_spec.rb +90 -0
- data/spec/models/krpc_spec.rb +36 -0
- data/spec/models/kubernetes_endpoint_spec.rb +48 -0
- data/spec/models/kubernetes_endpoint_subset_endpoint_address_spec.rb +48 -0
- data/spec/models/kubernetes_endpoint_subset_port_spec.rb +48 -0
- data/spec/models/kubernetes_endpoint_subset_spec.rb +42 -0
- data/spec/models/kubernetes_node_node_address_spec.rb +42 -0
- data/spec/models/kubernetes_node_spec.rb +90 -0
- data/spec/models/kubernetes_role_rule_spec.rb +48 -0
- data/spec/models/kubernetes_role_spec.rb +42 -0
- data/spec/models/kubernetes_spec.rb +66 -0
- data/spec/models/kubernetes_version_info_spec.rb +84 -0
- data/spec/models/l2_tp_attribute_values_spec.rb +96 -0
- data/spec/models/l2_tp_sccrp_spec.rb +36 -0
- data/spec/models/l2_tp_spec.rb +84 -0
- data/spec/models/l2_tp_stop_ccn_spec.rb +36 -0
- data/spec/models/label_spec.rb +58 -0
- data/spec/models/ldap_attribute_spec.rb +42 -0
- data/spec/models/ldap_spec.rb +48 -0
- data/spec/models/list_collections_response_v1_spec.rb +42 -0
- data/spec/models/location_spec.rb +90 -0
- data/spec/models/location_updated_spec.rb +36 -0
- data/spec/models/lpd_message_spec.rb +42 -0
- data/spec/models/lpd_spec.rb +72 -0
- data/spec/models/mdns_result_spec.rb +72 -0
- data/spec/models/mdns_spec.rb +48 -0
- data/spec/models/media_capabilities_spec.rb +66 -0
- data/spec/models/media_profile_spec.rb +36 -0
- data/spec/models/media_streaming_spec.rb +54 -0
- data/spec/models/members_spec.rb +54 -0
- data/spec/models/memcached_spec.rb +60 -0
- data/spec/models/metrics_spec.rb +54 -0
- data/spec/models/minecraft_spec.rb +60 -0
- data/spec/models/mms_spec.rb +48 -0
- data/spec/models/modbus_exception_response_spec.rb +42 -0
- data/spec/models/modbus_mei_response_spec.rb +48 -0
- data/spec/models/modbus_spec.rb +54 -0
- data/spec/models/monero_p2_p_entry_spec.rb +42 -0
- data/spec/models/monero_p2_p_payload_spec.rb +36 -0
- data/spec/models/monero_p2_p_ping_response_spec.rb +42 -0
- data/spec/models/monero_p2_p_response_header_spec.rb +72 -0
- data/spec/models/monero_p2_p_spec.rb +36 -0
- data/spec/models/mongodb_build_info_build_environment_spec.rb +84 -0
- data/spec/models/mongodb_build_info_spec.rb +48 -0
- data/spec/models/mongodb_is_master_spec.rb +78 -0
- data/spec/models/mongodb_spec.rb +42 -0
- data/spec/models/mqtt_connection_ack_return_spec.rb +42 -0
- data/spec/models/mqtt_spec.rb +48 -0
- data/spec/models/mqtt_subscription_ack_return_spec.rb +42 -0
- data/spec/models/mssql_prelogin_options_server_version_spec.rb +48 -0
- data/spec/models/mssql_prelogin_options_spec.rb +84 -0
- data/spec/models/mssql_spec.rb +54 -0
- data/spec/models/murmur_message_murmur_header_spec.rb +42 -0
- data/spec/models/murmur_message_spec.rb +42 -0
- data/spec/models/murmur_murmur_version_spec.rb +66 -0
- data/spec/models/murmur_spec.rb +72 -0
- data/spec/models/mysql_spec.rb +96 -0
- data/spec/models/name_constraints_spec.rb +120 -0
- data/spec/models/nats_io_spec.rb +126 -0
- data/spec/models/nbd_spec.rb +48 -0
- data/spec/models/network_capabilities_spec.rb +84 -0
- data/spec/models/network_spec.rb +66 -0
- data/spec/models/nfs_mountd_spec.rb +36 -0
- data/spec/models/nmea_nmea_message_spec.rb +54 -0
- data/spec/models/nmea_spec.rb +36 -0
- data/spec/models/node_info_v0_spec.rb +78 -0
- data/spec/models/node_info_v1_spec.rb +72 -0
- data/spec/models/node_info_v2_spec.rb +120 -0
- data/spec/models/notice_reference_spec.rb +42 -0
- data/spec/models/ntlm_info_spec.rb +114 -0
- data/spec/models/ntp_ntp_header_spec.rb +72 -0
- data/spec/models/ntp_spec.rb +36 -0
- data/spec/models/ollama_model_spec.rb +78 -0
- data/spec/models/ollama_spec.rb +48 -0
- data/spec/models/onvif_hostname_spec.rb +42 -0
- data/spec/models/onvif_service_spec.rb +60 -0
- data/spec/models/onvif_spec.rb +42 -0
- data/spec/models/opc_ua_description_spec.rb +72 -0
- data/spec/models/opc_ua_endpoint_spec.rb +78 -0
- data/spec/models/opc_ua_localized_text_spec.rb +48 -0
- data/spec/models/opc_ua_spec.rb +66 -0
- data/spec/models/opc_ua_user_token_policy_spec.rb +60 -0
- data/spec/models/open_directory_file_spec.rb +72 -0
- data/spec/models/open_directory_spec.rb +42 -0
- data/spec/models/openvpn_mgmt_spec.rb +60 -0
- data/spec/models/openvpn_spec.rb +42 -0
- data/spec/models/oracle_descriptor_spec.rb +42 -0
- data/spec/models/oracle_spec.rb +102 -0
- data/spec/models/organization_spec.rb +96 -0
- data/spec/models/other_name_spec.rb +42 -0
- data/spec/models/pan_tilt_zoom_capabilities_spec.rb +60 -0
- data/spec/models/pc_anywhere_spec.rb +48 -0
- data/spec/models/pc_anywhere_status_spec.rb +42 -0
- data/spec/models/peer_spec.rb +60 -0
- data/spec/models/pgbouncer_spec.rb +36 -0
- data/spec/models/pgbouncer_startup_capabilities_spec.rb +48 -0
- data/spec/models/pixel_format_spec.rb +108 -0
- data/spec/models/plex_media_server_spec.rb +36 -0
- data/spec/models/pop3_spec.rb +36 -0
- data/spec/models/port_spec.rb +42 -0
- data/spec/models/portmap_spec.rb +42 -0
- data/spec/models/portmap_v2_entry_spec.rb +60 -0
- data/spec/models/portmap_v3_entry_spec.rb +66 -0
- data/spec/models/postgres_spec.rb +48 -0
- data/spec/models/pprof_spec.rb +84 -0
- data/spec/models/pptp_response_info_spec.rb +42 -0
- data/spec/models/pptp_spec.rb +84 -0
- data/spec/models/pptp_version_spec.rb +42 -0
- data/spec/models/profinet_cm_spec.rb +48 -0
- data/spec/models/prometheus_metric_family_spec.rb +42 -0
- data/spec/models/prometheus_response_active_target_discovered_labels_spec.rb +54 -0
- data/spec/models/prometheus_response_active_target_labels_spec.rb +42 -0
- data/spec/models/prometheus_response_active_target_spec.rb +66 -0
- data/spec/models/prometheus_response_dropped_target_spec.rb +54 -0
- data/spec/models/prometheus_response_prometheus_version_spec.rb +48 -0
- data/spec/models/prometheus_response_spec.rb +66 -0
- data/spec/models/prometheus_spec.rb +36 -0
- data/spec/models/prometheus_target_spec.rb +36 -0
- data/spec/models/qc_statements_monetary_value_spec.rb +54 -0
- data/spec/models/qc_statements_parsed_statements_spec.rb +72 -0
- data/spec/models/qc_statements_pds_location_spec.rb +42 -0
- data/spec/models/qc_statements_qc_legislation_spec.rb +36 -0
- data/spec/models/qc_statements_qc_type_spec.rb +36 -0
- data/spec/models/qc_statements_spec.rb +42 -0
- data/spec/models/raw_certificate_response_spec.rb +42 -0
- data/spec/models/rdate_spec.rb +36 -0
- data/spec/models/rdp_certificate_info_spec.rb +42 -0
- data/spec/models/rdp_connect_response_spec.rb +42 -0
- data/spec/models/rdp_domain_parameters_spec.rb +78 -0
- data/spec/models/rdp_embedded_rsa_cert_spec.rb +72 -0
- data/spec/models/rdp_protocol_flags_spec.rb +60 -0
- data/spec/models/rdp_security_protocol_spec.rb +114 -0
- data/spec/models/rdp_spec.rb +72 -0
- data/spec/models/rdp_version_spec.rb +48 -0
- data/spec/models/realport_spec.rb +72 -0
- data/spec/models/recording_capabilities_spec.rb +78 -0
- data/spec/models/redis_raw_output_spec.rb +36 -0
- data/spec/models/redis_spec.rb +156 -0
- data/spec/models/redline_spec.rb +48 -0
- data/spec/models/redlion_crimson_spec.rb +66 -0
- data/spec/models/redlion_web_spec.rb +48 -0
- data/spec/models/reject_spec.rb +46 -0
- data/spec/models/replay_capabilities_spec.rb +48 -0
- data/spec/models/representative_info_spec.rb +58 -0
- data/spec/models/response_envelope_certificate_asset_spec.rb +36 -0
- data/spec/models/response_envelope_collection_events_response_spec.rb +36 -0
- data/spec/models/response_envelope_collection_spec.rb +36 -0
- data/spec/models/response_envelope_host_asset_spec.rb +36 -0
- data/spec/models/response_envelope_host_observation_response_spec.rb +36 -0
- data/spec/models/response_envelope_host_timeline_spec.rb +36 -0
- data/spec/models/response_envelope_list_certificate_asset_spec.rb +36 -0
- data/spec/models/response_envelope_list_collections_response_v1_spec.rb +36 -0
- data/spec/models/response_envelope_list_host_asset_spec.rb +36 -0
- data/spec/models/response_envelope_list_raw_certificate_response_spec.rb +36 -0
- data/spec/models/response_envelope_list_search_convert_query_response_spec.rb +36 -0
- data/spec/models/response_envelope_list_webproperty_asset_spec.rb +36 -0
- data/spec/models/response_envelope_search_aggregate_response_spec.rb +36 -0
- data/spec/models/response_envelope_search_query_response_spec.rb +36 -0
- data/spec/models/response_envelope_tracked_scan_spec.rb +36 -0
- data/spec/models/response_envelope_value_counts_response_spec.rb +36 -0
- data/spec/models/response_envelope_webproperty_asset_spec.rb +36 -0
- data/spec/models/reverse_dns_resolved_spec.rb +42 -0
- data/spec/models/rifatron_spec.rb +36 -0
- data/spec/models/ripple_clio_results_spec.rb +54 -0
- data/spec/models/ripple_peer_results_spec.rb +72 -0
- data/spec/models/ripple_spec.rb +48 -0
- data/spec/models/rippled_public_results_spec.rb +78 -0
- data/spec/models/risk_spec.rb +102 -0
- data/spec/models/rlogin_spec.rb +54 -0
- data/spec/models/rocketmq_cluster_info_spec.rb +42 -0
- data/spec/models/rocketmq_response_header_spec.rb +60 -0
- data/spec/models/rocketmq_spec.rb +48 -0
- data/spec/models/rocketmq_topic_list_spec.rb +42 -0
- data/spec/models/root_store_chain_spec.rb +36 -0
- data/spec/models/root_store_spec.rb +82 -0
- data/spec/models/route_updated_spec.rb +42 -0
- data/spec/models/routing_spec.rb +66 -0
- data/spec/models/rsa_cryptographic_key_spec.rb +48 -0
- data/spec/models/rsa_public_key_spec.rb +48 -0
- data/spec/models/rtsp_spec.rb +54 -0
- data/spec/models/s7_spec.rb +114 -0
- data/spec/models/sap_router_client_info_spec.rb +66 -0
- data/spec/models/sap_router_router_info_spec.rb +84 -0
- data/spec/models/sap_router_router_version_info_spec.rb +48 -0
- data/spec/models/sap_router_spec.rb +42 -0
- data/spec/models/scada_view_spec.rb +42 -0
- data/spec/models/scans_discovery_input_body_spec.rb +36 -0
- data/spec/models/scans_discovery_input_body_target_one_of1_hostname_port_spec.rb +42 -0
- data/spec/models/scans_discovery_input_body_target_one_of1_spec.rb +36 -0
- data/spec/models/scans_discovery_input_body_target_one_of_host_port_spec.rb +42 -0
- data/spec/models/scans_discovery_input_body_target_one_of_spec.rb +36 -0
- data/spec/models/scans_discovery_input_body_target_spec.rb +32 -0
- data/spec/models/scans_rescan_input_body_spec.rb +36 -0
- data/spec/models/scans_rescan_input_body_target_one_of1_spec.rb +36 -0
- data/spec/models/scans_rescan_input_body_target_one_of1_web_origin_spec.rb +42 -0
- data/spec/models/scans_rescan_input_body_target_one_of_service_id_spec.rb +58 -0
- data/spec/models/scans_rescan_input_body_target_one_of_spec.rb +36 -0
- data/spec/models/scans_rescan_input_body_target_spec.rb +32 -0
- data/spec/models/scpi_spec.rb +54 -0
- data/spec/models/screenshot_spec.rb +48 -0
- data/spec/models/search_aggregate_input_body_spec.rb +60 -0
- data/spec/models/search_aggregate_response_bucket_spec.rb +42 -0
- data/spec/models/search_aggregate_response_spec.rb +60 -0
- data/spec/models/search_capabilities_spec.rb +42 -0
- data/spec/models/search_convert_query_input_body_spec.rb +36 -0
- data/spec/models/search_convert_query_response_spec.rb +70 -0
- data/spec/models/search_query_hit_spec.rb +48 -0
- data/spec/models/search_query_input_body_spec.rb +54 -0
- data/spec/models/search_query_response_spec.rb +60 -0
- data/spec/models/search_value_counts_input_body_spec.rb +42 -0
- data/spec/models/security_capabilities_spec.rb +138 -0
- data/spec/models/ser2_net_serial_parameters_spec.rb +54 -0
- data/spec/models/ser2_net_spec.rb +60 -0
- data/spec/models/server_config_spec.rb +72 -0
- data/spec/models/server_sync_spec.rb +48 -0
- data/spec/models/service_id_spec.rb +58 -0
- data/spec/models/service_scan_spec.rb +772 -0
- data/spec/models/service_scanned_spec.rb +42 -0
- data/spec/models/service_spec.rb +844 -0
- data/spec/models/seven_days_to_die_spec.rb +72 -0
- data/spec/models/signature_spec.rb +54 -0
- data/spec/models/signed_certificate_timestamp_signature_spec.rb +48 -0
- data/spec/models/signed_certificate_timestamp_spec.rb +54 -0
- data/spec/models/sip_spec.rb +54 -0
- data/spec/models/skinny_spec.rb +36 -0
- data/spec/models/smb_header_log_spec.rb +60 -0
- data/spec/models/smb_negotiation_log_spec.rb +78 -0
- data/spec/models/smb_session_setup_log_spec.rb +54 -0
- data/spec/models/smb_smb_capabilities_spec.rb +72 -0
- data/spec/models/smb_smb_versions_spec.rb +54 -0
- data/spec/models/smb_spec.rb +84 -0
- data/spec/models/smtp_spec.rb +42 -0
- data/spec/models/snmp_engine_spec.rb +84 -0
- data/spec/models/snmp_interfaces_spec.rb +36 -0
- data/spec/models/snmp_physical_spec.rb +72 -0
- data/spec/models/snmp_spec.rb +60 -0
- data/spec/models/snmp_system_services_spec.rb +72 -0
- data/spec/models/snmp_system_spec.rb +72 -0
- data/spec/models/socks_spec.rb +54 -0
- data/spec/models/spice_spec.rb +54 -0
- data/spec/models/ssdp_spec.rb +42 -0
- data/spec/models/ssh_algorithm_selection_direction_algorithms_spec.rb +48 -0
- data/spec/models/ssh_algorithm_selection_spec.rb +54 -0
- data/spec/models/ssh_endpoint_id_spec.rb +54 -0
- data/spec/models/ssh_kex_init_message_spec.rb +96 -0
- data/spec/models/ssh_server_host_key_spec.rb +66 -0
- data/spec/models/ssh_spec.rb +60 -0
- data/spec/models/status_spec.rb +54 -0
- data/spec/models/steam_spec.rb +168 -0
- data/spec/models/subject_key_info_spec.rb +66 -0
- data/spec/models/system_capabilities_spec.rb +96 -0
- data/spec/models/tacacs_plus_spec.rb +72 -0
- data/spec/models/target_spec.rb +72 -0
- data/spec/models/team_viewer_spec.rb +36 -0
- data/spec/models/telnet_spec.rb +54 -0
- data/spec/models/text_message_spec.rb +60 -0
- data/spec/models/threat_actor_spec.rb +60 -0
- data/spec/models/threat_details_spec.rb +54 -0
- data/spec/models/threat_malware_spec.rb +60 -0
- data/spec/models/threat_spec.rb +94 -0
- data/spec/models/tibia_spec.rb +78 -0
- data/spec/models/tls_chain_spec.rb +48 -0
- data/spec/models/tls_spec.rb +76 -0
- data/spec/models/tls_version_data_spec.rb +52 -0
- data/spec/models/tor_service_descriptor_spec.rb +54 -0
- data/spec/models/tplink_kasa_spec.rb +120 -0
- data/spec/models/tracked_scan_scan_target_host_port_spec.rb +42 -0
- data/spec/models/tracked_scan_scan_target_hostname_port_spec.rb +42 -0
- data/spec/models/tracked_scan_scan_target_spec.rb +54 -0
- data/spec/models/tracked_scan_spec.rb +60 -0
- data/spec/models/tracked_scan_task_spec.rb +52 -0
- data/spec/models/unitronics_pcom_spec.rb +90 -0
- data/spec/models/unrecognized_public_key_spec.rb +36 -0
- data/spec/models/upnp_device_spec.rb +120 -0
- data/spec/models/upnp_service_spec.rb +60 -0
- data/spec/models/upnp_spec.rb +54 -0
- data/spec/models/upnp_spec_version_spec.rb +42 -0
- data/spec/models/user_notice_spec.rb +42 -0
- data/spec/models/user_spec.rb +42 -0
- data/spec/models/validation_spec.rb +54 -0
- data/spec/models/validity_period_spec.rb +48 -0
- data/spec/models/value_counts_response_spec.rb +36 -0
- data/spec/models/ventrilo_header_spec.rb +60 -0
- data/spec/models/ventrilo_message_spec.rb +48 -0
- data/spec/models/ventrilo_spec.rb +42 -0
- data/spec/models/vnc_key_value_spec.rb +42 -0
- data/spec/models/vnc_spec.rb +66 -0
- data/spec/models/vuln_spec.rb +108 -0
- data/spec/models/web_origin_spec.rb +42 -0
- data/spec/models/weblogic_t3_spec.rb +48 -0
- data/spec/models/webproperty_asset_spec.rb +42 -0
- data/spec/models/webproperty_spec.rb +120 -0
- data/spec/models/whois_spec.rb +42 -0
- data/spec/models/whois_updated_spec.rb +42 -0
- data/spec/models/winrm_spec.rb +42 -0
- data/spec/models/worker_spec.rb +54 -0
- data/spec/models/ws_discovery_spec.rb +54 -0
- data/spec/models/x11_spec.rb +54 -0
- data/spec/models/z_lint_spec.rb +72 -0
- data/spec/models/zeromq_greeting_spec.rb +60 -0
- data/spec/models/zeromq_handshake_spec.rb +48 -0
- data/spec/models/zeromq_spec.rb +54 -0
- data/spec/spec_helper.rb +111 -0
- metadata +2095 -0
|
@@ -0,0 +1,158 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for CensysApi::CollectionsApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'CollectionsApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = CensysApi::CollectionsApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of CollectionsApi' do
|
|
30
|
+
it 'should create an instance of CollectionsApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(CensysApi::CollectionsApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for v3_collections_crud_create
|
|
36
|
+
# Create a collection
|
|
37
|
+
# Create a new collection.
|
|
38
|
+
# @param 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.
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @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.
|
|
41
|
+
# @option opts [CrudCreateInputBody] :crud_create_input_body
|
|
42
|
+
# @return [ResponseEnvelopeCollection]
|
|
43
|
+
describe 'v3_collections_crud_create test' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# unit tests for v3_collections_crud_delete
|
|
50
|
+
# Delete a collection
|
|
51
|
+
# Delete a collection.
|
|
52
|
+
# @param 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.
|
|
53
|
+
# @param collection_uid The UID for the collection. Obtain the collection ID using the [list collections endpoint](https://docs.censys.com/reference/v3-collections-crud-list#/) or via the collection URL when using the web console.
|
|
54
|
+
# @param [Hash] opts the optional parameters
|
|
55
|
+
# @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.
|
|
56
|
+
# @return [nil]
|
|
57
|
+
describe 'v3_collections_crud_delete test' do
|
|
58
|
+
it 'should work' do
|
|
59
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# unit tests for v3_collections_crud_get
|
|
64
|
+
# Get a collection
|
|
65
|
+
# Retrieve information about a collection. Retrieved information includes its name, query, description, status, and asset count.
|
|
66
|
+
# @param 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.
|
|
67
|
+
# @param collection_uid The UID for the collection. Obtain the collection ID using the [list collections endpoint](https://docs.censys.com/reference/v3-collections-crud-list#/) or via the collection URL when using the web console.
|
|
68
|
+
# @param [Hash] opts the optional parameters
|
|
69
|
+
# @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.
|
|
70
|
+
# @return [ResponseEnvelopeCollection]
|
|
71
|
+
describe 'v3_collections_crud_get test' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# unit tests for v3_collections_crud_list
|
|
78
|
+
# List collections
|
|
79
|
+
# List all collections for an organization. Retrieved information includes collection ID, name, query, description, status, and asset count.
|
|
80
|
+
# @param 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.
|
|
81
|
+
# @param [Hash] opts the optional parameters
|
|
82
|
+
# @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.
|
|
83
|
+
# @option opts [String] :page_token page token for the requested page of collection results
|
|
84
|
+
# @option opts [Integer] :page_size amount of results to return per page
|
|
85
|
+
# @return [ResponseEnvelopeListCollectionsResponseV1]
|
|
86
|
+
describe 'v3_collections_crud_list test' do
|
|
87
|
+
it 'should work' do
|
|
88
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# unit tests for v3_collections_crud_update
|
|
93
|
+
# Update a collection
|
|
94
|
+
# Update a collection's name, description, and/or query.
|
|
95
|
+
# @param 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.
|
|
96
|
+
# @param collection_uid The UID for the collection
|
|
97
|
+
# @param [Hash] opts the optional parameters
|
|
98
|
+
# @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.
|
|
99
|
+
# @option opts [CrudUpdateInputBody] :crud_update_input_body
|
|
100
|
+
# @return [ResponseEnvelopeCollection]
|
|
101
|
+
describe 'v3_collections_crud_update test' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# unit tests for v3_collections_list_events
|
|
108
|
+
# Get a collection's events
|
|
109
|
+
# Retrieve the event history for a collection. This includes the addition or removal of assets as well as collection status changes.
|
|
110
|
+
# @param 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.
|
|
111
|
+
# @param collection_uid The UID for the collection. Obtain the collection ID using the [list collections endpoint](https://docs.censys.com/reference/v3-collections-crud-list#/) or via the collection URL when using the web console.
|
|
112
|
+
# @param [Hash] opts the optional parameters
|
|
113
|
+
# @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.
|
|
114
|
+
# @option opts [Integer] :page_size Amount of results to return per page.
|
|
115
|
+
# @option opts [String] :page_token Page token for the requested page of collection results.
|
|
116
|
+
# @option opts [Array<String>] :change_types Change types
|
|
117
|
+
# @option opts [Array<String>] :asset_change_types Asset change types
|
|
118
|
+
# @option opts [Array<String>] :status_change_types Status change types
|
|
119
|
+
# @option opts [Time] :start_time Start time of the host timeline
|
|
120
|
+
# @option opts [Time] :end_time End time of the host timeline
|
|
121
|
+
# @return [ResponseEnvelopeCollectionEventsResponse]
|
|
122
|
+
describe 'v3_collections_list_events test' do
|
|
123
|
+
it 'should work' do
|
|
124
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# unit tests for v3_collections_search_aggregate
|
|
129
|
+
# Aggregate results for a search query within a collection
|
|
130
|
+
# Aggregate results for a Platform search query that targets a collection's assets. This functionality is equivalent to the [Report Builder](https://docs.censys.com/docs/platform-report-builder#/) in the Platform web UI.
|
|
131
|
+
# @param 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.
|
|
132
|
+
# @param collection_uid The UID for the collection. Obtain the collection ID using the [list collections endpoint](https://docs.censys.com/reference/v3-collections-crud-list#/) or via the collection URL when using the web console.
|
|
133
|
+
# @param search_aggregate_input_body
|
|
134
|
+
# @param [Hash] opts the optional parameters
|
|
135
|
+
# @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.
|
|
136
|
+
# @return [ResponseEnvelopeSearchAggregateResponse]
|
|
137
|
+
describe 'v3_collections_search_aggregate test' do
|
|
138
|
+
it 'should work' do
|
|
139
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# unit tests for v3_collections_search_query
|
|
144
|
+
# Run a search query within a collection
|
|
145
|
+
# Run a search query across a collection's assets. Reference the [documentation on Censys Query Language](https://docs.censys.com/docs/censys-query-language#/) for information about query syntax.
|
|
146
|
+
# @param 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.
|
|
147
|
+
# @param collection_uid The UID for the collection
|
|
148
|
+
# @param search_query_input_body
|
|
149
|
+
# @param [Hash] opts the optional parameters
|
|
150
|
+
# @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.
|
|
151
|
+
# @return [ResponseEnvelopeSearchQueryResponse]
|
|
152
|
+
describe 'v3_collections_search_query test' do
|
|
153
|
+
it 'should work' do
|
|
154
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
end
|
|
@@ -0,0 +1,291 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for CensysApi::GlobalDataApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'GlobalDataApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = CensysApi::GlobalDataApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of GlobalDataApi' do
|
|
30
|
+
it 'should create an instance of GlobalDataApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(CensysApi::GlobalDataApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for v3_globaldata_asset_certificate
|
|
36
|
+
# Get a certificate
|
|
37
|
+
# Retrieve information about a single certificate. A certificate ID is its SHA-256 fingerprint in the Censys dataset.
|
|
38
|
+
# @param 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.
|
|
39
|
+
# @param certificate_id The SHA-256 certificate fingerprint.
|
|
40
|
+
# @param [Hash] opts the optional parameters
|
|
41
|
+
# @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.
|
|
42
|
+
# @return [ResponseEnvelopeCertificateAsset]
|
|
43
|
+
describe 'v3_globaldata_asset_certificate test' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# unit tests for v3_globaldata_asset_certificate_list
|
|
50
|
+
# Retrieve multiple certificates
|
|
51
|
+
# 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.
|
|
52
|
+
# @param 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.
|
|
53
|
+
# @param certificate_ids A list of SHA-256 certificate fingerprints.
|
|
54
|
+
# @param [Hash] opts the optional parameters
|
|
55
|
+
# @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.
|
|
56
|
+
# @return [ResponseEnvelopeListCertificateAsset]
|
|
57
|
+
describe 'v3_globaldata_asset_certificate_list test' do
|
|
58
|
+
it 'should work' do
|
|
59
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# unit tests for v3_globaldata_asset_certificate_list_post
|
|
64
|
+
# Retrieve multiple certificates
|
|
65
|
+
# Retrieve information about multiple certificates. A certificate ID is its SHA-256 fingerprint in the Censys dataset.
|
|
66
|
+
# @param 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.
|
|
67
|
+
# @param asset_certificate_list_input_body
|
|
68
|
+
# @param [Hash] opts the optional parameters
|
|
69
|
+
# @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.
|
|
70
|
+
# @return [ResponseEnvelopeListCertificateAsset]
|
|
71
|
+
describe 'v3_globaldata_asset_certificate_list_post test' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# unit tests for v3_globaldata_asset_certificate_list_raw
|
|
78
|
+
# Retrieve multiple certificates in PEM format
|
|
79
|
+
# 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.
|
|
80
|
+
# @param 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.
|
|
81
|
+
# @param certificate_ids A list of SHA-256 certificate fingerprints.
|
|
82
|
+
# @param [Hash] opts the optional parameters
|
|
83
|
+
# @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.
|
|
84
|
+
# @return [ResponseEnvelopeListRawCertificateResponse]
|
|
85
|
+
describe 'v3_globaldata_asset_certificate_list_raw test' do
|
|
86
|
+
it 'should work' do
|
|
87
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# unit tests for v3_globaldata_asset_certificate_list_raw_post
|
|
92
|
+
# Retrieve multiple certificates in PEM format
|
|
93
|
+
# Retrieve the raw PEM-encoded format for multiple certificates. A certificate ID is its SHA-256 fingerprint in the Censys dataset.
|
|
94
|
+
# @param 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.
|
|
95
|
+
# @param asset_certificate_list_input_body
|
|
96
|
+
# @param [Hash] opts the optional parameters
|
|
97
|
+
# @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.
|
|
98
|
+
# @return [ResponseEnvelopeListRawCertificateResponse]
|
|
99
|
+
describe 'v3_globaldata_asset_certificate_list_raw_post test' do
|
|
100
|
+
it 'should work' do
|
|
101
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# unit tests for v3_globaldata_asset_certificate_raw
|
|
106
|
+
# Get a certificate in PEM format
|
|
107
|
+
# Retrieve the raw PEM-encoded format of a certificate. A certificate ID is its SHA-256 fingerprint in the Censys dataset.
|
|
108
|
+
# @param 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.
|
|
109
|
+
# @param certificate_id The SHA-256 certificate fingerprint.
|
|
110
|
+
# @param [Hash] opts the optional parameters
|
|
111
|
+
# @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.
|
|
112
|
+
# @return [File]
|
|
113
|
+
describe 'v3_globaldata_asset_certificate_raw test' do
|
|
114
|
+
it 'should work' do
|
|
115
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# unit tests for v3_globaldata_asset_host
|
|
120
|
+
# Get a host
|
|
121
|
+
# Retrieve information about a single host. A host ID is its IP address.
|
|
122
|
+
# @param 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.
|
|
123
|
+
# @param host_id The IP address of a host.
|
|
124
|
+
# @param [Hash] opts the optional parameters
|
|
125
|
+
# @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.
|
|
126
|
+
# @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.
|
|
127
|
+
# @return [ResponseEnvelopeHostAsset]
|
|
128
|
+
describe 'v3_globaldata_asset_host test' do
|
|
129
|
+
it 'should work' do
|
|
130
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# unit tests for v3_globaldata_asset_host_list
|
|
135
|
+
# Retrieve multiple hosts
|
|
136
|
+
# 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.
|
|
137
|
+
# @param 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.
|
|
138
|
+
# @param host_ids A list of host IP addresses.
|
|
139
|
+
# @param [Hash] opts the optional parameters
|
|
140
|
+
# @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.
|
|
141
|
+
# @return [ResponseEnvelopeListHostAsset]
|
|
142
|
+
describe 'v3_globaldata_asset_host_list test' do
|
|
143
|
+
it 'should work' do
|
|
144
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# unit tests for v3_globaldata_asset_host_list_post
|
|
149
|
+
# Retrieve multiple hosts
|
|
150
|
+
# Retrieve information about multiple hosts. A host ID is its IP address.
|
|
151
|
+
# @param 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.
|
|
152
|
+
# @param asset_host_list_input_body
|
|
153
|
+
# @param [Hash] opts the optional parameters
|
|
154
|
+
# @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.
|
|
155
|
+
# @return [ResponseEnvelopeListHostAsset]
|
|
156
|
+
describe 'v3_globaldata_asset_host_list_post test' do
|
|
157
|
+
it 'should work' do
|
|
158
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# unit tests for v3_globaldata_asset_host_timeline
|
|
163
|
+
# Get host event history
|
|
164
|
+
# 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.
|
|
165
|
+
# @param 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.
|
|
166
|
+
# @param host_id The IP address of a host.
|
|
167
|
+
# @param start_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.
|
|
168
|
+
# @param end_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.
|
|
169
|
+
# @param [Hash] opts the optional parameters
|
|
170
|
+
# @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.
|
|
171
|
+
# @return [ResponseEnvelopeHostTimeline]
|
|
172
|
+
describe 'v3_globaldata_asset_host_timeline test' do
|
|
173
|
+
it 'should work' do
|
|
174
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# unit tests for v3_globaldata_asset_webproperty
|
|
179
|
+
# Get a web property
|
|
180
|
+
# 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`.
|
|
181
|
+
# @param 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.
|
|
182
|
+
# @param webproperty_id A web property identifier.
|
|
183
|
+
# @param [Hash] opts the optional parameters
|
|
184
|
+
# @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.
|
|
185
|
+
# @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
|
|
186
|
+
# @return [ResponseEnvelopeWebpropertyAsset]
|
|
187
|
+
describe 'v3_globaldata_asset_webproperty test' do
|
|
188
|
+
it 'should work' do
|
|
189
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
# unit tests for v3_globaldata_asset_webproperty_list
|
|
194
|
+
# Retrieve multiple web properties
|
|
195
|
+
# 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.
|
|
196
|
+
# @param 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.
|
|
197
|
+
# @param webproperty_ids A list of web property identifiers.
|
|
198
|
+
# @param [Hash] opts the optional parameters
|
|
199
|
+
# @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.
|
|
200
|
+
# @return [ResponseEnvelopeListWebpropertyAsset]
|
|
201
|
+
describe 'v3_globaldata_asset_webproperty_list test' do
|
|
202
|
+
it 'should work' do
|
|
203
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
# unit tests for v3_globaldata_asset_webproperty_list_post
|
|
208
|
+
# Retrieve multiple web properties
|
|
209
|
+
# 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`.
|
|
210
|
+
# @param 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.
|
|
211
|
+
# @param asset_webproperty_list_input_body
|
|
212
|
+
# @param [Hash] opts the optional parameters
|
|
213
|
+
# @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.
|
|
214
|
+
# @return [ResponseEnvelopeListWebpropertyAsset]
|
|
215
|
+
describe 'v3_globaldata_asset_webproperty_list_post test' do
|
|
216
|
+
it 'should work' do
|
|
217
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
218
|
+
end
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
# unit tests for v3_globaldata_scans_get
|
|
222
|
+
# Get scan status
|
|
223
|
+
# 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.
|
|
224
|
+
# @param 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.
|
|
225
|
+
# @param scan_id The unique identifier of the tracked scan
|
|
226
|
+
# @param [Hash] opts the optional parameters
|
|
227
|
+
# @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.
|
|
228
|
+
# @return [ResponseEnvelopeTrackedScan]
|
|
229
|
+
describe 'v3_globaldata_scans_get test' do
|
|
230
|
+
it 'should work' do
|
|
231
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
232
|
+
end
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
# unit tests for v3_globaldata_scans_rescan
|
|
236
|
+
# Live Rescan: Initiate a new rescan
|
|
237
|
+
# 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.
|
|
238
|
+
# @param 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.
|
|
239
|
+
# @param scans_rescan_input_body
|
|
240
|
+
# @param [Hash] opts the optional parameters
|
|
241
|
+
# @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.
|
|
242
|
+
# @return [ResponseEnvelopeTrackedScan]
|
|
243
|
+
describe 'v3_globaldata_scans_rescan test' do
|
|
244
|
+
it 'should work' do
|
|
245
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
246
|
+
end
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
# unit tests for v3_globaldata_search_aggregate
|
|
250
|
+
# Aggregate results for a search query
|
|
251
|
+
# 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.
|
|
252
|
+
# @param 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.
|
|
253
|
+
# @param search_aggregate_input_body
|
|
254
|
+
# @param [Hash] opts the optional parameters
|
|
255
|
+
# @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.
|
|
256
|
+
# @return [ResponseEnvelopeSearchAggregateResponse]
|
|
257
|
+
describe 'v3_globaldata_search_aggregate test' do
|
|
258
|
+
it 'should work' do
|
|
259
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
260
|
+
end
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
# unit tests for v3_globaldata_search_convert
|
|
264
|
+
# Convert Legacy Search queries to Platform queries
|
|
265
|
+
# 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.
|
|
266
|
+
# @param 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.
|
|
267
|
+
# @param search_convert_query_input_body
|
|
268
|
+
# @param [Hash] opts the optional parameters
|
|
269
|
+
# @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.
|
|
270
|
+
# @return [ResponseEnvelopeListSearchConvertQueryResponse]
|
|
271
|
+
describe 'v3_globaldata_search_convert test' do
|
|
272
|
+
it 'should work' do
|
|
273
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
274
|
+
end
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
# unit tests for v3_globaldata_search_query
|
|
278
|
+
# Run a search query
|
|
279
|
+
# 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.
|
|
280
|
+
# @param 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.
|
|
281
|
+
# @param search_query_input_body
|
|
282
|
+
# @param [Hash] opts the optional parameters
|
|
283
|
+
# @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.
|
|
284
|
+
# @return [ResponseEnvelopeSearchQueryResponse]
|
|
285
|
+
describe 'v3_globaldata_search_query test' do
|
|
286
|
+
it 'should work' do
|
|
287
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
288
|
+
end
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
end
|
|
@@ -0,0 +1,97 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for CensysApi::ThreatHuntingApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ThreatHuntingApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = CensysApi::ThreatHuntingApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ThreatHuntingApi' do
|
|
30
|
+
it 'should create an instance of ThreatHuntingApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(CensysApi::ThreatHuntingApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for v3_threathunting_get_host_observations_with_certificate
|
|
36
|
+
# Get host history for a certificate
|
|
37
|
+
# Retrieve the historical observations of hosts associated with a certificate. This is useful for threat hunting, detection engineering, and timeline generation. Certificate history is also visible to Threat Hunting users in the Platform UI on the [certificate timeline](https://docs.censys.com/docs/platform-threat-hunting-use-cert-history-to-build-better-detections#/).<br><br>You can define a specific time frame of interest. If you do not specify a time frame, this endpoint will search the historical dataset that is available to your account. You may also filter results by port and transport protocol.<br><br>This endpoint is available to organizations that have access to the Threat Hunting module. It costs 5 credits per page of results.
|
|
38
|
+
# @param 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.
|
|
39
|
+
# @param certificate_id SHA-256 hash of the certificate
|
|
40
|
+
# @param [Hash] opts the optional parameters
|
|
41
|
+
# @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.
|
|
42
|
+
# @option opts [String] :start_time Only show ranges ending at or after this time (ISO 8601)
|
|
43
|
+
# @option opts [String] :end_time Only show ranges starting at or before this time (ISO 8601)
|
|
44
|
+
# @option opts [Integer] :port The port to filter by
|
|
45
|
+
# @option opts [String] :protocol The transport protocol to filter by
|
|
46
|
+
# @option opts [String] :page_token Pagination token from previous response to retrieve next page of results
|
|
47
|
+
# @option opts [Integer] :page_size Number of results per page. Maximum 100, defaults to 100 if not specified
|
|
48
|
+
# @return [ResponseEnvelopeHostObservationResponse]
|
|
49
|
+
describe 'v3_threathunting_get_host_observations_with_certificate test' do
|
|
50
|
+
it 'should work' do
|
|
51
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# unit tests for v3_threathunting_scans_discovery
|
|
56
|
+
# Live Discovery: Initiate a new scan
|
|
57
|
+
# Initiate a scan to look for a currently unobserved service at a specific IP and port (`ip:port`) or hostname and port (`hostname:port`). This is equivalent to the [Live Discovery](https://docs.censys.com/docs/platform-threat-hunting-use-live-scan-and-rescan-to-validate-infrastructure#/) 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-threathunting-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 organizations that have access to the Threat Hunting module. It costs 15 credits to execute this endpoint.
|
|
58
|
+
# @param 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.
|
|
59
|
+
# @param scans_discovery_input_body
|
|
60
|
+
# @param [Hash] opts the optional parameters
|
|
61
|
+
# @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.
|
|
62
|
+
# @return [ResponseEnvelopeTrackedScan]
|
|
63
|
+
describe 'v3_threathunting_scans_discovery test' do
|
|
64
|
+
it 'should work' do
|
|
65
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# unit tests for v3_threathunting_scans_get
|
|
70
|
+
# Get scan status
|
|
71
|
+
# 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.
|
|
72
|
+
# @param 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.
|
|
73
|
+
# @param scan_id The unique identifier of the tracked scan
|
|
74
|
+
# @param [Hash] opts the optional parameters
|
|
75
|
+
# @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.
|
|
76
|
+
# @return [ResponseEnvelopeTrackedScan]
|
|
77
|
+
describe 'v3_threathunting_scans_get test' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# unit tests for v3_threathunting_value_counts
|
|
84
|
+
# CensEye: Retrieve value counts to discover pivots
|
|
85
|
+
# Get counts of web assets for specific field-value pairs and combinations of field-value pairs. This is similar to the [CensEye functionality](https://docs.censys.com/docs/platform-threat-hunting-use-censeye-to-build-detections#/) available in the Platform web UI, but it allows you to define specific fields of interest rather than the [default fields](https://docs.censys.com/docs/platform-threat-hunting-use-censeye-to-build-detections#default-pivot-fields) leveraged by the tool in the UI.<br><br>Each array can only target fields within the same nested object. For example, you can combine `host.services.port=80` and `host.services.protocol=SSH` in the same array, but you cannot combine `host.services.port=80` and `host.location.country=”United States”` in the same array. You can input multiple arrays of objects in each API call.<br><br>To use this endpoint, your organization must have access to the Threat Hunting Module. This endpoint costs 1 credit per count condition (array of objects) included in the API call.
|
|
86
|
+
# @param 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.
|
|
87
|
+
# @param search_value_counts_input_body
|
|
88
|
+
# @param [Hash] opts the optional parameters
|
|
89
|
+
# @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.
|
|
90
|
+
# @return [ResponseEnvelopeValueCountsResponse]
|
|
91
|
+
describe 'v3_threathunting_value_counts test' do
|
|
92
|
+
it 'should work' do
|
|
93
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
end
|