独立 CLI


Red Hat Trusted Application Pipeline 1.4

探索您可以在红帽受信任的应用程序管道中使用的独立 CLI。

Red Hat Trusted Application Pipeline Documentation Team

摘要

本文档提供有关可用于 Red Hat Trusted Application Pipeline 的独立 CLI 的信息,以自定义、自动化和保护软件供应链。

前言

作为 Red Hat Trusted Application Pipeline 的一部分,可以使用几个独立的 CLI,通过其组件和相关产品。

借助独立 CLI,您可以自定义 CI 体验,并自动化和保护应用的流程。您可以通过运行增强的安全检查、签名和验证软件工件、管理遵循安全策略或生成 SBOM 来提高软件供应链安全性。

您可以将这些 CLI 工具与在 OpenShift 集群上运行的 RHTAP 实例搭配使用,或者您可以在工作站上安装它们,以更自动化和安全的方式在本地构建和测试应用程序。

第 1 章 RHTAP 独立 CLI 概述

您可以在 RHTAP 中使用五个单机 CLI。它们由作为 RHTAP 的组件或依赖项的红帽产品提供:

要检查您的架构是否有可用的 CLI 二进制文件,请查看 Chapter 2。architectures

1.1. RHTAS 提供的 CLI

Cosign、Rekor 和 EC CLI 的二进制文件作为 RHTAS 的组件提供。安装了 RHTAS 后,您可以使用 OpenShift Web 控制台从 OpenShift 集群下载这些二进制文件。

Cosign

Co sign 是一个为容器镜像签名和验证签名的工具。

Rekor

rekor 工具是一个数据日志,它存储已签名软件工件的元数据,并为这些工件签名提供了透明度。使用 Rekor CLI,您可以在 Rekor 透明日志中进行、验证和查询条目。

EC

企业合同(EC)是一种提高软件供应链安全性的工具。您可以使用它来定义并强制实施安全策略来构建和测试容器镜像。

1.2. 与 RHTPA 一起使用的 CLI

Syft

Syft 是一个用于为容器镜像或本地文件系统生成 Software Bill of Materials (SBOM)的 CLI 工具。它提供有关软件或文件系统的软件包、库和依赖项的详细信息。软件组成的透明度可帮助您保护软件供应链并管理漏洞。

Syft 通过 红帽生态系统目录 作为独立容器镜像进行分发。容器镜像可用于 Linux 上的 AMD64 架构。

1.3. 与 ACS 一起使用的 CLI

roxctl

roxctl 是一个执行全面安全检查的 CLI 工具。此工具可通过 ACS 供 RHTAP 用户使用。RHTAP 管道可以运行三个 roxctl 任务: roxctl 可以扫描容器镜像是否有漏洞,并检查容器镜像和 YAML 部署文件中的安全策略的构建时间违反情况。

第 2 章 构架

RHTAP 独立 CLI 可用于这些架构:

Expand
构架Cosign, Rekor, EC, roxctlSyft

Linux

x86_64

arm64

 

ppc64le

 

s390x

 

MacOS

x86_64

 

arm64

 

Windows

x86_64

 
注意

要在 Linux 上 x86_64 以外的构架上使用 Syft,请安装 Syft 的上游版本





更新于 2025-02-07

法律通告

Copyright © 2025 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部