getArtifact
Retrieves detailed information about a specific artifact, including its metadata, associated packages, and deployment details for a given organization.
Examples
query GetArtifact($getArtifactInput: GetArtifactInput) {
getArtifact(getArtifactInput: $getArtifactInput) {
vulnDepIssues
vulnDepBaseIssues
vulnDepInstructionIssues
secretIssues
sbomIssues
counts {
vulnDepIssues
vulnDepBaseIssues
vulnDepInstructionIssues
vulnDepPublicImageIssues
}
id
appDescription {
appName
appType
appId
businessPriority
}
artifactInfo {
type
name
version
hash
artifactIntegrity
registry
visibility
firstSeenDate
runtime
runtimeLastSeenDate
cloudDeployed
biVisibility
biName
biVersion
osName
osVersion
}
categories {
catId
severities {
info
low
medium
high
critical
appox
}
name
score
}
artifactCategories {
catId
severities {
info
low
medium
high
critical
appox
}
name
score
}
registryDescription {
type
name
project
link
hash
tags
username
userType
uploadTime
lastUpdate
buildTime
}
cloudData {
cloudIdentifier
link
lastExecutionTime
lastModifiedTime
account
accountName
zone
cluster
namespace
runtimeImageTag
instanceId
customAttributes {
key
value
}
k8sLabels
cloudDescription {
type
subType
cloudEntityAttributes {
... on ECS {
os
cpu
memory
containers
registeredAt
registeredBy
account
zone
}
}
}
}
totalIssuesBySeverity {
info
low
medium
high
critical
appox
}
packages {
appId
appName
repoName
link
type
}
issueSeverityBreakdown {
name
tab
severities {
info
low
medium
high
critical
appox
}
}
artifactContext {
name
icon
items {
name
trend
}
}
scaSeveritySummary {
info
low
medium
high
critical
appox
}
}
}Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
Arguments
You can use the following argument(s) to customize your getArtifact query.
getArtifactInput GetArtifactInput
Input containing artifact identifier and additional filters
artifactId String
Fields
Return type: ArtifactInfo
You can use the following field(s) to specify what information your getArtifact query will return. Please note that some fields may have their own subfields.
vulnDepIssues [String]
List of vulnerability dependency issue IDs
vulnDepBaseIssues [String]
List of base vulnerability dependency issue IDs
vulnDepInstructionIssues [String]
List of instruction-level vulnerability dependency issue IDs
secretIssues [String]
List of secret-related issue IDs
sbomIssues [String]
List of SBOM issue IDs
counts IssueCounts
Counts of different issue types
vulnDepIssues Int
vulnDepBaseIssues Int
vulnDepInstructionIssues Int
vulnDepPublicImageIssues Int
id String
Unique identifier of the artifact
appDescription ArtifactApplication
Description of the artifact's application context
appName String
appType String
appId String
businessPriority Float
artifactInfo IArtifactInfo
Core artifact metadata and info
type ArtifactInfoTypes
name String
version String
hash String
artifactIntegrity String
registry String
visibility String
firstSeenDate Float
runtime Boolean
runtimeLastSeenDate Float
cloudDeployed Boolean
biVisibility String
biName String
biVersion String
osName String
osVersion String
categories [ArtifactCategories]
List of categories assigned to the artifact
catId String
severities Severities
name String
score String
artifactCategories [ArtifactCategories]
List of artifact categories (possibly duplicates or synonyms)
catId String
severities Severities
name String
score String
registryDescription [ArtifactRegistryDescription]
Registry descriptions related to the artifact
type String
name String
project String
link String
hash String
tags [String]
username String
userType String
uploadTime Float
lastUpdate Float
buildTime Float
cloudData [CloudArtifactData]
Cloud-related data for the artifact
cloudIdentifier String
link String
lastExecutionTime Float
lastModifiedTime Float
account String
accountName String
zone String
cluster String
namespace String
runtimeImageTag String
instanceId String
customAttributes [CustomAttribute]
k8sLabels [String]
cloudDescription CloudDescription
totalIssuesBySeverity Severities
Aggregated counts of issues by severity for the artifact
info Int
low Int
medium Int
high Int
critical Int
appox Int
packages [ArtifactPackage]
List of packages included in the artifact
appId String
appName String
repoName String
link String
type String
issueSeverityBreakdown [IssueSeverityBreakdown]
Issue severity breakdown for the artifact
name String
tab String
severities Severities
artifactContext [ArtifactContextCategory]
Context categories for the artifact (reachability, exportability, damage)
name String
icon String
items [ArtifactContextItem]
scaSeveritySummary Severities
Sca issues summary
info Int
low Int
medium Int
high Int
critical Int
appox Int
Last updated
