Skip to main content

Artifactory

@webframp/artifactoryv2026.06.02.1· 1d agoMODELS
01README

Query and monitor JFrog Artifactory from a package consumer perspective. AQL-powered package search, repository health checks, and service status monitoring with diff detection for tracking package changes over time.

Authentication

Uses a JFrog Identity Token or Access Token stored in a swamp vault. Generate a token via the Artifactory UI or REST API.

Usage

swamp model create @webframp/artifactory packages \
  --global-arg url=https://packages.example.com \
  --global-arg 'token=vault://my-vault/artifactory-token'

swamp model method run packages system_health
swamp model method run packages list_repos
swamp model method run packages query_packages --input 'query=items.find({"repo":"my-repo"})'
02Models1
@webframp/artifactoryv2026.06.02.1jfrog/artifactory.ts

Global Arguments

ArgumentTypeDescription
urlstringArtifactory base URL including context path (e.g., https://packages.example.com/artifactory)
tokenstringvault:// reference to JFrog Identity Token or Access Token
fn system_health()
Check Artifactory availability via ping and best-effort health details
fn list_repos()
List all repositories with type and package type
fn get_repo_health(repoKey?: string)
Get per-repo artifact count and storage (single API call, fan-out output)
ArgumentTypeDescription
repoKey?stringSpecific repo. Omit to scan all.
fn query_packages(query: string, limit: number)
Execute an AQL query and store results (keyed by query hash for diffing)
ArgumentTypeDescription
querystringAQL query string (e.g., items.find({"repo":"my-repo"}))
limitnumberMaximum results to return
fn diff_packages(query: string, limit: number)
Compare current AQL results against previous run for the same query
ArgumentTypeDescription
querystringAQL query string (same as used in query_packages)
limitnumber
fn get_storage_info()
Get global storage summary (may require admin token)

Resources

health(1h)— System health and ping status
repos(24h)— Repository listing and per-repo health
packages(24h)— AQL query results
package-diff(7d)— Package change detection between scans
storage(1h)— Global storage information
03Stats
A
100 / 100
Downloads
7
Archive size
11.7 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
04Platforms
05Labels