Documentation ¶
Index ¶
- type Advisory
- type CustomAdvisory
- type DBTX
- type DependencyHealth
- type DepsdevCfe
- type DepsdevLicense
- type ExternalLicense
- type Owner
- type Queries
- func (q *Queries) RetrieveDistinctReposAndPackages(ctx context.Context) ([]RetrieveDistinctReposAndPackagesRow, error)
- func (q *Queries) RetrievePolicyViolations(ctx context.Context) ([]RetrievePolicyViolationsRow, error)
- func (q *Queries) RetrievePolicyViolationsLike(ctx context.Context, arg RetrievePolicyViolationsLikeParams) ([]RetrievePolicyViolationsLikeRow, error)
- func (q *Queries) RetrieveRepositoryMetadata(ctx context.Context) ([]RepositoryMetadatum, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Renovate
- type RenovateUpdate
- type RepositoryMetadatum
- type RetrieveDistinctReposAndPackagesRow
- type RetrievePolicyViolationsLikeParams
- type RetrievePolicyViolationsLikeRow
- type RetrievePolicyViolationsRow
- type Sbom
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advisory ¶ added in v0.85.0
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 CustomAdvisory ¶ added in v0.85.0
type CustomAdvisory struct { PackagePattern string PackageManager string Version sql.NullString VersionMatchStrategy sql.NullString Level string AdvisoryType string Description string }
type DependencyHealth ¶ added in v0.76.0
type DependencyHealth struct { PackageName string PackageManager string ScorecardScore sql.NullFloat64 ScorecardCodereview sql.NullInt64 ScorecardMaintained sql.NullInt64 ScorecardCiibestpractices sql.NullInt64 ScorecardLicense sql.NullInt64 ScorecardDangerousworkflow sql.NullInt64 ScorecardPackaging sql.NullInt64 ScorecardTokenpermissions sql.NullInt64 ScorecardSignedreleases sql.NullInt64 ScorecardBranchprotection sql.NullInt64 ScorecardBinaryartifacts sql.NullInt64 ScorecardFuzzing sql.NullInt64 ScorecardSecuritypolicy sql.NullInt64 ScorecardSast sql.NullInt64 ScorecardVulnerabilities sql.NullInt64 ScorecardPinneddependencies sql.NullInt64 EcosystemsRepoArchived sql.NullBool EcosystemsRepoPushedAt sql.NullString EcosystemsRepoUpdatedAt sql.NullString EcosystemsRepoLastSyncedAt sql.NullString EcosystemsLastSyncedAt sql.NullString EcosystemsLatestReleasePublishedAt sql.NullString EcosystemsStatus sql.NullString EcosystemsFunding sql.NullString }
type DepsdevCfe ¶ added in v0.57.0
type DepsdevLicense ¶ added in v0.57.0
type ExternalLicense ¶ added in v0.59.0
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) RetrieveDistinctReposAndPackages ¶
func (q *Queries) RetrieveDistinctReposAndPackages(ctx context.Context) ([]RetrieveDistinctReposAndPackagesRow, error)
func (*Queries) RetrievePolicyViolations ¶
func (q *Queries) RetrievePolicyViolations(ctx context.Context) ([]RetrievePolicyViolationsRow, error)
func (*Queries) RetrievePolicyViolationsLike ¶
func (q *Queries) RetrievePolicyViolationsLike(ctx context.Context, arg RetrievePolicyViolationsLikeParams) ([]RetrievePolicyViolationsLikeRow, error)
func (*Queries) RetrieveRepositoryMetadata ¶ added in v0.67.0
func (q *Queries) RetrieveRepositoryMetadata(ctx context.Context) ([]RepositoryMetadatum, error)
type RenovateUpdate ¶
type RepositoryMetadatum ¶ added in v0.67.0
type RepositoryMetadatum struct { Platform string Organisation string Repo string IsMonorepo bool IsFork bool RepositoryType string RepositoryUsage sql.NullString Visibility string Description sql.NullString AdditionalMetadata sql.NullString }
type RetrieveDistinctReposAndPackagesRow ¶
type RetrieveDistinctReposAndPackagesRow struct { Platform string Organisation string Repo string PackageName string Version string CurrentVersion sql.NullString PackageManager string DepTypes string PackageFilePath string Licenses string PackageName_2 sql.NullString PackageManager_2 sql.NullString ScorecardScore sql.NullFloat64 ScorecardCodereview sql.NullInt64 ScorecardMaintained sql.NullInt64 ScorecardCiibestpractices sql.NullInt64 ScorecardLicense sql.NullInt64 ScorecardDangerousworkflow sql.NullInt64 ScorecardPackaging sql.NullInt64 ScorecardTokenpermissions sql.NullInt64 ScorecardSignedreleases sql.NullInt64 ScorecardBranchprotection sql.NullInt64 ScorecardBinaryartifacts sql.NullInt64 ScorecardFuzzing sql.NullInt64 ScorecardSecuritypolicy sql.NullInt64 ScorecardSast sql.NullInt64 ScorecardVulnerabilities sql.NullInt64 ScorecardPinneddependencies sql.NullInt64 EcosystemsRepoArchived sql.NullBool EcosystemsRepoPushedAt sql.NullString EcosystemsRepoUpdatedAt sql.NullString EcosystemsRepoLastSyncedAt sql.NullString EcosystemsLastSyncedAt sql.NullString EcosystemsLatestReleasePublishedAt sql.NullString EcosystemsStatus sql.NullString EcosystemsFunding sql.NullString }
func (RetrieveDistinctReposAndPackagesRow) DepTypesAsString ¶
func (row RetrieveDistinctReposAndPackagesRow) DepTypesAsString() string
type RetrievePolicyViolationsLikeParams ¶
type RetrievePolicyViolationsLikeParams struct { Platform string Org string Repo string Owner interface{} Level string AdvisoryType string }
Click to show internal directories.
Click to hide internal directories.