Skip to main content

Python SDK for the NoctisNet API

Project description

noctis-sdk

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The noctis_sdk package is automatically generated by the OpenAPI Generator project:

  • API version: 0.0.3
  • Package version: 0.0.3
  • Generator version: 7.13.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

This python library package is generated without supporting files like setup.py or requirements files

To be able to use it, you will need these dependencies in your own package that uses this library:

  • urllib3 >= 2.1.0, < 3.0.0
  • python-dateutil >= 2.8.2
  • pydantic >= 2
  • typing-extensions >= 4.7.1

Getting Started

In your own code, to use this library to connect and interact with noctis-sdk, you can run the following:

import noctis_sdk
from noctis_sdk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://frog.noctisnet.com
# See configuration.py for a list of all supported configuration parameters.
configuration = noctis_sdk.Configuration(
    host = "https://frog.noctisnet.com"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization (JWT): bearerAuth
configuration = noctis_sdk.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


# Enter a context with an instance of the API client
with noctis_sdk.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = noctis_sdk.DNSResolutionApi(api_client)
    name = 'example.com' # str | The domain name to resolve (e.g., example.com)
    type = 'A' # str | The DNS record type to query for (e.g., A, AAAA, CNAME, etc.)

    try:
        # Resolve DNS Query via GET in Wire Format
        api_response = api_instance.resolve_dns_query_get_wire_format(name, type)
        print("The response of DNSResolutionApi->resolve_dns_query_get_wire_format:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DNSResolutionApi->resolve_dns_query_get_wire_format: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://frog.noctisnet.com

Class Method HTTP request Description
DNSResolutionApi resolve_dns_query_get_wire_format GET /dns-over-https/resolve-query Resolve DNS Query via GET in Wire Format
DNSResolutionApi resolve_dns_query_post_wire_format POST /dns-over-https/resolve-query-bytes Resolve DNS Query via POST in Wire Format
FileOperationsApi add_domains_to_named_list POST /file-operations/add-domains-to-list Add Domains to a Named List
FileOperationsApi add_to_domains POST /file-operations/bulk-domain-resolution Upload and Add Domains for Bulk Resolution and System Update
FileOperationsApi process_url_stream POST /file-operations/process-url-stream Processes a stream of URLs to extract and analyze domains
FileOperationsApi retrieve_lists_with_stats GET /file-operations/retrieveListsWithStats Retrieve all domain lists with their respective statistics
FileOperationsApi upload_file_and_explore_domains POST /file-operations Upload File to Detect Hostnames and Explore Domain Relationships
NoctisAccountInformationApi get_account_information GET /noctis/v1/account/ Account Information
NoctisClassicLookupReversingApi get_domain_profile GET /noctis/v1/{query}/ Domain Profile
NoctisClassicLookupReversingApi get_domain_risk_score GET /noctis/v1/risk/ Domain Risk Score
NoctisClassicLookupReversingApi get_domain_risk_score_evidence GET /noctis/v1/risk/evidence/ Domain Risk Score Evidence
NoctisClassicLookupReversingApi get_parsed_whois GET /noctis/v1/{query}/whois/parsed Parsed Whois
NoctisClassicLookupReversingApi get_whois_history GET /noctis/v1/{query}/whois/history/ Whois History
NoctisClassicLookupReversingApi get_whois_lookup GET /noctis/v1/{query}/whois/ Whois Lookup
NoctisClassicLookupReversingLegacyApi get_domain_reputation GET /noctis/v1/legacy/reputation Domain Reputation (Legacy)
NoctisClassicMonitorsApi get_brand_monitor_alerts GET /noctis/v1/monitor/brand Brand Monitor
NoctisClassicMonitorsApi get_ip_monitor_alerts GET /noctis/v1/monitor/ip IP Monitor
NoctisClassicMonitorsApi get_ip_registrant_monitor_alerts GET /noctis/v1/monitor/ip-registrant IP Registrant Monitor
NoctisClassicMonitorsApi get_name_server_monitor_alerts GET /noctis/v1/monitor/name-server Name Server Monitor
NoctisClassicMonitorsApi get_registrant_monitor_alerts GET /noctis/v1/monitor/registrant Registrant Monitor
NoctisFeedsApi list_feed_files GET /noctis/v1/feeds/download List Feed Files
NoctisVulpraDetectApi escalate_domains POST /noctis/v1/vulpra/detect/escalations/ Escalate Domains
NoctisVulpraDetectApi get_ignored_domains GET /noctis/v1/vulpra/detect/domains/ignored/ Ignored Domains
NoctisVulpraDetectApi get_new_domains GET /noctis/v1/vulpra/detect/domains/new/ Newly Discovered Domains
NoctisVulpraDetectApi get_watched_domains GET /noctis/v1/vulpra/detect/domains/watched/ Watched Domains (Changed/Escalated)
NoctisVulpraDetectApi list_monitors GET /noctis/v1/vulpra/detect/monitors/ Monitor List
NoctisVulpraDetectApi update_domain_state PATCH /noctis/v1/vulpra/detect/domains/ Update Domain State (Watch/Ignore)
NoctisVulpraEnrichApi enrich_get GET /noctis/v1/vulpra/enrich/ Vulpra Enrich Query (GET)
NoctisVulpraEnrichApi enrich_post POST /noctis/v1/vulpra/enrich/ Vulpra Enrich Query (POST)
NoctisVulpraInvestigateApi investigate_get GET /noctis/v1/vulpra/investigate/ Vulpra Investigate Query (GET)
NoctisVulpraInvestigateApi investigate_post POST /noctis/v1/vulpra/investigate/ Vulpra Investigate Query (POST)
AsnsApi compute_asn_ground_truth GET /score/v1/compute-asn-ground-truth Compute ASN Ground Truth
AsnsApi compute_asn_ground_truth_0 POST /score/v1/compute-asn-ground-truth Compute ASN Ground Truth
AsnsApi compute_domain_ground_truth POST /score/v1/compute-domain-ground-truth Compute Domain Ground Truth
AsnsApi compute_ip_ground_truth1 GET /score/v1/compute-ip-ground-truth Compute IP Ground Truth
AsnsApi compute_organization_ground_truth POST /score/v1/compute-prefix-ground-truth Compute Prefix Ground Truth
AsnsApi compute_prefix_ground_truth GET /score/v1/compute-prefix-ground-truth Compute Prefix Ground Truth
AsnsApi connection_mapping1 GET /score/v1/ConnectionMapping Maps the network positioning of the given resource.
AsnsApi count_list_nodes1 GET /score/v1/count-list-nodes Count List Nodes
AsnsApi enum_sub_domains1 GET /score/v1/enum_subdomains Enumerating Basic Subdomains
AsnsApi file_uploading POST /ask/v1 Detects any hostname in a given file and Explores Domain Relationships
AsnsApi find_asn GET /asns/getASN/{asNamePartial} Find ASNs by part of name or number
AsnsApi get_all_tlds GET /asns/getAllTLDs Retrieve All Top-Level Domains (TLDs)
AsnsApi get_asn_listing_rankings GET /asns/getASNListingRankings Retrieve Rankings for All ASNs
AsnsApi get_asn_listing_statistics GET /asns/asn/listingStatistics/{asName} Get ASN Listing Statistics
AsnsApi get_similar_domains GET /asns/getSimilarDomains/{domain} Get similar domains
AsnsApi get_similar_ips GET /asns/getSimilarIPs/{ipAddress} Get similar IP addresses
AsnsApi infra_mapping1 GET /score/v1/infra-mapping Retrieve Infrastructure Mapping for Domain
AsnsApi list_all_asns GET /asns/asns/listAll Retrieve All Autonomous System Numbers (ASNs)
AsnsApi list_all_orgs GET /asns/organizations/listAll Retrieve All Organizations
AsnsApi search_black_list1 GET /score/v1/black_list_query Search the blacklist for an entry that matches or includes the input
DomainsApi domains_in_same_asn GET /domains/domainsInSameASN/{domainName} Retrieve Domains Within the Same ASN
DomainsApi domains_sharing_nameserver GET /domains/domainsSharingNameserver/{domainName} Retrieve Domains Sharing Nameservers
DomainsApi explore GET /domains/exploreDomainRelationships/{domainName} Explore Domain Relationships (Graph Data)
DomainsApi find_domains_sharing_mail_host GET /domains/findDomainsSharingMailHost/{domainName} Retrieve Domains Sharing the Same Mail Host
DomainsApi get_asn GET /domains/fetchASNsForDomain/{domainName} Retrieve Autonomous System Numbers (ASNs) for a Domain
DomainsApi get_domain_info_card GET /domains/getDomainDetails/{domainName} Retrieve Domain Information Card
DomainsApi get_domains_by_same_organisation GET /domains/getDomainsBySameOrganisation/{domainName} Retrieve Domains Under Same Organisation
DomainsApi get_domains_on_same_network_prefix GET /domains/getDomainsOnSameNetworkPrefix/{domainName} Retrieve Domains on the Same Network Prefix
DomainsApi get_linking_domains GET /domains/getLinkingDomains/{domainName} Retrieve Domains Linking to the Specified Domain
DomainsApi get_list_content GET /domains/getListContent/{listName}/{start} Retrieve Paginated Content from a Specific List
DomainsApi get_list_status GET /domains/getListStatus Get Summary of All Lists
DomainsApi get_mail_servers GET /domains/getMailServers/{domainName} Retrieve Mail Servers for a Domain
DomainsApi get_nameservers GET /domains/getDomainNameservers/{domainName} Retrieve Nameservers Associated with a Domain
DomainsApi have_hosting_on_same_ip GET /domains/getDomainsSharingIP/{domainName} Retrieve Domains Sharing the Same IP Address
ScoringAlgorithmSrApi compute_asn_ground_truth1 GET /score/v1sr/compute-asn-ground-truth Compute ASN Ground Truth
ScoringAlgorithmSrApi compute_domain_ground_truth1 GET /score/v1sr/compute-domain-gt Compute Domain Ground Truth Score
ScoringAlgorithmSrApi compute_ip_ground_truth GET /score/v1sr/compute-ip-ground-truth Compute IP Ground Truth
ScoringAlgorithmSrApi compute_organization_ground_truth1 GET /score/v1sr/compute-organization-ground-truth Compute Organization Ground Truth
ScoringAlgorithmSrApi compute_prefix_ground_truth1 GET /score/v1sr/compute-prefix-ground-truth Compute Prefix Ground Truth
ScoringAlgorithmSrApi compute_registered_prefix_ground_truth GET /score/v1sr/compute-Registered_prefix-ground-truth Compute Prefix Ground Truth
ScoringAlgorithmSrApi connection_mapping GET /score/v1sr/ConnectionMapping Maps the network positioning of the given resource.
ScoringAlgorithmSrApi count_list_nodes GET /score/v1sr/count-list-nodes Count List Nodes
ScoringAlgorithmSrApi enum_sub_domains GET /score/v1sr/Enum SubDomains Enumerating Basic Subdomains
ScoringAlgorithmSrApi infra_mapping GET /score/v1sr/infra-mapping Retrieve Infrastructure Mapping for Domain
ScoringAlgorithmSrApi search_black_list GET /score/v1sr/black_list_query Search the blacklist for an entry that matches or includes the input
VisualizeApi explore_ip GET /visualize/privacy-policy Return Privacy Policy for the services
VisualizeApi explore_ip_relationships GET /visualize/relationships/ip/{ipAddress} Explore IP Relationships in Graph Database
VisualizeApi generate_cypher_query_from_text GET /visualize/generate-cypher-query/{inputText} Generate Cypher Query
VisualizeApi get_asn_relationships GET /visualize/relationships/asn/{asName} Retrieve ASN Relationships
VisualizeApi get_domain_relationships GET /visualize/relationships/domain/{domainName} Retrieve Domain Relationships
VisualizeApi retrieve_organization_relationships GET /visualize/relationships/organization/{orgName} Retrieve Organization Relationships

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

bearerAuth

  • Type: Bearer authentication (JWT)

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

noctis_sdk-0.0.3.tar.gz (130.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

noctis_sdk-0.0.3-py3-none-any.whl (351.4 kB view details)

Uploaded Python 3

File details

Details for the file noctis_sdk-0.0.3.tar.gz.

File metadata

  • Download URL: noctis_sdk-0.0.3.tar.gz
  • Upload date:
  • Size: 130.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for noctis_sdk-0.0.3.tar.gz
Algorithm Hash digest
SHA256 38b117c308e823d97b0bf35e125ebe53d8260c0aad137260a6a229994026b01b
MD5 d36a05eed2bf969789007fcf7405ce9a
BLAKE2b-256 c51e5eb737eb894fc70e3d1ed9d68afcb1d40f3b54472f7c014a15e4ae41a84c

See more details on using hashes here.

File details

Details for the file noctis_sdk-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: noctis_sdk-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 351.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for noctis_sdk-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4a8494ea44c158c2c875dd54ac28939e3379a5981fe77bc20ac19466c3c740aa
MD5 fb06cb8a22bcc32bf7a2bf48c5e421e7
BLAKE2b-256 f1f5af244cbf2ababb05c814775a99f633eb4c0f271d3c509efdc7162f465a32

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page