getArtifactsTopFilters

Retrieves artifacts top filters.

Examples

query GetArtifactsTopFilters($getArtifactsInput: GetArtifactsInput) {
  getArtifactsTopFilters(getArtifactsInput: $getArtifactsInput) {
    name
    label
    count
    delta
    trend
  }
}

Variables

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

{
  "getArtifactsInput": {
    "limit": 100,
    "offset": 0,
    "sort": {
      "field": ["AppName"],
      "order": ["ASC"]
    },
    "dateRange": {
      "from": 1749000000000,
      "to": 1749900000000
    },
    "filters": {
      "apps": ["example"],
      "artifactType": ["example"],
      "artifactName": ["example"],
      "artifactFullName": ["example"],
      "version": ["example"],
      "sourceType": ["example"],
      "sourceTools": ["example"],
      "registryType": ["example"],
      "registryName": ["example"],
      "cloud": ["example"],
      "cluster": ["example"],
      "namespace": ["example"],
      "cloudDeployments": ["example"],
      "categories": ["example"],
      "issueSeverities": ["example"],
      "reachability": ["example"],
      "artifactIntegrity": ["example"],
      "artifactSha": ["example"],
      "imageSource": ["example"]
    },
    "artifactTopFilters": ["WithHighSeverityIssues"],
    "owners": ["example"],
    "tagIds": ["example"],
    "search": "example",
    "openItems": ["digest"]
  }
}

Arguments

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

Argument
Description
Supported fields

getArtifactsInput GetArtifactsInput

limit Int offset Int sort ArtifactsSort dateRange DateRange filters ArtifactFilters artifactTopFilters [ArtifactTopFilters] owners [String] tagIds [String] search String openItems [FilterTypes]

Fields

Return type: [ArtifactsTopFiltersResponse]

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

Field
Description
Supported fields

label String

count Int

delta Int

trend String

Last updated