GrypeArtifact Class

Summary

The package a vulnerability was found in.
Assembly
Cake.Grype.dll
Namespace
Cake.Grype.Json
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["GrypeArtifact"] class Type type-node

Syntax

public sealed class GrypeArtifact

Constructors

Name Summary
GrypeArtifact()

Methods

Name Value Summary
get_Cpes() IReadOnlyList<string>
get_Id() string
get_Language() string
get_Licenses() IReadOnlyList<string>
get_Name() string
get_Purl() string
get_Type() string
get_Version() string
set_Cpes()
set_Id()
set_Language()
set_Licenses()
set_Name()
set_Purl()
set_Type()
set_Version()

Extension Methods

Name Value Summary
Dump<GrypeArtifact>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GrypeArtifact>(GrypeArtifact[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GrypeArtifact>(string) void
Requires the Cake.Issues addin
NotNull<GrypeArtifact>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<GrypeArtifact>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GrypeArtifact>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin