OneModel Common Terms
Terms used by OneModel GraphQL
OneModel GraphQL uses the same terms for the same ideas across the JFrog Platform. Use this page to see what a term means before you write a query.
You send every query to the OneModel endpoint. For the endpoint, authentication, and the GraphQL Playground, see JFrog OneModel GraphQL. Each service section links to the page with query examples for that service.
A field marked deprecated is still available and is scheduled for later removal. A field marked experimental can change or be removed at any time.
Terms Used in Every Query
The following names appear in queries for every service.
| Term | Definition |
|---|---|
get | Returns one item. The item can be null. |
search | Returns a list. The list can be empty. |
where | Filter object. If you omit it, the query matches every item, unless that query's description says otherwise. |
orderBy | Sort object with field and direction. Direction is ASC or DESC. If you can omit orderBy, field, or direction, the query description says what happens. |
Connection | A page of results. It has edges, pageInfo, and totalCount. Some connections also include summary, a roll-up of the filtered set. summary doesn't replace totalCount. |
Edge | One position in a connection. node is the item. cursor is the position. Either value can be null. |
PageInfo | Tells you whether another page exists, and gives the cursors at each end of this page. |
first and after | Forward pagination. first is how many items to return. after is the cursor of the last item on the previous page. The query description states the page size. |
last and before | Backward pagination. |
Date | A timestamp string. The default format is ISO-8601 with milliseconds and a time zone, for example 1994-11-05T13:15:30.972Z. Field names that hold a time end in At. |
URI | A string that matches RFC 3986. |
Digest | An algorithm, a colon, and the digest. For example, sha256: followed by the digest. |
Sha256 | Lowercase hexadecimal, 64 characters. |
JSON | An arbitrary JSON object. |
BigInt | A signed whole number from -2^63 to 2^63-1, encoded as a quoted decimal string. |
PackageType | A package type string. The schema lists the known values, including maven, npm, and docker. |
name | A short name for the item. |
displayName | A human-readable name, used when name isn't enough. |
description | A human-readable description. |
summary | On an item, a brief description. On a connection, an optional roll-up of the filtered set. That roll-up doesn't replace totalCount. |
path | A file or folder path. Use a URI field for a URI. |
projectKey | A JFrog project key. |
repositoryKey | The name of a JFrog Artifactory repository. |
createdAt and modifiedAt | When the item was created, and when it was last modified. |
createdBy and modifiedBy | Who created the item, and who last modified it. |
owner | The user who owns the item. An AppTrust application owner can be a user or a group. |
Equality uses the field name as written. The following suffixes and words change the comparison.
| Term | Definition |
|---|---|
Contains | The text contains the value. |
GT and GTE | Greater than, and greater than or equal. |
LT and LTE | Less than, and less than or equal. |
NEQ | Not equal. |
In | The value is in the list. |
HasPrefix and HasSuffix | The text starts with the value, or ends with it. |
has and hasWith | The related item exists, or it exists and matches the nested filter. |
not, and, and or | Combine filters. |
The following error codes can appear on a query.
| Code | Definition |
|---|---|
ACCESS_DENIED | The caller is unauthenticated, or doesn't have permission. |
INTERNAL_ERROR | An unexpected error on the server. |
INVALID_INPUT | A value in the input is invalid. |
NOT_FOUND | The requested item doesn't exist. Used only on get queries. |
Users and Groups
The identities field queries platform users and the groups they belong to.
The following operations read users and groups. User and group search page size defaults to 20 and is capped at 100.
| Operation | Definition |
|---|---|
getUser | Returns the user with that username. Returns null when the user isn't found. |
searchUsers | Returns users that match the filter. |
getGroup | Returns the group with that name. Returns null when the group isn't found. |
searchGroups | Returns groups that match the filter. |
User search accepts nameContains, realm, status, and hasGroupWith. hasGroupWith matches users in a group with that exact name, and you can't combine it with other filters. Group search accepts nameContains and autoJoin. Use an exact group name inside hasGroupWith.
You can order users by NAME or CREATED_AT. You can order groups by NAME.
User
A user is a platform account, including authentication and authorization details. name is the username.
The following fields describe a user.
| Field | Definition |
|---|---|
email | Email address. |
firstName | First name. |
lastName | Last name. |
realm | Authentication realm. This field is required. |
status | Account status. This field is required. |
createdAt | When the account was created. |
modifiedAt | When the account was last modified. |
lastLoginAt | When the account last logged in. |
lastLoginIp | IP address of the last login. |
groupsConnection | Groups this account belongs to, as a page of results. |
passwordExpired | Whether the password has expired. |
mfaStatus | Multi-factor authentication status. |
A user account has one of the following statuses.
| Status | Definition |
|---|---|
ENABLED | The account is active and can authenticate. |
DISABLED | An administrator disabled the account. |
LOCKED | The account is locked after failed sign-in attempts. |
INVITED | The account is invited, and registration is still pending. |
Multi-factor authentication has one of the following statuses.
| Status | Definition |
|---|---|
NONE | Multi-factor authentication isn't configured. |
ENABLED | Multi-factor authentication is enabled. |
PENDING | Multi-factor authentication setup is pending. |
Group
A group is a collection of platform users. You grant permissions to the group. name is the group name.
The following fields describe a group.
| Field | Definition |
|---|---|
description | What the group is for. |
realm | Authentication realm. |
autoJoin | Whether new users are added to this group automatically. |
externalId | Identifier of the group in the external provider it comes from. |
createdAt | When the group was created. Null for groups created before creation times were recorded. |
modifiedAt | When the group was last modified. |
membersConnection | Users in this group, as a page of results. |
AppTrust
The applications field covers the JFrog AppTrust lifecycle. That includes applications and versions, stages, promotions, sources, linked release bundles, and evidence. JFrog Catalog package metadata and Artifactory stored-package inventory are separate. Use publicPackages, customPackages, or storedPackages for those.
For more information, see AppTrust OneModel GraphQL and Release Lifecycle Management GraphQL.
The page-size maximums in this section can change.
The following queries read applications and versions.
| Operation | Definition |
|---|---|
getApplication | Returns the application with that key. When the application doesn't exist, the result is null and the extensions include NOT_FOUND. |
searchApplications | Returns applications that match the filter. Omit where, or pass an empty object, to match every application. The page size defaults to 25 and can't exceed 250. The default order is creation time, newest first. |
getApplicationsByPackageVersionBindings | Returns the applications bound to each package you pass. Each binding needs a package type and name, and can include a version. With a version, only that version matches. Without a version, any version matches. The default limit is 10 applications per package. |
getApplicationVersion | Returns one application version for an application key and a version string. When it doesn't exist, the result is null and the extensions include NOT_FOUND. |
searchApplicationVersions | Returns versions that contain a specific artifact. where is required. When you already know the application and you aren't filtering by an artifact, use versionsConnection on that application. The page size defaults to 10 and can't exceed 100. |
searchApplicationVersions needs exactly one of applicationKey or projectKey, plus hasArtifactWith. Set filePath, sha256, or both. If you set both, both must match. filePath doesn't include the repository key. totalCount is null for this artifact filter.
Application
An application is a logical software entity. It can have multiple versions and bound package versions. key is the identifier other types call applicationKey or appKey. An application and its resources exist within a project.
The following fields describe an application.
| Field | Definition |
|---|---|
key | Unique identifier. |
projectKey | Project key of the project the application belongs to. |
displayName | Display name. |
description | Description. |
criticality | Criticality. Examples are unspecified, low, medium, high, and critical. |
maturityLevel | Maturity level. Examples are unspecified, experimental, production, and end_of_life. |
autoPromoteStages | Lifecycle stages this application promotes through, in order. Empty when auto-promotion isn't configured. |
owners | Owners. An owner is a user or a group. |
labels | Labels. Each label has a key and an optional value. |
versionsConnection | Versions of this application. Use this when the application is already known and you aren't filtering by an artifact. The page size defaults to 10 and can't exceed 100. The default order is creation time, newest first. |
packageVersionsConnection | Package versions bound to the application. The page size defaults to 25 and can't exceed 250. You can filter by package type. |
evidenceSubject | Evidence associated with the application. |
Application search accepts projectKey, nameContains, maturityLevel, maturityLevelIn, criticality, criticalityIn, hasLabelsWith, hasOwnersWith, and hasPackageVersionWith. Use maturityLevel or maturityLevelIn. Use criticality or criticalityIn. You can't set both forms of the same filter.
You can order applications by CREATED_AT, newest first by default, or by NAME, in alphabetical order by default.
An owner has a name and a type. An owner has one of the following types.
| Type | Definition |
|---|---|
USER | An individual user. |
GROUP | A group of users. |
versionsConnection can filter by one release status, a tag, or monitored versions. Pass one ApplicationVersionReleaseStatus value. A comma-separated list isn't accepted. Set monitored to true to return only the versions the application's support window currently monitors, ordered by promotion time, newest first. That filter returns the full monitored set. You can't combine it with first, releaseStatus, tag, orderBy, or after.
A bound package version has type, name, version, and vcsCommit. vcsCommit is the source control commit when one is available. It has revision, vcsUrl, and branch.
Application Version
An application version is one iteration or release of an application. It belongs to a parent application and can have promotions and releasables.
The following fields describe an application version.
| Field | Definition |
|---|---|
application | The parent application. |
version | The version identifier. |
tag | An optional tag. |
createdBy | Who created the version. |
createdAt | When the version was created. |
status | Lifecycle status. |
messages | Error messages from creating the version. Each message has text. |
releaseStatus | Whether the version has been released. |
currentStageName | The latest stage the version was successfully promoted to. This is null or empty when the version hasn't been promoted. |
promotionsConnection | Every promotion of this version, including failed attempts. The page size defaults to 25 and can't exceed 250. The default order is creation time, newest first. |
releasables | Releasables for this version, including counts and a page of releasables. |
sources | Sources for this version. |
evidenceSubject | Evidence associated with the version. |
sla | The remaining support window. Present for released versions. type is NONE when the application has no monitor policy. |
A version has one of the following lifecycle statuses.
| Status | Definition |
|---|---|
STARTED | Creation or an update is still running. This status is transitional. |
DELETING | Deletion is still running. This status is transitional. |
DRAFT | The version was created as a draft and hasn't been finalized. |
COMPLETED | The operation finished successfully. This status is terminal. |
FAILED | The operation finished with an error. This status is terminal. |
Release status has one of the following values.
| Status | Definition |
|---|---|
PRE_RELEASE | The version hasn't been released. |
RELEASED | The version has been promoted to the release stage. |
TRUSTED_RELEASE | The version has been released and passed the policy gate. |
You can order versions on an application by CREATED_AT or VERSION. Version order defaults to semantic version sort. Versions that don't follow semantic versioning are placed after the others and sorted lexicographically. Cursor pagination with after isn't supported for semantic version sort. LEXICOGRAPHIC sorts the version strings as text.
Promotion
A promotion moves an application version from one stage to another.
The following fields describe a promotion.
| Field | Definition |
|---|---|
sourceStageName | The stage the version is promoted from. Empty for the first stage. |
targetStageName | The stage the version is promoted to. |
createdBy | Who started the promotion. |
createdAt | When the promotion started. |
status | Promotion status. |
artifacts | Artifacts included in the promotion. |
messages | Error messages from the promotion. Each message has text. |
A promotion artifact has repositoryKey, path, sha256, packageType, and optional packageName and packageVersion. path doesn't include the repository key. It can also include evidenceSubject.
A promotion has one of the following statuses. Transitional values are still in progress. Terminal values are finished.
| Status | Definition |
|---|---|
SUBMITTED | The request was accepted and hasn't started. This status is transitional. |
STARTED | The promotion is in progress. This status is transitional. |
PENDING | The promotion is waiting to proceed. This status is transitional. |
DELETING | Deletion of the promotion is in progress. This status is transitional. |
COMPLETED | The promotion finished successfully. This status is terminal. |
FAILED | The promotion finished with an error. This status is terminal. |
REJECTED | The promotion finished as rejected. This status is terminal. |
Releasable
A releasable is something you can release in an application version, for example a Docker image.
releasables on a version includes releasablesCount, artifactsCount, and totalSize in bytes. Those counts ignore filters. The page of releasables defaults to 25 items and can't exceed 250. The default order is name, in alphabetical order. You can also order by PACKAGE_TYPE, and you can filter with packageTypeIn.
The following fields describe a releasable.
| Field | Definition |
|---|---|
name | Package name or artifact file name. |
version | Package version. Empty for a file that isn't a package. |
packageType | Package type of the repository where the releasable is stored, for example docker, maven, or generic. |
releasableType | Kind of releasable. The schema treats this as a string. Examples are artifact and package_version. |
sha256 | Checksum of the leading file, for example the manifest of a Docker image. |
totalSize | Total size of the artifacts in the releasable, in bytes. |
sources | Sources that contributed to this releasable. |
artifacts | Artifacts in this releasable. |
vcsCommit | Source control commit. Present for package releasables bound to an application in AppTrust. |
packageVersionLocation | Stored package version location. Null for a releasable that isn't a package, when no repository location was found, or for a Docker attestation manifest. |
properties | Artifactory properties of the leading artifact. Each property has a key and one or more values. Null when properties weren't requested or couldn't be resolved. |
An artifact in a releasable has filePath, downloadPath, sha256, size in bytes, and evidenceSubject. filePath doesn't include the repository key. downloadPath is a path you can use to download the artifact from a Release Bundle repository.
Releasable Source
A source is where a releasable came from. sourceType names the kind. Each source can include evidenceSubject.
The following sources are defined.
| Source | Definition |
|---|---|
ApplicationVersionSourceBuild | A build that produced the releasable. sourceType is build. Fields are name, number, startedAt, and repositoryKey of the build-info repository. |
ApplicationVersionSourceReleaseBundle | A release bundle that produced the releasable. sourceType is release_bundle. Fields are name, version, and repositoryKey. |
ApplicationVersionSourceApplicationVersion | Another application version that produced the releasable. sourceType is application_version. Fields are applicationKey and version. |
ApplicationVersionSourceDirect | The releasable was included directly, with no build and no release bundle. sourceType is direct. Its evidence is always null. |
Support Window
A support window is an application setting that defines which application versions released to PROD stay actively monitored.
The following fields describe a support window.
| Field | Definition |
|---|---|
type | The unit of the remaining window. |
value | Remaining budget in that unit. Positive while the window is open. Zero when the window has ended, or when type is NONE. |
message | A readable description, for example 42 days left. |
The support window uses one of the following units.
| Unit | Definition |
|---|---|
DAYS_LEFT | Remaining days, stored in value. |
VERSION_COUNT | The number of newer released versions, stored in value. |
NONE | The application has no monitor policy. value is zero. |
Catalog
Catalog exposes public data and data your organization defines. For more information, see Catalog OneModel GraphQL.
Public Catalog
Public queries read packages, security findings, licenses, operational data, labels, and remote services from public sources.
The following terms are the public queries and types.
| Term | Definition |
|---|---|
publicPackages | Package queries. |
PublicPackage | A software package available in public sources and ecosystems. Identified by type, name, and ecosystem. |
ecosystem | The package ecosystem, for example npm, maven, or pypi. |
PublicPackageVersion | A version of a public package. Identified by the package and version. |
PublicPackageEcosystem | Extended information for a package ecosystem. |
PublicPackageSource | A source for packages. |
PublicPackageSourceLocation | A specific location in a package source. |
PublicPackageBinary | A package binary with platform-specific information. |
publicSecurityInfo | Security queries. |
PublicVulnerability | A security vulnerability that affects software packages. Identified by name and ecosystem. |
PublicThreatIntelFeed | A threat-intel item from an external source. |
publicLegalInfo | Legal queries. |
PublicLicense | A software license, including risk and compliance information. Identified by name. |
PublicLicenseInfo | License information, including expressions and detected licenses. |
publicOperationalInfo | Operational queries. |
PublicPackageOperationalInfo | Operational information for a package. Includes Open Source Security Foundation (OpenSSF) Scorecard results, JFrog popularity metrics, and end of life. |
PublicOpenSsf | OpenSSF Scorecard and check definitions. |
PublicPackageEndOfLife | End-of-life status for a package. |
publicCatalogLabels | Label queries. |
PublicCatalogLabel | A label used to tag packages. |
publicRemoteServices | Remote-service queries. |
PublicMcpService | A Model Context Protocol (MCP) service available in public registries. |
Custom Catalog
Custom queries read packages, severities, licenses, and labels in the Custom Catalog and in private sources.
The following terms are the custom queries and types.
| Term | Definition |
|---|---|
customPackages | Custom Catalog package queries. |
CustomPackage | A package in the Custom Catalog and in private sources. |
customSecurityInfo | Custom Catalog security queries. Vulnerability lookup returns PublicVulnerability. |
CustomSeverity | A severity defined for a vulnerability name. |
CustomConcludedSeverity | The severity selected from the configured source hierarchy. |
customLegalInfo | Custom Catalog legal queries. |
CustomLicense | A license in the Custom Catalog. |
CustomAssignedLicense | A license assignment that attaches custom license information to packages. |
customCatalogLabels | Custom Catalog label queries. |
CustomCatalogLabel | A Custom Catalog label used to tag packages. |
If a package location isn't indexed yet, getPackageLocation can report SCAN_IN_PROGRESS, which you can retry, or REPO_NOT_INDEXED, which you can't retry. It can also return NOT_FOUND.
Use customPackages, customPackages.searchPackageVersions, and customCatalogLabels. The older fields publicPackage, publicPackageVersion, and customCatalogLabel aren't available.
The following groups hold Custom Catalog writes.
| Term | Definition |
|---|---|
CustomCatalogLabelMutations | Create, update, and assign Custom Catalog labels. Includes createCustomCatalogLabel, createCustomCatalogLabels, and updateCustomCatalogLabel. |
CustomAssignedLicenseMutations | Create and update custom assigned licenses, and set an expiration. Includes createCustomAssignedLicense, createCustomAssignedLicenses, updateCustomAssignedLicense, and setCustomAssignedLicenseExpiration. |
CustomLegalInfoMutations | Groups custom legal writes. Exposes customAssignedLicense. |
Evidence
The evidence field queries evidence. The releaseBundleVersion field queries release bundle versions. For more information, see Evidence OneModel GraphQL and Release Lifecycle Management GraphQL.
The following terms describe evidence and release bundle versions.
| Term | Definition |
|---|---|
Evidence | Signed metadata about a designated subject. Includes predicateCategory, predicateType, predicateSlug, and predicate, which holds the predicate data as JSON. verified says whether the evidence is verified. |
EvidenceSubject | The subject the evidence is about. A subject can be identified by projectKey, entityType, and entityId, by applicationKey, entityType, and entityId, by repositoryKey, entityType, and entityId, or by fullPath. |
entityType | The kind of subject. Types other than artifacts are defined by the owner of that entity, for example gitCommit or languageModel. Reserved types for Artifactory lead artifacts are artifact, package-version, application-version, release-bundle-version, and build-version. |
EvidenceAttachment | An unstructured file attached to evidence, for example a legal document. |
EvidenceSigningKey | The key used to sign the evidence. |
ReleaseBundleVersion | A version of a release bundle. |
ReleaseBundleVersionBuild | A build that a release bundle version was created from. |
ReleaseBundleVersionArtifact | An artifact included in the release bundle version. |
stageName | The lifecycle stage at which the evidence was created, for example qa or prod. Applies to release-bundle and application-version subjects. |
searchEvidence must include hasSubjectWith. getEvidenceById and getEvidence read one evidence record. releaseBundleVersion.getVersion reads one release bundle version.
repositoryKey and path on Evidence are deprecated. Use subject.repositoryKey instead of repositoryKey. path is deprecated because its meaning was unclear.
Stored Packages
The storedPackages field queries package records stored in Artifactory metadata. That includes packages, versions, artifacts, and the repositories where a version is stored. For more information, see Stored Packages OneModel GraphQL.
The following terms describe a stored package.
| Term | Definition |
|---|---|
StoredPackage | A package stored in Artifactory metadata. It groups the versions of one named artifact for a package type and repository. Identified by type and name. |
type | Normalized package type, for example maven, npm, or go. |
repositoryPackageType | The package type configured on the Artifactory repository. Some names are aliases. golang maps to GO. rpm maps to YUM. rubygems maps to GEMS. deb and dsc map to DEBIAN. Terraform provider and Terraform module map to TERRAFORM. hfdataset maps to HUGGINGFACEML. |
StoredPackageVersion | One version of a stored package. Identified by the package type, package name, and version. |
StoredPackageVersionLocation | The record for one package version in one Artifactory repository. A version can have one location per repository. Identified by the version and repositoryKey. |
StoredPackageArtifact | A file associated with a stored package version. Identified by sha256. |
StoredPackageQualifier | A package-manager qualifier, as a name and value, on a stored package. Version and artifact qualifiers use the same shape on the version and on the artifact. |
StoredPackageTag | A tag on a stored package. A version can have its own tags. |
StoredPackageLicense | A license associated with a stored package. Deprecated. Use the JFrog Xray API for license data. The version license type is deprecated for the same reason. |
StoredPackageVulnerabilitiesSummary | Vulnerability counts for a stored package across its versions. Deprecated. Use the JFrog Xray API for vulnerability data. The version summary is the count for one version, and it is deprecated for the same reason. |
getPackage and getPackageVersionLocation require type, repositoryPackageType, or both. Other reads are searchPackages, searchPackageVersions, and searchPackageArtifacts.
Platform Federation
The grid field queries the Platform Federation topology and the sync status of entities that replicate across sites. The Grid service maintains that topology. For more information, see Platform Federation OneModel GraphQL.
The following terms describe a topology and its sync status.
| Term | Definition |
|---|---|
GridTopology | How sites are connected. Each site is a JFrog Platform. Identified by key. |
GridTopologySite | One site in a topology. isCurrent is true when this site is serving the request. |
GridSiteLocation | The geographic location of a site. Includes city and countryCode. |
GridSiteStatus | Federation and connectivity status of a site. |
GridEntityTypeKey | The public key for a monitored entity type, for example users, groups, or project groups. Valid values come from the Grid entity store configuration. |
GridMonitoringEntity | A monitored entity, such as a user, a group, or a project group. Includes the aggregated sync status across target sites, and the sync result for each target. |
GridMonitoringEntitySummary | Aggregated sync counts for one entity type in a topology. One row in the monitoring summary. |
GridMonitoringEntityTarget | One source-to-target sync row for a monitored entity. |
GridMonitoringStatusCounts | Sync counts by outcome. The public fields are failed, inProgress, and synced. |
A site has one of the following statuses.
| Status | Definition |
|---|---|
CONNECTED | Fully connected. |
DISCONNECTED | Disconnected. |
PARTIALLY_CONNECTED | Partially connected. |
PENDING_REMOVAL | Pending removal from the topology. |
List and summary queries use the following sync statuses. getMonitoringEntity target rows can also be PENDING or SENT. ALL means no status filter.
| Status | Definition |
|---|---|
FAILED | The sync failed. |
IN_PROGRESS | The sync is in progress. |
SYNCED | The sync succeeded. |
PENDING | The change is waiting to be sent to the target site. Returned on a getMonitoringEntity target row. This status counts as IN_PROGRESS. |
SENT | The change was sent to the target site, and the source site is waiting for confirmation. Returned on a getMonitoringEntity target row. This status counts as IN_PROGRESS. |
ALL | No status filter. |
getTopology and getMonitoringEntity return null when the item doesn't exist. getMonitoringEntity returns that null with no error. Other reads are searchMonitoringEntitySummaries and searchMonitoringEntities.
Updated about 5 hours ago
