Skip to content

RedHatProductSecurity/trustshell

Repository files navigation

#TrustShell

Description

Command Line Tool to work with Trustify.

Installation

Directly from GitHub:

$ pip install git+https://github.com.com/RedHatProductSecurity/trustshell.git#egg=trustshell

Linting before committing

To ensure code quality and consistency, run the following linting commands before committing your changes:

tox -e flake8,black,isort,mypy

Usage

Find matching PackageURLs in Trustify:

$ trust-purl qemu
Querying Trustify for packages matching qemu
Found these matching packages in Trustify, including the highest version found:
pkg:oci/[email protected]
pkg:rpm/redhat/[email protected]+el8.10.0+22375+ea5e8167.2

Find matching products for purl:

$ trust-products pkg:oci/quay-builder-qemu-rhcos-rhel8
Querying Trustify for products matching pkg:oci/quay-builder-qemu-rhcos-rhel8
Found these products in Trustify, including the latest shipped artifact
pkg:oci/quay-builder-qemu-rhcos-rhel8
└── pkg:oci/quay-builder-qemu-rhcos-rhel8?tag=v3.12.8-1
    └── cpe:/a:redhat:quay:3:*:el8:*

About

Command line interface for Trustify

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages