Skip to content
Maua.Culturewire

OpenCTI

STIX threat intelligence: actors, IOCs, reports and relationships

SecurityCatalog3 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • OpenCTI URLRequiredHTTPS URL
    • API tokenSecretRequired

    Where to find them

    1. In OpenCTI click your user icon (top right) → “Profile”.
    2. In the “API access” section copy the token (a UUID). Prefer a dedicated user with a read-only role and only the groups and markings (TLP) it needs to see: the token has its permissions. The server must use https with a valid certificate.

Tools (3)

  • OpenCTI API requestOPENCTI_SEND_REQUEST

    Authenticated call to the OpenCTI API ({url}). Any endpoint of the API is allowed. GraphQL API (use OPENCTI_SEND_GRAPHQL_REQUEST), e.g. { stixCyberObservables(search: "8.8.8.8", first: 10) { edges { node { id entity_type observable_value x_opencti_score } } } }, { indicators(search: "…", first: 10) { edges { node { id name pattern valid_until x_opencti_score } } } }, { reports(first: 10, orderBy: published, orderMode: desc) { edges { node { id name published } } } }, { intrusionSets(search: "APT29", first: 5) { edges { node { id name aliases description } } } }, { vulnerabilities(search: "CVE-2024-3400") { edges { node { id name x_opencti_cvss_base_score x_opencti_epss_score } } } }, { stixCoreRelationships(fromId: ["…"], first: 50) { edges { node { relationship_type to { ... on StixCoreObject { id entity_type representative { main } } } } } } }.

    Required scopes

    No scopes required

    Input

    OpenCTI API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • OpenCTI GraphQL requestOPENCTI_SEND_GRAPHQL_REQUEST

    Runs a GraphQL query or mutation against the OpenCTI API and returns its data and errors.

    Required scopes

    No scopes required

    Input

    OpenCTI GraphQL request input
    NameTypeDescription
    queryrequiredstringGraphQL query or mutation
    variablesobjectGraphQL variables
  • Search the knowledge baseOPENCTI_SEARCH_KNOWLEDGE

    Searches by text (IP, domain, hash, actor name, malware, CVE…) across all STIX entities: type, name, score (observables and indicators), indicator pattern, labels, TLP markings, author and dates. The types narrow the search: Indicator, IPv4-Addr, Domain-Name, Url, StixFile, Malware, Intrusion-Set, Threat-Actor-Group, Report, Vulnerability…

    Required scopes

    No scopes required

    Input

    Search the knowledge base input
    NameTypeDescription
    textrequiredstringText or value to search for
    typesstring[]
    maxintegerDefault: 25