Documentation ¶
Index ¶
- Variables
- type Advisory
- type AwsElasticacheDatastore
- type AwsElasticacheDatastoreEngine
- type AwsLambdaFunction
- type AwsLambdaFunctionRuntime
- type AwsRdsDatabase
- type AwsRdsDatabasesEngine
- type ComponentMetadatum
- type CountPackageAdvisoriesLikeParams
- type CountPackageAdvisoriesLikeRow
- type CustomAdvisory
- type DBTX
- type DepsdevCfe
- type DepsdevDeprecated
- type DepsdevLicense
- type EndoflifedateProduct
- type InsertAdvisoryParams
- type Owner
- type Queries
- func (q *Queries) CountPackageAdvisoriesLike(ctx context.Context, arg CountPackageAdvisoriesLikeParams) ([]CountPackageAdvisoriesLikeRow, error)
- func (q *Queries) InsertAdvisory(ctx context.Context, arg InsertAdvisoryParams) error
- func (q *Queries) RetrieveAWSAdvisories(ctx context.Context) ([]RetrieveAWSAdvisoriesRow, error)
- func (q *Queries) RetrievePackageAdvisories(ctx context.Context) ([]RetrievePackageAdvisoriesRow, error)
- func (q *Queries) RetrievePackageAdvisoriesFromSeparateTables(ctx context.Context) ([]RetrievePackageAdvisoriesFromSeparateTablesRow, error)
- func (q *Queries) RetrievePackageAdvisoriesLike(ctx context.Context, arg RetrievePackageAdvisoriesLikeParams) ([]RetrievePackageAdvisoriesLikeRow, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Renovate
- type RenovateEndoflife
- type RenovateUpdate
- type RetrieveAWSAdvisoriesRow
- type RetrievePackageAdvisoriesFromSeparateTablesRow
- type RetrievePackageAdvisoriesLikeParams
- type RetrievePackageAdvisoriesLikeRow
- type RetrievePackageAdvisoriesRow
- type Sbom
- type SbomsEndoflife
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateTablesQuery string
Functions ¶
This section is empty.
Types ¶
type Advisory ¶
type Advisory struct { Platform string Organisation string Repo string PackageName string Version string CurrentVersion sql.NullString PackageManager string PackageFilePath string DepTypes string Level string AdvisoryType string Description string SupportedUntil sql.NullString EolFrom sql.NullString }
type AwsElasticacheDatastore ¶ added in v0.28.0
type AwsElasticacheDatastoreEngine ¶ added in v0.28.0
type AwsLambdaFunction ¶ added in v0.28.0
type AwsLambdaFunctionRuntime ¶ added in v0.28.0
type AwsLambdaFunctionRuntime struct { Runtime string Deprecation sql.NullString EndOfLife sql.NullString }
type AwsRdsDatabase ¶ added in v0.28.0
type AwsRdsDatabasesEngine ¶ added in v0.28.0
type ComponentMetadatum ¶ added in v0.100.0
type ComponentMetadatum struct { ComponentName string ParentComponentName sql.NullString Platform sql.NullString Organisation sql.NullString Repo sql.NullString Path sql.NullString Vendor sql.NullString Product sql.NullString ProductVersion sql.NullString Owner sql.NullString OwnerNotes sql.NullString ComponentType sql.NullString ComponentUsage sql.NullString Description sql.NullString AdditionalMetadata sql.NullString }
type CountPackageAdvisoriesLikeParams ¶ added in v0.51.0
type CountPackageAdvisoriesLikeParams struct { Platform string Org string Repo string Owner interface{} AdvisoryType string }
func NewCountPackageAdvisoriesLikeParams ¶ added in v0.51.0
func NewCountPackageAdvisoriesLikeParams(platform, org, repo, owner, advisoryType string) CountPackageAdvisoriesLikeParams
NewCountPackageAdvisoriesLikeParams constructs a CountPackageAdvisoriesLikeParams with the correct defaults, and replaces wildcard characters (`*`) with the appropriate SQL
func (CountPackageAdvisoriesLikeParams) IsWildcard ¶ added in v0.51.0
func (p CountPackageAdvisoriesLikeParams) IsWildcard() bool
type CountPackageAdvisoriesLikeRow ¶ added in v0.51.0
type CountPackageAdvisoriesLikeRow struct { Platform string Organisation string Repo string Owner sql.NullString TotalDeprecated sql.NullFloat64 TotalUnmaintained sql.NullFloat64 TotalSecurity sql.NullFloat64 TotalPolicy sql.NullFloat64 TotalOther sql.NullFloat64 }
type CustomAdvisory ¶ added in v0.71.0
type CustomAdvisory struct { PackagePattern string PackageManager string Version sql.NullString VersionMatchStrategy sql.NullString Level string AdvisoryType string Description string }
type DepsdevCfe ¶ added in v0.44.0
type DepsdevDeprecated ¶ added in v0.99.0
type DepsdevLicense ¶ added in v0.44.0
type EndoflifedateProduct ¶ added in v0.28.0
type EndoflifedateProduct struct { ProductName string Cycle string SupportedUntil sql.NullString EolFrom sql.NullString InsertedAt string }
type InsertAdvisoryParams ¶ added in v0.71.0
type InsertAdvisoryParams struct { Platform string Organisation string Repo string PackageName string Version string CurrentVersion sql.NullString PackageManager string PackageFilePath string DepTypes string Level string AdvisoryType string Description string SupportedUntil sql.NullString EolFrom sql.NullString }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CountPackageAdvisoriesLike ¶ added in v0.51.0
func (q *Queries) CountPackageAdvisoriesLike(ctx context.Context, arg CountPackageAdvisoriesLikeParams) ([]CountPackageAdvisoriesLikeRow, error)
func (*Queries) InsertAdvisory ¶ added in v0.71.0
func (q *Queries) InsertAdvisory(ctx context.Context, arg InsertAdvisoryParams) error
func (*Queries) RetrieveAWSAdvisories ¶ added in v0.28.0
func (q *Queries) RetrieveAWSAdvisories(ctx context.Context) ([]RetrieveAWSAdvisoriesRow, error)
func (*Queries) RetrievePackageAdvisories ¶ added in v0.39.0
func (q *Queries) RetrievePackageAdvisories(ctx context.Context) ([]RetrievePackageAdvisoriesRow, error)
func (*Queries) RetrievePackageAdvisoriesFromSeparateTables ¶ added in v0.71.0
func (q *Queries) RetrievePackageAdvisoriesFromSeparateTables(ctx context.Context) ([]RetrievePackageAdvisoriesFromSeparateTablesRow, error)
func (*Queries) RetrievePackageAdvisoriesLike ¶ added in v0.42.0
func (q *Queries) RetrievePackageAdvisoriesLike(ctx context.Context, arg RetrievePackageAdvisoriesLikeParams) ([]RetrievePackageAdvisoriesLikeRow, error)
type RenovateEndoflife ¶ added in v0.28.0
type RenovateUpdate ¶ added in v0.27.0
type RetrieveAWSAdvisoriesRow ¶ added in v0.28.0
type RetrieveAWSAdvisoriesRow struct { Arn string Name string Runtime sql.NullString AdvisoryType interface{} Description interface{} }
type RetrievePackageAdvisoriesFromSeparateTablesRow ¶ added in v0.71.0
type RetrievePackageAdvisoriesFromSeparateTablesRow struct { Platform sql.NullString Organisation sql.NullString Repo sql.NullString PackageName string Version sql.NullString CurrentVersion sql.NullString PackageManager string DepTypes string PackageFilePath string AdvisoryType string Level string Description string SupportedUntil interface{} EolFrom interface{} }
type RetrievePackageAdvisoriesLikeParams ¶ added in v0.42.0
type RetrievePackageAdvisoriesLikeParams struct { Platform string Org string Repo string Owner interface{} AdvisoryType string }
func NewRetrievePackageAdvisoriesLikeParams ¶ added in v0.42.0
func NewRetrievePackageAdvisoriesLikeParams(platform, org, repo, owner, advisoryType string) RetrievePackageAdvisoriesLikeParams
NewRetrievePackageAdvisoriesLikeParams constructs a RetrievePackageAdvisoriesLikeParams with the correct defaults, and replaces wildcard characters (`*`) with the appropriate SQL
func (RetrievePackageAdvisoriesLikeParams) IsWildcard ¶ added in v0.42.0
func (p RetrievePackageAdvisoriesLikeParams) IsWildcard() bool
type RetrievePackageAdvisoriesLikeRow ¶ added in v0.42.0
type RetrievePackageAdvisoriesRow ¶ added in v0.39.0
type Sbom ¶ added in v0.39.0
type Sbom struct { ComponentName string PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string PackageUrl string }
type SbomsEndoflife ¶ added in v0.43.0
type SbomsEndoflife struct { PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string ProductName string Cycle string }
Click to show internal directories.
Click to hide internal directories.