manage-artifacts
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "manage-artifacts" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4bd64d1204d9b8d37c5e73143eae6c80d947b6be8d59268b563b9beaa6678598. Verify the upstream source and version against https://github.com/harness/harness-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Manage Harness artifact registry (AR) via MCP: configure private repositories for Docker, Helm, Maven, npm, and PyPI; set up upstream proxies to cache public images; configure RBAC and cross-region replication; and define artifact security scanning policies including CVE thresholds and license compliance checks. Use for setting up artifact registries, artifact security, or replication. Not for creating external repository connectors.
Introduction source: third_party · harness · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Not specified in the source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: manage-artifacts
description: >-
Manage Harness Artifact Registry (AR) via MCP. Configure private registries for Docker, Helm,
Maven, npm, and PyPI artifacts, set up upstream proxies for caching public images, configure
RBAC and cross-region replication, and define security scanning policies with CVE thresholds
and license compliance checks. Use when asked to set up an artifact registry, configure Docker
or Helm repositories, manage artifact security scanning, or set up replication. Do NOT use
for creating connectors to external registries (use create-connector instead). Trigger phrases:
artifact registry, docker registry, helm repository, artifact security, image scanning,
private registry, artifact replication, CVE threshold, license compliance, SBOM.
metadata:
author: Harness
version: 1.0.0
mcp-server: harness-mcp-v2
license: Apache-2.0
compatibility: Requires Harness MCP v2 server (harness-mcp-v2)Manage Artifacts
Configure private artifact registries, security scanning policies, and cross-region replication in Harness Artifact Registry.
Instructions
Step 1: Establish Scope
Confirm the user's org, project, and artifact format requirements.
Call MCP tool: harness_list
Parameters:
resource_type: "project"
org_id: "<organization>"
Step 2: Identify the AR Task
Determine which workflow the user needs:
- Private Registry Setup -- Docker, Helm, Maven, npm, PyPI repositories with RBAC
- Security Scanning Policy -- Vulnerability scanning with CVE thresholds and license checks
Step 3: Configure Private Registry
Gather from the user:
- Artifact formats to support (Docker, Helm, Maven, npm, PyPI)
- Upstream proxy preferences (Docker Hub, ECR Public, GCR)
- Image signing requirements (Cosign, Notary, none)
- Multi-architecture support needs
Docker Registry:
- Repository name and upstream proxy configuration
- Image signing with Cosign or Notary v2
- Multi-arch support (amd64 + arm64)
Helm Chart Repository:
- Chart validation on push
- Dependency resolution enabled
Additional Formats (Maven, npm, PyPI):
- Separate repositories per format
- Snapshot/release policies
- Upstream proxies for public registries
Access Controls:
- Read access: all developers in the org scope
- Push access: CI/CD service accounts only (no personal credentials)
- Admin: platform team
- LDAP/SAML integration with identity provider
Replication:
- Primary region with replication to secondary regions
- Configurable sync interval (real-time, 15 minutes, hourly, daily)
Step 4: Configure Security Scanning Policies
Gather from the user:
- Artifact types to scan
- Security scanner (Aqua Trivy, Snyk, Grype, Prisma Cloud)
- CVE severity thresholds (block on CRITICAL and HIGH above N)
Configure scanning policies:
- Scan on push and periodic rescans for stored artifacts
- Block download if critical or high CVE count exceeds thresholds
- License compliance: block artifacts with disallowed licenses (GPL-3.0, AGPL)
- SBOM generation: auto-generate CycloneDX or SPDX on every scan
- Exemption workflow: security team can approve specific CVEs with expiry dates
Call MCP tool: harness_create
Parameters:
resource_type: "pipeline"
org_id: "<organization>"
project_id: "<project>"
body:
pipeline:
name: "artifact-security-scan"
identifier: "artifact_security_scan"
stages:
- stage:
name: Scan
type: SecurityTests
spec:
# vulnerability scanning step
- stage:
name: Policy Gate
type: Approval
spec:
# block if thresholds exceeded
Examples
- "Set up a private Docker registry for our team" -- Configure Docker repository with upstream proxy and RBAC
- "Add Helm chart repository to our artifact registry" -- Configure Helm repo with chart validation
- "Configure vulnerability scanning for our container images" -- Set up scanning with CVE thresholds and license checks
- "Set up cross-region replication for our artifacts" -- Configure primary and replica regions with sync interval
- "Block images with critical CVEs from being deployed" -- Create security scanning policy with severity gates
Performance Notes
- Upstream proxies significantly reduce build times by caching public images locally -- enable for all formats.
- Security scanning on push adds latency to the push operation -- consider async scanning for large images.
- Cross-region replication increases storage costs linearly -- only replicate to regions where artifacts are consumed.
- Image signing adds a verification step to every pull -- ensure signing infrastructure is highly available.
Troubleshooting
Push Rejected by Security Policy
- Check the scan results for specific CVEs that triggered the block
- Use the exemption workflow to approve known false positives
- Verify the CVE threshold is not set too low for the artifact's dependency tree
Replication Lag
- Check network connectivity between primary and replica regions
- Verify the sync interval is appropriate for the artifact volume
- Large artifacts (multi-GB images) may need a longer sync window
Registry Authentication Failures
- Verify the service account has push permissions in the target repository
- Check that LDAP/SAML integration is syncing correctly
- Ensure Docker login credentials are not expired
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 企业级制品仓库全生命周期管理能力
- 支持多格式(Docker/Helm/Maven/npm/PyPI)与高级特性(安全扫描/RBAC/跨区域复制)
- 面向 DevOps 高频刚需场景,显著提升制品治理效率
Highlights
- 触发描述完整覆盖核心场景与边界
- 10个精准触发短语,边界清晰不易误触
- 明确排除 create-connector 相关功能
Highlights
- 四步式清晰执行流程(Scope→Task→Config→Policy)
- 包含5个典型端到端示例
- frontmatter 完整,文档结构规范
Highlights
- MCP工具调用规范,参数结构正确
- Troubleshooting覆盖主要异常场景
- 安全策略具备豁免审批机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 68, 143
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.