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.

TermDefinition
getReturns one item. The item can be null.
searchReturns a list. The list can be empty.
whereFilter object. If you omit it, the query matches every item, unless that query's description says otherwise.
orderBySort object with field and direction. Direction is ASC or DESC. If you can omit orderBy, field, or direction, the query description says what happens.
ConnectionA 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.
EdgeOne position in a connection. node is the item. cursor is the position. Either value can be null.
PageInfoTells you whether another page exists, and gives the cursors at each end of this page.
first and afterForward 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 beforeBackward pagination.
DateA 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.
URIA string that matches RFC 3986.
DigestAn algorithm, a colon, and the digest. For example, sha256: followed by the digest.
Sha256Lowercase hexadecimal, 64 characters.
JSONAn arbitrary JSON object.
BigIntA signed whole number from -2^63 to 2^63-1, encoded as a quoted decimal string.
PackageTypeA package type string. The schema lists the known values, including maven, npm, and docker.
nameA short name for the item.
displayNameA human-readable name, used when name isn't enough.
descriptionA human-readable description.
summaryOn an item, a brief description. On a connection, an optional roll-up of the filtered set. That roll-up doesn't replace totalCount.
pathA file or folder path. Use a URI field for a URI.
projectKeyA JFrog project key.
repositoryKeyThe name of a JFrog Artifactory repository.
createdAt and modifiedAtWhen the item was created, and when it was last modified.
createdBy and modifiedByWho created the item, and who last modified it.
ownerThe 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.

TermDefinition
ContainsThe text contains the value.
GT and GTEGreater than, and greater than or equal.
LT and LTELess than, and less than or equal.
NEQNot equal.
InThe value is in the list.
HasPrefix and HasSuffixThe text starts with the value, or ends with it.
has and hasWithThe related item exists, or it exists and matches the nested filter.
not, and, and orCombine filters.

The following error codes can appear on a query.

CodeDefinition
ACCESS_DENIEDThe caller is unauthenticated, or doesn't have permission.
INTERNAL_ERRORAn unexpected error on the server.
INVALID_INPUTA value in the input is invalid.
NOT_FOUNDThe 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.

OperationDefinition
getUserReturns the user with that username. Returns null when the user isn't found.
searchUsersReturns users that match the filter.
getGroupReturns the group with that name. Returns null when the group isn't found.
searchGroupsReturns 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.

FieldDefinition
emailEmail address.
firstNameFirst name.
lastNameLast name.
realmAuthentication realm. This field is required.
statusAccount status. This field is required.
createdAtWhen the account was created.
modifiedAtWhen the account was last modified.
lastLoginAtWhen the account last logged in.
lastLoginIpIP address of the last login.
groupsConnectionGroups this account belongs to, as a page of results.
passwordExpiredWhether the password has expired.
mfaStatusMulti-factor authentication status.

A user account has one of the following statuses.

StatusDefinition
ENABLEDThe account is active and can authenticate.
DISABLEDAn administrator disabled the account.
LOCKEDThe account is locked after failed sign-in attempts.
INVITEDThe account is invited, and registration is still pending.

Multi-factor authentication has one of the following statuses.

StatusDefinition
NONEMulti-factor authentication isn't configured.
ENABLEDMulti-factor authentication is enabled.
PENDINGMulti-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.

FieldDefinition
descriptionWhat the group is for.
realmAuthentication realm.
autoJoinWhether new users are added to this group automatically.
externalIdIdentifier of the group in the external provider it comes from.
createdAtWhen the group was created. Null for groups created before creation times were recorded.
modifiedAtWhen the group was last modified.
membersConnectionUsers 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.

OperationDefinition
getApplicationReturns the application with that key. When the application doesn't exist, the result is null and the extensions include NOT_FOUND.
searchApplicationsReturns 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.
getApplicationsByPackageVersionBindingsReturns 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.
getApplicationVersionReturns 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.
searchApplicationVersionsReturns 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.

FieldDefinition
keyUnique identifier.
projectKeyProject key of the project the application belongs to.
displayNameDisplay name.
descriptionDescription.
criticalityCriticality. Examples are unspecified, low, medium, high, and critical.
maturityLevelMaturity level. Examples are unspecified, experimental, production, and end_of_life.
autoPromoteStagesLifecycle stages this application promotes through, in order. Empty when auto-promotion isn't configured.
ownersOwners. An owner is a user or a group.
labelsLabels. Each label has a key and an optional value.
versionsConnectionVersions 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.
packageVersionsConnectionPackage versions bound to the application. The page size defaults to 25 and can't exceed 250. You can filter by package type.
evidenceSubjectEvidence 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.

TypeDefinition
USERAn individual user.
GROUPA 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.

FieldDefinition
applicationThe parent application.
versionThe version identifier.
tagAn optional tag.
createdByWho created the version.
createdAtWhen the version was created.
statusLifecycle status.
messagesError messages from creating the version. Each message has text.
releaseStatusWhether the version has been released.
currentStageNameThe latest stage the version was successfully promoted to. This is null or empty when the version hasn't been promoted.
promotionsConnectionEvery 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.
releasablesReleasables for this version, including counts and a page of releasables.
sourcesSources for this version.
evidenceSubjectEvidence associated with the version.
slaThe 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.

StatusDefinition
STARTEDCreation or an update is still running. This status is transitional.
DELETINGDeletion is still running. This status is transitional.
DRAFTThe version was created as a draft and hasn't been finalized.
COMPLETEDThe operation finished successfully. This status is terminal.
FAILEDThe operation finished with an error. This status is terminal.

Release status has one of the following values.

StatusDefinition
PRE_RELEASEThe version hasn't been released.
RELEASEDThe version has been promoted to the release stage.
TRUSTED_RELEASEThe 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.

FieldDefinition
sourceStageNameThe stage the version is promoted from. Empty for the first stage.
targetStageNameThe stage the version is promoted to.
createdByWho started the promotion.
createdAtWhen the promotion started.
statusPromotion status.
artifactsArtifacts included in the promotion.
messagesError 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.

StatusDefinition
SUBMITTEDThe request was accepted and hasn't started. This status is transitional.
STARTEDThe promotion is in progress. This status is transitional.
PENDINGThe promotion is waiting to proceed. This status is transitional.
DELETINGDeletion of the promotion is in progress. This status is transitional.
COMPLETEDThe promotion finished successfully. This status is terminal.
FAILEDThe promotion finished with an error. This status is terminal.
REJECTEDThe 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.

FieldDefinition
namePackage name or artifact file name.
versionPackage version. Empty for a file that isn't a package.
packageTypePackage type of the repository where the releasable is stored, for example docker, maven, or generic.
releasableTypeKind of releasable. The schema treats this as a string. Examples are artifact and package_version.
sha256Checksum of the leading file, for example the manifest of a Docker image.
totalSizeTotal size of the artifacts in the releasable, in bytes.
sourcesSources that contributed to this releasable.
artifactsArtifacts in this releasable.
vcsCommitSource control commit. Present for package releasables bound to an application in AppTrust.
packageVersionLocationStored package version location. Null for a releasable that isn't a package, when no repository location was found, or for a Docker attestation manifest.
propertiesArtifactory 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.

SourceDefinition
ApplicationVersionSourceBuildA build that produced the releasable. sourceType is build. Fields are name, number, startedAt, and repositoryKey of the build-info repository.
ApplicationVersionSourceReleaseBundleA release bundle that produced the releasable. sourceType is release_bundle. Fields are name, version, and repositoryKey.
ApplicationVersionSourceApplicationVersionAnother application version that produced the releasable. sourceType is application_version. Fields are applicationKey and version.
ApplicationVersionSourceDirectThe 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.

FieldDefinition
typeThe unit of the remaining window.
valueRemaining budget in that unit. Positive while the window is open. Zero when the window has ended, or when type is NONE.
messageA readable description, for example 42 days left.

The support window uses one of the following units.

UnitDefinition
DAYS_LEFTRemaining days, stored in value.
VERSION_COUNTThe number of newer released versions, stored in value.
NONEThe 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.

TermDefinition
publicPackagesPackage queries.
PublicPackageA software package available in public sources and ecosystems. Identified by type, name, and ecosystem.
ecosystemThe package ecosystem, for example npm, maven, or pypi.
PublicPackageVersionA version of a public package. Identified by the package and version.
PublicPackageEcosystemExtended information for a package ecosystem.
PublicPackageSourceA source for packages.
PublicPackageSourceLocationA specific location in a package source.
PublicPackageBinaryA package binary with platform-specific information.
publicSecurityInfoSecurity queries.
PublicVulnerabilityA security vulnerability that affects software packages. Identified by name and ecosystem.
PublicThreatIntelFeedA threat-intel item from an external source.
publicLegalInfoLegal queries.
PublicLicenseA software license, including risk and compliance information. Identified by name.
PublicLicenseInfoLicense information, including expressions and detected licenses.
publicOperationalInfoOperational queries.
PublicPackageOperationalInfoOperational information for a package. Includes Open Source Security Foundation (OpenSSF) Scorecard results, JFrog popularity metrics, and end of life.
PublicOpenSsfOpenSSF Scorecard and check definitions.
PublicPackageEndOfLifeEnd-of-life status for a package.
publicCatalogLabelsLabel queries.
PublicCatalogLabelA label used to tag packages.
publicRemoteServicesRemote-service queries.
PublicMcpServiceA 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.

TermDefinition
customPackagesCustom Catalog package queries.
CustomPackageA package in the Custom Catalog and in private sources.
customSecurityInfoCustom Catalog security queries. Vulnerability lookup returns PublicVulnerability.
CustomSeverityA severity defined for a vulnerability name.
CustomConcludedSeverityThe severity selected from the configured source hierarchy.
customLegalInfoCustom Catalog legal queries.
CustomLicenseA license in the Custom Catalog.
CustomAssignedLicenseA license assignment that attaches custom license information to packages.
customCatalogLabelsCustom Catalog label queries.
CustomCatalogLabelA 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.

TermDefinition
CustomCatalogLabelMutationsCreate, update, and assign Custom Catalog labels. Includes createCustomCatalogLabel, createCustomCatalogLabels, and updateCustomCatalogLabel.
CustomAssignedLicenseMutationsCreate and update custom assigned licenses, and set an expiration. Includes createCustomAssignedLicense, createCustomAssignedLicenses, updateCustomAssignedLicense, and setCustomAssignedLicenseExpiration.
CustomLegalInfoMutationsGroups 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.

TermDefinition
EvidenceSigned 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.
EvidenceSubjectThe 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.
entityTypeThe 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.
EvidenceAttachmentAn unstructured file attached to evidence, for example a legal document.
EvidenceSigningKeyThe key used to sign the evidence.
ReleaseBundleVersionA version of a release bundle.
ReleaseBundleVersionBuildA build that a release bundle version was created from.
ReleaseBundleVersionArtifactAn artifact included in the release bundle version.
stageNameThe 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.

TermDefinition
StoredPackageA package stored in Artifactory metadata. It groups the versions of one named artifact for a package type and repository. Identified by type and name.
typeNormalized package type, for example maven, npm, or go.
repositoryPackageTypeThe 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.
StoredPackageVersionOne version of a stored package. Identified by the package type, package name, and version.
StoredPackageVersionLocationThe record for one package version in one Artifactory repository. A version can have one location per repository. Identified by the version and repositoryKey.
StoredPackageArtifactA file associated with a stored package version. Identified by sha256.
StoredPackageQualifierA 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.
StoredPackageTagA tag on a stored package. A version can have its own tags.
StoredPackageLicenseA 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.
StoredPackageVulnerabilitiesSummaryVulnerability 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.

TermDefinition
GridTopologyHow sites are connected. Each site is a JFrog Platform. Identified by key.
GridTopologySiteOne site in a topology. isCurrent is true when this site is serving the request.
GridSiteLocationThe geographic location of a site. Includes city and countryCode.
GridSiteStatusFederation and connectivity status of a site.
GridEntityTypeKeyThe public key for a monitored entity type, for example users, groups, or project groups. Valid values come from the Grid entity store configuration.
GridMonitoringEntityA 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.
GridMonitoringEntitySummaryAggregated sync counts for one entity type in a topology. One row in the monitoring summary.
GridMonitoringEntityTargetOne source-to-target sync row for a monitored entity.
GridMonitoringStatusCountsSync counts by outcome. The public fields are failed, inProgress, and synced.

A site has one of the following statuses.

StatusDefinition
CONNECTEDFully connected.
DISCONNECTEDDisconnected.
PARTIALLY_CONNECTEDPartially connected.
PENDING_REMOVALPending 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.

StatusDefinition
FAILEDThe sync failed.
IN_PROGRESSThe sync is in progress.
SYNCEDThe sync succeeded.
PENDINGThe change is waiting to be sent to the target site. Returned on a getMonitoringEntity target row. This status counts as IN_PROGRESS.
SENTThe 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.
ALLNo 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.


Did this page help you?