API Stability Long-Term

The iocDatabaseInfo() GraphQL query returns information on the IOC database used by the LogScale instance.

For more information on IOC (indicator of compromise) database from CrowdStrike, see the IOC Configuration configuration page.

Syntax

Below is the syntax for the iocDatabaseInfo() query field:

graphql
iocDatabaseInfo: CrowdStrikeIocStatus!

This is a moderately straightfoward query field. You'd replace CrowdStrikeIocStatus with curly-brackets and a list of parameters you want returned. Below is an example:

Show:
graphql
query {
  iocDatabaseInfo {databaseTables {
    name, status, lastUpdated, count
  }}
}
Example Responses
Show:
json
{
  "data": {
    "iocDatabaseInfo": {
      "databaseTables": [
        {
          "name": "domain",
          "status": "Ok",
          "lastUpdated": 1729781206587,
          "count": 2844669
        },
        {
          "name": "url",
          "status": "Unavailable",
          "lastUpdated": null,
          "count": 0
        },
        {
          "name": "ip_address",
          "status": "Ok",
          "lastUpdated": 1729781206610,
          "count": 913313
        }
      ]
    }
  }
}

Returned Datatypes

For the returned datatype, CrowdStrikeIocStatus, there are a few parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: CrowdStrikeIocStatus

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 24, 2024
databaseTables[IocTableInfo]yes Long-TermThe status of Indicators of Compromise (IOC) database tables. See IocTableInfo.