getCloudItems

Retrieves cloud security items including cloud resources, containers, and their security posture.

Examples

query GetCloudItems($cloudItemsInput: CloudItemsInput) {
  getCloudItems(cloudItemsInput: $cloudItemsInput) {
    cloudItems {
      id
      assetName
      service
      resourceId
      cbomId
      cbomProvider
      resourceType
      resourceName
      accountId
      firstSeen
      cloudProvider
      serviceCategory
      applications {
        id
        name
        type
      }
      isExposed
      imageSource
      registryType
      registryName
      imageScanStatus
      exposurePath {
        type
        name
        cbomId
      }
      accountName
      subService
      region
      resourceTags
      resourceArn
      images {
        name
        hashes {
          hash
          isFromRegistry
        }
        tags
      }
      relatedIssues {
        info
        low
        medium
        high
        critical
        appox
      }
      issuesStats {
        totalIssues
        sourceTools {
          name
          total
        }
        categories {
          name
          total
        }
        severities {
          name
          total
        }
      }
      cluster
      link
      imageHash
      workloads {
        type
        namespace
        name
        cluster
        region
        isExposed
        consoleLink
        exposurePath {
          type
          name
          cbomId
        }
      }
      artifactIds
    }
    offset
    topOffset
    total
    totalFiltered
    selectedPosition
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

{
  "cloudItemsInput": {
    "limit": 100,
    "offset": 0,
    "scanId": "c9da693d-8906-4a32-93c9-2ffdb1cebb99",
    "dateRange": {
      "from": 1749000000000,
      "to": 1749900000000
    },
    "filters": {
      "apps": ["example"],
      "service": ["example"],
      "cloudProvider": ["example"],
      "assetName": ["example"],
      "accountId": ["example"],
      "region": ["example"],
      "serviceCategory": ["example"],
      "cluster": ["example"],
      "severities": ["example"],
      "isExposed": ["example"],
      "imageSource": ["example"],
      "registryType": ["example"],
      "registryName": ["example"],
      "imageScanStatus": ["example"]
    },
    "filterSearch": [
      {
        "fieldName": "example",
        "value": ["example"]
      }
    ],
    "owners": ["example"],
    "tagIds": ["example"],
    "search": "example",
    "openItems": ["digest"],
    "orderBy": {
      "field": "example",
      "direction": "ASC"
    },
    "topOffset": 42,
    "scrollDirection": "example",
    "cbomId": "example"
  }
}

Arguments

You can use the following argument(s) to customize your getCloudItems query.

Argument
Description
Supported fields

cloudItemsInput CloudItemsInput

Parameters for filtering and paginating cloud security items

limit Int offset Int scanId String dateRange DateRange filters CloudItemsFilters filterSearch [AutoCompleteSearch] owners [String] tagIds [String] search String openItems [FilterTypes] orderBy CloudItemsOrderBy topOffset Int scrollDirection String cbomId String

Fields

Return type: CloudItemsResponse

You can use the following field(s) to specify what information your getCloudItems query will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

cloudItems [CloudItem]

List of cloud security items found

id String assetName String service String resourceId String cbomId String cbomProvider String resourceType String resourceName String accountId String firstSeen String cloudProvider String serviceCategory String applications [AppInfo] isExposed String imageSource String registryType String registryName String imageScanStatus String exposurePath [ExposurePathItem] accountName String subService String region String resourceTags JSON resourceArn String images [CloudItemImage] relatedIssues Severities issuesStats IssuesStats cluster String link String imageHash String workloads [Workload] artifactIds [String]

offset Int

Current pagination offset

topOffset Int

Top offset for advanced pagination

total Int

Total number of cloud items available

totalFiltered Int

Total number of cloud items after applying filters

selectedPosition Int

Position of the selected item in the results

Last updated