Reference: Gateway examples for Comply

Tanium Gateway GraphQL examples that show how to query endpoints for Comply compliance and vulnerability findings, including filtered result sets.

Tanium Gateway provides a GraphQL API integration point for Tanium solutions, including Comply. Comply queries retrieve endpoints and associated compliance or vulnerability findings.

For additional Gateway example syntax, see Reference: Filter syntaxTanium Gateway User Guide: Reference: Filter syntax and Reference: Gateway examplesTanium Gateway User Guide: Reference: Gateway examples.

Comply query filter syntax

Learn how to use path and value filter fields when querying Comply compliance and CVE findings.

Endpoint queries that request Comply-related information using complianceFindings or cveFindings support the path and value filter fields. Comply 2.16.97 or later is required to submit a request that filters specific System Vulnerability and System Compliance risk vector fields.

For more information on syntax, see FieldFilter in the Documentation Explorer pane of the query explorer.

Single column

Filter compliance and CVE findings by field values in a single-column query using dot notation and filter objects.

You can filter on field values. Define a filter object using one of the following syntaxes:

JSON
complianceFindings (filter: 
				
  {
				
    path: "field-path",
				
    op: "operator-value",
				
    value: "field-value" 
				
  }
				
)
JSON
cveFindings (filter: 
				
  {
				
    path: "field-path",
				
    op: "operator-value",
				
    value: "field-value" 
				
  }
				
)

Use dot notation for sub-fields not at the root level. You can filter the endpoints returned and filter the endpoints based on Comply information in a single request.

For example, the following query retrieves the first endpoint with a compliance findings category of Error and returns that endpoint's associated compliance findings:

JSON
query exampleFilterComplianceFindings($first: Int) {
  endpoints(first: $first) {
    edges {
      node {
        name
        ipAddress
        compliance {
          complianceFindings (filter: {
            path: "category"
            value: "Error"
          }) {
            category
            id
            profile
            profileVersion
            rule
            ruleId
            standard
            standardVersion
            state
          }
        }
      }
    }
    pageInfo {
      startCursor
      endCursor
      hasPreviousPage
      hasNextPage
    }
  }
}

Include the cursor variable in the Variables panel or in your variables dictionary:

JSON
{
  "first": 1
}

Multiple columns

Filter Comply and CVE findings on multiple columns in a single GraphQL query using reusable filter objects.

You can filter on multiple Comply-related columns. Define a filter object using one of the following syntaxes:

JSON
complianceFindings (filter: 
                
  {any: boolean,
				
    filters: [
				
      {path: "field-path-1", op: "operator-1", value: "filter-value-1"},
				
      {path: "field-path-2", op: "operator-2", value: "filter-value-2"},
				
      {path: "field-path-n", op: "operator-n", value: "filter-value-n"}
				
    ]
				
  }
				
)
JSON
cveFindings (filter: 
				
  {any: boolean,
				
    filters: [
				
      {path: "field-path-1", op: "operator-1", value: "filter-value-1"},
				
      {path: "field-path-2", op: "operator-2", value: "filter-value-2"},
				
      {path: "field-path-n", op: "operator-n", value: "filter-value-n"}
				
    ]
				
  }
				
)

Use dot notation for sub-fields not at the root level. You can filter the endpoints returned and filter the endpoints based on Comply information in a single request.

For example, the following query retrieves the first endpoint that is a member of the All Mac computer group, with a vulnerability findings cveYear of 2020 and cvssScore value of 5, and returns that endpoint's associated vulnerability findings:

JSON
query exampleFilterMacOSEndpointVulnerability($first: Int!) {
  endpoints(first: $first, filter: {memberOf: {name: "All Mac"}}) {
    edges {
      node {
        name
        ipAddress
        compliance {
          cveFindings(
            filter: {any: false, filters: [{path: "cveYear", value: "2020"}, {path: "cvssScore", value: "5"}]}
          ) {
            cveId
            cveYear
            cvssScoreV3
            firstFound
            lastFound
            severityV3
            summary
          }
        }
      }
    }
    pageInfo {
      startCursor
      endCursor
      hasPreviousPage
      hasNextPage
    }
  }
}

Include the cursor variable in the Variables panel or in your variables dictionary:

JSON
{
  "first": 1
}

Get endpoints with compliance findings information

Retrieve endpoints that include associated compliance findings information.

query.endpoints.edges.node.compliance.complianceFindings

Get endpoint compliance findings information

Retrieve compliance findings information for the first endpoint returned by the query, including rule, standard, and scan details.

The following query retrieves the first endpoint and associated compliance findings.

JSON
query exampleEndpointComplianceFindings($first: Int!) {
  endpoints(first: $first) {
    edges {
      node {
        name
        ipAddress
        compliance {
          complianceFindings {
            category
			excepted
			firstFoundDate
            id
			lastScanDate
            profile
            profileVersion
            rule
            ruleId
            standard
            standardVersion
            state

          }
        }
      }
    }
    pageInfo {
      startCursor
      endCursor
      hasPreviousPage
      hasNextPage
    }
  }
}

Include the cursor variable in the Variables panel or in your variables dictionary:

JSON
{
  "first": 1
}

Example response:

JSON
{
  "data": {
    "endpoints": {
      "edges": [
        {
          "node": {
            "name": "comply-findings",
            "ipAddress": "192.0.2.10",
            "compliance": {
              "complianceFindings": [
                {
                  "category": "Fail",
				  "excepted": false,
				  "firstFoundDate": "2023-01-01",
                  "id": "CIS Microsoft Windows 10 Enterprise Release 20H2 Benchmark;1.10.1;MB Custom Win10;xccdf_com.tanium.comply_tailoring_1639024882628;xccdf_org.cisecurity.benchmarks_rule_18.9.4.1_L2_Ensure_Allow_a_Windows_app_to_share_application_data_between_users_is_set_to_Disabled",
				  "lastScanDate": "2023-02-02",
                  "profile": "MB Custom Win10",
                  "profileVersion": "xccdf_com.tanium.comply_tailoring_1639024882628",
                  "rule": "(L2) Ensure 'Allow a Windows app to share application data between users' is set to 'Disabled'",
                  "ruleId": "xccdf_org.cisecurity.benchmarks_rule_18.9.4.1_L2_Ensure_Allow_a_Windows_app_to_share_application_data_between_users_is_set_to_Disabled",
                  "standard": "CIS Microsoft Windows 10 Enterprise Release 20H2 Benchmark",
                  "standardVersion": "1.10.1",
                  "state": "fail"	  
                }
              ]
            }
          }
        }
      ],
      "pageInfo": {
        "startCursor": "NTc2NTM4MDow",
        "endCursor": "NTc2NTM4MDoxOQ==",
        "hasPreviousPage": false,
        "hasNextPage": true
      }
    }
  }
}

Get filtered endpoint compliance findings information

Retrieve compliance findings for the first endpoint with error-category findings discovered on or after a specified date.

The following query requires Comply 2.16.97 or later and retrieves the first endpoint with a compliance finding category of Error and FirstFoundDate greater than or equal to 2025-07-10 and then returns the associated compliance findings for that endpoint with a category of Error.

JSON
query exampleFilterComplianceFindings($first: Int) {
  endpoints(first: $first) {
    edges {
      node {
        name
        ipAddress
        compliance {
          complianceFindings(
            filter: {any: false, filters: [{path: "category", value: "Error"}, {path: "firstFoundDate", op: GTE, value: "2025-07-10"}]}
          ) {
            category
            firstFoundDate
            id
            lastScanDate
            profile
            profileVersion
            rule
            ruleId
            standard
            standardVersion
            state
          }
        }
      }
    }
    pageInfo {
      startCursor
      endCursor
      hasPreviousPage
      hasNextPage
    }
  }
}

Include the pagination variable in the Variables panel or in your variables dictionary:

JSON
{
  "first": 1
}

Example response:

JSON
{
  "data": {
    "endpoints": {
      "edges": [
        {
          "node": {
            "name": "IsolatedVM-Pdejesus",
            "ipAddress": "192.10.1.102",
            "compliance": {
              "complianceFindings": [
                {
                  "category": "Error",
                  "firstFoundDate": "2025-07-12",
                  "id": "Microsoft Windows 11 STIG SCAP Benchmark;002.001;I - Mission Critical Public;1;xccdf_mil.disa.stig_rule_SV-253275r958478_rule",
                  "lastScanDate": "2025-07-12",
                  "profile": "I - Mission Critical Public",
                  "profileVersion": "1",
                  "rule": "Internet Information System (IIS) or its subcomponents must not be installed on a workstation.",
                  "ruleId": "xccdf_mil.disa.stig_rule_SV-253275r958478_rule",
                  "standard": "Microsoft Windows 11 STIG SCAP Benchmark",
                  "standardVersion": "002.001",
                  "state": "error"
                },
                {
                  "category": "Error",
                  "firstFoundDate": "2025-07-12",
                  "id": "Microsoft Windows 11 STIG SCAP Benchmark;002.001;I - Mission Critical Public;1;xccdf_mil.disa.stig_rule_SV-253278r958480_rule",
                  "lastScanDate": "2025-07-12",
                  "profile": "I - Mission Critical Public",
                  "profileVersion": "1",
                  "rule": "The Telnet Client must not be installed on the system.",
                  "ruleId": "xccdf_mil.disa.stig_rule_SV-253278r958480_rule",
                  "standard": "Microsoft Windows 11 STIG SCAP Benchmark",
                  "standardVersion": "002.001",
                  "state": "error"
                },
                {
                  "category": "Error",
                  "firstFoundDate": "2025-07-12",
                  "id": "Microsoft Windows 11 STIG SCAP Benchmark;002.001;I - Mission Critical Public;1;xccdf_mil.disa.stig_rule_SV-253287r958478_rule",
                  "lastScanDate": "2025-07-12",
                  "profile": "I - Mission Critical Public",
                  "profileVersion": "1",
                  "rule": "The Server Message Block (SMB) v1 protocol must be disabled on the SMB server.",
                  "ruleId": "xccdf_mil.disa.stig_rule_SV-253287r958478_rule",
                  "standard": "Microsoft Windows 11 STIG SCAP Benchmark",
                  "standardVersion": "002.001",
                  "state": "error"
                },
                {
                  "category": "Error",
                  "firstFoundDate": "2025-07-12",
                  "id": "Microsoft Windows 11 STIG SCAP Benchmark;002.001;I - Mission Critical Public;1;xccdf_mil.disa.stig_rule_SV-253279r958480_rule",
                  "lastScanDate": "2025-07-12",
                  "profile": "I - Mission Critical Public",
                  "profileVersion": "1",
                  "rule": "The TFTP Client must not be installed on the system.",
                  "ruleId": "xccdf_mil.disa.stig_rule_SV-253279r958480_rule",
                  "standard": "Microsoft Windows 11 STIG SCAP Benchmark",
                  "standardVersion": "002.001",
                  "state": "error"
                },
                {
                  "category": "Error",
                  "firstFoundDate": "2025-07-12",
                  "id": "Microsoft Windows 11 STIG SCAP Benchmark;002.001;I - Mission Critical Public;1;xccdf_mil.disa.stig_rule_SV-253285r958478_rule",
                  "lastScanDate": "2025-07-12",
                  "profile": "I - Mission Critical Public",
                  "profileVersion": "1",
                  "rule": "The Windows PowerShell 2.0 feature must be disabled on the system.",
                  "ruleId": "xccdf_mil.disa.stig_rule_SV-253285r958478_rule",
                  "standard": "Microsoft Windows 11 STIG SCAP Benchmark",
                  "standardVersion": "002.001",
                  "state": "error"
                },
                {
                  "category": "Error",
                  "firstFoundDate": "2025-07-12",
                  "id": "Microsoft Windows 11 STIG SCAP Benchmark;002.001;I - Mission Critical Public;1;xccdf_mil.disa.stig_rule_SV-253286r958478_rule",
                  "lastScanDate": "2025-07-12",
                  "profile": "I - Mission Critical Public",
                  "profileVersion": "1",
                  "rule": "The Server Message Block (SMB) v1 protocol must be disabled on the system.",
                  "ruleId": "xccdf_mil.disa.stig_rule_SV-253286r958478_rule",
                  "standard": "Microsoft Windows 11 STIG SCAP Benchmark",
                  "standardVersion": "002.001",
                  "state": "error"
                },
                {
                  "category": "Error",
                  "firstFoundDate": "2025-07-12",
                  "id": "Microsoft Windows 11 STIG SCAP Benchmark;002.001;I - Mission Critical Public;1;xccdf_mil.disa.stig_rule_SV-253288r958478_rule",
                  "lastScanDate": "2025-07-12",
                  "profile": "I - Mission Critical Public",
                  "profileVersion": "1",
                  "rule": "The Server Message Block (SMB) v1 protocol must be disabled on the SMB client.",
                  "ruleId": "xccdf_mil.disa.stig_rule_SV-253288r958478_rule",
                  "standard": "Microsoft Windows 11 STIG SCAP Benchmark",
                  "standardVersion": "002.001",
                  "state": "error"
                },
                {
                  "category": "Error",
                  "firstFoundDate": "2025-07-12",
                  "id": "Microsoft Windows 11 STIG SCAP Benchmark;002.001;I - Mission Critical Public;1;xccdf_mil.disa.stig_rule_SV-256893r958552_rule",
                  "lastScanDate": "2025-07-12",
                  "profile": "I - Mission Critical Public",
                  "profileVersion": "1",
                  "rule": "Internet Explorer must be disabled for Windows 11.",
                  "ruleId": "xccdf_mil.disa.stig_rule_SV-256893r958552_rule",
                  "standard": "Microsoft Windows 11 STIG SCAP Benchmark",
                  "standardVersion": "002.001",
                  "state": "error"
                }
              ]
            }
          }
        }
      ],
      "pageInfo": {
        "startCursor": "MTQ2MDIwMzQ3OjA=",
        "endCursor": "MTQ2MDIwMzQ3OjA=",
        "hasPreviousPage": false,
        "hasNextPage": true
      }
    }
  }
}

Get filtered endpoint compliance findings information from filtered set of endpoints

Retrieve compliance findings with a category of Error and standardVersion value of 1.1.1 for the first endpoint in the All Windows computer group.

The following query requires Comply 2.16.97 or later and retrieves the first endpoint that is a member of the All Windows computer group, with a compliance findings category of Error and standardVersion value of 1.1.1, and returns that endpoint's associated compliance findings with a category of Error and standardVersion value of 1.1.1.

JSON
query exampleFilterWindowsComplianceFindings($first: Int!) {
  endpoints(first: $first, filter: {memberOf: {name: "All Windows"}}) {
    edges {
      node {
        name
        ipAddress
        compliance {
          complianceFindings(
            filter: {any: false, filters: [{path: "category", value: "Error"}, {path: "standardVersion", value: "1.1.1"}]}
          ) {
            category
			firstFoundDate
            id
			lastScanDate
            profile
            profileVersion
            rule
            ruleId
            standard
            standardVersion
            state
          }
        }
      }
    }
    pageInfo {
      startCursor
      endCursor
      hasPreviousPage
      hasNextPage
    }
  }
}

Include the cursor variable in the Variables panel or in your variables dictionary:

JSON
{
  "first": 1
}

Example response:

PYTHON
{
  "data": {
    "endpoints": {
      "edges": [
        {
          "node": {
            "name": "example-host-2",
            "ipAddress": "192.0.2.20",
            "compliance": {
              "complianceFindings": [
                {
                  "category": "Error",
				  "firstFoundDate": "2023-01-01",
                  "id": "CIS Microsoft IIS 10 Benchmark;1.1.1;Level 1 - IIS 10;1;xccdf_org.cisecurity.benchmarks_rule_4.6_L1_Ensure_HTTP_Trace_Method_is_disabled",
				  "lastScanDate": "2023-02-02",
                  "profile": "Level 1 - IIS 10",
                  "profileVersion": "1",
                  "rule": "(L1) Ensure 'HTTP Trace Method' is disabled",
                  "ruleId": "xccdf_org.cisecurity.benchmarks_rule_4.6_L1_Ensure_HTTP_Trace_Method_is_disabled",
                  "standard": "CIS Microsoft IIS 10 Benchmark",
                  "standardVersion": "1.1.1",
                  "state": "error"
                },
                {
                  "category": "Error",
				  "firstFoundDate": "2023-01-01",
                  "id": "CIS Microsoft IIS 10 Benchmark;1.1.1;Level 1 - IIS 10;1;xccdf_org.cisecurity.benchmarks_rule_3.4_L1_Ensure_IIS_HTTP_detailed_errors_are_hidden_from_displaying_remotely",
				  "lastScanDate": "2023-02-02",
                  "profile": "Level 1 - IIS 10",
                  "profileVersion": "1",
                  "rule": "(L1) Ensure IIS HTTP detailed errors are hidden from displaying remotely",
                  "ruleId": "xccdf_org.cisecurity.benchmarks_rule_3.4_L1_Ensure_IIS_HTTP_detailed_errors_are_hidden_from_displaying_remotely",
                  "standard": "CIS Microsoft IIS 10 Benchmark",
                  "standardVersion": "1.1.1",
                  "state": "error"
                }
              ]
            }
          }
        }
      ],
      "pageInfo": {
        "startCursor": "NjA5ODg0MDow",
        "endCursor": "NjA5ODg0MDow",
        "hasPreviousPage": false,
        "hasNextPage": true
      }
    }
  }
}

Get endpoints with vulnerability findings information

Retrieve endpoints that have vulnerability findings information using the query.endpoints.edges.node.compliance.cveFindings field.

query.endpoints.edges.node.compliance.cveFindings

Get endpoint vulnerability findings information (CVSS v2)

Retrieve vulnerability findings for the first endpoint, including CVSS v2 score, severity, and CISA KEV details.

The following query retrieves the first endpoint and associated vulnerability findings, including CVSS v2 score and severity, and related CISA KEV information.

JSON
query exampleEndpointVulnerabilityCVSSv2($first: Int!) {
  endpoints(first: $first) {
    edges {
      node {
        name
        ipAddress
        compliance {
          cveFindings {
            absoluteFirstFoundDate
            affectedProducts
            cisaDateAdded
            cisaDueDate
            cisaNotes
            cisaProduct
            cisaRequiredAction
            cisaShortDescription
            cisaVendor
            cisaVulnerabilityName
            cpes
            cveId
            cveYear
            cvssScore
            detectedProducts
            detectedCPEs
            excepted
            firstFound
            isCisaKev
            lastFound
            scanType
            severity
            summary
          }
        }
      }
    }
    pageInfo {
      startCursor
      endCursor
      hasPreviousPage
      hasNextPage
    }
  }
}

Include the pagination variable in the Variables panel or in your variables dictionary:

JSON
{
  "first": 1
}

Example response:

JSON
{
  "data": {
    "endpoints": {
      "edges": [
        {
          "node": {
            "name": "example.host.one",
            "ipAddress": "192.10.80.10",
            "compliance": {
              "cveFindings": [
                {
                  "absoluteFirstFoundDate": "2024-07-03",
                  "affectedProducts": [
                    ""
                  ],
                  "cisaDateAdded": null,
                  "cisaDueDate": null,
                  "cisaNotes": "",
                  "cisaProduct": "",
                  "cisaRequiredAction": "",
                  "cisaShortDescription": "",
                  "cisaVendor": "",
                  "cisaVulnerabilityName": "",
                  "cpes": [
                    ""
                  ],
                  "cveId": "CVE-2022-1966",
                  "cveYear": "2022",
                  "cvssScore": null,
                  "detectedProducts": [
                    "kernel",
                    "kernel-core",
                    "kernel-modules",
                    "oraclelinux-release"
                  ],
                  "detectedCPEs": [
                    ""
                  ],
                  "excepted": false,
                  "firstFound": "2024-07-03",
                  "isCisaKev": false,
                  "lastFound": "2025-07-11",
                  "scanType": "oval",
                  "severity": "Unscored",
                  "summary": "A description for this vulnerability has not yet been provided."
                }
              ]
            }
          }
        }
      ],
      "pageInfo": {
        "startCursor": "MTQ2NTkwMjQzOjA=",
        "endCursor": "MTQ2NTkwMjQzOjA=",
        "hasPreviousPage": false,
        "hasNextPage": true
      }
    }
  }
}

Get endpoint vulnerability findings information (CVSS v3)

Retrieve endpoint vulnerability findings, including CVSS v3 scores, severities, and related CISA KEV details.

The following query retrieves the first endpoint and associated vulnerability findings, including CVSS v3 score and severity, and related CISA KEV information.

JSON
query exampleEndpointVulnerabilityCVSSv3($first: Int!) {
  endpoints(first: $first) {
    edges {
      node {
        name
        ipAddress
        compliance {
          cveFindings {
            absoluteFirstFoundDate
            affectedProducts
            cisaDateAdded
            cisaDueDate
            cisaNotes
            cisaProduct
            cisaRequiredAction
            cisaShortDescription
            cisaVendor
            cisaVulnerabilityName
            cpes
            cveId
            cveYear
            cvssScoreV3
            cvssTemporalScoreV3
            detectedProducts
            detectedCPEs
            excepted
            firstFound
            isCisaKev
            lastFound
            scanType
            severityV3
            summary
          }
        }
      }
    }
    pageInfo {
      startCursor
      endCursor
      hasPreviousPage
      hasNextPage
    }
  }
}

Include the pagination variable in the Variables panel or in your variables dictionary:

JSON
{
  "first": 1
}

Example response:

JSON
{
  "data": {
    "endpoints": {
      "edges": [
        {
          "node": {
            "name": "example.host.two",
            "ipAddress": "1.2.3.4",
            "compliance": {
              "cveFindings": [
                {
                  "absoluteFirstFoundDate": "2025-10-30",
                  "affectedProducts": [
                    "Microsoft .NET Framework",
                    "Microsoft .NET Framework 4.7.2"
                  ],
                  "cisaDateAdded": "2025-10-14",
                  "cisaDueDate": "2025-11-04",
                  "cisaNotes": "https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2025-24990 ; https://nvd.nist.gov/vuln/detail/CVE-2025-24990",
                  "cisaProduct": "Windows",
                  "cisaRequiredAction": "Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.",
                  "cisaShortDescription": "Microsoft Windows Agere Modem Driver contains an untrusted pointer dereference vulnerability that allows for privilege escalation. An attacker who successfully exploited this vulnerability could gain administrator privileges.",
                  "cisaVendor": "Microsoft",
                  "cisaVulnerabilityName": "Microsoft Windows Untrusted Pointer Dereference Vulnerability",
                  "cpes": [
                    "cpe:/o:microsoft:windows_10_1507:::~~~~x64~",
                    "cpe:/o:microsoft:windows_10_1607:::~~~~x64~",
                    "cpe:/o:microsoft:windows_10_1809:::~~~~x64~",
                    "cpe:/o:microsoft:windows_10_21h2:::~~~~x64~",
                    "cpe:/o:microsoft:windows_10_22h2:::~~~~x64~",
                    "cpe:/o:microsoft:windows_11_22h2:::~~~~x64~",
                    "cpe:/o:microsoft:windows_11_23h2:::~~~~x64~",
                    "cpe:/o:microsoft:windows_11_24h2:::~~~~x64~",
                    "cpe:/o:microsoft:windows_11_25h2:::~~~~x64~",
                    "cpe:/o:microsoft:windows_server_2008:-:sp2:~~~~x64~",
                    "cpe:/o:microsoft:windows_server_2008:r2:sp1:~~~~x64~",
                    "cpe:/o:microsoft:windows_server_2012:-",
                    "cpe:/o:microsoft:windows_server_2012:r2",
                    "cpe:/o:microsoft:windows_server_2016",
                    "cpe:/o:microsoft:windows_server_2019",
                    "cpe:/o:microsoft:windows_server_2022",
                    "cpe:/o:microsoft:windows_server_2022_23h2",
                    "cpe:/o:microsoft:windows_server_2025"
                  ],
                  "cveId": "CVE-2025-24990",
                  "cveYear": "2025",
                  "cvssScoreV3": 7.8,
                  "cvssTemporalScoreV3": 7.8,
                  "detectedProducts": [
                    "Operating System"
                  ],
                  "detectedCPEs": [
                    "cpe:/o:microsoft:windows_11:23h2::x64"
                  ],
                  "excepted": false,
                  "firstFound": "2025-10-30",
                  "isCisaKev": true,
                  "lastFound": "2025-12-03",
                  "scanType": "oval",
                  "severityV3": "High",
                  "summary": "Microsoft is aware of vulnerabilities in the third party Agere Modem driver that ships natively with supported Windows operating systems.  This is an announcement of the upcoming removal of ltmdm64.sys driver.  The driver has been removed in the October cumulative update.\nFax modem hardware dependent on this specific driver will no longer work on Windows.\nMicrosoft recommends removing any existing dependencies on this hardware."
                }
              ]
            }
          }
        }
      ],
      "pageInfo": {
        "startCursor": "ODU5Nzk2MDow",
        "endCursor": "ODU5Nzk2MDow",
        "hasPreviousPage": false,
        "hasNextPage": true
      }
    }
  }
}

Get filtered endpoint vulnerability findings information

Retrieve vulnerability findings for the first endpoint that matches specific CVE year and first-found date filters.

The following query requires Comply 2.16.97 or later and retrieves the first endpoint with a vulnerability findings cveYear of 2020 and firstFound greater than or equal to 2025-07-10 and then returns the associated vulnerability findings for that endpoint with a finding cveYear of 2020.

JSON
query exampleFilterEndpointVulnerability($first: Int!) {
  endpoints(first: $first) {
    edges {
      node {
        name
        ipAddress
        compliance {
          cveFindings(
            filter: {any: false, filters: [{path: "cveYear", value: "2020"}, {path: "firstFound", op: GTE, value: "2025-07-10"}]}
          ) {
            absoluteFirstFoundDate
            cveId
            cveYear
            cvssScore
            detectedProducts
            detectedCPEs
            firstFound
            lastFound
            severity
            summary
          }
        }
      }
    }
    pageInfo {
      startCursor
      endCursor
      hasPreviousPage
      hasNextPage
    }
  }
}

Include the cursor variable in the Variables panel or in your variables dictionary:

JSON
{
  "first": 1
}

Example response:

JSON
{
  "data": {
    "endpoints": {
      "edges": [
        {
          "node": {
            "name": "example-host-1",
            "ipAddress": "192.30.80.203",
            "compliance": {
              "cveFindings": [
                {
                  "absoluteFirstFoundDate": "2025-07-14",
                  "cveId": "CVE-2020-0817",
                  "cveYear": "2020",
                  "cvssScore": null,
                  "detectedProducts": [
                    "Operating System"
                  ],
                  "detectedCPEs": [
                    "cpe:/o:microsoft:windows_10:1507::x64"
                  ],
                  "firstFound": "2025-07-14",
                  "lastFound": "2025-07-14",
                  "severity": "Unscored",
                  "summary": "A remote code execution vulnerability exists in the Windows Remote Desktop Client when a user connects to a malicious server. An attacker who successfully exploited this vulnerability could execute arbitrary code on the computer of the connecting client. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. NOTE: This vulnerability is currently awaiting analysis."
                },
                {
                  "absoluteFirstFoundDate": "2025-07-14",
                  "cveId": "CVE-2020-0818",
                  "cveYear": "2020",
                  "cvssScore": null,
                  "detectedProducts": [
                    "Operating System"
                  ],
                  "detectedCPEs": [
                    "cpe:/o:microsoft:windows_10:1507::x64"
                  ],
                  "firstFound": "2025-07-14",
                  "lastFound": "2025-07-14",
                  "severity": "Unscored",
                  "summary": "An elevation of privilege vulnerability exists in the way that the sysmain.dll handles objects in memory. An attacker who successfully exploited the vulnerability could execute code with elevated permissions. NOTE: This vulnerability is currently awaiting analysis."
                }
              ]
            }
          }
        }
      ],
      "pageInfo": {
        "startCursor": "MTQ2NTkxODE5OjA=",
        "endCursor": "MTQ2NTkxODE5OjA=",
        "hasPreviousPage": false,
        "hasNextPage": true
      }
    }
  }
}

Get filtered endpoint vulnerability findings information from filtered set of endpoints

Retrieve vulnerability findings with a specified CVE year and CVSS score for the first endpoint in the All Windows computer group.

The following query requires Comply 2.17.167 or later and retrieves the first endpoint that is a member of the All Windows computer group, with a vulnerability findings cveYear of 2020 and cvssScore value of 5, and returns that endpoint's associated vulnerability findings with a cveYear of 2020 and cvssScore value of 5.

JSON
query exampleFilterWindowsEndpointVulnerability($first: Int!) {
  endpoints(first: $first, filter: {memberOf: {name: "All Windows"}}) {
    edges {
      node {
        name
        ipAddress
        compliance {
          cveFindings(
            filter: {any: false, filters: [{path: "cveYear", value: "2020"}, {path: "cvssScore", value: "5"}]}
          ) {
            absoluteFirstFoundDate
            cveId
            cveYear
            cvssScoreV3
            detectedProducts
            detectedCPEs
            firstFound
            lastFound
            severityV3
            summary
          }
        }
      }
    }
    pageInfo {
      startCursor
      endCursor
      hasPreviousPage
      hasNextPage
    }
  }
}

Include the cursor variable in the Variables panel or in your variables dictionary:

JSON
{
  "first": 1
}

Example response:

JSON
{
  "data": {
    "endpoints": {
      "edges": [
        {
          "node": {
            "name": "example-host-3",
            "ipAddress": "10.30.0.100",
            "compliance": {
              "cveFindings": [
                {
                  "absoluteFirstFoundDate": "2024-02-08",
                  "cveId": "CVE-2020-0645",
                  "cveYear": "2020",
                  "cvssScoreV3": 7.5,
                  "detectedProducts": [
                    "Operating System"
                  ],
                  "detectedCPEs": [
                    "cpe:/o:microsoft:windows_server_2016:::x64"
                  ],
                  "firstFound": "2024-02-08",
                  "lastFound": "2025-07-10",
                  "severityV3": "High",
                  "summary": "A tampering vulnerability exists when Microsoft IIS Server improperly handles malformed request headers, aka 'Microsoft IIS Server Tampering Vulnerability'."
                },
                {
                  "absoluteFirstFoundDate": "2024-02-08",
                  "cveId": "CVE-2020-0660",
                  "cveYear": "2020",
                  "cvssScoreV3": 7.5,
                  "detectedProducts": [
                    "Operating System"
                  ],
                  "detectedCPEs": [
                    "cpe:/o:microsoft:windows_server_2016:::x64"
                  ],
                  "firstFound": "2024-02-08",
                  "lastFound": "2025-07-10",
                  "severityV3": "High",
                  "summary": "A denial of service vulnerability exists in Remote Desktop Protocol (RDP) when an attacker connects to the target system using RDP and sends specially crafted requests, aka 'Windows Remote Desktop Protocol (RDP) Denial of Service Vulnerability'."
                }
              ]
            }
          }
        }
      ],
      "pageInfo": {
        "startCursor": "MTQ2NTkyOTI5OjA=",
        "endCursor": "MTQ2NTkyOTI5OjA=",
        "hasPreviousPage": false,
        "hasNextPage": true
      }
    }
  }
}