Documentation ¶
Index ¶
- func CheckAuth(workspace string, apiKey string) (bool, error)
- func Detect(sb *types.Sbom, excludeSelf bool, workspace string, apiKey string) (*[]types.Image, int, error)
- func ForBaseImageInDb(digest digest.Digest, workspace string, apiKey string) (*[]types.Image, error)
- func ForBaseImageInGraphQL(cfg *v1.ConfigFile) (*types.BaseImagesByDiffIdsQuery, error)
- func ForBaseImageInIndex(digest digest.Digest, workspace string, apiKey string) (*[]types.Image, error)
- func ForBaseImageWithoutCve(cve string, name string, sb *types.Sbom, workspace string, apiKey string) (*[]types.Image, error)
- func ForCvesAndBaseImagesAsync(sb *types.Sbom, includeCves bool, includeBaseImages bool, workspace string, ...) *types.Sbom
- func ForImageInGraphQL(sb *types.Sbom) (*types.ImageByDigestQuery, error)
- func ForRepositoryInDb(repo string, workspace string, apiKey string) (*types.Repository, error)
- func ForVulnerabilitiesInGraphQL(sb *types.Sbom) (*types.VulnerabilitiesByPurls, error)
- func QueryCves(sb *types.Sbom, cve string, workspace string, apiKey string) (*[]types.Cve, error)
- type CveResult
- type ImageQueryResult
- type QueryResult
- type RepositoryQueryResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForBaseImageInDb ¶ added in v0.0.7
func ForBaseImageInDb(digest digest.Digest, workspace string, apiKey string) (*[]types.Image, error)
ForBaseImageInDb returns images with matching digest in :docker.image/blob-digest or :docker.image/diff-chain-id
func ForBaseImageInGraphQL ¶ added in v0.0.11
func ForBaseImageInGraphQL(cfg *v1.ConfigFile) (*types.BaseImagesByDiffIdsQuery, error)
func ForBaseImageInIndex ¶ added in v0.0.7
func ForBaseImageWithoutCve ¶ added in v0.0.7
func ForCvesAndBaseImagesAsync ¶ added in v0.0.14
func ForImageInGraphQL ¶ added in v0.0.17
func ForImageInGraphQL(sb *types.Sbom) (*types.ImageByDigestQuery, error)
func ForRepositoryInDb ¶ added in v0.0.7
func ForVulnerabilitiesInGraphQL ¶ added in v0.0.20
func ForVulnerabilitiesInGraphQL(sb *types.Sbom) (*types.VulnerabilitiesByPurls, error)
Types ¶
type ImageQueryResult ¶ added in v0.0.7
type QueryResult ¶
type QueryResult struct { Query struct { Data []CveResult `edn:"data"` } `edn:"query"` }
type RepositoryQueryResult ¶ added in v0.0.7
type RepositoryQueryResult struct { Query struct { Data [][]types.Repository `edn:"data"` } `edn:"query"` }
Click to show internal directories.
Click to hide internal directories.