Documentation ¶
Index ¶
- Constants
- type AllArtifactTree
- type AllBuilderTree
- type AllCertifyBad
- func (v *AllCertifyBad) GetCollector() string
- func (v *AllCertifyBad) GetId() string
- func (v *AllCertifyBad) GetJustification() string
- func (v *AllCertifyBad) GetKnownSince() time.Time
- func (v *AllCertifyBad) GetOrigin() string
- func (v *AllCertifyBad) GetSubject() AllCertifyBadSubjectPackageSourceOrArtifact
- func (v *AllCertifyBad) MarshalJSON() ([]byte, error)
- func (v *AllCertifyBad) UnmarshalJSON(b []byte) error
- type AllCertifyBadSubjectArtifact
- func (v *AllCertifyBadSubjectArtifact) GetAlgorithm() string
- func (v *AllCertifyBadSubjectArtifact) GetDigest() string
- func (v *AllCertifyBadSubjectArtifact) GetId() string
- func (v *AllCertifyBadSubjectArtifact) GetTypename() *string
- func (v *AllCertifyBadSubjectArtifact) MarshalJSON() ([]byte, error)
- func (v *AllCertifyBadSubjectArtifact) UnmarshalJSON(b []byte) error
- type AllCertifyBadSubjectPackage
- func (v *AllCertifyBadSubjectPackage) GetId() string
- func (v *AllCertifyBadSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *AllCertifyBadSubjectPackage) GetType() string
- func (v *AllCertifyBadSubjectPackage) GetTypename() *string
- func (v *AllCertifyBadSubjectPackage) MarshalJSON() ([]byte, error)
- func (v *AllCertifyBadSubjectPackage) UnmarshalJSON(b []byte) error
- type AllCertifyBadSubjectPackageSourceOrArtifact
- type AllCertifyBadSubjectSource
- func (v *AllCertifyBadSubjectSource) GetId() string
- func (v *AllCertifyBadSubjectSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *AllCertifyBadSubjectSource) GetType() string
- func (v *AllCertifyBadSubjectSource) GetTypename() *string
- func (v *AllCertifyBadSubjectSource) MarshalJSON() ([]byte, error)
- func (v *AllCertifyBadSubjectSource) UnmarshalJSON(b []byte) error
- type AllCertifyGood
- func (v *AllCertifyGood) GetCollector() string
- func (v *AllCertifyGood) GetId() string
- func (v *AllCertifyGood) GetJustification() string
- func (v *AllCertifyGood) GetKnownSince() time.Time
- func (v *AllCertifyGood) GetOrigin() string
- func (v *AllCertifyGood) GetSubject() AllCertifyGoodSubjectPackageSourceOrArtifact
- func (v *AllCertifyGood) MarshalJSON() ([]byte, error)
- func (v *AllCertifyGood) UnmarshalJSON(b []byte) error
- type AllCertifyGoodSubjectArtifact
- func (v *AllCertifyGoodSubjectArtifact) GetAlgorithm() string
- func (v *AllCertifyGoodSubjectArtifact) GetDigest() string
- func (v *AllCertifyGoodSubjectArtifact) GetId() string
- func (v *AllCertifyGoodSubjectArtifact) GetTypename() *string
- func (v *AllCertifyGoodSubjectArtifact) MarshalJSON() ([]byte, error)
- func (v *AllCertifyGoodSubjectArtifact) UnmarshalJSON(b []byte) error
- type AllCertifyGoodSubjectPackage
- func (v *AllCertifyGoodSubjectPackage) GetId() string
- func (v *AllCertifyGoodSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *AllCertifyGoodSubjectPackage) GetType() string
- func (v *AllCertifyGoodSubjectPackage) GetTypename() *string
- func (v *AllCertifyGoodSubjectPackage) MarshalJSON() ([]byte, error)
- func (v *AllCertifyGoodSubjectPackage) UnmarshalJSON(b []byte) error
- type AllCertifyGoodSubjectPackageSourceOrArtifact
- type AllCertifyGoodSubjectSource
- func (v *AllCertifyGoodSubjectSource) GetId() string
- func (v *AllCertifyGoodSubjectSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *AllCertifyGoodSubjectSource) GetType() string
- func (v *AllCertifyGoodSubjectSource) GetTypename() *string
- func (v *AllCertifyGoodSubjectSource) MarshalJSON() ([]byte, error)
- func (v *AllCertifyGoodSubjectSource) UnmarshalJSON(b []byte) error
- type AllCertifyLegalTree
- func (v *AllCertifyLegalTree) GetAttribution() string
- func (v *AllCertifyLegalTree) GetCollector() string
- func (v *AllCertifyLegalTree) GetDeclaredLicense() string
- func (v *AllCertifyLegalTree) GetDeclaredLicenses() []AllCertifyLegalTreeDeclaredLicensesLicense
- func (v *AllCertifyLegalTree) GetDiscoveredLicense() string
- func (v *AllCertifyLegalTree) GetDiscoveredLicenses() []AllCertifyLegalTreeDiscoveredLicensesLicense
- func (v *AllCertifyLegalTree) GetId() string
- func (v *AllCertifyLegalTree) GetJustification() string
- func (v *AllCertifyLegalTree) GetOrigin() string
- func (v *AllCertifyLegalTree) GetSubject() AllCertifyLegalTreeSubjectPackageOrSource
- func (v *AllCertifyLegalTree) GetTimeScanned() time.Time
- func (v *AllCertifyLegalTree) MarshalJSON() ([]byte, error)
- func (v *AllCertifyLegalTree) UnmarshalJSON(b []byte) error
- type AllCertifyLegalTreeDeclaredLicensesLicense
- func (v *AllCertifyLegalTreeDeclaredLicensesLicense) GetId() string
- func (v *AllCertifyLegalTreeDeclaredLicensesLicense) GetInline() *string
- func (v *AllCertifyLegalTreeDeclaredLicensesLicense) GetListVersion() *string
- func (v *AllCertifyLegalTreeDeclaredLicensesLicense) GetName() string
- func (v *AllCertifyLegalTreeDeclaredLicensesLicense) MarshalJSON() ([]byte, error)
- func (v *AllCertifyLegalTreeDeclaredLicensesLicense) UnmarshalJSON(b []byte) error
- type AllCertifyLegalTreeDiscoveredLicensesLicense
- func (v *AllCertifyLegalTreeDiscoveredLicensesLicense) GetId() string
- func (v *AllCertifyLegalTreeDiscoveredLicensesLicense) GetInline() *string
- func (v *AllCertifyLegalTreeDiscoveredLicensesLicense) GetListVersion() *string
- func (v *AllCertifyLegalTreeDiscoveredLicensesLicense) GetName() string
- func (v *AllCertifyLegalTreeDiscoveredLicensesLicense) MarshalJSON() ([]byte, error)
- func (v *AllCertifyLegalTreeDiscoveredLicensesLicense) UnmarshalJSON(b []byte) error
- type AllCertifyLegalTreeSubjectPackage
- func (v *AllCertifyLegalTreeSubjectPackage) GetId() string
- func (v *AllCertifyLegalTreeSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *AllCertifyLegalTreeSubjectPackage) GetType() string
- func (v *AllCertifyLegalTreeSubjectPackage) GetTypename() *string
- func (v *AllCertifyLegalTreeSubjectPackage) MarshalJSON() ([]byte, error)
- func (v *AllCertifyLegalTreeSubjectPackage) UnmarshalJSON(b []byte) error
- type AllCertifyLegalTreeSubjectPackageOrSource
- type AllCertifyLegalTreeSubjectSource
- func (v *AllCertifyLegalTreeSubjectSource) GetId() string
- func (v *AllCertifyLegalTreeSubjectSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *AllCertifyLegalTreeSubjectSource) GetType() string
- func (v *AllCertifyLegalTreeSubjectSource) GetTypename() *string
- func (v *AllCertifyLegalTreeSubjectSource) MarshalJSON() ([]byte, error)
- func (v *AllCertifyLegalTreeSubjectSource) UnmarshalJSON(b []byte) error
- type AllCertifyScorecard
- type AllCertifyScorecardScorecard
- func (v *AllCertifyScorecardScorecard) GetAggregateScore() float64
- func (v *AllCertifyScorecardScorecard) GetChecks() []AllCertifyScorecardScorecardChecksScorecardCheck
- func (v *AllCertifyScorecardScorecard) GetCollector() string
- func (v *AllCertifyScorecardScorecard) GetOrigin() string
- func (v *AllCertifyScorecardScorecard) GetScorecardCommit() string
- func (v *AllCertifyScorecardScorecard) GetScorecardVersion() string
- func (v *AllCertifyScorecardScorecard) GetTimeScanned() time.Time
- type AllCertifyScorecardScorecardChecksScorecardCheck
- type AllCertifyScorecardSource
- func (v *AllCertifyScorecardSource) GetId() string
- func (v *AllCertifyScorecardSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *AllCertifyScorecardSource) GetType() string
- func (v *AllCertifyScorecardSource) MarshalJSON() ([]byte, error)
- func (v *AllCertifyScorecardSource) UnmarshalJSON(b []byte) error
- type AllCertifyVEXStatement
- func (v *AllCertifyVEXStatement) GetCollector() string
- func (v *AllCertifyVEXStatement) GetId() string
- func (v *AllCertifyVEXStatement) GetKnownSince() time.Time
- func (v *AllCertifyVEXStatement) GetOrigin() string
- func (v *AllCertifyVEXStatement) GetStatement() string
- func (v *AllCertifyVEXStatement) GetStatus() VexStatus
- func (v *AllCertifyVEXStatement) GetStatusNotes() string
- func (v *AllCertifyVEXStatement) GetSubject() AllCertifyVEXStatementSubjectPackageOrArtifact
- func (v *AllCertifyVEXStatement) GetVexJustification() VexJustification
- func (v *AllCertifyVEXStatement) GetVulnerability() AllCertifyVEXStatementVulnerability
- func (v *AllCertifyVEXStatement) MarshalJSON() ([]byte, error)
- func (v *AllCertifyVEXStatement) UnmarshalJSON(b []byte) error
- type AllCertifyVEXStatementSubjectArtifact
- func (v *AllCertifyVEXStatementSubjectArtifact) GetAlgorithm() string
- func (v *AllCertifyVEXStatementSubjectArtifact) GetDigest() string
- func (v *AllCertifyVEXStatementSubjectArtifact) GetId() string
- func (v *AllCertifyVEXStatementSubjectArtifact) GetTypename() *string
- func (v *AllCertifyVEXStatementSubjectArtifact) MarshalJSON() ([]byte, error)
- func (v *AllCertifyVEXStatementSubjectArtifact) UnmarshalJSON(b []byte) error
- type AllCertifyVEXStatementSubjectPackage
- func (v *AllCertifyVEXStatementSubjectPackage) GetId() string
- func (v *AllCertifyVEXStatementSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *AllCertifyVEXStatementSubjectPackage) GetType() string
- func (v *AllCertifyVEXStatementSubjectPackage) GetTypename() *string
- func (v *AllCertifyVEXStatementSubjectPackage) MarshalJSON() ([]byte, error)
- func (v *AllCertifyVEXStatementSubjectPackage) UnmarshalJSON(b []byte) error
- type AllCertifyVEXStatementSubjectPackageOrArtifact
- type AllCertifyVEXStatementVulnerability
- func (v *AllCertifyVEXStatementVulnerability) GetId() string
- func (v *AllCertifyVEXStatementVulnerability) GetType() string
- func (v *AllCertifyVEXStatementVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
- func (v *AllCertifyVEXStatementVulnerability) MarshalJSON() ([]byte, error)
- func (v *AllCertifyVEXStatementVulnerability) UnmarshalJSON(b []byte) error
- type AllCertifyVuln
- type AllCertifyVulnMetadataScanMetadata
- func (v *AllCertifyVulnMetadataScanMetadata) GetCollector() string
- func (v *AllCertifyVulnMetadataScanMetadata) GetDbUri() string
- func (v *AllCertifyVulnMetadataScanMetadata) GetDbVersion() string
- func (v *AllCertifyVulnMetadataScanMetadata) GetOrigin() string
- func (v *AllCertifyVulnMetadataScanMetadata) GetScannerUri() string
- func (v *AllCertifyVulnMetadataScanMetadata) GetScannerVersion() string
- func (v *AllCertifyVulnMetadataScanMetadata) GetTimeScanned() time.Time
- type AllCertifyVulnPackage
- func (v *AllCertifyVulnPackage) GetId() string
- func (v *AllCertifyVulnPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *AllCertifyVulnPackage) GetType() string
- func (v *AllCertifyVulnPackage) MarshalJSON() ([]byte, error)
- func (v *AllCertifyVulnPackage) UnmarshalJSON(b []byte) error
- type AllCertifyVulnVulnerability
- func (v *AllCertifyVulnVulnerability) GetId() string
- func (v *AllCertifyVulnVulnerability) GetType() string
- func (v *AllCertifyVulnVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
- func (v *AllCertifyVulnVulnerability) MarshalJSON() ([]byte, error)
- func (v *AllCertifyVulnVulnerability) UnmarshalJSON(b []byte) error
- type AllHasMetadata
- func (v *AllHasMetadata) GetCollector() string
- func (v *AllHasMetadata) GetId() string
- func (v *AllHasMetadata) GetJustification() string
- func (v *AllHasMetadata) GetKey() string
- func (v *AllHasMetadata) GetOrigin() string
- func (v *AllHasMetadata) GetSubject() AllHasMetadataSubjectPackageSourceOrArtifact
- func (v *AllHasMetadata) GetTimestamp() time.Time
- func (v *AllHasMetadata) GetValue() string
- func (v *AllHasMetadata) MarshalJSON() ([]byte, error)
- func (v *AllHasMetadata) UnmarshalJSON(b []byte) error
- type AllHasMetadataSubjectArtifact
- func (v *AllHasMetadataSubjectArtifact) GetAlgorithm() string
- func (v *AllHasMetadataSubjectArtifact) GetDigest() string
- func (v *AllHasMetadataSubjectArtifact) GetId() string
- func (v *AllHasMetadataSubjectArtifact) GetTypename() *string
- func (v *AllHasMetadataSubjectArtifact) MarshalJSON() ([]byte, error)
- func (v *AllHasMetadataSubjectArtifact) UnmarshalJSON(b []byte) error
- type AllHasMetadataSubjectPackage
- func (v *AllHasMetadataSubjectPackage) GetId() string
- func (v *AllHasMetadataSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *AllHasMetadataSubjectPackage) GetType() string
- func (v *AllHasMetadataSubjectPackage) GetTypename() *string
- func (v *AllHasMetadataSubjectPackage) MarshalJSON() ([]byte, error)
- func (v *AllHasMetadataSubjectPackage) UnmarshalJSON(b []byte) error
- type AllHasMetadataSubjectPackageSourceOrArtifact
- type AllHasMetadataSubjectSource
- func (v *AllHasMetadataSubjectSource) GetId() string
- func (v *AllHasMetadataSubjectSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *AllHasMetadataSubjectSource) GetType() string
- func (v *AllHasMetadataSubjectSource) GetTypename() *string
- func (v *AllHasMetadataSubjectSource) MarshalJSON() ([]byte, error)
- func (v *AllHasMetadataSubjectSource) UnmarshalJSON(b []byte) error
- type AllHasSBOMTree
- func (v *AllHasSBOMTree) GetAlgorithm() string
- func (v *AllHasSBOMTree) GetCollector() string
- func (v *AllHasSBOMTree) GetDigest() string
- func (v *AllHasSBOMTree) GetDocumentRef() string
- func (v *AllHasSBOMTree) GetDownloadLocation() string
- func (v *AllHasSBOMTree) GetId() string
- func (v *AllHasSBOMTree) GetIncludedDependencies() []AllHasSBOMTreeIncludedDependenciesIsDependency
- func (v *AllHasSBOMTree) GetIncludedOccurrences() []AllHasSBOMTreeIncludedOccurrencesIsOccurrence
- func (v *AllHasSBOMTree) GetIncludedSoftware() []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
- func (v *AllHasSBOMTree) GetKnownSince() time.Time
- func (v *AllHasSBOMTree) GetOrigin() string
- func (v *AllHasSBOMTree) GetSubject() AllHasSBOMTreeSubjectPackageOrArtifact
- func (v *AllHasSBOMTree) GetUri() string
- func (v *AllHasSBOMTree) MarshalJSON() ([]byte, error)
- func (v *AllHasSBOMTree) UnmarshalJSON(b []byte) error
- type AllHasSBOMTreeIncludedDependenciesIsDependency
- func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) GetCollector() string
- func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
- func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) GetDependencyType() DependencyType
- func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) GetId() string
- func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) GetJustification() string
- func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) GetOrigin() string
- func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) GetPackage() AllIsDependencyTreePackage
- func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) MarshalJSON() ([]byte, error)
- func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) UnmarshalJSON(b []byte) error
- type AllHasSBOMTreeIncludedOccurrencesIsOccurrence
- func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetArtifact() AllIsOccurrencesTreeArtifact
- func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetCollector() string
- func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetId() string
- func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetJustification() string
- func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetOrigin() string
- func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
- func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) MarshalJSON() ([]byte, error)
- func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) UnmarshalJSON(b []byte) error
- type AllHasSBOMTreeIncludedSoftwareArtifact
- func (v *AllHasSBOMTreeIncludedSoftwareArtifact) GetAlgorithm() string
- func (v *AllHasSBOMTreeIncludedSoftwareArtifact) GetDigest() string
- func (v *AllHasSBOMTreeIncludedSoftwareArtifact) GetId() string
- func (v *AllHasSBOMTreeIncludedSoftwareArtifact) GetTypename() *string
- func (v *AllHasSBOMTreeIncludedSoftwareArtifact) MarshalJSON() ([]byte, error)
- func (v *AllHasSBOMTreeIncludedSoftwareArtifact) UnmarshalJSON(b []byte) error
- type AllHasSBOMTreeIncludedSoftwarePackage
- func (v *AllHasSBOMTreeIncludedSoftwarePackage) GetId() string
- func (v *AllHasSBOMTreeIncludedSoftwarePackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *AllHasSBOMTreeIncludedSoftwarePackage) GetType() string
- func (v *AllHasSBOMTreeIncludedSoftwarePackage) GetTypename() *string
- func (v *AllHasSBOMTreeIncludedSoftwarePackage) MarshalJSON() ([]byte, error)
- func (v *AllHasSBOMTreeIncludedSoftwarePackage) UnmarshalJSON(b []byte) error
- type AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
- type AllHasSBOMTreeSubjectArtifact
- func (v *AllHasSBOMTreeSubjectArtifact) GetAlgorithm() string
- func (v *AllHasSBOMTreeSubjectArtifact) GetDigest() string
- func (v *AllHasSBOMTreeSubjectArtifact) GetId() string
- func (v *AllHasSBOMTreeSubjectArtifact) GetTypename() *string
- func (v *AllHasSBOMTreeSubjectArtifact) MarshalJSON() ([]byte, error)
- func (v *AllHasSBOMTreeSubjectArtifact) UnmarshalJSON(b []byte) error
- type AllHasSBOMTreeSubjectPackage
- func (v *AllHasSBOMTreeSubjectPackage) GetId() string
- func (v *AllHasSBOMTreeSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *AllHasSBOMTreeSubjectPackage) GetType() string
- func (v *AllHasSBOMTreeSubjectPackage) GetTypename() *string
- func (v *AllHasSBOMTreeSubjectPackage) MarshalJSON() ([]byte, error)
- func (v *AllHasSBOMTreeSubjectPackage) UnmarshalJSON(b []byte) error
- type AllHasSBOMTreeSubjectPackageOrArtifact
- type AllHasSLSATree
- type AllHasSLSATreeSlsaSLSA
- func (v *AllHasSLSATreeSlsaSLSA) GetBuildType() string
- func (v *AllHasSLSATreeSlsaSLSA) GetBuiltBy() AllHasSLSATreeSlsaSLSABuiltByBuilder
- func (v *AllHasSLSATreeSlsaSLSA) GetBuiltFrom() []AllHasSLSATreeSlsaSLSABuiltFromArtifact
- func (v *AllHasSLSATreeSlsaSLSA) GetCollector() string
- func (v *AllHasSLSATreeSlsaSLSA) GetDocumentRef() string
- func (v *AllHasSLSATreeSlsaSLSA) GetFinishedOn() *time.Time
- func (v *AllHasSLSATreeSlsaSLSA) GetOrigin() string
- func (v *AllHasSLSATreeSlsaSLSA) GetSlsaPredicate() []AllHasSLSATreeSlsaSLSASlsaPredicateSLSAPredicate
- func (v *AllHasSLSATreeSlsaSLSA) GetSlsaVersion() string
- func (v *AllHasSLSATreeSlsaSLSA) GetStartedOn() *time.Time
- type AllHasSLSATreeSlsaSLSABuiltByBuilder
- type AllHasSLSATreeSlsaSLSABuiltFromArtifact
- func (v *AllHasSLSATreeSlsaSLSABuiltFromArtifact) GetAlgorithm() string
- func (v *AllHasSLSATreeSlsaSLSABuiltFromArtifact) GetDigest() string
- func (v *AllHasSLSATreeSlsaSLSABuiltFromArtifact) GetId() string
- func (v *AllHasSLSATreeSlsaSLSABuiltFromArtifact) MarshalJSON() ([]byte, error)
- func (v *AllHasSLSATreeSlsaSLSABuiltFromArtifact) UnmarshalJSON(b []byte) error
- type AllHasSLSATreeSlsaSLSASlsaPredicateSLSAPredicate
- type AllHasSLSATreeSubjectArtifact
- func (v *AllHasSLSATreeSubjectArtifact) GetAlgorithm() string
- func (v *AllHasSLSATreeSubjectArtifact) GetDigest() string
- func (v *AllHasSLSATreeSubjectArtifact) GetId() string
- func (v *AllHasSLSATreeSubjectArtifact) MarshalJSON() ([]byte, error)
- func (v *AllHasSLSATreeSubjectArtifact) UnmarshalJSON(b []byte) error
- type AllHasSourceAt
- func (v *AllHasSourceAt) GetCollector() string
- func (v *AllHasSourceAt) GetId() string
- func (v *AllHasSourceAt) GetJustification() string
- func (v *AllHasSourceAt) GetKnownSince() time.Time
- func (v *AllHasSourceAt) GetOrigin() string
- func (v *AllHasSourceAt) GetPackage() AllHasSourceAtPackage
- func (v *AllHasSourceAt) GetSource() AllHasSourceAtSource
- type AllHasSourceAtPackage
- func (v *AllHasSourceAtPackage) GetId() string
- func (v *AllHasSourceAtPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *AllHasSourceAtPackage) GetType() string
- func (v *AllHasSourceAtPackage) MarshalJSON() ([]byte, error)
- func (v *AllHasSourceAtPackage) UnmarshalJSON(b []byte) error
- type AllHasSourceAtSource
- func (v *AllHasSourceAtSource) GetId() string
- func (v *AllHasSourceAtSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *AllHasSourceAtSource) GetType() string
- func (v *AllHasSourceAtSource) MarshalJSON() ([]byte, error)
- func (v *AllHasSourceAtSource) UnmarshalJSON(b []byte) error
- type AllHashEqualTree
- type AllHashEqualTreeArtifactsArtifact
- func (v *AllHashEqualTreeArtifactsArtifact) GetAlgorithm() string
- func (v *AllHashEqualTreeArtifactsArtifact) GetDigest() string
- func (v *AllHashEqualTreeArtifactsArtifact) GetId() string
- func (v *AllHashEqualTreeArtifactsArtifact) MarshalJSON() ([]byte, error)
- func (v *AllHashEqualTreeArtifactsArtifact) UnmarshalJSON(b []byte) error
- type AllIsDependencyTree
- func (v *AllIsDependencyTree) GetCollector() string
- func (v *AllIsDependencyTree) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
- func (v *AllIsDependencyTree) GetDependencyType() DependencyType
- func (v *AllIsDependencyTree) GetId() string
- func (v *AllIsDependencyTree) GetJustification() string
- func (v *AllIsDependencyTree) GetOrigin() string
- func (v *AllIsDependencyTree) GetPackage() AllIsDependencyTreePackage
- type AllIsDependencyTreeDependencyPackage
- func (v *AllIsDependencyTreeDependencyPackage) GetId() string
- func (v *AllIsDependencyTreeDependencyPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *AllIsDependencyTreeDependencyPackage) GetType() string
- func (v *AllIsDependencyTreeDependencyPackage) MarshalJSON() ([]byte, error)
- func (v *AllIsDependencyTreeDependencyPackage) UnmarshalJSON(b []byte) error
- type AllIsDependencyTreePackage
- func (v *AllIsDependencyTreePackage) GetId() string
- func (v *AllIsDependencyTreePackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *AllIsDependencyTreePackage) GetType() string
- func (v *AllIsDependencyTreePackage) MarshalJSON() ([]byte, error)
- func (v *AllIsDependencyTreePackage) UnmarshalJSON(b []byte) error
- type AllIsOccurrencesTree
- func (v *AllIsOccurrencesTree) GetArtifact() AllIsOccurrencesTreeArtifact
- func (v *AllIsOccurrencesTree) GetCollector() string
- func (v *AllIsOccurrencesTree) GetId() string
- func (v *AllIsOccurrencesTree) GetJustification() string
- func (v *AllIsOccurrencesTree) GetOrigin() string
- func (v *AllIsOccurrencesTree) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
- func (v *AllIsOccurrencesTree) MarshalJSON() ([]byte, error)
- func (v *AllIsOccurrencesTree) UnmarshalJSON(b []byte) error
- type AllIsOccurrencesTreeArtifact
- func (v *AllIsOccurrencesTreeArtifact) GetAlgorithm() string
- func (v *AllIsOccurrencesTreeArtifact) GetDigest() string
- func (v *AllIsOccurrencesTreeArtifact) GetId() string
- func (v *AllIsOccurrencesTreeArtifact) MarshalJSON() ([]byte, error)
- func (v *AllIsOccurrencesTreeArtifact) UnmarshalJSON(b []byte) error
- type AllIsOccurrencesTreeSubjectPackage
- func (v *AllIsOccurrencesTreeSubjectPackage) GetId() string
- func (v *AllIsOccurrencesTreeSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *AllIsOccurrencesTreeSubjectPackage) GetType() string
- func (v *AllIsOccurrencesTreeSubjectPackage) GetTypename() *string
- func (v *AllIsOccurrencesTreeSubjectPackage) MarshalJSON() ([]byte, error)
- func (v *AllIsOccurrencesTreeSubjectPackage) UnmarshalJSON(b []byte) error
- type AllIsOccurrencesTreeSubjectPackageOrSource
- type AllIsOccurrencesTreeSubjectSource
- func (v *AllIsOccurrencesTreeSubjectSource) GetId() string
- func (v *AllIsOccurrencesTreeSubjectSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *AllIsOccurrencesTreeSubjectSource) GetType() string
- func (v *AllIsOccurrencesTreeSubjectSource) GetTypename() *string
- func (v *AllIsOccurrencesTreeSubjectSource) MarshalJSON() ([]byte, error)
- func (v *AllIsOccurrencesTreeSubjectSource) UnmarshalJSON(b []byte) error
- type AllLicenseTree
- type AllPkgEqual
- type AllPkgEqualPackagesPackage
- func (v *AllPkgEqualPackagesPackage) GetId() string
- func (v *AllPkgEqualPackagesPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *AllPkgEqualPackagesPackage) GetType() string
- func (v *AllPkgEqualPackagesPackage) MarshalJSON() ([]byte, error)
- func (v *AllPkgEqualPackagesPackage) UnmarshalJSON(b []byte) error
- type AllPkgTree
- type AllPkgTreeNamespacesPackageNamespace
- type AllPkgTreeNamespacesPackageNamespaceNamesPackageName
- func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageName) GetId() string
- func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageName) GetName() string
- func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageName) GetVersions() []AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion
- type AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion
- func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetId() string
- func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetPurl() string
- func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetQualifiers() ...
- func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetSubpath() string
- func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetVersion() string
- type AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier
- type AllPointOfContact
- func (v *AllPointOfContact) GetCollector() string
- func (v *AllPointOfContact) GetEmail() string
- func (v *AllPointOfContact) GetId() string
- func (v *AllPointOfContact) GetInfo() string
- func (v *AllPointOfContact) GetJustification() string
- func (v *AllPointOfContact) GetOrigin() string
- func (v *AllPointOfContact) GetSince() time.Time
- func (v *AllPointOfContact) GetSubject() AllPointOfContactSubjectPackageSourceOrArtifact
- func (v *AllPointOfContact) MarshalJSON() ([]byte, error)
- func (v *AllPointOfContact) UnmarshalJSON(b []byte) error
- type AllPointOfContactSubjectArtifact
- func (v *AllPointOfContactSubjectArtifact) GetAlgorithm() string
- func (v *AllPointOfContactSubjectArtifact) GetDigest() string
- func (v *AllPointOfContactSubjectArtifact) GetId() string
- func (v *AllPointOfContactSubjectArtifact) GetTypename() *string
- func (v *AllPointOfContactSubjectArtifact) MarshalJSON() ([]byte, error)
- func (v *AllPointOfContactSubjectArtifact) UnmarshalJSON(b []byte) error
- type AllPointOfContactSubjectPackage
- func (v *AllPointOfContactSubjectPackage) GetId() string
- func (v *AllPointOfContactSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *AllPointOfContactSubjectPackage) GetType() string
- func (v *AllPointOfContactSubjectPackage) GetTypename() *string
- func (v *AllPointOfContactSubjectPackage) MarshalJSON() ([]byte, error)
- func (v *AllPointOfContactSubjectPackage) UnmarshalJSON(b []byte) error
- type AllPointOfContactSubjectPackageSourceOrArtifact
- type AllPointOfContactSubjectSource
- func (v *AllPointOfContactSubjectSource) GetId() string
- func (v *AllPointOfContactSubjectSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *AllPointOfContactSubjectSource) GetType() string
- func (v *AllPointOfContactSubjectSource) GetTypename() *string
- func (v *AllPointOfContactSubjectSource) MarshalJSON() ([]byte, error)
- func (v *AllPointOfContactSubjectSource) UnmarshalJSON(b []byte) error
- type AllSLSATree
- type AllSLSATreeSlsaSLSA
- func (v *AllSLSATreeSlsaSLSA) GetBuildType() string
- func (v *AllSLSATreeSlsaSLSA) GetBuiltBy() AllSLSATreeSlsaSLSABuiltByBuilder
- func (v *AllSLSATreeSlsaSLSA) GetBuiltFrom() []AllSLSATreeSlsaSLSABuiltFromArtifact
- func (v *AllSLSATreeSlsaSLSA) GetCollector() string
- func (v *AllSLSATreeSlsaSLSA) GetFinishedOn() *time.Time
- func (v *AllSLSATreeSlsaSLSA) GetOrigin() string
- func (v *AllSLSATreeSlsaSLSA) GetSlsaPredicate() []AllSLSATreeSlsaSLSASlsaPredicateSLSAPredicate
- func (v *AllSLSATreeSlsaSLSA) GetSlsaVersion() string
- func (v *AllSLSATreeSlsaSLSA) GetStartedOn() *time.Time
- type AllSLSATreeSlsaSLSABuiltByBuilder
- type AllSLSATreeSlsaSLSABuiltFromArtifact
- func (v *AllSLSATreeSlsaSLSABuiltFromArtifact) GetAlgorithm() string
- func (v *AllSLSATreeSlsaSLSABuiltFromArtifact) GetDigest() string
- func (v *AllSLSATreeSlsaSLSABuiltFromArtifact) GetId() string
- func (v *AllSLSATreeSlsaSLSABuiltFromArtifact) MarshalJSON() ([]byte, error)
- func (v *AllSLSATreeSlsaSLSABuiltFromArtifact) UnmarshalJSON(b []byte) error
- type AllSLSATreeSlsaSLSASlsaPredicateSLSAPredicate
- type AllSLSATreeSubjectArtifact
- func (v *AllSLSATreeSubjectArtifact) GetAlgorithm() string
- func (v *AllSLSATreeSubjectArtifact) GetDigest() string
- func (v *AllSLSATreeSubjectArtifact) GetId() string
- func (v *AllSLSATreeSubjectArtifact) MarshalJSON() ([]byte, error)
- func (v *AllSLSATreeSubjectArtifact) UnmarshalJSON(b []byte) error
- type AllSourceTree
- type AllSourceTreeNamespacesSourceNamespace
- type AllSourceTreeNamespacesSourceNamespaceNamesSourceName
- func (v *AllSourceTreeNamespacesSourceNamespaceNamesSourceName) GetCommit() *string
- func (v *AllSourceTreeNamespacesSourceNamespaceNamesSourceName) GetId() string
- func (v *AllSourceTreeNamespacesSourceNamespaceNamesSourceName) GetName() string
- func (v *AllSourceTreeNamespacesSourceNamespaceNamesSourceName) GetTag() *string
- type AllVulnEqual
- type AllVulnEqualVulnerabilitiesVulnerability
- func (v *AllVulnEqualVulnerabilitiesVulnerability) GetId() string
- func (v *AllVulnEqualVulnerabilitiesVulnerability) GetType() string
- func (v *AllVulnEqualVulnerabilitiesVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
- func (v *AllVulnEqualVulnerabilitiesVulnerability) MarshalJSON() ([]byte, error)
- func (v *AllVulnEqualVulnerabilitiesVulnerability) UnmarshalJSON(b []byte) error
- type AllVulnMetadataTree
- func (v *AllVulnMetadataTree) GetCollector() string
- func (v *AllVulnMetadataTree) GetId() string
- func (v *AllVulnMetadataTree) GetOrigin() string
- func (v *AllVulnMetadataTree) GetScoreType() VulnerabilityScoreType
- func (v *AllVulnMetadataTree) GetScoreValue() float64
- func (v *AllVulnMetadataTree) GetTimestamp() time.Time
- func (v *AllVulnMetadataTree) GetVulnerability() AllVulnMetadataTreeVulnerability
- type AllVulnMetadataTreeVulnerability
- type AllVulnMetadataTreeVulnerabilityVulnerabilityIDsVulnerabilityID
- type AllVulnerabilityTree
- type AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
- type ArtifactInputSpec
- type ArtifactSpec
- type ArtifactsArtifactsArtifact
- func (v *ArtifactsArtifactsArtifact) GetAlgorithm() string
- func (v *ArtifactsArtifactsArtifact) GetDigest() string
- func (v *ArtifactsArtifactsArtifact) GetId() string
- func (v *ArtifactsArtifactsArtifact) MarshalJSON() ([]byte, error)
- func (v *ArtifactsArtifactsArtifact) UnmarshalJSON(b []byte) error
- type ArtifactsListArtifactsListArtifactConnection
- func (v *ArtifactsListArtifactsListArtifactConnection) GetEdges() []ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdge
- func (v *ArtifactsListArtifactsListArtifactConnection) GetPageInfo() ArtifactsListArtifactsListArtifactConnectionPageInfo
- func (v *ArtifactsListArtifactsListArtifactConnection) GetTotalCount() int
- type ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdge
- type ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact
- func (v *ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact) GetAlgorithm() string
- func (v *ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact) GetDigest() string
- func (v *ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact) GetId() string
- func (v *ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact) MarshalJSON() ([]byte, error)
- func (v *ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact) UnmarshalJSON(b []byte) error
- type ArtifactsListArtifactsListArtifactConnectionPageInfo
- type ArtifactsListResponse
- type ArtifactsResponse
- type BuilderInputSpec
- type BuilderSpec
- type BuildersBuildersBuilder
- type BuildersListBuildersListBuilderConnection
- func (v *BuildersListBuildersListBuilderConnection) GetEdges() []BuildersListBuildersListBuilderConnectionEdgesBuilderEdge
- func (v *BuildersListBuildersListBuilderConnection) GetPageInfo() BuildersListBuildersListBuilderConnectionPageInfo
- func (v *BuildersListBuildersListBuilderConnection) GetTotalCount() int
- type BuildersListBuildersListBuilderConnectionEdgesBuilderEdge
- type BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder
- func (v *BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder) GetId() string
- func (v *BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder) GetUri() string
- func (v *BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder) MarshalJSON() ([]byte, error)
- func (v *BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder) UnmarshalJSON(b []byte) error
- type BuildersListBuildersListBuilderConnectionPageInfo
- type BuildersListResponse
- type BuildersResponse
- type CertifyBadCertifyBad
- func (v *CertifyBadCertifyBad) GetCollector() string
- func (v *CertifyBadCertifyBad) GetId() string
- func (v *CertifyBadCertifyBad) GetJustification() string
- func (v *CertifyBadCertifyBad) GetKnownSince() time.Time
- func (v *CertifyBadCertifyBad) GetOrigin() string
- func (v *CertifyBadCertifyBad) GetSubject() AllCertifyBadSubjectPackageSourceOrArtifact
- func (v *CertifyBadCertifyBad) MarshalJSON() ([]byte, error)
- func (v *CertifyBadCertifyBad) UnmarshalJSON(b []byte) error
- type CertifyBadInputSpec
- type CertifyBadListCertifyBadListCertifyBadConnection
- func (v *CertifyBadListCertifyBadListCertifyBadConnection) GetEdges() []CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdge
- func (v *CertifyBadListCertifyBadListCertifyBadConnection) GetPageInfo() CertifyBadListCertifyBadListCertifyBadConnectionPageInfo
- func (v *CertifyBadListCertifyBadListCertifyBadConnection) GetTotalCount() int
- type CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdge
- type CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad
- func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetCollector() string
- func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetId() string
- func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetJustification() string
- func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetKnownSince() time.Time
- func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetOrigin() string
- func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetSubject() AllCertifyBadSubjectPackageSourceOrArtifact
- func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) MarshalJSON() ([]byte, error)
- func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) UnmarshalJSON(b []byte) error
- type CertifyBadListCertifyBadListCertifyBadConnectionPageInfo
- type CertifyBadListResponse
- type CertifyBadResponse
- type CertifyBadSpec
- func (v *CertifyBadSpec) GetCollector() *string
- func (v *CertifyBadSpec) GetDocumentRef() *string
- func (v *CertifyBadSpec) GetId() *string
- func (v *CertifyBadSpec) GetJustification() *string
- func (v *CertifyBadSpec) GetKnownSince() *time.Time
- func (v *CertifyBadSpec) GetOrigin() *string
- func (v *CertifyBadSpec) GetSubject() *PackageSourceOrArtifactSpec
- type CertifyGoodCertifyGood
- func (v *CertifyGoodCertifyGood) GetCollector() string
- func (v *CertifyGoodCertifyGood) GetId() string
- func (v *CertifyGoodCertifyGood) GetJustification() string
- func (v *CertifyGoodCertifyGood) GetKnownSince() time.Time
- func (v *CertifyGoodCertifyGood) GetOrigin() string
- func (v *CertifyGoodCertifyGood) GetSubject() AllCertifyGoodSubjectPackageSourceOrArtifact
- func (v *CertifyGoodCertifyGood) MarshalJSON() ([]byte, error)
- func (v *CertifyGoodCertifyGood) UnmarshalJSON(b []byte) error
- type CertifyGoodInputSpec
- type CertifyGoodListCertifyGoodListCertifyGoodConnection
- func (v *CertifyGoodListCertifyGoodListCertifyGoodConnection) GetEdges() []CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdge
- func (v *CertifyGoodListCertifyGoodListCertifyGoodConnection) GetPageInfo() CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo
- func (v *CertifyGoodListCertifyGoodListCertifyGoodConnection) GetTotalCount() int
- type CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdge
- type CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood
- func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetCollector() string
- func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetId() string
- func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetJustification() string
- func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetKnownSince() time.Time
- func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetOrigin() string
- func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetSubject() AllCertifyGoodSubjectPackageSourceOrArtifact
- func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) MarshalJSON() ([]byte, error)
- func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) UnmarshalJSON(b []byte) error
- type CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo
- type CertifyGoodListResponse
- type CertifyGoodResponse
- type CertifyGoodSpec
- func (v *CertifyGoodSpec) GetCollector() *string
- func (v *CertifyGoodSpec) GetDocumentRef() *string
- func (v *CertifyGoodSpec) GetId() *string
- func (v *CertifyGoodSpec) GetJustification() *string
- func (v *CertifyGoodSpec) GetKnownSince() *time.Time
- func (v *CertifyGoodSpec) GetOrigin() *string
- func (v *CertifyGoodSpec) GetSubject() *PackageSourceOrArtifactSpec
- type CertifyLegalCertifyLegal
- func (v *CertifyLegalCertifyLegal) GetAttribution() string
- func (v *CertifyLegalCertifyLegal) GetCollector() string
- func (v *CertifyLegalCertifyLegal) GetDeclaredLicense() string
- func (v *CertifyLegalCertifyLegal) GetDeclaredLicenses() []AllCertifyLegalTreeDeclaredLicensesLicense
- func (v *CertifyLegalCertifyLegal) GetDiscoveredLicense() string
- func (v *CertifyLegalCertifyLegal) GetDiscoveredLicenses() []AllCertifyLegalTreeDiscoveredLicensesLicense
- func (v *CertifyLegalCertifyLegal) GetId() string
- func (v *CertifyLegalCertifyLegal) GetJustification() string
- func (v *CertifyLegalCertifyLegal) GetOrigin() string
- func (v *CertifyLegalCertifyLegal) GetSubject() AllCertifyLegalTreeSubjectPackageOrSource
- func (v *CertifyLegalCertifyLegal) GetTimeScanned() time.Time
- func (v *CertifyLegalCertifyLegal) MarshalJSON() ([]byte, error)
- func (v *CertifyLegalCertifyLegal) UnmarshalJSON(b []byte) error
- type CertifyLegalInputSpec
- func (v *CertifyLegalInputSpec) GetAttribution() string
- func (v *CertifyLegalInputSpec) GetCollector() string
- func (v *CertifyLegalInputSpec) GetDeclaredLicense() string
- func (v *CertifyLegalInputSpec) GetDiscoveredLicense() string
- func (v *CertifyLegalInputSpec) GetDocumentRef() string
- func (v *CertifyLegalInputSpec) GetJustification() string
- func (v *CertifyLegalInputSpec) GetOrigin() string
- func (v *CertifyLegalInputSpec) GetTimeScanned() time.Time
- type CertifyLegalListCertifyLegalListCertifyLegalConnection
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnection) GetEdges() []CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdge
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnection) GetPageInfo() CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnection) GetTotalCount() int
- type CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdge
- type CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetAttribution() string
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetCollector() string
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetDeclaredLicense() string
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetDeclaredLicenses() []AllCertifyLegalTreeDeclaredLicensesLicense
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetDiscoveredLicense() string
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetDiscoveredLicenses() []AllCertifyLegalTreeDiscoveredLicensesLicense
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetId() string
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetJustification() string
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetOrigin() string
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetSubject() AllCertifyLegalTreeSubjectPackageOrSource
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetTimeScanned() time.Time
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) MarshalJSON() ([]byte, error)
- func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) UnmarshalJSON(b []byte) error
- type CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo
- type CertifyLegalListResponse
- type CertifyLegalResponse
- type CertifyLegalSpec
- func (v *CertifyLegalSpec) GetAttribution() *string
- func (v *CertifyLegalSpec) GetCollector() *string
- func (v *CertifyLegalSpec) GetDeclaredLicense() *string
- func (v *CertifyLegalSpec) GetDeclaredLicenses() []LicenseSpec
- func (v *CertifyLegalSpec) GetDiscoveredLicense() *string
- func (v *CertifyLegalSpec) GetDiscoveredLicenses() []LicenseSpec
- func (v *CertifyLegalSpec) GetDocumentRef() *string
- func (v *CertifyLegalSpec) GetId() *string
- func (v *CertifyLegalSpec) GetJustification() *string
- func (v *CertifyLegalSpec) GetOrigin() *string
- func (v *CertifyLegalSpec) GetSubject() *PackageOrSourceSpec
- func (v *CertifyLegalSpec) GetTimeScanned() *time.Time
- type CertifyScorecardSpec
- func (v *CertifyScorecardSpec) GetAggregateScore() *float64
- func (v *CertifyScorecardSpec) GetChecks() []ScorecardCheckSpec
- func (v *CertifyScorecardSpec) GetCollector() *string
- func (v *CertifyScorecardSpec) GetDocumentRef() *string
- func (v *CertifyScorecardSpec) GetId() *string
- func (v *CertifyScorecardSpec) GetOrigin() *string
- func (v *CertifyScorecardSpec) GetScorecardCommit() *string
- func (v *CertifyScorecardSpec) GetScorecardVersion() *string
- func (v *CertifyScorecardSpec) GetSource() *SourceSpec
- func (v *CertifyScorecardSpec) GetTimeScanned() *time.Time
- type CertifyVEXStatementSpec
- func (v *CertifyVEXStatementSpec) GetCollector() *string
- func (v *CertifyVEXStatementSpec) GetDocumentRef() *string
- func (v *CertifyVEXStatementSpec) GetId() *string
- func (v *CertifyVEXStatementSpec) GetKnownSince() *time.Time
- func (v *CertifyVEXStatementSpec) GetOrigin() *string
- func (v *CertifyVEXStatementSpec) GetStatement() *string
- func (v *CertifyVEXStatementSpec) GetStatus() *VexStatus
- func (v *CertifyVEXStatementSpec) GetStatusNotes() *string
- func (v *CertifyVEXStatementSpec) GetSubject() *PackageOrArtifactSpec
- func (v *CertifyVEXStatementSpec) GetVexJustification() *VexJustification
- func (v *CertifyVEXStatementSpec) GetVulnerability() *VulnerabilitySpec
- type CertifyVulnCertifyVuln
- func (v *CertifyVulnCertifyVuln) GetId() string
- func (v *CertifyVulnCertifyVuln) GetMetadata() AllCertifyVulnMetadataScanMetadata
- func (v *CertifyVulnCertifyVuln) GetPackage() AllCertifyVulnPackage
- func (v *CertifyVulnCertifyVuln) GetVulnerability() AllCertifyVulnVulnerability
- func (v *CertifyVulnCertifyVuln) MarshalJSON() ([]byte, error)
- func (v *CertifyVulnCertifyVuln) UnmarshalJSON(b []byte) error
- type CertifyVulnListCertifyVulnListCertifyVulnConnection
- func (v *CertifyVulnListCertifyVulnListCertifyVulnConnection) GetEdges() []CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdge
- func (v *CertifyVulnListCertifyVulnListCertifyVulnConnection) GetPageInfo() CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo
- func (v *CertifyVulnListCertifyVulnListCertifyVulnConnection) GetTotalCount() int
- type CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdge
- type CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln
- func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) GetId() string
- func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) GetMetadata() AllCertifyVulnMetadataScanMetadata
- func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) GetPackage() AllCertifyVulnPackage
- func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) GetVulnerability() AllCertifyVulnVulnerability
- func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) MarshalJSON() ([]byte, error)
- func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) UnmarshalJSON(b []byte) error
- type CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo
- type CertifyVulnListResponse
- type CertifyVulnResponse
- type CertifyVulnSpec
- func (v *CertifyVulnSpec) GetCollector() *string
- func (v *CertifyVulnSpec) GetDbUri() *string
- func (v *CertifyVulnSpec) GetDbVersion() *string
- func (v *CertifyVulnSpec) GetDocumentRef() *string
- func (v *CertifyVulnSpec) GetId() *string
- func (v *CertifyVulnSpec) GetOrigin() *string
- func (v *CertifyVulnSpec) GetPackage() *PkgSpec
- func (v *CertifyVulnSpec) GetScannerUri() *string
- func (v *CertifyVulnSpec) GetScannerVersion() *string
- func (v *CertifyVulnSpec) GetTimeScanned() *time.Time
- func (v *CertifyVulnSpec) GetVulnerability() *VulnerabilitySpec
- type Comparator
- type DeleteResponse
- type DependenciesIsDependency
- func (v *DependenciesIsDependency) GetCollector() string
- func (v *DependenciesIsDependency) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
- func (v *DependenciesIsDependency) GetDependencyType() DependencyType
- func (v *DependenciesIsDependency) GetId() string
- func (v *DependenciesIsDependency) GetJustification() string
- func (v *DependenciesIsDependency) GetOrigin() string
- func (v *DependenciesIsDependency) GetPackage() AllIsDependencyTreePackage
- func (v *DependenciesIsDependency) MarshalJSON() ([]byte, error)
- func (v *DependenciesIsDependency) UnmarshalJSON(b []byte) error
- type DependenciesResponse
- type DependencyListIsDependencyListIsDependencyConnection
- func (v *DependencyListIsDependencyListIsDependencyConnection) GetEdges() []DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdge
- func (v *DependencyListIsDependencyListIsDependencyConnection) GetPageInfo() DependencyListIsDependencyListIsDependencyConnectionPageInfo
- func (v *DependencyListIsDependencyListIsDependencyConnection) GetTotalCount() int
- type DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdge
- type DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency
- func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetCollector() string
- func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
- func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetDependencyType() DependencyType
- func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetId() string
- func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetJustification() string
- func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetOrigin() string
- func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetPackage() AllIsDependencyTreePackage
- func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) MarshalJSON() ([]byte, error)
- func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) UnmarshalJSON(b []byte) error
- type DependencyListIsDependencyListIsDependencyConnectionPageInfo
- type DependencyListResponse
- type DependencyType
- type Edge
- type FindSoftwareFindSoftwareArtifact
- func (v *FindSoftwareFindSoftwareArtifact) GetAlgorithm() string
- func (v *FindSoftwareFindSoftwareArtifact) GetDigest() string
- func (v *FindSoftwareFindSoftwareArtifact) GetId() string
- func (v *FindSoftwareFindSoftwareArtifact) GetTypename() *string
- func (v *FindSoftwareFindSoftwareArtifact) MarshalJSON() ([]byte, error)
- func (v *FindSoftwareFindSoftwareArtifact) UnmarshalJSON(b []byte) error
- type FindSoftwareFindSoftwarePackage
- func (v *FindSoftwareFindSoftwarePackage) GetId() string
- func (v *FindSoftwareFindSoftwarePackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *FindSoftwareFindSoftwarePackage) GetType() string
- func (v *FindSoftwareFindSoftwarePackage) GetTypename() *string
- func (v *FindSoftwareFindSoftwarePackage) MarshalJSON() ([]byte, error)
- func (v *FindSoftwareFindSoftwarePackage) UnmarshalJSON(b []byte) error
- type FindSoftwareFindSoftwarePackageSourceOrArtifact
- type FindSoftwareFindSoftwareSource
- func (v *FindSoftwareFindSoftwareSource) GetId() string
- func (v *FindSoftwareFindSoftwareSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *FindSoftwareFindSoftwareSource) GetType() string
- func (v *FindSoftwareFindSoftwareSource) GetTypename() *string
- func (v *FindSoftwareFindSoftwareSource) MarshalJSON() ([]byte, error)
- func (v *FindSoftwareFindSoftwareSource) UnmarshalJSON(b []byte) error
- type FindSoftwareResponse
- type HasMetadataHasMetadata
- func (v *HasMetadataHasMetadata) GetCollector() string
- func (v *HasMetadataHasMetadata) GetId() string
- func (v *HasMetadataHasMetadata) GetJustification() string
- func (v *HasMetadataHasMetadata) GetKey() string
- func (v *HasMetadataHasMetadata) GetOrigin() string
- func (v *HasMetadataHasMetadata) GetSubject() AllHasMetadataSubjectPackageSourceOrArtifact
- func (v *HasMetadataHasMetadata) GetTimestamp() time.Time
- func (v *HasMetadataHasMetadata) GetValue() string
- func (v *HasMetadataHasMetadata) MarshalJSON() ([]byte, error)
- func (v *HasMetadataHasMetadata) UnmarshalJSON(b []byte) error
- type HasMetadataInputSpec
- func (v *HasMetadataInputSpec) GetCollector() string
- func (v *HasMetadataInputSpec) GetDocumentRef() string
- func (v *HasMetadataInputSpec) GetJustification() string
- func (v *HasMetadataInputSpec) GetKey() string
- func (v *HasMetadataInputSpec) GetOrigin() string
- func (v *HasMetadataInputSpec) GetTimestamp() time.Time
- func (v *HasMetadataInputSpec) GetValue() string
- type HasMetadataListHasMetadataListHasMetadataConnection
- func (v *HasMetadataListHasMetadataListHasMetadataConnection) GetEdges() []HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdge
- func (v *HasMetadataListHasMetadataListHasMetadataConnection) GetPageInfo() HasMetadataListHasMetadataListHasMetadataConnectionPageInfo
- func (v *HasMetadataListHasMetadataListHasMetadataConnection) GetTotalCount() int
- type HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdge
- type HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata
- func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetCollector() string
- func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetId() string
- func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetJustification() string
- func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetKey() string
- func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetOrigin() string
- func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetSubject() AllHasMetadataSubjectPackageSourceOrArtifact
- func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetTimestamp() time.Time
- func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetValue() string
- func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) MarshalJSON() ([]byte, error)
- func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) UnmarshalJSON(b []byte) error
- type HasMetadataListHasMetadataListHasMetadataConnectionPageInfo
- type HasMetadataListResponse
- type HasMetadataResponse
- type HasMetadataSpec
- func (v *HasMetadataSpec) GetCollector() *string
- func (v *HasMetadataSpec) GetDocumentRef() *string
- func (v *HasMetadataSpec) GetId() *string
- func (v *HasMetadataSpec) GetJustification() *string
- func (v *HasMetadataSpec) GetKey() *string
- func (v *HasMetadataSpec) GetOrigin() *string
- func (v *HasMetadataSpec) GetSince() *time.Time
- func (v *HasMetadataSpec) GetSubject() *PackageSourceOrArtifactSpec
- func (v *HasMetadataSpec) GetValue() *string
- type HasSBOMIncludesInputSpec
- type HasSBOMInputSpec
- func (v *HasSBOMInputSpec) GetAlgorithm() string
- func (v *HasSBOMInputSpec) GetCollector() string
- func (v *HasSBOMInputSpec) GetDigest() string
- func (v *HasSBOMInputSpec) GetDocumentRef() string
- func (v *HasSBOMInputSpec) GetDownloadLocation() string
- func (v *HasSBOMInputSpec) GetKnownSince() time.Time
- func (v *HasSBOMInputSpec) GetOrigin() string
- func (v *HasSBOMInputSpec) GetUri() string
- type HasSBOMListHasSBOMListHasSBOMConnection
- func (v *HasSBOMListHasSBOMListHasSBOMConnection) GetEdges() []HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdge
- func (v *HasSBOMListHasSBOMListHasSBOMConnection) GetPageInfo() HasSBOMListHasSBOMListHasSBOMConnectionPageInfo
- func (v *HasSBOMListHasSBOMListHasSBOMConnection) GetTotalCount() int
- type HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdge
- type HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetAlgorithm() string
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetCollector() string
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetDigest() string
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetDocumentRef() string
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetDownloadLocation() string
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetId() string
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetIncludedDependencies() []AllHasSBOMTreeIncludedDependenciesIsDependency
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetIncludedOccurrences() []AllHasSBOMTreeIncludedOccurrencesIsOccurrence
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetIncludedSoftware() []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetKnownSince() time.Time
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetOrigin() string
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetSubject() AllHasSBOMTreeSubjectPackageOrArtifact
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetUri() string
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) MarshalJSON() ([]byte, error)
- func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) UnmarshalJSON(b []byte) error
- type HasSBOMListHasSBOMListHasSBOMConnectionPageInfo
- type HasSBOMListResponse
- type HasSBOMSpec
- func (v *HasSBOMSpec) GetAlgorithm() *string
- func (v *HasSBOMSpec) GetCollector() *string
- func (v *HasSBOMSpec) GetDigest() *string
- func (v *HasSBOMSpec) GetDocumentRef() *string
- func (v *HasSBOMSpec) GetDownloadLocation() *string
- func (v *HasSBOMSpec) GetId() *string
- func (v *HasSBOMSpec) GetIncludedDependencies() []IsDependencySpec
- func (v *HasSBOMSpec) GetIncludedOccurrences() []IsOccurrenceSpec
- func (v *HasSBOMSpec) GetIncludedSoftware() []PackageOrArtifactSpec
- func (v *HasSBOMSpec) GetKnownSince() *time.Time
- func (v *HasSBOMSpec) GetOrigin() *string
- func (v *HasSBOMSpec) GetSubject() *PackageOrArtifactSpec
- func (v *HasSBOMSpec) GetUri() *string
- type HasSBOMsHasSBOM
- func (v *HasSBOMsHasSBOM) GetAlgorithm() string
- func (v *HasSBOMsHasSBOM) GetCollector() string
- func (v *HasSBOMsHasSBOM) GetDigest() string
- func (v *HasSBOMsHasSBOM) GetDocumentRef() string
- func (v *HasSBOMsHasSBOM) GetDownloadLocation() string
- func (v *HasSBOMsHasSBOM) GetId() string
- func (v *HasSBOMsHasSBOM) GetIncludedDependencies() []AllHasSBOMTreeIncludedDependenciesIsDependency
- func (v *HasSBOMsHasSBOM) GetIncludedOccurrences() []AllHasSBOMTreeIncludedOccurrencesIsOccurrence
- func (v *HasSBOMsHasSBOM) GetIncludedSoftware() []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
- func (v *HasSBOMsHasSBOM) GetKnownSince() time.Time
- func (v *HasSBOMsHasSBOM) GetOrigin() string
- func (v *HasSBOMsHasSBOM) GetSubject() AllHasSBOMTreeSubjectPackageOrArtifact
- func (v *HasSBOMsHasSBOM) GetUri() string
- func (v *HasSBOMsHasSBOM) MarshalJSON() ([]byte, error)
- func (v *HasSBOMsHasSBOM) UnmarshalJSON(b []byte) error
- type HasSBOMsResponse
- type HasSLSAHasSLSA
- type HasSLSAListHasSLSAListHasSLSAConnection
- func (v *HasSLSAListHasSLSAListHasSLSAConnection) GetEdges() []HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdge
- func (v *HasSLSAListHasSLSAListHasSLSAConnection) GetPageInfo() HasSLSAListHasSLSAListHasSLSAConnectionPageInfo
- func (v *HasSLSAListHasSLSAListHasSLSAConnection) GetTotalCount() int
- type HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdge
- type HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA
- func (v *HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) GetId() string
- func (v *HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) GetSlsa() AllHasSLSATreeSlsaSLSA
- func (v *HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) GetSubject() AllHasSLSATreeSubjectArtifact
- func (v *HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) MarshalJSON() ([]byte, error)
- func (v *HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) UnmarshalJSON(b []byte) error
- type HasSLSAListHasSLSAListHasSLSAConnectionPageInfo
- type HasSLSAListResponse
- type HasSLSAResponse
- type HasSLSASpec
- func (v *HasSLSASpec) GetBuildType() *string
- func (v *HasSLSASpec) GetBuiltBy() *BuilderSpec
- func (v *HasSLSASpec) GetBuiltFrom() []ArtifactSpec
- func (v *HasSLSASpec) GetCollector() *string
- func (v *HasSLSASpec) GetDocumentRef() *string
- func (v *HasSLSASpec) GetFinishedOn() *time.Time
- func (v *HasSLSASpec) GetId() *string
- func (v *HasSLSASpec) GetOrigin() *string
- func (v *HasSLSASpec) GetPredicate() []SLSAPredicateSpec
- func (v *HasSLSASpec) GetSlsaVersion() *string
- func (v *HasSLSASpec) GetStartedOn() *time.Time
- func (v *HasSLSASpec) GetSubject() *ArtifactSpec
- type HasSourceAtHasSourceAt
- func (v *HasSourceAtHasSourceAt) GetCollector() string
- func (v *HasSourceAtHasSourceAt) GetId() string
- func (v *HasSourceAtHasSourceAt) GetJustification() string
- func (v *HasSourceAtHasSourceAt) GetKnownSince() time.Time
- func (v *HasSourceAtHasSourceAt) GetOrigin() string
- func (v *HasSourceAtHasSourceAt) GetPackage() AllHasSourceAtPackage
- func (v *HasSourceAtHasSourceAt) GetSource() AllHasSourceAtSource
- func (v *HasSourceAtHasSourceAt) MarshalJSON() ([]byte, error)
- func (v *HasSourceAtHasSourceAt) UnmarshalJSON(b []byte) error
- type HasSourceAtInputSpec
- type HasSourceAtListHasSourceAtListHasSourceAtConnection
- func (v *HasSourceAtListHasSourceAtListHasSourceAtConnection) GetEdges() []HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdge
- func (v *HasSourceAtListHasSourceAtListHasSourceAtConnection) GetPageInfo() HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo
- func (v *HasSourceAtListHasSourceAtListHasSourceAtConnection) GetTotalCount() int
- type HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdge
- type HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt
- func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetCollector() string
- func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetId() string
- func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetJustification() string
- func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetKnownSince() time.Time
- func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetOrigin() string
- func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetPackage() AllHasSourceAtPackage
- func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetSource() AllHasSourceAtSource
- func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) MarshalJSON() ([]byte, error)
- func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) UnmarshalJSON(b []byte) error
- type HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo
- type HasSourceAtListResponse
- type HasSourceAtResponse
- type HasSourceAtSpec
- func (v *HasSourceAtSpec) GetCollector() *string
- func (v *HasSourceAtSpec) GetDocumentRef() *string
- func (v *HasSourceAtSpec) GetId() *string
- func (v *HasSourceAtSpec) GetJustification() *string
- func (v *HasSourceAtSpec) GetKnownSince() *time.Time
- func (v *HasSourceAtSpec) GetOrigin() *string
- func (v *HasSourceAtSpec) GetPackage() *PkgSpec
- func (v *HasSourceAtSpec) GetSource() *SourceSpec
- type HashEqualInputSpec
- type HashEqualListHashEqualListHashEqualConnection
- func (v *HashEqualListHashEqualListHashEqualConnection) GetEdges() []HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdge
- func (v *HashEqualListHashEqualListHashEqualConnection) GetPageInfo() HashEqualListHashEqualListHashEqualConnectionPageInfo
- func (v *HashEqualListHashEqualListHashEqualConnection) GetTotalCount() int
- type HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdge
- type HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual
- func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetArtifacts() []AllHashEqualTreeArtifactsArtifact
- func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetCollector() string
- func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetId() string
- func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetJustification() string
- func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetOrigin() string
- func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) MarshalJSON() ([]byte, error)
- func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) UnmarshalJSON(b []byte) error
- type HashEqualListHashEqualListHashEqualConnectionPageInfo
- type HashEqualListResponse
- type HashEqualSpec
- type HashEqualsHashEqual
- func (v *HashEqualsHashEqual) GetArtifacts() []AllHashEqualTreeArtifactsArtifact
- func (v *HashEqualsHashEqual) GetCollector() string
- func (v *HashEqualsHashEqual) GetId() string
- func (v *HashEqualsHashEqual) GetJustification() string
- func (v *HashEqualsHashEqual) GetOrigin() string
- func (v *HashEqualsHashEqual) MarshalJSON() ([]byte, error)
- func (v *HashEqualsHashEqual) UnmarshalJSON(b []byte) error
- type HashEqualsResponse
- type IDorArtifactInput
- type IDorBuilderInput
- type IDorLicenseInput
- type IDorPkgInput
- type IDorSourceInput
- type IDorVulnerabilityInput
- type IngestArtifactResponse
- type IngestArtifactsResponse
- type IngestBuilderResponse
- type IngestBuildersResponse
- type IngestBulkVulnHasMetadataResponse
- type IngestCertifyBadArtifactResponse
- type IngestCertifyBadArtifactsResponse
- type IngestCertifyBadPkgResponse
- type IngestCertifyBadPkgsResponse
- type IngestCertifyBadSrcResponse
- type IngestCertifyBadSrcsResponse
- type IngestCertifyGoodArtifactResponse
- type IngestCertifyGoodArtifactsResponse
- type IngestCertifyGoodPkgResponse
- type IngestCertifyGoodPkgsResponse
- type IngestCertifyGoodSrcResponse
- type IngestCertifyGoodSrcsResponse
- type IngestCertifyLegalPkgResponse
- type IngestCertifyLegalPkgsResponse
- type IngestCertifyLegalSrcResponse
- type IngestCertifyLegalSrcsResponse
- type IngestCertifyScorecardResponse
- type IngestCertifyScorecardsResponse
- type IngestCertifyVexArtifactResponse
- type IngestCertifyVexArtifactsResponse
- type IngestCertifyVexPkgResponse
- type IngestCertifyVexPkgsResponse
- type IngestCertifyVulnPkgResponse
- type IngestCertifyVulnPkgsResponse
- type IngestHasMetadataArtifactResponse
- type IngestHasMetadataArtifactsResponse
- type IngestHasMetadataPkgResponse
- type IngestHasMetadataPkgsResponse
- type IngestHasMetadataSrcResponse
- type IngestHasMetadataSrcsResponse
- type IngestHasSBOMArtifactResponse
- type IngestHasSBOMArtifactsResponse
- type IngestHasSBOMPkgResponse
- type IngestHasSBOMPkgsResponse
- type IngestHasSourceAtResponse
- type IngestHasSourcesAtResponse
- type IngestHashEqualResponse
- type IngestHashEqualsResponse
- type IngestIsDependenciesResponse
- type IngestIsDependencyResponse
- type IngestIsOccurrencePkgResponse
- type IngestIsOccurrenceSrcResponse
- type IngestIsOccurrencesPkgResponse
- type IngestIsOccurrencesSrcResponse
- type IngestLicenseResponse
- type IngestLicensesResponse
- type IngestPackageIngestPackagePackageIDs
- type IngestPackageResponse
- type IngestPackagesIngestPackagesPackageIDs
- func (v *IngestPackagesIngestPackagesPackageIDs) GetPackageNameID() string
- func (v *IngestPackagesIngestPackagesPackageIDs) GetPackageNamespaceID() string
- func (v *IngestPackagesIngestPackagesPackageIDs) GetPackageTypeID() string
- func (v *IngestPackagesIngestPackagesPackageIDs) GetPackageVersionID() string
- type IngestPackagesResponse
- type IngestPkgEqualResponse
- type IngestPkgEqualsResponse
- type IngestPointOfContactArtifactResponse
- type IngestPointOfContactArtifactsResponse
- type IngestPointOfContactPkgResponse
- type IngestPointOfContactPkgsResponse
- type IngestPointOfContactSrcResponse
- type IngestPointOfContactSrcsResponse
- type IngestSLSAForArtifactResponse
- type IngestSLSAForArtifactsResponse
- type IngestSourceIngestSourceSourceIDs
- type IngestSourceResponse
- type IngestSourcesIngestSourcesSourceIDs
- type IngestSourcesResponse
- type IngestVulnEqualResponse
- type IngestVulnEqualsResponse
- type IngestVulnHasMetadataResponse
- type IngestVulnerabilitiesIngestVulnerabilitiesVulnerabilityIDs
- type IngestVulnerabilitiesResponse
- type IngestVulnerabilityIngestVulnerabilityVulnerabilityIDs
- type IngestVulnerabilityResponse
- type IsDependencyInputSpec
- type IsDependencySpec
- func (v *IsDependencySpec) GetCollector() *string
- func (v *IsDependencySpec) GetDependencyPackage() *PkgSpec
- func (v *IsDependencySpec) GetDependencyType() *DependencyType
- func (v *IsDependencySpec) GetDocumentRef() *string
- func (v *IsDependencySpec) GetId() *string
- func (v *IsDependencySpec) GetJustification() *string
- func (v *IsDependencySpec) GetOrigin() *string
- func (v *IsDependencySpec) GetPackage() *PkgSpec
- type IsOccurrenceInputSpec
- type IsOccurrenceSpec
- func (v *IsOccurrenceSpec) GetArtifact() *ArtifactSpec
- func (v *IsOccurrenceSpec) GetCollector() *string
- func (v *IsOccurrenceSpec) GetDocumentRef() *string
- func (v *IsOccurrenceSpec) GetId() *string
- func (v *IsOccurrenceSpec) GetJustification() *string
- func (v *IsOccurrenceSpec) GetOrigin() *string
- func (v *IsOccurrenceSpec) GetSubject() *PackageOrSourceSpec
- type LicenseInputSpec
- type LicenseListLicenseListLicenseConnection
- func (v *LicenseListLicenseListLicenseConnection) GetEdges() []LicenseListLicenseListLicenseConnectionEdgesLicenseEdge
- func (v *LicenseListLicenseListLicenseConnection) GetPageInfo() LicenseListLicenseListLicenseConnectionPageInfo
- func (v *LicenseListLicenseListLicenseConnection) GetTotalCount() int
- type LicenseListLicenseListLicenseConnectionEdgesLicenseEdge
- type LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense
- func (v *LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) GetId() string
- func (v *LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) GetInline() *string
- func (v *LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) GetListVersion() *string
- func (v *LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) GetName() string
- func (v *LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) MarshalJSON() ([]byte, error)
- func (v *LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) UnmarshalJSON(b []byte) error
- type LicenseListLicenseListLicenseConnectionPageInfo
- type LicenseListResponse
- type LicenseSpec
- type LicensesLicensesLicense
- func (v *LicensesLicensesLicense) GetId() string
- func (v *LicensesLicensesLicense) GetInline() *string
- func (v *LicensesLicensesLicense) GetListVersion() *string
- func (v *LicensesLicensesLicense) GetName() string
- func (v *LicensesLicensesLicense) MarshalJSON() ([]byte, error)
- func (v *LicensesLicensesLicense) UnmarshalJSON(b []byte) error
- type LicensesResponse
- type MatchFlags
- type NeighborsNeighborsArtifact
- func (v *NeighborsNeighborsArtifact) GetAlgorithm() string
- func (v *NeighborsNeighborsArtifact) GetDigest() string
- func (v *NeighborsNeighborsArtifact) GetId() string
- func (v *NeighborsNeighborsArtifact) GetTypename() *string
- func (v *NeighborsNeighborsArtifact) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsArtifact) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsBuilder
- type NeighborsNeighborsCertifyBad
- func (v *NeighborsNeighborsCertifyBad) GetCollector() string
- func (v *NeighborsNeighborsCertifyBad) GetId() string
- func (v *NeighborsNeighborsCertifyBad) GetJustification() string
- func (v *NeighborsNeighborsCertifyBad) GetKnownSince() time.Time
- func (v *NeighborsNeighborsCertifyBad) GetOrigin() string
- func (v *NeighborsNeighborsCertifyBad) GetSubject() AllCertifyBadSubjectPackageSourceOrArtifact
- func (v *NeighborsNeighborsCertifyBad) GetTypename() *string
- func (v *NeighborsNeighborsCertifyBad) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsCertifyBad) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsCertifyGood
- func (v *NeighborsNeighborsCertifyGood) GetCollector() string
- func (v *NeighborsNeighborsCertifyGood) GetId() string
- func (v *NeighborsNeighborsCertifyGood) GetJustification() string
- func (v *NeighborsNeighborsCertifyGood) GetKnownSince() time.Time
- func (v *NeighborsNeighborsCertifyGood) GetOrigin() string
- func (v *NeighborsNeighborsCertifyGood) GetSubject() AllCertifyGoodSubjectPackageSourceOrArtifact
- func (v *NeighborsNeighborsCertifyGood) GetTypename() *string
- func (v *NeighborsNeighborsCertifyGood) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsCertifyGood) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsCertifyLegal
- func (v *NeighborsNeighborsCertifyLegal) GetAttribution() string
- func (v *NeighborsNeighborsCertifyLegal) GetCollector() string
- func (v *NeighborsNeighborsCertifyLegal) GetDeclaredLicense() string
- func (v *NeighborsNeighborsCertifyLegal) GetDeclaredLicenses() []AllCertifyLegalTreeDeclaredLicensesLicense
- func (v *NeighborsNeighborsCertifyLegal) GetDiscoveredLicense() string
- func (v *NeighborsNeighborsCertifyLegal) GetDiscoveredLicenses() []AllCertifyLegalTreeDiscoveredLicensesLicense
- func (v *NeighborsNeighborsCertifyLegal) GetId() string
- func (v *NeighborsNeighborsCertifyLegal) GetJustification() string
- func (v *NeighborsNeighborsCertifyLegal) GetOrigin() string
- func (v *NeighborsNeighborsCertifyLegal) GetSubject() AllCertifyLegalTreeSubjectPackageOrSource
- func (v *NeighborsNeighborsCertifyLegal) GetTimeScanned() time.Time
- func (v *NeighborsNeighborsCertifyLegal) GetTypename() *string
- func (v *NeighborsNeighborsCertifyLegal) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsCertifyLegal) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsCertifyScorecard
- func (v *NeighborsNeighborsCertifyScorecard) GetId() string
- func (v *NeighborsNeighborsCertifyScorecard) GetScorecard() AllCertifyScorecardScorecard
- func (v *NeighborsNeighborsCertifyScorecard) GetSource() AllCertifyScorecardSource
- func (v *NeighborsNeighborsCertifyScorecard) GetTypename() *string
- func (v *NeighborsNeighborsCertifyScorecard) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsCertifyScorecard) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsCertifyVEXStatement
- func (v *NeighborsNeighborsCertifyVEXStatement) GetCollector() string
- func (v *NeighborsNeighborsCertifyVEXStatement) GetId() string
- func (v *NeighborsNeighborsCertifyVEXStatement) GetKnownSince() time.Time
- func (v *NeighborsNeighborsCertifyVEXStatement) GetOrigin() string
- func (v *NeighborsNeighborsCertifyVEXStatement) GetStatement() string
- func (v *NeighborsNeighborsCertifyVEXStatement) GetStatus() VexStatus
- func (v *NeighborsNeighborsCertifyVEXStatement) GetStatusNotes() string
- func (v *NeighborsNeighborsCertifyVEXStatement) GetSubject() AllCertifyVEXStatementSubjectPackageOrArtifact
- func (v *NeighborsNeighborsCertifyVEXStatement) GetTypename() *string
- func (v *NeighborsNeighborsCertifyVEXStatement) GetVexJustification() VexJustification
- func (v *NeighborsNeighborsCertifyVEXStatement) GetVulnerability() AllCertifyVEXStatementVulnerability
- func (v *NeighborsNeighborsCertifyVEXStatement) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsCertifyVEXStatement) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsCertifyVuln
- func (v *NeighborsNeighborsCertifyVuln) GetId() string
- func (v *NeighborsNeighborsCertifyVuln) GetMetadata() AllCertifyVulnMetadataScanMetadata
- func (v *NeighborsNeighborsCertifyVuln) GetPackage() AllCertifyVulnPackage
- func (v *NeighborsNeighborsCertifyVuln) GetTypename() *string
- func (v *NeighborsNeighborsCertifyVuln) GetVulnerability() AllCertifyVulnVulnerability
- func (v *NeighborsNeighborsCertifyVuln) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsCertifyVuln) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsHasMetadata
- func (v *NeighborsNeighborsHasMetadata) GetCollector() string
- func (v *NeighborsNeighborsHasMetadata) GetId() string
- func (v *NeighborsNeighborsHasMetadata) GetJustification() string
- func (v *NeighborsNeighborsHasMetadata) GetKey() string
- func (v *NeighborsNeighborsHasMetadata) GetOrigin() string
- func (v *NeighborsNeighborsHasMetadata) GetSubject() AllHasMetadataSubjectPackageSourceOrArtifact
- func (v *NeighborsNeighborsHasMetadata) GetTimestamp() time.Time
- func (v *NeighborsNeighborsHasMetadata) GetTypename() *string
- func (v *NeighborsNeighborsHasMetadata) GetValue() string
- func (v *NeighborsNeighborsHasMetadata) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsHasMetadata) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsHasSBOM
- func (v *NeighborsNeighborsHasSBOM) GetAlgorithm() string
- func (v *NeighborsNeighborsHasSBOM) GetCollector() string
- func (v *NeighborsNeighborsHasSBOM) GetDigest() string
- func (v *NeighborsNeighborsHasSBOM) GetDocumentRef() string
- func (v *NeighborsNeighborsHasSBOM) GetDownloadLocation() string
- func (v *NeighborsNeighborsHasSBOM) GetId() string
- func (v *NeighborsNeighborsHasSBOM) GetIncludedDependencies() []AllHasSBOMTreeIncludedDependenciesIsDependency
- func (v *NeighborsNeighborsHasSBOM) GetIncludedOccurrences() []AllHasSBOMTreeIncludedOccurrencesIsOccurrence
- func (v *NeighborsNeighborsHasSBOM) GetIncludedSoftware() []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
- func (v *NeighborsNeighborsHasSBOM) GetKnownSince() time.Time
- func (v *NeighborsNeighborsHasSBOM) GetOrigin() string
- func (v *NeighborsNeighborsHasSBOM) GetSubject() AllHasSBOMTreeSubjectPackageOrArtifact
- func (v *NeighborsNeighborsHasSBOM) GetTypename() *string
- func (v *NeighborsNeighborsHasSBOM) GetUri() string
- func (v *NeighborsNeighborsHasSBOM) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsHasSBOM) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsHasSLSA
- func (v *NeighborsNeighborsHasSLSA) GetId() string
- func (v *NeighborsNeighborsHasSLSA) GetSlsa() AllSLSATreeSlsaSLSA
- func (v *NeighborsNeighborsHasSLSA) GetSubject() AllSLSATreeSubjectArtifact
- func (v *NeighborsNeighborsHasSLSA) GetTypename() *string
- func (v *NeighborsNeighborsHasSLSA) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsHasSLSA) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsHasSourceAt
- func (v *NeighborsNeighborsHasSourceAt) GetCollector() string
- func (v *NeighborsNeighborsHasSourceAt) GetId() string
- func (v *NeighborsNeighborsHasSourceAt) GetJustification() string
- func (v *NeighborsNeighborsHasSourceAt) GetKnownSince() time.Time
- func (v *NeighborsNeighborsHasSourceAt) GetOrigin() string
- func (v *NeighborsNeighborsHasSourceAt) GetPackage() AllHasSourceAtPackage
- func (v *NeighborsNeighborsHasSourceAt) GetSource() AllHasSourceAtSource
- func (v *NeighborsNeighborsHasSourceAt) GetTypename() *string
- func (v *NeighborsNeighborsHasSourceAt) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsHasSourceAt) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsHashEqual
- func (v *NeighborsNeighborsHashEqual) GetArtifacts() []AllHashEqualTreeArtifactsArtifact
- func (v *NeighborsNeighborsHashEqual) GetCollector() string
- func (v *NeighborsNeighborsHashEqual) GetId() string
- func (v *NeighborsNeighborsHashEqual) GetJustification() string
- func (v *NeighborsNeighborsHashEqual) GetOrigin() string
- func (v *NeighborsNeighborsHashEqual) GetTypename() *string
- func (v *NeighborsNeighborsHashEqual) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsHashEqual) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsIsDependency
- func (v *NeighborsNeighborsIsDependency) GetCollector() string
- func (v *NeighborsNeighborsIsDependency) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
- func (v *NeighborsNeighborsIsDependency) GetDependencyType() DependencyType
- func (v *NeighborsNeighborsIsDependency) GetId() string
- func (v *NeighborsNeighborsIsDependency) GetJustification() string
- func (v *NeighborsNeighborsIsDependency) GetOrigin() string
- func (v *NeighborsNeighborsIsDependency) GetPackage() AllIsDependencyTreePackage
- func (v *NeighborsNeighborsIsDependency) GetTypename() *string
- func (v *NeighborsNeighborsIsDependency) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsIsDependency) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsIsOccurrence
- func (v *NeighborsNeighborsIsOccurrence) GetArtifact() AllIsOccurrencesTreeArtifact
- func (v *NeighborsNeighborsIsOccurrence) GetCollector() string
- func (v *NeighborsNeighborsIsOccurrence) GetId() string
- func (v *NeighborsNeighborsIsOccurrence) GetJustification() string
- func (v *NeighborsNeighborsIsOccurrence) GetOrigin() string
- func (v *NeighborsNeighborsIsOccurrence) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
- func (v *NeighborsNeighborsIsOccurrence) GetTypename() *string
- func (v *NeighborsNeighborsIsOccurrence) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsIsOccurrence) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsLicense
- func (v *NeighborsNeighborsLicense) GetId() string
- func (v *NeighborsNeighborsLicense) GetInline() *string
- func (v *NeighborsNeighborsLicense) GetListVersion() *string
- func (v *NeighborsNeighborsLicense) GetName() string
- func (v *NeighborsNeighborsLicense) GetTypename() *string
- func (v *NeighborsNeighborsLicense) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsLicense) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsNode
- type NeighborsNeighborsPackage
- func (v *NeighborsNeighborsPackage) GetId() string
- func (v *NeighborsNeighborsPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *NeighborsNeighborsPackage) GetType() string
- func (v *NeighborsNeighborsPackage) GetTypename() *string
- func (v *NeighborsNeighborsPackage) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsPackage) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsPkgEqual
- func (v *NeighborsNeighborsPkgEqual) GetCollector() string
- func (v *NeighborsNeighborsPkgEqual) GetId() string
- func (v *NeighborsNeighborsPkgEqual) GetJustification() string
- func (v *NeighborsNeighborsPkgEqual) GetOrigin() string
- func (v *NeighborsNeighborsPkgEqual) GetPackages() []AllPkgEqualPackagesPackage
- func (v *NeighborsNeighborsPkgEqual) GetTypename() *string
- func (v *NeighborsNeighborsPkgEqual) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsPkgEqual) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsPointOfContact
- func (v *NeighborsNeighborsPointOfContact) GetCollector() string
- func (v *NeighborsNeighborsPointOfContact) GetEmail() string
- func (v *NeighborsNeighborsPointOfContact) GetId() string
- func (v *NeighborsNeighborsPointOfContact) GetInfo() string
- func (v *NeighborsNeighborsPointOfContact) GetJustification() string
- func (v *NeighborsNeighborsPointOfContact) GetOrigin() string
- func (v *NeighborsNeighborsPointOfContact) GetSince() time.Time
- func (v *NeighborsNeighborsPointOfContact) GetSubject() AllPointOfContactSubjectPackageSourceOrArtifact
- func (v *NeighborsNeighborsPointOfContact) GetTypename() *string
- func (v *NeighborsNeighborsPointOfContact) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsPointOfContact) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsSource
- func (v *NeighborsNeighborsSource) GetId() string
- func (v *NeighborsNeighborsSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *NeighborsNeighborsSource) GetType() string
- func (v *NeighborsNeighborsSource) GetTypename() *string
- func (v *NeighborsNeighborsSource) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsSource) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsVulnEqual
- func (v *NeighborsNeighborsVulnEqual) GetCollector() string
- func (v *NeighborsNeighborsVulnEqual) GetId() string
- func (v *NeighborsNeighborsVulnEqual) GetJustification() string
- func (v *NeighborsNeighborsVulnEqual) GetOrigin() string
- func (v *NeighborsNeighborsVulnEqual) GetTypename() *string
- func (v *NeighborsNeighborsVulnEqual) GetVulnerabilities() []AllVulnEqualVulnerabilitiesVulnerability
- func (v *NeighborsNeighborsVulnEqual) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsVulnEqual) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsVulnerability
- func (v *NeighborsNeighborsVulnerability) GetId() string
- func (v *NeighborsNeighborsVulnerability) GetType() string
- func (v *NeighborsNeighborsVulnerability) GetTypename() *string
- func (v *NeighborsNeighborsVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
- func (v *NeighborsNeighborsVulnerability) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsVulnerability) UnmarshalJSON(b []byte) error
- type NeighborsNeighborsVulnerabilityMetadata
- func (v *NeighborsNeighborsVulnerabilityMetadata) GetCollector() string
- func (v *NeighborsNeighborsVulnerabilityMetadata) GetId() string
- func (v *NeighborsNeighborsVulnerabilityMetadata) GetOrigin() string
- func (v *NeighborsNeighborsVulnerabilityMetadata) GetScoreType() VulnerabilityScoreType
- func (v *NeighborsNeighborsVulnerabilityMetadata) GetScoreValue() float64
- func (v *NeighborsNeighborsVulnerabilityMetadata) GetTimestamp() time.Time
- func (v *NeighborsNeighborsVulnerabilityMetadata) GetTypename() *string
- func (v *NeighborsNeighborsVulnerabilityMetadata) GetVulnerability() AllVulnMetadataTreeVulnerability
- func (v *NeighborsNeighborsVulnerabilityMetadata) MarshalJSON() ([]byte, error)
- func (v *NeighborsNeighborsVulnerabilityMetadata) UnmarshalJSON(b []byte) error
- type NeighborsResponse
- type NodeNode
- type NodeNodeArtifact
- type NodeNodeBuilder
- type NodeNodeCertifyBad
- func (v *NodeNodeCertifyBad) GetCollector() string
- func (v *NodeNodeCertifyBad) GetId() string
- func (v *NodeNodeCertifyBad) GetJustification() string
- func (v *NodeNodeCertifyBad) GetKnownSince() time.Time
- func (v *NodeNodeCertifyBad) GetOrigin() string
- func (v *NodeNodeCertifyBad) GetSubject() AllCertifyBadSubjectPackageSourceOrArtifact
- func (v *NodeNodeCertifyBad) GetTypename() *string
- func (v *NodeNodeCertifyBad) MarshalJSON() ([]byte, error)
- func (v *NodeNodeCertifyBad) UnmarshalJSON(b []byte) error
- type NodeNodeCertifyGood
- func (v *NodeNodeCertifyGood) GetCollector() string
- func (v *NodeNodeCertifyGood) GetId() string
- func (v *NodeNodeCertifyGood) GetJustification() string
- func (v *NodeNodeCertifyGood) GetKnownSince() time.Time
- func (v *NodeNodeCertifyGood) GetOrigin() string
- func (v *NodeNodeCertifyGood) GetSubject() AllCertifyGoodSubjectPackageSourceOrArtifact
- func (v *NodeNodeCertifyGood) GetTypename() *string
- func (v *NodeNodeCertifyGood) MarshalJSON() ([]byte, error)
- func (v *NodeNodeCertifyGood) UnmarshalJSON(b []byte) error
- type NodeNodeCertifyLegal
- func (v *NodeNodeCertifyLegal) GetAttribution() string
- func (v *NodeNodeCertifyLegal) GetCollector() string
- func (v *NodeNodeCertifyLegal) GetDeclaredLicense() string
- func (v *NodeNodeCertifyLegal) GetDeclaredLicenses() []AllCertifyLegalTreeDeclaredLicensesLicense
- func (v *NodeNodeCertifyLegal) GetDiscoveredLicense() string
- func (v *NodeNodeCertifyLegal) GetDiscoveredLicenses() []AllCertifyLegalTreeDiscoveredLicensesLicense
- func (v *NodeNodeCertifyLegal) GetId() string
- func (v *NodeNodeCertifyLegal) GetJustification() string
- func (v *NodeNodeCertifyLegal) GetOrigin() string
- func (v *NodeNodeCertifyLegal) GetSubject() AllCertifyLegalTreeSubjectPackageOrSource
- func (v *NodeNodeCertifyLegal) GetTimeScanned() time.Time
- func (v *NodeNodeCertifyLegal) GetTypename() *string
- func (v *NodeNodeCertifyLegal) MarshalJSON() ([]byte, error)
- func (v *NodeNodeCertifyLegal) UnmarshalJSON(b []byte) error
- type NodeNodeCertifyScorecard
- func (v *NodeNodeCertifyScorecard) GetId() string
- func (v *NodeNodeCertifyScorecard) GetScorecard() AllCertifyScorecardScorecard
- func (v *NodeNodeCertifyScorecard) GetSource() AllCertifyScorecardSource
- func (v *NodeNodeCertifyScorecard) GetTypename() *string
- func (v *NodeNodeCertifyScorecard) MarshalJSON() ([]byte, error)
- func (v *NodeNodeCertifyScorecard) UnmarshalJSON(b []byte) error
- type NodeNodeCertifyVEXStatement
- func (v *NodeNodeCertifyVEXStatement) GetCollector() string
- func (v *NodeNodeCertifyVEXStatement) GetId() string
- func (v *NodeNodeCertifyVEXStatement) GetKnownSince() time.Time
- func (v *NodeNodeCertifyVEXStatement) GetOrigin() string
- func (v *NodeNodeCertifyVEXStatement) GetStatement() string
- func (v *NodeNodeCertifyVEXStatement) GetStatus() VexStatus
- func (v *NodeNodeCertifyVEXStatement) GetStatusNotes() string
- func (v *NodeNodeCertifyVEXStatement) GetSubject() AllCertifyVEXStatementSubjectPackageOrArtifact
- func (v *NodeNodeCertifyVEXStatement) GetTypename() *string
- func (v *NodeNodeCertifyVEXStatement) GetVexJustification() VexJustification
- func (v *NodeNodeCertifyVEXStatement) GetVulnerability() AllCertifyVEXStatementVulnerability
- func (v *NodeNodeCertifyVEXStatement) MarshalJSON() ([]byte, error)
- func (v *NodeNodeCertifyVEXStatement) UnmarshalJSON(b []byte) error
- type NodeNodeCertifyVuln
- func (v *NodeNodeCertifyVuln) GetId() string
- func (v *NodeNodeCertifyVuln) GetMetadata() AllCertifyVulnMetadataScanMetadata
- func (v *NodeNodeCertifyVuln) GetPackage() AllCertifyVulnPackage
- func (v *NodeNodeCertifyVuln) GetTypename() *string
- func (v *NodeNodeCertifyVuln) GetVulnerability() AllCertifyVulnVulnerability
- func (v *NodeNodeCertifyVuln) MarshalJSON() ([]byte, error)
- func (v *NodeNodeCertifyVuln) UnmarshalJSON(b []byte) error
- type NodeNodeHasMetadata
- func (v *NodeNodeHasMetadata) GetCollector() string
- func (v *NodeNodeHasMetadata) GetId() string
- func (v *NodeNodeHasMetadata) GetJustification() string
- func (v *NodeNodeHasMetadata) GetKey() string
- func (v *NodeNodeHasMetadata) GetOrigin() string
- func (v *NodeNodeHasMetadata) GetSubject() AllHasMetadataSubjectPackageSourceOrArtifact
- func (v *NodeNodeHasMetadata) GetTimestamp() time.Time
- func (v *NodeNodeHasMetadata) GetTypename() *string
- func (v *NodeNodeHasMetadata) GetValue() string
- func (v *NodeNodeHasMetadata) MarshalJSON() ([]byte, error)
- func (v *NodeNodeHasMetadata) UnmarshalJSON(b []byte) error
- type NodeNodeHasSBOM
- func (v *NodeNodeHasSBOM) GetAlgorithm() string
- func (v *NodeNodeHasSBOM) GetCollector() string
- func (v *NodeNodeHasSBOM) GetDigest() string
- func (v *NodeNodeHasSBOM) GetDocumentRef() string
- func (v *NodeNodeHasSBOM) GetDownloadLocation() string
- func (v *NodeNodeHasSBOM) GetId() string
- func (v *NodeNodeHasSBOM) GetIncludedDependencies() []AllHasSBOMTreeIncludedDependenciesIsDependency
- func (v *NodeNodeHasSBOM) GetIncludedOccurrences() []AllHasSBOMTreeIncludedOccurrencesIsOccurrence
- func (v *NodeNodeHasSBOM) GetIncludedSoftware() []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
- func (v *NodeNodeHasSBOM) GetKnownSince() time.Time
- func (v *NodeNodeHasSBOM) GetOrigin() string
- func (v *NodeNodeHasSBOM) GetSubject() AllHasSBOMTreeSubjectPackageOrArtifact
- func (v *NodeNodeHasSBOM) GetTypename() *string
- func (v *NodeNodeHasSBOM) GetUri() string
- func (v *NodeNodeHasSBOM) MarshalJSON() ([]byte, error)
- func (v *NodeNodeHasSBOM) UnmarshalJSON(b []byte) error
- type NodeNodeHasSLSA
- func (v *NodeNodeHasSLSA) GetId() string
- func (v *NodeNodeHasSLSA) GetSlsa() AllSLSATreeSlsaSLSA
- func (v *NodeNodeHasSLSA) GetSubject() AllSLSATreeSubjectArtifact
- func (v *NodeNodeHasSLSA) GetTypename() *string
- func (v *NodeNodeHasSLSA) MarshalJSON() ([]byte, error)
- func (v *NodeNodeHasSLSA) UnmarshalJSON(b []byte) error
- type NodeNodeHasSourceAt
- func (v *NodeNodeHasSourceAt) GetCollector() string
- func (v *NodeNodeHasSourceAt) GetId() string
- func (v *NodeNodeHasSourceAt) GetJustification() string
- func (v *NodeNodeHasSourceAt) GetKnownSince() time.Time
- func (v *NodeNodeHasSourceAt) GetOrigin() string
- func (v *NodeNodeHasSourceAt) GetPackage() AllHasSourceAtPackage
- func (v *NodeNodeHasSourceAt) GetSource() AllHasSourceAtSource
- func (v *NodeNodeHasSourceAt) GetTypename() *string
- func (v *NodeNodeHasSourceAt) MarshalJSON() ([]byte, error)
- func (v *NodeNodeHasSourceAt) UnmarshalJSON(b []byte) error
- type NodeNodeHashEqual
- func (v *NodeNodeHashEqual) GetArtifacts() []AllHashEqualTreeArtifactsArtifact
- func (v *NodeNodeHashEqual) GetCollector() string
- func (v *NodeNodeHashEqual) GetId() string
- func (v *NodeNodeHashEqual) GetJustification() string
- func (v *NodeNodeHashEqual) GetOrigin() string
- func (v *NodeNodeHashEqual) GetTypename() *string
- func (v *NodeNodeHashEqual) MarshalJSON() ([]byte, error)
- func (v *NodeNodeHashEqual) UnmarshalJSON(b []byte) error
- type NodeNodeIsDependency
- func (v *NodeNodeIsDependency) GetCollector() string
- func (v *NodeNodeIsDependency) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
- func (v *NodeNodeIsDependency) GetDependencyType() DependencyType
- func (v *NodeNodeIsDependency) GetId() string
- func (v *NodeNodeIsDependency) GetJustification() string
- func (v *NodeNodeIsDependency) GetOrigin() string
- func (v *NodeNodeIsDependency) GetPackage() AllIsDependencyTreePackage
- func (v *NodeNodeIsDependency) GetTypename() *string
- func (v *NodeNodeIsDependency) MarshalJSON() ([]byte, error)
- func (v *NodeNodeIsDependency) UnmarshalJSON(b []byte) error
- type NodeNodeIsOccurrence
- func (v *NodeNodeIsOccurrence) GetArtifact() AllIsOccurrencesTreeArtifact
- func (v *NodeNodeIsOccurrence) GetCollector() string
- func (v *NodeNodeIsOccurrence) GetId() string
- func (v *NodeNodeIsOccurrence) GetJustification() string
- func (v *NodeNodeIsOccurrence) GetOrigin() string
- func (v *NodeNodeIsOccurrence) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
- func (v *NodeNodeIsOccurrence) GetTypename() *string
- func (v *NodeNodeIsOccurrence) MarshalJSON() ([]byte, error)
- func (v *NodeNodeIsOccurrence) UnmarshalJSON(b []byte) error
- type NodeNodeLicense
- func (v *NodeNodeLicense) GetId() string
- func (v *NodeNodeLicense) GetInline() *string
- func (v *NodeNodeLicense) GetListVersion() *string
- func (v *NodeNodeLicense) GetName() string
- func (v *NodeNodeLicense) GetTypename() *string
- func (v *NodeNodeLicense) MarshalJSON() ([]byte, error)
- func (v *NodeNodeLicense) UnmarshalJSON(b []byte) error
- type NodeNodePackage
- func (v *NodeNodePackage) GetId() string
- func (v *NodeNodePackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *NodeNodePackage) GetType() string
- func (v *NodeNodePackage) GetTypename() *string
- func (v *NodeNodePackage) MarshalJSON() ([]byte, error)
- func (v *NodeNodePackage) UnmarshalJSON(b []byte) error
- type NodeNodePkgEqual
- func (v *NodeNodePkgEqual) GetCollector() string
- func (v *NodeNodePkgEqual) GetId() string
- func (v *NodeNodePkgEqual) GetJustification() string
- func (v *NodeNodePkgEqual) GetOrigin() string
- func (v *NodeNodePkgEqual) GetPackages() []AllPkgEqualPackagesPackage
- func (v *NodeNodePkgEqual) GetTypename() *string
- func (v *NodeNodePkgEqual) MarshalJSON() ([]byte, error)
- func (v *NodeNodePkgEqual) UnmarshalJSON(b []byte) error
- type NodeNodePointOfContact
- func (v *NodeNodePointOfContact) GetCollector() string
- func (v *NodeNodePointOfContact) GetEmail() string
- func (v *NodeNodePointOfContact) GetId() string
- func (v *NodeNodePointOfContact) GetInfo() string
- func (v *NodeNodePointOfContact) GetJustification() string
- func (v *NodeNodePointOfContact) GetOrigin() string
- func (v *NodeNodePointOfContact) GetSince() time.Time
- func (v *NodeNodePointOfContact) GetSubject() AllPointOfContactSubjectPackageSourceOrArtifact
- func (v *NodeNodePointOfContact) GetTypename() *string
- func (v *NodeNodePointOfContact) MarshalJSON() ([]byte, error)
- func (v *NodeNodePointOfContact) UnmarshalJSON(b []byte) error
- type NodeNodeSource
- func (v *NodeNodeSource) GetId() string
- func (v *NodeNodeSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *NodeNodeSource) GetType() string
- func (v *NodeNodeSource) GetTypename() *string
- func (v *NodeNodeSource) MarshalJSON() ([]byte, error)
- func (v *NodeNodeSource) UnmarshalJSON(b []byte) error
- type NodeNodeVulnEqual
- func (v *NodeNodeVulnEqual) GetCollector() string
- func (v *NodeNodeVulnEqual) GetId() string
- func (v *NodeNodeVulnEqual) GetJustification() string
- func (v *NodeNodeVulnEqual) GetOrigin() string
- func (v *NodeNodeVulnEqual) GetTypename() *string
- func (v *NodeNodeVulnEqual) GetVulnerabilities() []AllVulnEqualVulnerabilitiesVulnerability
- func (v *NodeNodeVulnEqual) MarshalJSON() ([]byte, error)
- func (v *NodeNodeVulnEqual) UnmarshalJSON(b []byte) error
- type NodeNodeVulnerability
- func (v *NodeNodeVulnerability) GetId() string
- func (v *NodeNodeVulnerability) GetType() string
- func (v *NodeNodeVulnerability) GetTypename() *string
- func (v *NodeNodeVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
- func (v *NodeNodeVulnerability) MarshalJSON() ([]byte, error)
- func (v *NodeNodeVulnerability) UnmarshalJSON(b []byte) error
- type NodeNodeVulnerabilityMetadata
- func (v *NodeNodeVulnerabilityMetadata) GetCollector() string
- func (v *NodeNodeVulnerabilityMetadata) GetId() string
- func (v *NodeNodeVulnerabilityMetadata) GetOrigin() string
- func (v *NodeNodeVulnerabilityMetadata) GetScoreType() VulnerabilityScoreType
- func (v *NodeNodeVulnerabilityMetadata) GetScoreValue() float64
- func (v *NodeNodeVulnerabilityMetadata) GetTimestamp() time.Time
- func (v *NodeNodeVulnerabilityMetadata) GetTypename() *string
- func (v *NodeNodeVulnerabilityMetadata) GetVulnerability() AllVulnMetadataTreeVulnerability
- func (v *NodeNodeVulnerabilityMetadata) MarshalJSON() ([]byte, error)
- func (v *NodeNodeVulnerabilityMetadata) UnmarshalJSON(b []byte) error
- type NodeResponse
- type NodesNodesArtifact
- func (v *NodesNodesArtifact) GetAlgorithm() string
- func (v *NodesNodesArtifact) GetDigest() string
- func (v *NodesNodesArtifact) GetId() string
- func (v *NodesNodesArtifact) GetTypename() *string
- func (v *NodesNodesArtifact) MarshalJSON() ([]byte, error)
- func (v *NodesNodesArtifact) UnmarshalJSON(b []byte) error
- type NodesNodesBuilder
- type NodesNodesCertifyBad
- func (v *NodesNodesCertifyBad) GetCollector() string
- func (v *NodesNodesCertifyBad) GetId() string
- func (v *NodesNodesCertifyBad) GetJustification() string
- func (v *NodesNodesCertifyBad) GetKnownSince() time.Time
- func (v *NodesNodesCertifyBad) GetOrigin() string
- func (v *NodesNodesCertifyBad) GetSubject() AllCertifyBadSubjectPackageSourceOrArtifact
- func (v *NodesNodesCertifyBad) GetTypename() *string
- func (v *NodesNodesCertifyBad) MarshalJSON() ([]byte, error)
- func (v *NodesNodesCertifyBad) UnmarshalJSON(b []byte) error
- type NodesNodesCertifyGood
- func (v *NodesNodesCertifyGood) GetCollector() string
- func (v *NodesNodesCertifyGood) GetId() string
- func (v *NodesNodesCertifyGood) GetJustification() string
- func (v *NodesNodesCertifyGood) GetKnownSince() time.Time
- func (v *NodesNodesCertifyGood) GetOrigin() string
- func (v *NodesNodesCertifyGood) GetSubject() AllCertifyGoodSubjectPackageSourceOrArtifact
- func (v *NodesNodesCertifyGood) GetTypename() *string
- func (v *NodesNodesCertifyGood) MarshalJSON() ([]byte, error)
- func (v *NodesNodesCertifyGood) UnmarshalJSON(b []byte) error
- type NodesNodesCertifyLegal
- func (v *NodesNodesCertifyLegal) GetAttribution() string
- func (v *NodesNodesCertifyLegal) GetCollector() string
- func (v *NodesNodesCertifyLegal) GetDeclaredLicense() string
- func (v *NodesNodesCertifyLegal) GetDeclaredLicenses() []AllCertifyLegalTreeDeclaredLicensesLicense
- func (v *NodesNodesCertifyLegal) GetDiscoveredLicense() string
- func (v *NodesNodesCertifyLegal) GetDiscoveredLicenses() []AllCertifyLegalTreeDiscoveredLicensesLicense
- func (v *NodesNodesCertifyLegal) GetId() string
- func (v *NodesNodesCertifyLegal) GetJustification() string
- func (v *NodesNodesCertifyLegal) GetOrigin() string
- func (v *NodesNodesCertifyLegal) GetSubject() AllCertifyLegalTreeSubjectPackageOrSource
- func (v *NodesNodesCertifyLegal) GetTimeScanned() time.Time
- func (v *NodesNodesCertifyLegal) GetTypename() *string
- func (v *NodesNodesCertifyLegal) MarshalJSON() ([]byte, error)
- func (v *NodesNodesCertifyLegal) UnmarshalJSON(b []byte) error
- type NodesNodesCertifyScorecard
- func (v *NodesNodesCertifyScorecard) GetId() string
- func (v *NodesNodesCertifyScorecard) GetScorecard() AllCertifyScorecardScorecard
- func (v *NodesNodesCertifyScorecard) GetSource() AllCertifyScorecardSource
- func (v *NodesNodesCertifyScorecard) GetTypename() *string
- func (v *NodesNodesCertifyScorecard) MarshalJSON() ([]byte, error)
- func (v *NodesNodesCertifyScorecard) UnmarshalJSON(b []byte) error
- type NodesNodesCertifyVEXStatement
- func (v *NodesNodesCertifyVEXStatement) GetCollector() string
- func (v *NodesNodesCertifyVEXStatement) GetId() string
- func (v *NodesNodesCertifyVEXStatement) GetKnownSince() time.Time
- func (v *NodesNodesCertifyVEXStatement) GetOrigin() string
- func (v *NodesNodesCertifyVEXStatement) GetStatement() string
- func (v *NodesNodesCertifyVEXStatement) GetStatus() VexStatus
- func (v *NodesNodesCertifyVEXStatement) GetStatusNotes() string
- func (v *NodesNodesCertifyVEXStatement) GetSubject() AllCertifyVEXStatementSubjectPackageOrArtifact
- func (v *NodesNodesCertifyVEXStatement) GetTypename() *string
- func (v *NodesNodesCertifyVEXStatement) GetVexJustification() VexJustification
- func (v *NodesNodesCertifyVEXStatement) GetVulnerability() AllCertifyVEXStatementVulnerability
- func (v *NodesNodesCertifyVEXStatement) MarshalJSON() ([]byte, error)
- func (v *NodesNodesCertifyVEXStatement) UnmarshalJSON(b []byte) error
- type NodesNodesCertifyVuln
- func (v *NodesNodesCertifyVuln) GetId() string
- func (v *NodesNodesCertifyVuln) GetMetadata() AllCertifyVulnMetadataScanMetadata
- func (v *NodesNodesCertifyVuln) GetPackage() AllCertifyVulnPackage
- func (v *NodesNodesCertifyVuln) GetTypename() *string
- func (v *NodesNodesCertifyVuln) GetVulnerability() AllCertifyVulnVulnerability
- func (v *NodesNodesCertifyVuln) MarshalJSON() ([]byte, error)
- func (v *NodesNodesCertifyVuln) UnmarshalJSON(b []byte) error
- type NodesNodesHasMetadata
- func (v *NodesNodesHasMetadata) GetCollector() string
- func (v *NodesNodesHasMetadata) GetId() string
- func (v *NodesNodesHasMetadata) GetJustification() string
- func (v *NodesNodesHasMetadata) GetKey() string
- func (v *NodesNodesHasMetadata) GetOrigin() string
- func (v *NodesNodesHasMetadata) GetSubject() AllHasMetadataSubjectPackageSourceOrArtifact
- func (v *NodesNodesHasMetadata) GetTimestamp() time.Time
- func (v *NodesNodesHasMetadata) GetTypename() *string
- func (v *NodesNodesHasMetadata) GetValue() string
- func (v *NodesNodesHasMetadata) MarshalJSON() ([]byte, error)
- func (v *NodesNodesHasMetadata) UnmarshalJSON(b []byte) error
- type NodesNodesHasSBOM
- func (v *NodesNodesHasSBOM) GetAlgorithm() string
- func (v *NodesNodesHasSBOM) GetCollector() string
- func (v *NodesNodesHasSBOM) GetDigest() string
- func (v *NodesNodesHasSBOM) GetDocumentRef() string
- func (v *NodesNodesHasSBOM) GetDownloadLocation() string
- func (v *NodesNodesHasSBOM) GetId() string
- func (v *NodesNodesHasSBOM) GetIncludedDependencies() []AllHasSBOMTreeIncludedDependenciesIsDependency
- func (v *NodesNodesHasSBOM) GetIncludedOccurrences() []AllHasSBOMTreeIncludedOccurrencesIsOccurrence
- func (v *NodesNodesHasSBOM) GetIncludedSoftware() []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
- func (v *NodesNodesHasSBOM) GetKnownSince() time.Time
- func (v *NodesNodesHasSBOM) GetOrigin() string
- func (v *NodesNodesHasSBOM) GetSubject() AllHasSBOMTreeSubjectPackageOrArtifact
- func (v *NodesNodesHasSBOM) GetTypename() *string
- func (v *NodesNodesHasSBOM) GetUri() string
- func (v *NodesNodesHasSBOM) MarshalJSON() ([]byte, error)
- func (v *NodesNodesHasSBOM) UnmarshalJSON(b []byte) error
- type NodesNodesHasSLSA
- func (v *NodesNodesHasSLSA) GetId() string
- func (v *NodesNodesHasSLSA) GetSlsa() AllSLSATreeSlsaSLSA
- func (v *NodesNodesHasSLSA) GetSubject() AllSLSATreeSubjectArtifact
- func (v *NodesNodesHasSLSA) GetTypename() *string
- func (v *NodesNodesHasSLSA) MarshalJSON() ([]byte, error)
- func (v *NodesNodesHasSLSA) UnmarshalJSON(b []byte) error
- type NodesNodesHasSourceAt
- func (v *NodesNodesHasSourceAt) GetCollector() string
- func (v *NodesNodesHasSourceAt) GetId() string
- func (v *NodesNodesHasSourceAt) GetJustification() string
- func (v *NodesNodesHasSourceAt) GetKnownSince() time.Time
- func (v *NodesNodesHasSourceAt) GetOrigin() string
- func (v *NodesNodesHasSourceAt) GetPackage() AllHasSourceAtPackage
- func (v *NodesNodesHasSourceAt) GetSource() AllHasSourceAtSource
- func (v *NodesNodesHasSourceAt) GetTypename() *string
- func (v *NodesNodesHasSourceAt) MarshalJSON() ([]byte, error)
- func (v *NodesNodesHasSourceAt) UnmarshalJSON(b []byte) error
- type NodesNodesHashEqual
- func (v *NodesNodesHashEqual) GetArtifacts() []AllHashEqualTreeArtifactsArtifact
- func (v *NodesNodesHashEqual) GetCollector() string
- func (v *NodesNodesHashEqual) GetId() string
- func (v *NodesNodesHashEqual) GetJustification() string
- func (v *NodesNodesHashEqual) GetOrigin() string
- func (v *NodesNodesHashEqual) GetTypename() *string
- func (v *NodesNodesHashEqual) MarshalJSON() ([]byte, error)
- func (v *NodesNodesHashEqual) UnmarshalJSON(b []byte) error
- type NodesNodesIsDependency
- func (v *NodesNodesIsDependency) GetCollector() string
- func (v *NodesNodesIsDependency) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
- func (v *NodesNodesIsDependency) GetDependencyType() DependencyType
- func (v *NodesNodesIsDependency) GetId() string
- func (v *NodesNodesIsDependency) GetJustification() string
- func (v *NodesNodesIsDependency) GetOrigin() string
- func (v *NodesNodesIsDependency) GetPackage() AllIsDependencyTreePackage
- func (v *NodesNodesIsDependency) GetTypename() *string
- func (v *NodesNodesIsDependency) MarshalJSON() ([]byte, error)
- func (v *NodesNodesIsDependency) UnmarshalJSON(b []byte) error
- type NodesNodesIsOccurrence
- func (v *NodesNodesIsOccurrence) GetArtifact() AllIsOccurrencesTreeArtifact
- func (v *NodesNodesIsOccurrence) GetCollector() string
- func (v *NodesNodesIsOccurrence) GetId() string
- func (v *NodesNodesIsOccurrence) GetJustification() string
- func (v *NodesNodesIsOccurrence) GetOrigin() string
- func (v *NodesNodesIsOccurrence) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
- func (v *NodesNodesIsOccurrence) GetTypename() *string
- func (v *NodesNodesIsOccurrence) MarshalJSON() ([]byte, error)
- func (v *NodesNodesIsOccurrence) UnmarshalJSON(b []byte) error
- type NodesNodesLicense
- func (v *NodesNodesLicense) GetId() string
- func (v *NodesNodesLicense) GetInline() *string
- func (v *NodesNodesLicense) GetListVersion() *string
- func (v *NodesNodesLicense) GetName() string
- func (v *NodesNodesLicense) GetTypename() *string
- func (v *NodesNodesLicense) MarshalJSON() ([]byte, error)
- func (v *NodesNodesLicense) UnmarshalJSON(b []byte) error
- type NodesNodesNode
- type NodesNodesPackage
- func (v *NodesNodesPackage) GetId() string
- func (v *NodesNodesPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *NodesNodesPackage) GetType() string
- func (v *NodesNodesPackage) GetTypename() *string
- func (v *NodesNodesPackage) MarshalJSON() ([]byte, error)
- func (v *NodesNodesPackage) UnmarshalJSON(b []byte) error
- type NodesNodesPkgEqual
- func (v *NodesNodesPkgEqual) GetCollector() string
- func (v *NodesNodesPkgEqual) GetId() string
- func (v *NodesNodesPkgEqual) GetJustification() string
- func (v *NodesNodesPkgEqual) GetOrigin() string
- func (v *NodesNodesPkgEqual) GetPackages() []AllPkgEqualPackagesPackage
- func (v *NodesNodesPkgEqual) GetTypename() *string
- func (v *NodesNodesPkgEqual) MarshalJSON() ([]byte, error)
- func (v *NodesNodesPkgEqual) UnmarshalJSON(b []byte) error
- type NodesNodesPointOfContact
- func (v *NodesNodesPointOfContact) GetCollector() string
- func (v *NodesNodesPointOfContact) GetEmail() string
- func (v *NodesNodesPointOfContact) GetId() string
- func (v *NodesNodesPointOfContact) GetInfo() string
- func (v *NodesNodesPointOfContact) GetJustification() string
- func (v *NodesNodesPointOfContact) GetOrigin() string
- func (v *NodesNodesPointOfContact) GetSince() time.Time
- func (v *NodesNodesPointOfContact) GetSubject() AllPointOfContactSubjectPackageSourceOrArtifact
- func (v *NodesNodesPointOfContact) GetTypename() *string
- func (v *NodesNodesPointOfContact) MarshalJSON() ([]byte, error)
- func (v *NodesNodesPointOfContact) UnmarshalJSON(b []byte) error
- type NodesNodesSource
- func (v *NodesNodesSource) GetId() string
- func (v *NodesNodesSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *NodesNodesSource) GetType() string
- func (v *NodesNodesSource) GetTypename() *string
- func (v *NodesNodesSource) MarshalJSON() ([]byte, error)
- func (v *NodesNodesSource) UnmarshalJSON(b []byte) error
- type NodesNodesVulnEqual
- func (v *NodesNodesVulnEqual) GetCollector() string
- func (v *NodesNodesVulnEqual) GetId() string
- func (v *NodesNodesVulnEqual) GetJustification() string
- func (v *NodesNodesVulnEqual) GetOrigin() string
- func (v *NodesNodesVulnEqual) GetTypename() *string
- func (v *NodesNodesVulnEqual) GetVulnerabilities() []AllVulnEqualVulnerabilitiesVulnerability
- func (v *NodesNodesVulnEqual) MarshalJSON() ([]byte, error)
- func (v *NodesNodesVulnEqual) UnmarshalJSON(b []byte) error
- type NodesNodesVulnerability
- func (v *NodesNodesVulnerability) GetId() string
- func (v *NodesNodesVulnerability) GetType() string
- func (v *NodesNodesVulnerability) GetTypename() *string
- func (v *NodesNodesVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
- func (v *NodesNodesVulnerability) MarshalJSON() ([]byte, error)
- func (v *NodesNodesVulnerability) UnmarshalJSON(b []byte) error
- type NodesNodesVulnerabilityMetadata
- func (v *NodesNodesVulnerabilityMetadata) GetCollector() string
- func (v *NodesNodesVulnerabilityMetadata) GetId() string
- func (v *NodesNodesVulnerabilityMetadata) GetOrigin() string
- func (v *NodesNodesVulnerabilityMetadata) GetScoreType() VulnerabilityScoreType
- func (v *NodesNodesVulnerabilityMetadata) GetScoreValue() float64
- func (v *NodesNodesVulnerabilityMetadata) GetTimestamp() time.Time
- func (v *NodesNodesVulnerabilityMetadata) GetTypename() *string
- func (v *NodesNodesVulnerabilityMetadata) GetVulnerability() AllVulnMetadataTreeVulnerability
- func (v *NodesNodesVulnerabilityMetadata) MarshalJSON() ([]byte, error)
- func (v *NodesNodesVulnerabilityMetadata) UnmarshalJSON(b []byte) error
- type NodesResponse
- type OccurrenceListIsOccurrenceListIsOccurrenceConnection
- func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnection) GetEdges() []OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdge
- func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnection) GetPageInfo() OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo
- func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnection) GetTotalCount() int
- type OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdge
- type OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence
- func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetArtifact() AllIsOccurrencesTreeArtifact
- func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetCollector() string
- func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetId() string
- func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetJustification() string
- func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetOrigin() string
- func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
- func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) MarshalJSON() ([]byte, error)
- func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) UnmarshalJSON(b []byte) error
- type OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo
- type OccurrenceListResponse
- type OccurrencesIsOccurrence
- func (v *OccurrencesIsOccurrence) GetArtifact() AllIsOccurrencesTreeArtifact
- func (v *OccurrencesIsOccurrence) GetCollector() string
- func (v *OccurrencesIsOccurrence) GetId() string
- func (v *OccurrencesIsOccurrence) GetJustification() string
- func (v *OccurrencesIsOccurrence) GetOrigin() string
- func (v *OccurrencesIsOccurrence) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
- func (v *OccurrencesIsOccurrence) MarshalJSON() ([]byte, error)
- func (v *OccurrencesIsOccurrence) UnmarshalJSON(b []byte) error
- type OccurrencesResponse
- type PackageNamesPackagesPackage
- type PackageNamesPackagesPackageNamespacesPackageNamespace
- func (v *PackageNamesPackagesPackageNamespacesPackageNamespace) GetId() string
- func (v *PackageNamesPackagesPackageNamespacesPackageNamespace) GetNames() []PackageNamesPackagesPackageNamespacesPackageNamespaceNamesPackageName
- func (v *PackageNamesPackagesPackageNamespacesPackageNamespace) GetNamespace() string
- type PackageNamesPackagesPackageNamespacesPackageNamespaceNamesPackageName
- type PackageNamesResponse
- type PackageNamespacesPackagesPackage
- type PackageNamespacesPackagesPackageNamespacesPackageNamespace
- type PackageNamespacesResponse
- type PackageOrArtifactSpec
- type PackageOrSourceSpec
- type PackageQualifierInputSpec
- type PackageQualifierSpec
- type PackageSourceOrArtifactSpec
- type PackageTypesPackagesPackage
- type PackageTypesResponse
- type PackageVersionsPackagesPackage
- type PackageVersionsPackagesPackageNamespacesPackageNamespace
- func (v *PackageVersionsPackagesPackageNamespacesPackageNamespace) GetId() string
- func (v *PackageVersionsPackagesPackageNamespacesPackageNamespace) GetNames() []PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName
- func (v *PackageVersionsPackagesPackageNamespacesPackageNamespace) GetNamespace() string
- type PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName
- type PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion
- func (v *PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetId() string
- func (v *PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetQualifiers() ...
- func (v *PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetSubpath() string
- func (v *PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetVersion() string
- type PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier
- type PackageVersionsResponse
- type PackagesListPackagesListPackageConnection
- func (v *PackagesListPackagesListPackageConnection) GetEdges() []PackagesListPackagesListPackageConnectionEdgesPackageEdge
- func (v *PackagesListPackagesListPackageConnection) GetPageInfo() PackagesListPackagesListPackageConnectionPageInfo
- func (v *PackagesListPackagesListPackageConnection) GetTotalCount() int
- type PackagesListPackagesListPackageConnectionEdgesPackageEdge
- type PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage
- func (v *PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) GetId() string
- func (v *PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) GetType() string
- func (v *PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) MarshalJSON() ([]byte, error)
- func (v *PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) UnmarshalJSON(b []byte) error
- type PackagesListPackagesListPackageConnectionPageInfo
- type PackagesListResponse
- type PackagesPackagesPackage
- func (v *PackagesPackagesPackage) GetId() string
- func (v *PackagesPackagesPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *PackagesPackagesPackage) GetType() string
- func (v *PackagesPackagesPackage) MarshalJSON() ([]byte, error)
- func (v *PackagesPackagesPackage) UnmarshalJSON(b []byte) error
- type PackagesResponse
- type PathPathArtifact
- type PathPathBuilder
- type PathPathCertifyBad
- func (v *PathPathCertifyBad) GetCollector() string
- func (v *PathPathCertifyBad) GetId() string
- func (v *PathPathCertifyBad) GetJustification() string
- func (v *PathPathCertifyBad) GetKnownSince() time.Time
- func (v *PathPathCertifyBad) GetOrigin() string
- func (v *PathPathCertifyBad) GetSubject() AllCertifyBadSubjectPackageSourceOrArtifact
- func (v *PathPathCertifyBad) GetTypename() *string
- func (v *PathPathCertifyBad) MarshalJSON() ([]byte, error)
- func (v *PathPathCertifyBad) UnmarshalJSON(b []byte) error
- type PathPathCertifyGood
- func (v *PathPathCertifyGood) GetCollector() string
- func (v *PathPathCertifyGood) GetId() string
- func (v *PathPathCertifyGood) GetJustification() string
- func (v *PathPathCertifyGood) GetKnownSince() time.Time
- func (v *PathPathCertifyGood) GetOrigin() string
- func (v *PathPathCertifyGood) GetSubject() AllCertifyGoodSubjectPackageSourceOrArtifact
- func (v *PathPathCertifyGood) GetTypename() *string
- func (v *PathPathCertifyGood) MarshalJSON() ([]byte, error)
- func (v *PathPathCertifyGood) UnmarshalJSON(b []byte) error
- type PathPathCertifyLegal
- func (v *PathPathCertifyLegal) GetAttribution() string
- func (v *PathPathCertifyLegal) GetCollector() string
- func (v *PathPathCertifyLegal) GetDeclaredLicense() string
- func (v *PathPathCertifyLegal) GetDeclaredLicenses() []AllCertifyLegalTreeDeclaredLicensesLicense
- func (v *PathPathCertifyLegal) GetDiscoveredLicense() string
- func (v *PathPathCertifyLegal) GetDiscoveredLicenses() []AllCertifyLegalTreeDiscoveredLicensesLicense
- func (v *PathPathCertifyLegal) GetId() string
- func (v *PathPathCertifyLegal) GetJustification() string
- func (v *PathPathCertifyLegal) GetOrigin() string
- func (v *PathPathCertifyLegal) GetSubject() AllCertifyLegalTreeSubjectPackageOrSource
- func (v *PathPathCertifyLegal) GetTimeScanned() time.Time
- func (v *PathPathCertifyLegal) GetTypename() *string
- func (v *PathPathCertifyLegal) MarshalJSON() ([]byte, error)
- func (v *PathPathCertifyLegal) UnmarshalJSON(b []byte) error
- type PathPathCertifyScorecard
- func (v *PathPathCertifyScorecard) GetId() string
- func (v *PathPathCertifyScorecard) GetScorecard() AllCertifyScorecardScorecard
- func (v *PathPathCertifyScorecard) GetSource() AllCertifyScorecardSource
- func (v *PathPathCertifyScorecard) GetTypename() *string
- func (v *PathPathCertifyScorecard) MarshalJSON() ([]byte, error)
- func (v *PathPathCertifyScorecard) UnmarshalJSON(b []byte) error
- type PathPathCertifyVEXStatement
- func (v *PathPathCertifyVEXStatement) GetCollector() string
- func (v *PathPathCertifyVEXStatement) GetId() string
- func (v *PathPathCertifyVEXStatement) GetKnownSince() time.Time
- func (v *PathPathCertifyVEXStatement) GetOrigin() string
- func (v *PathPathCertifyVEXStatement) GetStatement() string
- func (v *PathPathCertifyVEXStatement) GetStatus() VexStatus
- func (v *PathPathCertifyVEXStatement) GetStatusNotes() string
- func (v *PathPathCertifyVEXStatement) GetSubject() AllCertifyVEXStatementSubjectPackageOrArtifact
- func (v *PathPathCertifyVEXStatement) GetTypename() *string
- func (v *PathPathCertifyVEXStatement) GetVexJustification() VexJustification
- func (v *PathPathCertifyVEXStatement) GetVulnerability() AllCertifyVEXStatementVulnerability
- func (v *PathPathCertifyVEXStatement) MarshalJSON() ([]byte, error)
- func (v *PathPathCertifyVEXStatement) UnmarshalJSON(b []byte) error
- type PathPathCertifyVuln
- func (v *PathPathCertifyVuln) GetId() string
- func (v *PathPathCertifyVuln) GetMetadata() AllCertifyVulnMetadataScanMetadata
- func (v *PathPathCertifyVuln) GetPackage() AllCertifyVulnPackage
- func (v *PathPathCertifyVuln) GetTypename() *string
- func (v *PathPathCertifyVuln) GetVulnerability() AllCertifyVulnVulnerability
- func (v *PathPathCertifyVuln) MarshalJSON() ([]byte, error)
- func (v *PathPathCertifyVuln) UnmarshalJSON(b []byte) error
- type PathPathHasMetadata
- func (v *PathPathHasMetadata) GetCollector() string
- func (v *PathPathHasMetadata) GetId() string
- func (v *PathPathHasMetadata) GetJustification() string
- func (v *PathPathHasMetadata) GetKey() string
- func (v *PathPathHasMetadata) GetOrigin() string
- func (v *PathPathHasMetadata) GetSubject() AllHasMetadataSubjectPackageSourceOrArtifact
- func (v *PathPathHasMetadata) GetTimestamp() time.Time
- func (v *PathPathHasMetadata) GetTypename() *string
- func (v *PathPathHasMetadata) GetValue() string
- func (v *PathPathHasMetadata) MarshalJSON() ([]byte, error)
- func (v *PathPathHasMetadata) UnmarshalJSON(b []byte) error
- type PathPathHasSBOM
- func (v *PathPathHasSBOM) GetAlgorithm() string
- func (v *PathPathHasSBOM) GetCollector() string
- func (v *PathPathHasSBOM) GetDigest() string
- func (v *PathPathHasSBOM) GetDocumentRef() string
- func (v *PathPathHasSBOM) GetDownloadLocation() string
- func (v *PathPathHasSBOM) GetId() string
- func (v *PathPathHasSBOM) GetIncludedDependencies() []AllHasSBOMTreeIncludedDependenciesIsDependency
- func (v *PathPathHasSBOM) GetIncludedOccurrences() []AllHasSBOMTreeIncludedOccurrencesIsOccurrence
- func (v *PathPathHasSBOM) GetIncludedSoftware() []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
- func (v *PathPathHasSBOM) GetKnownSince() time.Time
- func (v *PathPathHasSBOM) GetOrigin() string
- func (v *PathPathHasSBOM) GetSubject() AllHasSBOMTreeSubjectPackageOrArtifact
- func (v *PathPathHasSBOM) GetTypename() *string
- func (v *PathPathHasSBOM) GetUri() string
- func (v *PathPathHasSBOM) MarshalJSON() ([]byte, error)
- func (v *PathPathHasSBOM) UnmarshalJSON(b []byte) error
- type PathPathHasSLSA
- func (v *PathPathHasSLSA) GetId() string
- func (v *PathPathHasSLSA) GetSlsa() AllSLSATreeSlsaSLSA
- func (v *PathPathHasSLSA) GetSubject() AllSLSATreeSubjectArtifact
- func (v *PathPathHasSLSA) GetTypename() *string
- func (v *PathPathHasSLSA) MarshalJSON() ([]byte, error)
- func (v *PathPathHasSLSA) UnmarshalJSON(b []byte) error
- type PathPathHasSourceAt
- func (v *PathPathHasSourceAt) GetCollector() string
- func (v *PathPathHasSourceAt) GetId() string
- func (v *PathPathHasSourceAt) GetJustification() string
- func (v *PathPathHasSourceAt) GetKnownSince() time.Time
- func (v *PathPathHasSourceAt) GetOrigin() string
- func (v *PathPathHasSourceAt) GetPackage() AllHasSourceAtPackage
- func (v *PathPathHasSourceAt) GetSource() AllHasSourceAtSource
- func (v *PathPathHasSourceAt) GetTypename() *string
- func (v *PathPathHasSourceAt) MarshalJSON() ([]byte, error)
- func (v *PathPathHasSourceAt) UnmarshalJSON(b []byte) error
- type PathPathHashEqual
- func (v *PathPathHashEqual) GetArtifacts() []AllHashEqualTreeArtifactsArtifact
- func (v *PathPathHashEqual) GetCollector() string
- func (v *PathPathHashEqual) GetId() string
- func (v *PathPathHashEqual) GetJustification() string
- func (v *PathPathHashEqual) GetOrigin() string
- func (v *PathPathHashEqual) GetTypename() *string
- func (v *PathPathHashEqual) MarshalJSON() ([]byte, error)
- func (v *PathPathHashEqual) UnmarshalJSON(b []byte) error
- type PathPathIsDependency
- func (v *PathPathIsDependency) GetCollector() string
- func (v *PathPathIsDependency) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
- func (v *PathPathIsDependency) GetDependencyType() DependencyType
- func (v *PathPathIsDependency) GetId() string
- func (v *PathPathIsDependency) GetJustification() string
- func (v *PathPathIsDependency) GetOrigin() string
- func (v *PathPathIsDependency) GetPackage() AllIsDependencyTreePackage
- func (v *PathPathIsDependency) GetTypename() *string
- func (v *PathPathIsDependency) MarshalJSON() ([]byte, error)
- func (v *PathPathIsDependency) UnmarshalJSON(b []byte) error
- type PathPathIsOccurrence
- func (v *PathPathIsOccurrence) GetArtifact() AllIsOccurrencesTreeArtifact
- func (v *PathPathIsOccurrence) GetCollector() string
- func (v *PathPathIsOccurrence) GetId() string
- func (v *PathPathIsOccurrence) GetJustification() string
- func (v *PathPathIsOccurrence) GetOrigin() string
- func (v *PathPathIsOccurrence) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
- func (v *PathPathIsOccurrence) GetTypename() *string
- func (v *PathPathIsOccurrence) MarshalJSON() ([]byte, error)
- func (v *PathPathIsOccurrence) UnmarshalJSON(b []byte) error
- type PathPathLicense
- func (v *PathPathLicense) GetId() string
- func (v *PathPathLicense) GetInline() *string
- func (v *PathPathLicense) GetListVersion() *string
- func (v *PathPathLicense) GetName() string
- func (v *PathPathLicense) GetTypename() *string
- func (v *PathPathLicense) MarshalJSON() ([]byte, error)
- func (v *PathPathLicense) UnmarshalJSON(b []byte) error
- type PathPathNode
- type PathPathPackage
- func (v *PathPathPackage) GetId() string
- func (v *PathPathPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *PathPathPackage) GetType() string
- func (v *PathPathPackage) GetTypename() *string
- func (v *PathPathPackage) MarshalJSON() ([]byte, error)
- func (v *PathPathPackage) UnmarshalJSON(b []byte) error
- type PathPathPkgEqual
- func (v *PathPathPkgEqual) GetCollector() string
- func (v *PathPathPkgEqual) GetId() string
- func (v *PathPathPkgEqual) GetJustification() string
- func (v *PathPathPkgEqual) GetOrigin() string
- func (v *PathPathPkgEqual) GetPackages() []AllPkgEqualPackagesPackage
- func (v *PathPathPkgEqual) GetTypename() *string
- func (v *PathPathPkgEqual) MarshalJSON() ([]byte, error)
- func (v *PathPathPkgEqual) UnmarshalJSON(b []byte) error
- type PathPathPointOfContact
- func (v *PathPathPointOfContact) GetCollector() string
- func (v *PathPathPointOfContact) GetEmail() string
- func (v *PathPathPointOfContact) GetId() string
- func (v *PathPathPointOfContact) GetInfo() string
- func (v *PathPathPointOfContact) GetJustification() string
- func (v *PathPathPointOfContact) GetOrigin() string
- func (v *PathPathPointOfContact) GetSince() time.Time
- func (v *PathPathPointOfContact) GetSubject() AllPointOfContactSubjectPackageSourceOrArtifact
- func (v *PathPathPointOfContact) GetTypename() *string
- func (v *PathPathPointOfContact) MarshalJSON() ([]byte, error)
- func (v *PathPathPointOfContact) UnmarshalJSON(b []byte) error
- type PathPathSource
- func (v *PathPathSource) GetId() string
- func (v *PathPathSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *PathPathSource) GetType() string
- func (v *PathPathSource) GetTypename() *string
- func (v *PathPathSource) MarshalJSON() ([]byte, error)
- func (v *PathPathSource) UnmarshalJSON(b []byte) error
- type PathPathVulnEqual
- func (v *PathPathVulnEqual) GetCollector() string
- func (v *PathPathVulnEqual) GetId() string
- func (v *PathPathVulnEqual) GetJustification() string
- func (v *PathPathVulnEqual) GetOrigin() string
- func (v *PathPathVulnEqual) GetTypename() *string
- func (v *PathPathVulnEqual) GetVulnerabilities() []AllVulnEqualVulnerabilitiesVulnerability
- func (v *PathPathVulnEqual) MarshalJSON() ([]byte, error)
- func (v *PathPathVulnEqual) UnmarshalJSON(b []byte) error
- type PathPathVulnerability
- func (v *PathPathVulnerability) GetId() string
- func (v *PathPathVulnerability) GetType() string
- func (v *PathPathVulnerability) GetTypename() *string
- func (v *PathPathVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
- func (v *PathPathVulnerability) MarshalJSON() ([]byte, error)
- func (v *PathPathVulnerability) UnmarshalJSON(b []byte) error
- type PathPathVulnerabilityMetadata
- func (v *PathPathVulnerabilityMetadata) GetCollector() string
- func (v *PathPathVulnerabilityMetadata) GetId() string
- func (v *PathPathVulnerabilityMetadata) GetOrigin() string
- func (v *PathPathVulnerabilityMetadata) GetScoreType() VulnerabilityScoreType
- func (v *PathPathVulnerabilityMetadata) GetScoreValue() float64
- func (v *PathPathVulnerabilityMetadata) GetTimestamp() time.Time
- func (v *PathPathVulnerabilityMetadata) GetTypename() *string
- func (v *PathPathVulnerabilityMetadata) GetVulnerability() AllVulnMetadataTreeVulnerability
- func (v *PathPathVulnerabilityMetadata) MarshalJSON() ([]byte, error)
- func (v *PathPathVulnerabilityMetadata) UnmarshalJSON(b []byte) error
- type PathResponse
- type PkgEqualInputSpec
- type PkgEqualListPkgEqualListPkgEqualConnection
- func (v *PkgEqualListPkgEqualListPkgEqualConnection) GetEdges() []PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdge
- func (v *PkgEqualListPkgEqualListPkgEqualConnection) GetPageInfo() PkgEqualListPkgEqualListPkgEqualConnectionPageInfo
- func (v *PkgEqualListPkgEqualListPkgEqualConnection) GetTotalCount() int
- type PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdge
- type PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual
- func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) GetCollector() string
- func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) GetId() string
- func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) GetJustification() string
- func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) GetOrigin() string
- func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) GetPackages() []AllPkgEqualPackagesPackage
- func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) MarshalJSON() ([]byte, error)
- func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) UnmarshalJSON(b []byte) error
- type PkgEqualListPkgEqualListPkgEqualConnectionPageInfo
- type PkgEqualListResponse
- type PkgEqualSpec
- type PkgEqualsPkgEqual
- func (v *PkgEqualsPkgEqual) GetCollector() string
- func (v *PkgEqualsPkgEqual) GetId() string
- func (v *PkgEqualsPkgEqual) GetJustification() string
- func (v *PkgEqualsPkgEqual) GetOrigin() string
- func (v *PkgEqualsPkgEqual) GetPackages() []AllPkgEqualPackagesPackage
- func (v *PkgEqualsPkgEqual) MarshalJSON() ([]byte, error)
- func (v *PkgEqualsPkgEqual) UnmarshalJSON(b []byte) error
- type PkgEqualsResponse
- type PkgInputSpec
- type PkgMatchType
- type PkgSpec
- func (v *PkgSpec) GetId() *string
- func (v *PkgSpec) GetMatchOnlyEmptyQualifiers() *bool
- func (v *PkgSpec) GetName() *string
- func (v *PkgSpec) GetNamespace() *string
- func (v *PkgSpec) GetQualifiers() []PackageQualifierSpec
- func (v *PkgSpec) GetSubpath() *string
- func (v *PkgSpec) GetType() *string
- func (v *PkgSpec) GetVersion() *string
- type PointOfContactInputSpec
- func (v *PointOfContactInputSpec) GetCollector() string
- func (v *PointOfContactInputSpec) GetDocumentRef() string
- func (v *PointOfContactInputSpec) GetEmail() string
- func (v *PointOfContactInputSpec) GetInfo() string
- func (v *PointOfContactInputSpec) GetJustification() string
- func (v *PointOfContactInputSpec) GetOrigin() string
- func (v *PointOfContactInputSpec) GetSince() time.Time
- type PointOfContactListPointOfContactListPointOfContactConnection
- func (v *PointOfContactListPointOfContactListPointOfContactConnection) GetEdges() ...
- func (v *PointOfContactListPointOfContactListPointOfContactConnection) GetPageInfo() PointOfContactListPointOfContactListPointOfContactConnectionPageInfo
- func (v *PointOfContactListPointOfContactListPointOfContactConnection) GetTotalCount() int
- type PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdge
- type PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact
- func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetCollector() string
- func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetEmail() string
- func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetId() string
- func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetInfo() string
- func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetJustification() string
- func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetOrigin() string
- func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetSince() time.Time
- func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetSubject() AllPointOfContactSubjectPackageSourceOrArtifact
- func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) MarshalJSON() ([]byte, error)
- func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) UnmarshalJSON(b []byte) error
- type PointOfContactListPointOfContactListPointOfContactConnectionPageInfo
- func (v *PointOfContactListPointOfContactListPointOfContactConnectionPageInfo) GetEndCursor() *string
- func (v *PointOfContactListPointOfContactListPointOfContactConnectionPageInfo) GetHasNextPage() bool
- func (v *PointOfContactListPointOfContactListPointOfContactConnectionPageInfo) GetStartCursor() *string
- type PointOfContactListResponse
- type PointOfContactSpec
- func (v *PointOfContactSpec) GetCollector() *string
- func (v *PointOfContactSpec) GetDocumentRef() *string
- func (v *PointOfContactSpec) GetEmail() *string
- func (v *PointOfContactSpec) GetId() *string
- func (v *PointOfContactSpec) GetInfo() *string
- func (v *PointOfContactSpec) GetJustification() *string
- func (v *PointOfContactSpec) GetOrigin() *string
- func (v *PointOfContactSpec) GetSince() *time.Time
- func (v *PointOfContactSpec) GetSubject() *PackageSourceOrArtifactSpec
- type PointOfContactsPointOfContact
- func (v *PointOfContactsPointOfContact) GetCollector() string
- func (v *PointOfContactsPointOfContact) GetEmail() string
- func (v *PointOfContactsPointOfContact) GetId() string
- func (v *PointOfContactsPointOfContact) GetInfo() string
- func (v *PointOfContactsPointOfContact) GetJustification() string
- func (v *PointOfContactsPointOfContact) GetOrigin() string
- func (v *PointOfContactsPointOfContact) GetSince() time.Time
- func (v *PointOfContactsPointOfContact) GetSubject() AllPointOfContactSubjectPackageSourceOrArtifact
- func (v *PointOfContactsPointOfContact) MarshalJSON() ([]byte, error)
- func (v *PointOfContactsPointOfContact) UnmarshalJSON(b []byte) error
- type PointOfContactsResponse
- type QueryPackagesListForScanQueryPackagesListForScanPackageConnection
- func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnection) GetEdges() ...
- func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnection) GetPageInfo() QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo
- func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnection) GetTotalCount() int
- type QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdge
- type QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage
- func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) GetId() string
- func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
- func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) GetType() string
- func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) MarshalJSON() ([]byte, error)
- func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) UnmarshalJSON(b []byte) error
- type QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo
- func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo) GetEndCursor() *string
- func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo) GetHasNextPage() bool
- func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo) GetStartCursor() *string
- type QueryPackagesListForScanResponse
- type QueryType
- type SLSAInputSpec
- func (v *SLSAInputSpec) GetBuildType() string
- func (v *SLSAInputSpec) GetCollector() string
- func (v *SLSAInputSpec) GetDocumentRef() string
- func (v *SLSAInputSpec) GetFinishedOn() *time.Time
- func (v *SLSAInputSpec) GetOrigin() string
- func (v *SLSAInputSpec) GetSlsaPredicate() []SLSAPredicateInputSpec
- func (v *SLSAInputSpec) GetSlsaVersion() string
- func (v *SLSAInputSpec) GetStartedOn() *time.Time
- type SLSAPredicateInputSpec
- type SLSAPredicateSpec
- type ScanMetadataInput
- func (v *ScanMetadataInput) GetCollector() string
- func (v *ScanMetadataInput) GetDbUri() string
- func (v *ScanMetadataInput) GetDbVersion() string
- func (v *ScanMetadataInput) GetDocumentRef() string
- func (v *ScanMetadataInput) GetOrigin() string
- func (v *ScanMetadataInput) GetScannerUri() string
- func (v *ScanMetadataInput) GetScannerVersion() string
- func (v *ScanMetadataInput) GetTimeScanned() time.Time
- type ScorecardCheckInputSpec
- type ScorecardCheckSpec
- type ScorecardInputSpec
- func (v *ScorecardInputSpec) GetAggregateScore() float64
- func (v *ScorecardInputSpec) GetChecks() []ScorecardCheckInputSpec
- func (v *ScorecardInputSpec) GetCollector() string
- func (v *ScorecardInputSpec) GetDocumentRef() string
- func (v *ScorecardInputSpec) GetOrigin() string
- func (v *ScorecardInputSpec) GetScorecardCommit() string
- func (v *ScorecardInputSpec) GetScorecardVersion() string
- func (v *ScorecardInputSpec) GetTimeScanned() time.Time
- type ScorecardsListResponse
- type ScorecardsListScorecardsListCertifyScorecardConnection
- func (v *ScorecardsListScorecardsListCertifyScorecardConnection) GetEdges() ...
- func (v *ScorecardsListScorecardsListCertifyScorecardConnection) GetPageInfo() ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo
- func (v *ScorecardsListScorecardsListCertifyScorecardConnection) GetTotalCount() int
- type ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdge
- type ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard
- func (v *ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) GetId() string
- func (v *ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) GetScorecard() AllCertifyScorecardScorecard
- func (v *ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) GetSource() AllCertifyScorecardSource
- func (v *ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) MarshalJSON() ([]byte, error)
- func (v *ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) UnmarshalJSON(b []byte) error
- type ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo
- type ScorecardsResponse
- type ScorecardsScorecardsCertifyScorecard
- func (v *ScorecardsScorecardsCertifyScorecard) GetId() string
- func (v *ScorecardsScorecardsCertifyScorecard) GetScorecard() AllCertifyScorecardScorecard
- func (v *ScorecardsScorecardsCertifyScorecard) GetSource() AllCertifyScorecardSource
- func (v *ScorecardsScorecardsCertifyScorecard) MarshalJSON() ([]byte, error)
- func (v *ScorecardsScorecardsCertifyScorecard) UnmarshalJSON(b []byte) error
- type SourceInputSpec
- type SourceSpec
- type SourcesListResponse
- type SourcesListSourcesListSourceConnection
- type SourcesListSourcesListSourceConnectionEdgesSourceEdge
- type SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource
- func (v *SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) GetId() string
- func (v *SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) GetType() string
- func (v *SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) MarshalJSON() ([]byte, error)
- func (v *SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) UnmarshalJSON(b []byte) error
- type SourcesListSourcesListSourceConnectionPageInfo
- type SourcesResponse
- type SourcesSourcesSource
- func (v *SourcesSourcesSource) GetId() string
- func (v *SourcesSourcesSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
- func (v *SourcesSourcesSource) GetType() string
- func (v *SourcesSourcesSource) MarshalJSON() ([]byte, error)
- func (v *SourcesSourcesSource) UnmarshalJSON(b []byte) error
- type VEXStatementListCertifyVEXStatementListVEXConnection
- func (v *VEXStatementListCertifyVEXStatementListVEXConnection) GetEdges() []VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdge
- func (v *VEXStatementListCertifyVEXStatementListVEXConnection) GetPageInfo() VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo
- func (v *VEXStatementListCertifyVEXStatementListVEXConnection) GetTotalCount() int
- type VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdge
- type VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement
- func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetCollector() string
- func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetId() string
- func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetKnownSince() time.Time
- func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetOrigin() string
- func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetStatement() string
- func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetStatus() VexStatus
- func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetStatusNotes() string
- func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetSubject() AllCertifyVEXStatementSubjectPackageOrArtifact
- func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetVexJustification() VexJustification
- func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetVulnerability() AllCertifyVEXStatementVulnerability
- func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) MarshalJSON() ([]byte, error)
- func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) UnmarshalJSON(b []byte) error
- type VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo
- type VEXStatementListResponse
- type VEXStatementsCertifyVEXStatement
- func (v *VEXStatementsCertifyVEXStatement) GetCollector() string
- func (v *VEXStatementsCertifyVEXStatement) GetId() string
- func (v *VEXStatementsCertifyVEXStatement) GetKnownSince() time.Time
- func (v *VEXStatementsCertifyVEXStatement) GetOrigin() string
- func (v *VEXStatementsCertifyVEXStatement) GetStatement() string
- func (v *VEXStatementsCertifyVEXStatement) GetStatus() VexStatus
- func (v *VEXStatementsCertifyVEXStatement) GetStatusNotes() string
- func (v *VEXStatementsCertifyVEXStatement) GetSubject() AllCertifyVEXStatementSubjectPackageOrArtifact
- func (v *VEXStatementsCertifyVEXStatement) GetVexJustification() VexJustification
- func (v *VEXStatementsCertifyVEXStatement) GetVulnerability() AllCertifyVEXStatementVulnerability
- func (v *VEXStatementsCertifyVEXStatement) MarshalJSON() ([]byte, error)
- func (v *VEXStatementsCertifyVEXStatement) UnmarshalJSON(b []byte) error
- type VEXStatementsResponse
- type VexJustification
- type VexStatementInputSpec
- func (v *VexStatementInputSpec) GetCollector() string
- func (v *VexStatementInputSpec) GetDocumentRef() string
- func (v *VexStatementInputSpec) GetKnownSince() time.Time
- func (v *VexStatementInputSpec) GetOrigin() string
- func (v *VexStatementInputSpec) GetStatement() string
- func (v *VexStatementInputSpec) GetStatus() VexStatus
- func (v *VexStatementInputSpec) GetStatusNotes() string
- func (v *VexStatementInputSpec) GetVexJustification() VexJustification
- type VexStatus
- type VulnEqualInputSpec
- type VulnEqualListResponse
- type VulnEqualListVulnEqualListVulnEqualConnection
- func (v *VulnEqualListVulnEqualListVulnEqualConnection) GetEdges() []VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdge
- func (v *VulnEqualListVulnEqualListVulnEqualConnection) GetPageInfo() VulnEqualListVulnEqualListVulnEqualConnectionPageInfo
- func (v *VulnEqualListVulnEqualListVulnEqualConnection) GetTotalCount() int
- type VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdge
- type VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual
- func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetCollector() string
- func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetId() string
- func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetJustification() string
- func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetOrigin() string
- func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetVulnerabilities() []AllVulnEqualVulnerabilitiesVulnerability
- func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) MarshalJSON() ([]byte, error)
- func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) UnmarshalJSON(b []byte) error
- type VulnEqualListVulnEqualListVulnEqualConnectionPageInfo
- type VulnEqualSpec
- type VulnEqualsResponse
- type VulnEqualsVulnEqual
- func (v *VulnEqualsVulnEqual) GetCollector() string
- func (v *VulnEqualsVulnEqual) GetId() string
- func (v *VulnEqualsVulnEqual) GetJustification() string
- func (v *VulnEqualsVulnEqual) GetOrigin() string
- func (v *VulnEqualsVulnEqual) GetVulnerabilities() []AllVulnEqualVulnerabilitiesVulnerability
- func (v *VulnEqualsVulnEqual) MarshalJSON() ([]byte, error)
- func (v *VulnEqualsVulnEqual) UnmarshalJSON(b []byte) error
- type VulnerabilitiesResponse
- type VulnerabilitiesVulnerabilitiesVulnerability
- func (v *VulnerabilitiesVulnerabilitiesVulnerability) GetId() string
- func (v *VulnerabilitiesVulnerabilitiesVulnerability) GetType() string
- func (v *VulnerabilitiesVulnerabilitiesVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
- func (v *VulnerabilitiesVulnerabilitiesVulnerability) MarshalJSON() ([]byte, error)
- func (v *VulnerabilitiesVulnerabilitiesVulnerability) UnmarshalJSON(b []byte) error
- type VulnerabilityInputSpec
- type VulnerabilityListResponse
- type VulnerabilityListVulnerabilityListVulnerabilityConnection
- func (v *VulnerabilityListVulnerabilityListVulnerabilityConnection) GetEdges() ...
- func (v *VulnerabilityListVulnerabilityListVulnerabilityConnection) GetPageInfo() VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo
- func (v *VulnerabilityListVulnerabilityListVulnerabilityConnection) GetTotalCount() int
- type VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdge
- type VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability
- func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) GetId() string
- func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) GetType() string
- func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
- func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) MarshalJSON() ([]byte, error)
- func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) UnmarshalJSON(b []byte) error
- type VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo
- type VulnerabilityMetadataInputSpec
- func (v *VulnerabilityMetadataInputSpec) GetCollector() string
- func (v *VulnerabilityMetadataInputSpec) GetDocumentRef() string
- func (v *VulnerabilityMetadataInputSpec) GetOrigin() string
- func (v *VulnerabilityMetadataInputSpec) GetScoreType() VulnerabilityScoreType
- func (v *VulnerabilityMetadataInputSpec) GetScoreValue() float64
- func (v *VulnerabilityMetadataInputSpec) GetTimestamp() time.Time
- type VulnerabilityMetadataListResponse
- type VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection) GetEdges() ...
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection) GetPageInfo() ...
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection) GetTotalCount() int
- type VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdge
- type VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetCollector() string
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetId() string
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetOrigin() string
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetScoreType() VulnerabilityScoreType
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetScoreValue() float64
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetTimestamp() time.Time
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetVulnerability() AllVulnMetadataTreeVulnerability
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) MarshalJSON() ([]byte, error)
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) UnmarshalJSON(b []byte) error
- type VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo) GetEndCursor() *string
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo) GetHasNextPage() bool
- func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo) GetStartCursor() *string
- type VulnerabilityMetadataResponse
- type VulnerabilityMetadataSpec
- func (v *VulnerabilityMetadataSpec) GetCollector() *string
- func (v *VulnerabilityMetadataSpec) GetComparator() *Comparator
- func (v *VulnerabilityMetadataSpec) GetDocumentRef() *string
- func (v *VulnerabilityMetadataSpec) GetId() *string
- func (v *VulnerabilityMetadataSpec) GetOrigin() *string
- func (v *VulnerabilityMetadataSpec) GetScoreType() *VulnerabilityScoreType
- func (v *VulnerabilityMetadataSpec) GetScoreValue() *float64
- func (v *VulnerabilityMetadataSpec) GetTimestamp() *time.Time
- func (v *VulnerabilityMetadataSpec) GetVulnerability() *VulnerabilitySpec
- type VulnerabilityMetadataVulnerabilityMetadata
- func (v *VulnerabilityMetadataVulnerabilityMetadata) GetCollector() string
- func (v *VulnerabilityMetadataVulnerabilityMetadata) GetId() string
- func (v *VulnerabilityMetadataVulnerabilityMetadata) GetOrigin() string
- func (v *VulnerabilityMetadataVulnerabilityMetadata) GetScoreType() VulnerabilityScoreType
- func (v *VulnerabilityMetadataVulnerabilityMetadata) GetScoreValue() float64
- func (v *VulnerabilityMetadataVulnerabilityMetadata) GetTimestamp() time.Time
- func (v *VulnerabilityMetadataVulnerabilityMetadata) GetVulnerability() AllVulnMetadataTreeVulnerability
- func (v *VulnerabilityMetadataVulnerabilityMetadata) MarshalJSON() ([]byte, error)
- func (v *VulnerabilityMetadataVulnerabilityMetadata) UnmarshalJSON(b []byte) error
- type VulnerabilityScoreType
- type VulnerabilitySpec
Constants ¶
const ArtifactsList_Operation = `` /* 348-byte string literal not displayed */
The query or mutation executed by ArtifactsList.
const Artifacts_Operation = `` /* 171-byte string literal not displayed */
The query or mutation executed by Artifacts.
const BuildersList_Operation = `` /* 327-byte string literal not displayed */
The query or mutation executed by BuildersList.
const Builders_Operation = `` /* 150-byte string literal not displayed */
The query or mutation executed by Builders.
const CertifyBadList_Operation = `` /* 936-byte string literal not displayed */
The query or mutation executed by CertifyBadList.
const CertifyBad_Operation = `` /* 759-byte string literal not displayed */
The query or mutation executed by CertifyBad.
const CertifyGoodList_Operation = `` /* 943-byte string literal not displayed */
The query or mutation executed by CertifyGoodList.
const CertifyGood_Operation = `` /* 766-byte string literal not displayed */
The query or mutation executed by CertifyGood.
const CertifyLegalList_Operation = `` /* 1057-byte string literal not displayed */
The query or mutation executed by CertifyLegalList.
const CertifyLegal_Operation = `` /* 880-byte string literal not displayed */
The query or mutation executed by CertifyLegal.
const CertifyVulnList_Operation = `` /* 834-byte string literal not displayed */
The query or mutation executed by CertifyVulnList.
const CertifyVuln_Operation = `` /* 657-byte string literal not displayed */
The query or mutation executed by CertifyVuln.
const Delete_Operation = `
mutation Delete ($nodeID: ID!) {
delete(node: $nodeID)
}
`
The query or mutation executed by Delete.
const Dependencies_Operation = `` /* 509-byte string literal not displayed */
The query or mutation executed by Dependencies.
const DependencyList_Operation = `` /* 684-byte string literal not displayed */
The query or mutation executed by DependencyList.
const FindSoftware_Operation = `` /* 634-byte string literal not displayed */
The query or mutation executed by FindSoftware.
const HasMetadataList_Operation = `` /* 954-byte string literal not displayed */
The query or mutation executed by HasMetadataList.
const HasMetadata_Operation = `` /* 777-byte string literal not displayed */
The query or mutation executed by HasMetadata.
const HasSBOMList_Operation = `` /* 1561-byte string literal not displayed */
The query or mutation executed by HasSBOMList.
const HasSBOMs_Operation = `` /* 1385-byte string literal not displayed */
The query or mutation executed by HasSBOMs.
const HasSLSAList_Operation = `` /* 682-byte string literal not displayed */
The query or mutation executed by HasSLSAList.
const HasSLSA_Operation = `` /* 505-byte string literal not displayed */
The query or mutation executed by HasSLSA.
const HasSourceAtList_Operation = `` /* 785-byte string literal not displayed */
The query or mutation executed by HasSourceAtList.
const HasSourceAt_Operation = `` /* 608-byte string literal not displayed */
The query or mutation executed by HasSourceAt.
const HashEqualList_Operation = `` /* 470-byte string literal not displayed */
The query or mutation executed by HashEqualList.
const HashEquals_Operation = `` /* 294-byte string literal not displayed */
The query or mutation executed by HashEquals.
const IngestArtifact_Operation = `
mutation IngestArtifact ($artifact: IDorArtifactInput!) {
ingestArtifact(artifact: $artifact)
}
`
The query or mutation executed by IngestArtifact.
const IngestArtifacts_Operation = `
mutation IngestArtifacts ($artifacts: [IDorArtifactInput!]!) {
ingestArtifacts(artifacts: $artifacts)
}
`
The query or mutation executed by IngestArtifacts.
const IngestBuilder_Operation = `
mutation IngestBuilder ($builder: IDorBuilderInput!) {
ingestBuilder(builder: $builder)
}
`
The query or mutation executed by IngestBuilder.
const IngestBuilders_Operation = `
mutation IngestBuilders ($builders: [IDorBuilderInput!]!) {
ingestBuilders(builders: $builders)
}
`
The query or mutation executed by IngestBuilders.
const IngestBulkVulnHasMetadata_Operation = `` /* 274-byte string literal not displayed */
The query or mutation executed by IngestBulkVulnHasMetadata.
const IngestCertifyBadArtifact_Operation = `` /* 214-byte string literal not displayed */
The query or mutation executed by IngestCertifyBadArtifact.
const IngestCertifyBadArtifacts_Operation = `` /* 229-byte string literal not displayed */
The query or mutation executed by IngestCertifyBadArtifacts.
const IngestCertifyBadPkg_Operation = `` /* 216-byte string literal not displayed */
The query or mutation executed by IngestCertifyBadPkg.
const IngestCertifyBadPkgs_Operation = `` /* 231-byte string literal not displayed */
The query or mutation executed by IngestCertifyBadPkgs.
const IngestCertifyBadSrc_Operation = `` /* 201-byte string literal not displayed */
The query or mutation executed by IngestCertifyBadSrc.
const IngestCertifyBadSrcs_Operation = `` /* 216-byte string literal not displayed */
The query or mutation executed by IngestCertifyBadSrcs.
const IngestCertifyGoodArtifact_Operation = `` /* 220-byte string literal not displayed */
The query or mutation executed by IngestCertifyGoodArtifact.
const IngestCertifyGoodArtifacts_Operation = `` /* 235-byte string literal not displayed */
The query or mutation executed by IngestCertifyGoodArtifacts.
const IngestCertifyGoodPkg_Operation = `` /* 222-byte string literal not displayed */
The query or mutation executed by IngestCertifyGoodPkg.
const IngestCertifyGoodPkgs_Operation = `` /* 237-byte string literal not displayed */
The query or mutation executed by IngestCertifyGoodPkgs.
const IngestCertifyGoodSrc_Operation = `` /* 207-byte string literal not displayed */
The query or mutation executed by IngestCertifyGoodSrc.
const IngestCertifyGoodSrcs_Operation = `` /* 222-byte string literal not displayed */
The query or mutation executed by IngestCertifyGoodSrcs.
const IngestCertifyLegalPkg_Operation = `` /* 319-byte string literal not displayed */
The query or mutation executed by IngestCertifyLegalPkg.
const IngestCertifyLegalPkgs_Operation = `` /* 364-byte string literal not displayed */
The query or mutation executed by IngestCertifyLegalPkgs.
const IngestCertifyLegalSrc_Operation = `` /* 321-byte string literal not displayed */
The query or mutation executed by IngestCertifyLegalSrc.
const IngestCertifyLegalSrcs_Operation = `` /* 366-byte string literal not displayed */
The query or mutation executed by IngestCertifyLegalSrcs.
const IngestCertifyScorecard_Operation = `` /* 155-byte string literal not displayed */
The query or mutation executed by IngestCertifyScorecard.
const IngestCertifyScorecards_Operation = `` /* 169-byte string literal not displayed */
The query or mutation executed by IngestCertifyScorecards.
const IngestCertifyVexArtifact_Operation = `` /* 262-byte string literal not displayed */
The query or mutation executed by IngestCertifyVexArtifact.
const IngestCertifyVexArtifacts_Operation = `` /* 286-byte string literal not displayed */
The query or mutation executed by IngestCertifyVexArtifacts.
const IngestCertifyVexPkg_Operation = `` /* 241-byte string literal not displayed */
The query or mutation executed by IngestCertifyVexPkg.
const IngestCertifyVexPkgs_Operation = `` /* 265-byte string literal not displayed */
The query or mutation executed by IngestCertifyVexPkgs.
const IngestCertifyVulnPkg_Operation = `` /* 220-byte string literal not displayed */
The query or mutation executed by IngestCertifyVulnPkg.
const IngestCertifyVulnPkgs_Operation = `` /* 243-byte string literal not displayed */
The query or mutation executed by IngestCertifyVulnPkgs.
const IngestHasMetadataArtifact_Operation = `` /* 220-byte string literal not displayed */
The query or mutation executed by IngestHasMetadataArtifact.
const IngestHasMetadataArtifacts_Operation = `` /* 247-byte string literal not displayed */
The query or mutation executed by IngestHasMetadataArtifacts.
const IngestHasMetadataPkg_Operation = `` /* 222-byte string literal not displayed */
The query or mutation executed by IngestHasMetadataPkg.
const IngestHasMetadataPkgs_Operation = `` /* 249-byte string literal not displayed */
The query or mutation executed by IngestHasMetadataPkgs.
const IngestHasMetadataSrc_Operation = `` /* 207-byte string literal not displayed */
The query or mutation executed by IngestHasMetadataSrc.
const IngestHasMetadataSrcs_Operation = `` /* 234-byte string literal not displayed */
The query or mutation executed by IngestHasMetadataSrcs.
const IngestHasSBOMArtifact_Operation = `` /* 221-byte string literal not displayed */
The query or mutation executed by IngestHasSBOMArtifact.
const IngestHasSBOMArtifacts_Operation = `` /* 239-byte string literal not displayed */
The query or mutation executed by IngestHasSBOMArtifacts.
const IngestHasSBOMPkg_Operation = `` /* 200-byte string literal not displayed */
The query or mutation executed by IngestHasSBOMPkg.
const IngestHasSBOMPkgs_Operation = `` /* 218-byte string literal not displayed */
The query or mutation executed by IngestHasSBOMPkgs.
const IngestHasSourceAt_Operation = `` /* 249-byte string literal not displayed */
The query or mutation executed by IngestHasSourceAt.
const IngestHasSourcesAt_Operation = `` /* 269-byte string literal not displayed */
The query or mutation executed by IngestHasSourcesAt.
const IngestHashEqual_Operation = `` /* 223-byte string literal not displayed */
The query or mutation executed by IngestHashEqual.
const IngestHashEquals_Operation = `` /* 243-byte string literal not displayed */
The query or mutation executed by IngestHashEquals.
const IngestIsDependencies_Operation = `` /* 212-byte string literal not displayed */
The query or mutation executed by IngestIsDependencies.
const IngestIsDependency_Operation = `` /* 187-byte string literal not displayed */
The query or mutation executed by IngestIsDependency.
const IngestIsOccurrencePkg_Operation = `` /* 215-byte string literal not displayed */
The query or mutation executed by IngestIsOccurrencePkg.
const IngestIsOccurrenceSrc_Operation = `` /* 223-byte string literal not displayed */
The query or mutation executed by IngestIsOccurrenceSrc.
const IngestIsOccurrencesPkg_Operation = `` /* 236-byte string literal not displayed */
The query or mutation executed by IngestIsOccurrencesPkg.
const IngestIsOccurrencesSrc_Operation = `` /* 244-byte string literal not displayed */
The query or mutation executed by IngestIsOccurrencesSrc.
const IngestLicense_Operation = `
mutation IngestLicense ($license: IDorLicenseInput!) {
ingestLicense(license: $license)
}
`
The query or mutation executed by IngestLicense.
const IngestLicenses_Operation = `
mutation IngestLicenses ($licenses: [IDorLicenseInput!]!) {
ingestLicenses(licenses: $licenses)
}
`
The query or mutation executed by IngestLicenses.
const IngestPackage_Operation = `` /* 153-byte string literal not displayed */
The query or mutation executed by IngestPackage.
const IngestPackages_Operation = `` /* 161-byte string literal not displayed */
The query or mutation executed by IngestPackages.
const IngestPkgEqual_Operation = `` /* 189-byte string literal not displayed */
The query or mutation executed by IngestPkgEqual.
const IngestPkgEquals_Operation = `` /* 209-byte string literal not displayed */
The query or mutation executed by IngestPkgEquals.
const IngestPointOfContactArtifact_Operation = `` /* 238-byte string literal not displayed */
The query or mutation executed by IngestPointOfContactArtifact.
const IngestPointOfContactArtifacts_Operation = `` /* 253-byte string literal not displayed */
The query or mutation executed by IngestPointOfContactArtifacts.
const IngestPointOfContactPkg_Operation = `` /* 240-byte string literal not displayed */
The query or mutation executed by IngestPointOfContactPkg.
const IngestPointOfContactPkgs_Operation = `` /* 255-byte string literal not displayed */
The query or mutation executed by IngestPointOfContactPkgs.
const IngestPointOfContactSrc_Operation = `` /* 225-byte string literal not displayed */
The query or mutation executed by IngestPointOfContactSrc.
const IngestPointOfContactSrcs_Operation = `` /* 240-byte string literal not displayed */
The query or mutation executed by IngestPointOfContactSrcs.
const IngestSLSAForArtifact_Operation = `` /* 242-byte string literal not displayed */
The query or mutation executed by IngestSLSAForArtifact.
const IngestSLSAForArtifacts_Operation = `` /* 289-byte string literal not displayed */
The query or mutation executed by IngestSLSAForArtifacts.
const IngestSource_Operation = `` /* 141-byte string literal not displayed */
The query or mutation executed by IngestSource.
const IngestSources_Operation = `` /* 149-byte string literal not displayed */
The query or mutation executed by IngestSources.
const IngestVulnEqual_Operation = `` /* 263-byte string literal not displayed */
The query or mutation executed by IngestVulnEqual.
const IngestVulnEquals_Operation = `` /* 289-byte string literal not displayed */
The query or mutation executed by IngestVulnEquals.
const IngestVulnHasMetadata_Operation = `` /* 224-byte string literal not displayed */
The query or mutation executed by IngestVulnHasMetadata.
const IngestVulnerabilities_Operation = `` /* 160-byte string literal not displayed */
The query or mutation executed by IngestVulnerabilities.
const IngestVulnerability_Operation = `` /* 150-byte string literal not displayed */
The query or mutation executed by IngestVulnerability.
const LicenseList_Operation = `` /* 347-byte string literal not displayed */
The query or mutation executed by LicenseList.
const Licenses_Operation = `` /* 172-byte string literal not displayed */
The query or mutation executed by Licenses.
const Neighbors_Operation = `` /* 5938-byte string literal not displayed */
The query or mutation executed by Neighbors.
const Node_Operation = `` /* 5883-byte string literal not displayed */
The query or mutation executed by Node.
const Nodes_Operation = `` /* 5891-byte string literal not displayed */
The query or mutation executed by Nodes.
const OccurrenceList_Operation = `` /* 936-byte string literal not displayed */
The query or mutation executed by OccurrenceList.
const Occurrences_Operation = `` /* 760-byte string literal not displayed */
The query or mutation executed by Occurrences.
const PackageNames_Operation = `` /* 159-byte string literal not displayed */
The query or mutation executed by PackageNames.
const PackageNamespaces_Operation = `` /* 132-byte string literal not displayed */
The query or mutation executed by PackageNamespaces.
const PackageTypes_Operation = `
query PackageTypes ($filter: PkgSpec!) {
packages(pkgSpec: $filter) {
id
type
}
}
`
The query or mutation executed by PackageTypes.
const PackageVersions_Operation = `` /* 264-byte string literal not displayed */
The query or mutation executed by PackageVersions.
const PackagesList_Operation = `` /* 476-byte string literal not displayed */
The query or mutation executed by PackagesList.
const Packages_Operation = `` /* 299-byte string literal not displayed */
The query or mutation executed by Packages.
const Path_Operation = `` /* 6021-byte string literal not displayed */
The query or mutation executed by Path.
const PkgEqualList_Operation = `` /* 594-byte string literal not displayed */
The query or mutation executed by PkgEqualList.
const PkgEquals_Operation = `` /* 418-byte string literal not displayed */
The query or mutation executed by PkgEquals.
const PointOfContactList_Operation = `` /* 972-byte string literal not displayed */
The query or mutation executed by PointOfContactList.
const PointOfContacts_Operation = `` /* 796-byte string literal not displayed */
The query or mutation executed by PointOfContacts.
const QueryPackagesListForScan_Operation = `` /* 584-byte string literal not displayed */
The query or mutation executed by QueryPackagesListForScan.
const ScorecardsList_Operation = `` /* 653-byte string literal not displayed */
The query or mutation executed by ScorecardsList.
const Scorecards_Operation = `` /* 476-byte string literal not displayed */
The query or mutation executed by Scorecards.
const SourcesList_Operation = `` /* 400-byte string literal not displayed */
The query or mutation executed by SourcesList.
const Sources_Operation = `` /* 223-byte string literal not displayed */
The query or mutation executed by Sources.
const VEXStatementList_Operation = `` /* 1012-byte string literal not displayed */
The query or mutation executed by VEXStatementList.
const VEXStatements_Operation = `` /* 836-byte string literal not displayed */
The query or mutation executed by VEXStatements.
const VulnEqualList_Operation = `` /* 516-byte string literal not displayed */
The query or mutation executed by VulnEqualList.
const VulnEquals_Operation = `` /* 340-byte string literal not displayed */
The query or mutation executed by VulnEquals.
const Vulnerabilities_Operation = `` /* 232-byte string literal not displayed */
The query or mutation executed by Vulnerabilities.
const VulnerabilityList_Operation = `` /* 405-byte string literal not displayed */
The query or mutation executed by VulnerabilityList.
const VulnerabilityMetadataList_Operation = `` /* 535-byte string literal not displayed */
The query or mutation executed by VulnerabilityMetadataList.
const VulnerabilityMetadata_Operation = `` /* 358-byte string literal not displayed */
The query or mutation executed by VulnerabilityMetadata.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllArtifactTree ¶
type AllArtifactTree struct { Id string `json:"id"` Algorithm string `json:"algorithm"` Digest string `json:"digest"` }
AllArtifactTree includes the GraphQL fields of Artifact requested by the fragment AllArtifactTree. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*AllArtifactTree) GetAlgorithm ¶
func (v *AllArtifactTree) GetAlgorithm() string
GetAlgorithm returns AllArtifactTree.Algorithm, and is useful for accessing the field via an interface.
func (*AllArtifactTree) GetDigest ¶
func (v *AllArtifactTree) GetDigest() string
GetDigest returns AllArtifactTree.Digest, and is useful for accessing the field via an interface.
func (*AllArtifactTree) GetId ¶
func (v *AllArtifactTree) GetId() string
GetId returns AllArtifactTree.Id, and is useful for accessing the field via an interface.
type AllBuilderTree ¶ added in v0.1.1
AllBuilderTree includes the GraphQL fields of Builder requested by the fragment AllBuilderTree. The GraphQL type's documentation follows.
Builder represents the builder (e.g., FRSCA or GitHub Actions).
Currently builders are identified by the uri field.
func (*AllBuilderTree) GetId ¶ added in v0.1.1
func (v *AllBuilderTree) GetId() string
GetId returns AllBuilderTree.Id, and is useful for accessing the field via an interface.
func (*AllBuilderTree) GetUri ¶ added in v0.1.1
func (v *AllBuilderTree) GetUri() string
GetUri returns AllBuilderTree.Uri, and is useful for accessing the field via an interface.
type AllCertifyBad ¶
type AllCertifyBad struct { Id string `json:"id"` // The justification for the subject being certified bad Justification string `json:"justification"` // Timestamp when the certification was created (in RFC 3339 format) KnownSince time.Time `json:"knownSince"` // The package, source or artifact that is attested Subject AllCertifyBadSubjectPackageSourceOrArtifact `json:"-"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllCertifyBad includes the GraphQL fields of CertifyBad requested by the fragment AllCertifyBad. The GraphQL type's documentation follows.
CertifyBad is an attestation that a package, source, or artifact is considered bad.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The certification applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*AllCertifyBad) GetCollector ¶
func (v *AllCertifyBad) GetCollector() string
GetCollector returns AllCertifyBad.Collector, and is useful for accessing the field via an interface.
func (*AllCertifyBad) GetId ¶
func (v *AllCertifyBad) GetId() string
GetId returns AllCertifyBad.Id, and is useful for accessing the field via an interface.
func (*AllCertifyBad) GetJustification ¶
func (v *AllCertifyBad) GetJustification() string
GetJustification returns AllCertifyBad.Justification, and is useful for accessing the field via an interface.
func (*AllCertifyBad) GetKnownSince ¶ added in v0.2.1
func (v *AllCertifyBad) GetKnownSince() time.Time
GetKnownSince returns AllCertifyBad.KnownSince, and is useful for accessing the field via an interface.
func (*AllCertifyBad) GetOrigin ¶
func (v *AllCertifyBad) GetOrigin() string
GetOrigin returns AllCertifyBad.Origin, and is useful for accessing the field via an interface.
func (*AllCertifyBad) GetSubject ¶
func (v *AllCertifyBad) GetSubject() AllCertifyBadSubjectPackageSourceOrArtifact
GetSubject returns AllCertifyBad.Subject, and is useful for accessing the field via an interface.
func (*AllCertifyBad) MarshalJSON ¶
func (v *AllCertifyBad) MarshalJSON() ([]byte, error)
func (*AllCertifyBad) UnmarshalJSON ¶
func (v *AllCertifyBad) UnmarshalJSON(b []byte) error
type AllCertifyBadSubjectArtifact ¶
type AllCertifyBadSubjectArtifact struct { Typename *string `json:"__typename"` AllArtifactTree `json:"-"` }
AllCertifyBadSubjectArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*AllCertifyBadSubjectArtifact) GetAlgorithm ¶
func (v *AllCertifyBadSubjectArtifact) GetAlgorithm() string
GetAlgorithm returns AllCertifyBadSubjectArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*AllCertifyBadSubjectArtifact) GetDigest ¶
func (v *AllCertifyBadSubjectArtifact) GetDigest() string
GetDigest returns AllCertifyBadSubjectArtifact.Digest, and is useful for accessing the field via an interface.
func (*AllCertifyBadSubjectArtifact) GetId ¶
func (v *AllCertifyBadSubjectArtifact) GetId() string
GetId returns AllCertifyBadSubjectArtifact.Id, and is useful for accessing the field via an interface.
func (*AllCertifyBadSubjectArtifact) GetTypename ¶
func (v *AllCertifyBadSubjectArtifact) GetTypename() *string
GetTypename returns AllCertifyBadSubjectArtifact.Typename, and is useful for accessing the field via an interface.
func (*AllCertifyBadSubjectArtifact) MarshalJSON ¶
func (v *AllCertifyBadSubjectArtifact) MarshalJSON() ([]byte, error)
func (*AllCertifyBadSubjectArtifact) UnmarshalJSON ¶
func (v *AllCertifyBadSubjectArtifact) UnmarshalJSON(b []byte) error
type AllCertifyBadSubjectPackage ¶
type AllCertifyBadSubjectPackage struct { Typename *string `json:"__typename"` AllPkgTree `json:"-"` }
AllCertifyBadSubjectPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllCertifyBadSubjectPackage) GetId ¶
func (v *AllCertifyBadSubjectPackage) GetId() string
GetId returns AllCertifyBadSubjectPackage.Id, and is useful for accessing the field via an interface.
func (*AllCertifyBadSubjectPackage) GetNamespaces ¶
func (v *AllCertifyBadSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllCertifyBadSubjectPackage.Namespaces, and is useful for accessing the field via an interface.
func (*AllCertifyBadSubjectPackage) GetType ¶
func (v *AllCertifyBadSubjectPackage) GetType() string
GetType returns AllCertifyBadSubjectPackage.Type, and is useful for accessing the field via an interface.
func (*AllCertifyBadSubjectPackage) GetTypename ¶
func (v *AllCertifyBadSubjectPackage) GetTypename() *string
GetTypename returns AllCertifyBadSubjectPackage.Typename, and is useful for accessing the field via an interface.
func (*AllCertifyBadSubjectPackage) MarshalJSON ¶
func (v *AllCertifyBadSubjectPackage) MarshalJSON() ([]byte, error)
func (*AllCertifyBadSubjectPackage) UnmarshalJSON ¶
func (v *AllCertifyBadSubjectPackage) UnmarshalJSON(b []byte) error
type AllCertifyBadSubjectPackageSourceOrArtifact ¶
type AllCertifyBadSubjectPackageSourceOrArtifact interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() *string // contains filtered or unexported methods }
AllCertifyBadSubjectPackageSourceOrArtifact includes the requested fields of the GraphQL interface PackageSourceOrArtifact.
AllCertifyBadSubjectPackageSourceOrArtifact is implemented by the following types: AllCertifyBadSubjectArtifact AllCertifyBadSubjectPackage AllCertifyBadSubjectSource The GraphQL type's documentation follows.
PackageSourceOrArtifact is a union of Package, Source, and Artifact.
type AllCertifyBadSubjectSource ¶
type AllCertifyBadSubjectSource struct { Typename *string `json:"__typename"` AllSourceTree `json:"-"` }
AllCertifyBadSubjectSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*AllCertifyBadSubjectSource) GetId ¶
func (v *AllCertifyBadSubjectSource) GetId() string
GetId returns AllCertifyBadSubjectSource.Id, and is useful for accessing the field via an interface.
func (*AllCertifyBadSubjectSource) GetNamespaces ¶
func (v *AllCertifyBadSubjectSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns AllCertifyBadSubjectSource.Namespaces, and is useful for accessing the field via an interface.
func (*AllCertifyBadSubjectSource) GetType ¶
func (v *AllCertifyBadSubjectSource) GetType() string
GetType returns AllCertifyBadSubjectSource.Type, and is useful for accessing the field via an interface.
func (*AllCertifyBadSubjectSource) GetTypename ¶
func (v *AllCertifyBadSubjectSource) GetTypename() *string
GetTypename returns AllCertifyBadSubjectSource.Typename, and is useful for accessing the field via an interface.
func (*AllCertifyBadSubjectSource) MarshalJSON ¶
func (v *AllCertifyBadSubjectSource) MarshalJSON() ([]byte, error)
func (*AllCertifyBadSubjectSource) UnmarshalJSON ¶
func (v *AllCertifyBadSubjectSource) UnmarshalJSON(b []byte) error
type AllCertifyGood ¶ added in v0.1.1
type AllCertifyGood struct { Id string `json:"id"` // The justification for the subject being certified good Justification string `json:"justification"` // Timestamp when the certification was created (in RFC 3339 format) KnownSince time.Time `json:"knownSince"` // The package, source or artifact that is attested Subject AllCertifyGoodSubjectPackageSourceOrArtifact `json:"-"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllCertifyGood includes the GraphQL fields of CertifyGood requested by the fragment AllCertifyGood. The GraphQL type's documentation follows.
CertifyGood is an attestation that a package, source, or artifact is considered good.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The certification applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*AllCertifyGood) GetCollector ¶ added in v0.1.1
func (v *AllCertifyGood) GetCollector() string
GetCollector returns AllCertifyGood.Collector, and is useful for accessing the field via an interface.
func (*AllCertifyGood) GetId ¶ added in v0.1.1
func (v *AllCertifyGood) GetId() string
GetId returns AllCertifyGood.Id, and is useful for accessing the field via an interface.
func (*AllCertifyGood) GetJustification ¶ added in v0.1.1
func (v *AllCertifyGood) GetJustification() string
GetJustification returns AllCertifyGood.Justification, and is useful for accessing the field via an interface.
func (*AllCertifyGood) GetKnownSince ¶ added in v0.2.1
func (v *AllCertifyGood) GetKnownSince() time.Time
GetKnownSince returns AllCertifyGood.KnownSince, and is useful for accessing the field via an interface.
func (*AllCertifyGood) GetOrigin ¶ added in v0.1.1
func (v *AllCertifyGood) GetOrigin() string
GetOrigin returns AllCertifyGood.Origin, and is useful for accessing the field via an interface.
func (*AllCertifyGood) GetSubject ¶ added in v0.1.1
func (v *AllCertifyGood) GetSubject() AllCertifyGoodSubjectPackageSourceOrArtifact
GetSubject returns AllCertifyGood.Subject, and is useful for accessing the field via an interface.
func (*AllCertifyGood) MarshalJSON ¶ added in v0.1.1
func (v *AllCertifyGood) MarshalJSON() ([]byte, error)
func (*AllCertifyGood) UnmarshalJSON ¶ added in v0.1.1
func (v *AllCertifyGood) UnmarshalJSON(b []byte) error
type AllCertifyGoodSubjectArtifact ¶ added in v0.1.1
type AllCertifyGoodSubjectArtifact struct { Typename *string `json:"__typename"` AllArtifactTree `json:"-"` }
AllCertifyGoodSubjectArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*AllCertifyGoodSubjectArtifact) GetAlgorithm ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectArtifact) GetAlgorithm() string
GetAlgorithm returns AllCertifyGoodSubjectArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*AllCertifyGoodSubjectArtifact) GetDigest ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectArtifact) GetDigest() string
GetDigest returns AllCertifyGoodSubjectArtifact.Digest, and is useful for accessing the field via an interface.
func (*AllCertifyGoodSubjectArtifact) GetId ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectArtifact) GetId() string
GetId returns AllCertifyGoodSubjectArtifact.Id, and is useful for accessing the field via an interface.
func (*AllCertifyGoodSubjectArtifact) GetTypename ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectArtifact) GetTypename() *string
GetTypename returns AllCertifyGoodSubjectArtifact.Typename, and is useful for accessing the field via an interface.
func (*AllCertifyGoodSubjectArtifact) MarshalJSON ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectArtifact) MarshalJSON() ([]byte, error)
func (*AllCertifyGoodSubjectArtifact) UnmarshalJSON ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectArtifact) UnmarshalJSON(b []byte) error
type AllCertifyGoodSubjectPackage ¶ added in v0.1.1
type AllCertifyGoodSubjectPackage struct { Typename *string `json:"__typename"` AllPkgTree `json:"-"` }
AllCertifyGoodSubjectPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllCertifyGoodSubjectPackage) GetId ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectPackage) GetId() string
GetId returns AllCertifyGoodSubjectPackage.Id, and is useful for accessing the field via an interface.
func (*AllCertifyGoodSubjectPackage) GetNamespaces ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllCertifyGoodSubjectPackage.Namespaces, and is useful for accessing the field via an interface.
func (*AllCertifyGoodSubjectPackage) GetType ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectPackage) GetType() string
GetType returns AllCertifyGoodSubjectPackage.Type, and is useful for accessing the field via an interface.
func (*AllCertifyGoodSubjectPackage) GetTypename ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectPackage) GetTypename() *string
GetTypename returns AllCertifyGoodSubjectPackage.Typename, and is useful for accessing the field via an interface.
func (*AllCertifyGoodSubjectPackage) MarshalJSON ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectPackage) MarshalJSON() ([]byte, error)
func (*AllCertifyGoodSubjectPackage) UnmarshalJSON ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectPackage) UnmarshalJSON(b []byte) error
type AllCertifyGoodSubjectPackageSourceOrArtifact ¶ added in v0.1.1
type AllCertifyGoodSubjectPackageSourceOrArtifact interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() *string // contains filtered or unexported methods }
AllCertifyGoodSubjectPackageSourceOrArtifact includes the requested fields of the GraphQL interface PackageSourceOrArtifact.
AllCertifyGoodSubjectPackageSourceOrArtifact is implemented by the following types: AllCertifyGoodSubjectArtifact AllCertifyGoodSubjectPackage AllCertifyGoodSubjectSource The GraphQL type's documentation follows.
PackageSourceOrArtifact is a union of Package, Source, and Artifact.
type AllCertifyGoodSubjectSource ¶ added in v0.1.1
type AllCertifyGoodSubjectSource struct { Typename *string `json:"__typename"` AllSourceTree `json:"-"` }
AllCertifyGoodSubjectSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*AllCertifyGoodSubjectSource) GetId ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectSource) GetId() string
GetId returns AllCertifyGoodSubjectSource.Id, and is useful for accessing the field via an interface.
func (*AllCertifyGoodSubjectSource) GetNamespaces ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns AllCertifyGoodSubjectSource.Namespaces, and is useful for accessing the field via an interface.
func (*AllCertifyGoodSubjectSource) GetType ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectSource) GetType() string
GetType returns AllCertifyGoodSubjectSource.Type, and is useful for accessing the field via an interface.
func (*AllCertifyGoodSubjectSource) GetTypename ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectSource) GetTypename() *string
GetTypename returns AllCertifyGoodSubjectSource.Typename, and is useful for accessing the field via an interface.
func (*AllCertifyGoodSubjectSource) MarshalJSON ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectSource) MarshalJSON() ([]byte, error)
func (*AllCertifyGoodSubjectSource) UnmarshalJSON ¶ added in v0.1.1
func (v *AllCertifyGoodSubjectSource) UnmarshalJSON(b []byte) error
type AllCertifyLegalTree ¶ added in v0.2.0
type AllCertifyLegalTree struct { Id string `json:"id"` // The package version or source that is attested Subject AllCertifyLegalTreeSubjectPackageOrSource `json:"-"` // The license expression as declared DeclaredLicense string `json:"declaredLicense"` // A list of license objects found in the declared license expression DeclaredLicenses []AllCertifyLegalTreeDeclaredLicensesLicense `json:"declaredLicenses"` // The license expression as discovered by scan DiscoveredLicense string `json:"discoveredLicense"` // A list of license objects found in the discovered license expression DiscoveredLicenses []AllCertifyLegalTreeDiscoveredLicensesLicense `json:"discoveredLicenses"` // Attribution text of the subject Attribution string `json:"attribution"` // Extra justification for the certification Justification string `json:"justification"` // Time of scan (in RFC 3339 format) TimeScanned time.Time `json:"timeScanned"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllCertifyLegalTree includes the GraphQL fields of CertifyLegal requested by the fragment AllCertifyLegalTree. The GraphQL type's documentation follows.
CertifyLegal is an attestation to attach legal information to a package or source.
The certification information is either copied from an attestation found in an SBOM or created by a collector/scanner.
Discovered license is also known as Concluded. More information: https://docs.clearlydefined.io/docs/curation/curation-guidelines#the-difference-between-declared-and-discovered-licenses
Attribution is also known as Copyright Text. It is what could be displayed to comply with notice requirements. https://www.nexb.com/oss-attribution-best-practices/
License expressions follow this format: https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/
func (*AllCertifyLegalTree) GetAttribution ¶ added in v0.2.0
func (v *AllCertifyLegalTree) GetAttribution() string
GetAttribution returns AllCertifyLegalTree.Attribution, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTree) GetCollector ¶ added in v0.2.0
func (v *AllCertifyLegalTree) GetCollector() string
GetCollector returns AllCertifyLegalTree.Collector, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTree) GetDeclaredLicense ¶ added in v0.2.0
func (v *AllCertifyLegalTree) GetDeclaredLicense() string
GetDeclaredLicense returns AllCertifyLegalTree.DeclaredLicense, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTree) GetDeclaredLicenses ¶ added in v0.2.0
func (v *AllCertifyLegalTree) GetDeclaredLicenses() []AllCertifyLegalTreeDeclaredLicensesLicense
GetDeclaredLicenses returns AllCertifyLegalTree.DeclaredLicenses, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTree) GetDiscoveredLicense ¶ added in v0.2.0
func (v *AllCertifyLegalTree) GetDiscoveredLicense() string
GetDiscoveredLicense returns AllCertifyLegalTree.DiscoveredLicense, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTree) GetDiscoveredLicenses ¶ added in v0.2.0
func (v *AllCertifyLegalTree) GetDiscoveredLicenses() []AllCertifyLegalTreeDiscoveredLicensesLicense
GetDiscoveredLicenses returns AllCertifyLegalTree.DiscoveredLicenses, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTree) GetId ¶ added in v0.2.0
func (v *AllCertifyLegalTree) GetId() string
GetId returns AllCertifyLegalTree.Id, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTree) GetJustification ¶ added in v0.2.0
func (v *AllCertifyLegalTree) GetJustification() string
GetJustification returns AllCertifyLegalTree.Justification, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTree) GetOrigin ¶ added in v0.2.0
func (v *AllCertifyLegalTree) GetOrigin() string
GetOrigin returns AllCertifyLegalTree.Origin, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTree) GetSubject ¶ added in v0.2.0
func (v *AllCertifyLegalTree) GetSubject() AllCertifyLegalTreeSubjectPackageOrSource
GetSubject returns AllCertifyLegalTree.Subject, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTree) GetTimeScanned ¶ added in v0.2.0
func (v *AllCertifyLegalTree) GetTimeScanned() time.Time
GetTimeScanned returns AllCertifyLegalTree.TimeScanned, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTree) MarshalJSON ¶ added in v0.2.0
func (v *AllCertifyLegalTree) MarshalJSON() ([]byte, error)
func (*AllCertifyLegalTree) UnmarshalJSON ¶ added in v0.2.0
func (v *AllCertifyLegalTree) UnmarshalJSON(b []byte) error
type AllCertifyLegalTreeDeclaredLicensesLicense ¶ added in v0.2.0
type AllCertifyLegalTreeDeclaredLicensesLicense struct {
AllLicenseTree `json:"-"`
}
AllCertifyLegalTreeDeclaredLicensesLicense includes the requested fields of the GraphQL type License. The GraphQL type's documentation follows.
License represents a particular license. If the license is found on the SPDX license list (https://spdx.org/licenses/) then the fields should be:
Name: SPDX license identifier Inline: empty ListVersion: SPDX license list version
example:
Name: AGPL-3.0-or-later Inline: "" ListVersion: 3.21 2023-06-18
If the license is not on the SPDX license list, then a new guid should be created and the license text placed inline:
Name: LicenseRef-<guid> Inline: Full license text ListVersion: empty
example:
Name: LicenseRef-1a2b3c Inline: Permission to use, copy, modify, and/or distribute ... ListVersion: ""
func (*AllCertifyLegalTreeDeclaredLicensesLicense) GetId ¶ added in v0.2.0
func (v *AllCertifyLegalTreeDeclaredLicensesLicense) GetId() string
GetId returns AllCertifyLegalTreeDeclaredLicensesLicense.Id, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeDeclaredLicensesLicense) GetInline ¶ added in v0.2.0
func (v *AllCertifyLegalTreeDeclaredLicensesLicense) GetInline() *string
GetInline returns AllCertifyLegalTreeDeclaredLicensesLicense.Inline, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeDeclaredLicensesLicense) GetListVersion ¶ added in v0.2.0
func (v *AllCertifyLegalTreeDeclaredLicensesLicense) GetListVersion() *string
GetListVersion returns AllCertifyLegalTreeDeclaredLicensesLicense.ListVersion, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeDeclaredLicensesLicense) GetName ¶ added in v0.2.0
func (v *AllCertifyLegalTreeDeclaredLicensesLicense) GetName() string
GetName returns AllCertifyLegalTreeDeclaredLicensesLicense.Name, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeDeclaredLicensesLicense) MarshalJSON ¶ added in v0.2.0
func (v *AllCertifyLegalTreeDeclaredLicensesLicense) MarshalJSON() ([]byte, error)
func (*AllCertifyLegalTreeDeclaredLicensesLicense) UnmarshalJSON ¶ added in v0.2.0
func (v *AllCertifyLegalTreeDeclaredLicensesLicense) UnmarshalJSON(b []byte) error
type AllCertifyLegalTreeDiscoveredLicensesLicense ¶ added in v0.2.0
type AllCertifyLegalTreeDiscoveredLicensesLicense struct {
AllLicenseTree `json:"-"`
}
AllCertifyLegalTreeDiscoveredLicensesLicense includes the requested fields of the GraphQL type License. The GraphQL type's documentation follows.
License represents a particular license. If the license is found on the SPDX license list (https://spdx.org/licenses/) then the fields should be:
Name: SPDX license identifier Inline: empty ListVersion: SPDX license list version
example:
Name: AGPL-3.0-or-later Inline: "" ListVersion: 3.21 2023-06-18
If the license is not on the SPDX license list, then a new guid should be created and the license text placed inline:
Name: LicenseRef-<guid> Inline: Full license text ListVersion: empty
example:
Name: LicenseRef-1a2b3c Inline: Permission to use, copy, modify, and/or distribute ... ListVersion: ""
func (*AllCertifyLegalTreeDiscoveredLicensesLicense) GetId ¶ added in v0.2.0
func (v *AllCertifyLegalTreeDiscoveredLicensesLicense) GetId() string
GetId returns AllCertifyLegalTreeDiscoveredLicensesLicense.Id, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeDiscoveredLicensesLicense) GetInline ¶ added in v0.2.0
func (v *AllCertifyLegalTreeDiscoveredLicensesLicense) GetInline() *string
GetInline returns AllCertifyLegalTreeDiscoveredLicensesLicense.Inline, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeDiscoveredLicensesLicense) GetListVersion ¶ added in v0.2.0
func (v *AllCertifyLegalTreeDiscoveredLicensesLicense) GetListVersion() *string
GetListVersion returns AllCertifyLegalTreeDiscoveredLicensesLicense.ListVersion, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeDiscoveredLicensesLicense) GetName ¶ added in v0.2.0
func (v *AllCertifyLegalTreeDiscoveredLicensesLicense) GetName() string
GetName returns AllCertifyLegalTreeDiscoveredLicensesLicense.Name, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeDiscoveredLicensesLicense) MarshalJSON ¶ added in v0.2.0
func (v *AllCertifyLegalTreeDiscoveredLicensesLicense) MarshalJSON() ([]byte, error)
func (*AllCertifyLegalTreeDiscoveredLicensesLicense) UnmarshalJSON ¶ added in v0.2.0
func (v *AllCertifyLegalTreeDiscoveredLicensesLicense) UnmarshalJSON(b []byte) error
type AllCertifyLegalTreeSubjectPackage ¶ added in v0.2.0
type AllCertifyLegalTreeSubjectPackage struct { Typename *string `json:"__typename"` AllPkgTree `json:"-"` }
AllCertifyLegalTreeSubjectPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllCertifyLegalTreeSubjectPackage) GetId ¶ added in v0.2.0
func (v *AllCertifyLegalTreeSubjectPackage) GetId() string
GetId returns AllCertifyLegalTreeSubjectPackage.Id, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeSubjectPackage) GetNamespaces ¶ added in v0.2.0
func (v *AllCertifyLegalTreeSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllCertifyLegalTreeSubjectPackage.Namespaces, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeSubjectPackage) GetType ¶ added in v0.2.0
func (v *AllCertifyLegalTreeSubjectPackage) GetType() string
GetType returns AllCertifyLegalTreeSubjectPackage.Type, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeSubjectPackage) GetTypename ¶ added in v0.2.0
func (v *AllCertifyLegalTreeSubjectPackage) GetTypename() *string
GetTypename returns AllCertifyLegalTreeSubjectPackage.Typename, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeSubjectPackage) MarshalJSON ¶ added in v0.2.0
func (v *AllCertifyLegalTreeSubjectPackage) MarshalJSON() ([]byte, error)
func (*AllCertifyLegalTreeSubjectPackage) UnmarshalJSON ¶ added in v0.2.0
func (v *AllCertifyLegalTreeSubjectPackage) UnmarshalJSON(b []byte) error
type AllCertifyLegalTreeSubjectPackageOrSource ¶ added in v0.2.0
type AllCertifyLegalTreeSubjectPackageOrSource interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() *string // contains filtered or unexported methods }
AllCertifyLegalTreeSubjectPackageOrSource includes the requested fields of the GraphQL interface PackageOrSource.
AllCertifyLegalTreeSubjectPackageOrSource is implemented by the following types: AllCertifyLegalTreeSubjectPackage AllCertifyLegalTreeSubjectSource The GraphQL type's documentation follows.
PackageOrSource is a union of Package and Source.
type AllCertifyLegalTreeSubjectSource ¶ added in v0.2.0
type AllCertifyLegalTreeSubjectSource struct { Typename *string `json:"__typename"` AllSourceTree `json:"-"` }
AllCertifyLegalTreeSubjectSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*AllCertifyLegalTreeSubjectSource) GetId ¶ added in v0.2.0
func (v *AllCertifyLegalTreeSubjectSource) GetId() string
GetId returns AllCertifyLegalTreeSubjectSource.Id, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeSubjectSource) GetNamespaces ¶ added in v0.2.0
func (v *AllCertifyLegalTreeSubjectSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns AllCertifyLegalTreeSubjectSource.Namespaces, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeSubjectSource) GetType ¶ added in v0.2.0
func (v *AllCertifyLegalTreeSubjectSource) GetType() string
GetType returns AllCertifyLegalTreeSubjectSource.Type, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeSubjectSource) GetTypename ¶ added in v0.2.0
func (v *AllCertifyLegalTreeSubjectSource) GetTypename() *string
GetTypename returns AllCertifyLegalTreeSubjectSource.Typename, and is useful for accessing the field via an interface.
func (*AllCertifyLegalTreeSubjectSource) MarshalJSON ¶ added in v0.2.0
func (v *AllCertifyLegalTreeSubjectSource) MarshalJSON() ([]byte, error)
func (*AllCertifyLegalTreeSubjectSource) UnmarshalJSON ¶ added in v0.2.0
func (v *AllCertifyLegalTreeSubjectSource) UnmarshalJSON(b []byte) error
type AllCertifyScorecard ¶
type AllCertifyScorecard struct { Id string `json:"id"` // The source repository that is being scanned (attestation subject) Source AllCertifyScorecardSource `json:"source"` // The Scorecard attached to the repository (attestation object) Scorecard AllCertifyScorecardScorecard `json:"scorecard"` }
AllCertifyScorecard includes the GraphQL fields of CertifyScorecard requested by the fragment AllCertifyScorecard. The GraphQL type's documentation follows.
CertifyScorecard is an attestation to attach a Scorecard analysis to a particular source repository.
func (*AllCertifyScorecard) GetId ¶
func (v *AllCertifyScorecard) GetId() string
GetId returns AllCertifyScorecard.Id, and is useful for accessing the field via an interface.
func (*AllCertifyScorecard) GetScorecard ¶
func (v *AllCertifyScorecard) GetScorecard() AllCertifyScorecardScorecard
GetScorecard returns AllCertifyScorecard.Scorecard, and is useful for accessing the field via an interface.
func (*AllCertifyScorecard) GetSource ¶
func (v *AllCertifyScorecard) GetSource() AllCertifyScorecardSource
GetSource returns AllCertifyScorecard.Source, and is useful for accessing the field via an interface.
type AllCertifyScorecardScorecard ¶
type AllCertifyScorecardScorecard struct { // Exact timestamp when the source was last scanned (in RFC 3339 format) TimeScanned time.Time `json:"timeScanned"` // Overall Scorecard score for the source AggregateScore float64 `json:"aggregateScore"` // Individual Scorecard check scores (Branch-Protection, Code-Review, ...) Checks []AllCertifyScorecardScorecardChecksScorecardCheck `json:"checks"` // Version of the Scorecard scanner used to analyze the source ScorecardVersion string `json:"scorecardVersion"` // Commit of the Scorecards repository at the time of scanning the source ScorecardCommit string `json:"scorecardCommit"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllCertifyScorecardScorecard includes the requested fields of the GraphQL type Scorecard. The GraphQL type's documentation follows.
Scorecard contains all of the fields present in a Scorecard attestation.
We also include fields to specify under what conditions the check was performed (time of scan, version of scanners, etc.) as well as how this information got included into GUAC (origin document and the collector for that document).
func (*AllCertifyScorecardScorecard) GetAggregateScore ¶
func (v *AllCertifyScorecardScorecard) GetAggregateScore() float64
GetAggregateScore returns AllCertifyScorecardScorecard.AggregateScore, and is useful for accessing the field via an interface.
func (*AllCertifyScorecardScorecard) GetChecks ¶
func (v *AllCertifyScorecardScorecard) GetChecks() []AllCertifyScorecardScorecardChecksScorecardCheck
GetChecks returns AllCertifyScorecardScorecard.Checks, and is useful for accessing the field via an interface.
func (*AllCertifyScorecardScorecard) GetCollector ¶
func (v *AllCertifyScorecardScorecard) GetCollector() string
GetCollector returns AllCertifyScorecardScorecard.Collector, and is useful for accessing the field via an interface.
func (*AllCertifyScorecardScorecard) GetOrigin ¶
func (v *AllCertifyScorecardScorecard) GetOrigin() string
GetOrigin returns AllCertifyScorecardScorecard.Origin, and is useful for accessing the field via an interface.
func (*AllCertifyScorecardScorecard) GetScorecardCommit ¶
func (v *AllCertifyScorecardScorecard) GetScorecardCommit() string
GetScorecardCommit returns AllCertifyScorecardScorecard.ScorecardCommit, and is useful for accessing the field via an interface.
func (*AllCertifyScorecardScorecard) GetScorecardVersion ¶
func (v *AllCertifyScorecardScorecard) GetScorecardVersion() string
GetScorecardVersion returns AllCertifyScorecardScorecard.ScorecardVersion, and is useful for accessing the field via an interface.
func (*AllCertifyScorecardScorecard) GetTimeScanned ¶
func (v *AllCertifyScorecardScorecard) GetTimeScanned() time.Time
GetTimeScanned returns AllCertifyScorecardScorecard.TimeScanned, and is useful for accessing the field via an interface.
type AllCertifyScorecardScorecardChecksScorecardCheck ¶
type AllCertifyScorecardScorecardChecksScorecardCheck struct { Check string `json:"check"` Score int `json:"score"` }
AllCertifyScorecardScorecardChecksScorecardCheck includes the requested fields of the GraphQL type ScorecardCheck. The GraphQL type's documentation follows.
ScorecardCheck are the individual checks from scorecard and their values as a key-value pair.
For example: Branch-Protection, Code-Review...etc
Based off scorecard's: type jsonCheckResultV2 struct { Details []string `json:"details"` Score int `json:"score"` Reason string `json:"reason"` Name string `json:"name"` Doc jsonCheckDocumentationV2 `json:"documentation"` } This node cannot be directly referred by other parts of GUAC.
func (*AllCertifyScorecardScorecardChecksScorecardCheck) GetCheck ¶
func (v *AllCertifyScorecardScorecardChecksScorecardCheck) GetCheck() string
GetCheck returns AllCertifyScorecardScorecardChecksScorecardCheck.Check, and is useful for accessing the field via an interface.
func (*AllCertifyScorecardScorecardChecksScorecardCheck) GetScore ¶
func (v *AllCertifyScorecardScorecardChecksScorecardCheck) GetScore() int
GetScore returns AllCertifyScorecardScorecardChecksScorecardCheck.Score, and is useful for accessing the field via an interface.
type AllCertifyScorecardSource ¶
type AllCertifyScorecardSource struct {
AllSourceTree `json:"-"`
}
AllCertifyScorecardSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*AllCertifyScorecardSource) GetId ¶
func (v *AllCertifyScorecardSource) GetId() string
GetId returns AllCertifyScorecardSource.Id, and is useful for accessing the field via an interface.
func (*AllCertifyScorecardSource) GetNamespaces ¶
func (v *AllCertifyScorecardSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns AllCertifyScorecardSource.Namespaces, and is useful for accessing the field via an interface.
func (*AllCertifyScorecardSource) GetType ¶
func (v *AllCertifyScorecardSource) GetType() string
GetType returns AllCertifyScorecardSource.Type, and is useful for accessing the field via an interface.
func (*AllCertifyScorecardSource) MarshalJSON ¶
func (v *AllCertifyScorecardSource) MarshalJSON() ([]byte, error)
func (*AllCertifyScorecardSource) UnmarshalJSON ¶
func (v *AllCertifyScorecardSource) UnmarshalJSON(b []byte) error
type AllCertifyVEXStatement ¶ added in v0.1.1
type AllCertifyVEXStatement struct { Id string `json:"id"` // Subject of attestation Subject AllCertifyVEXStatementSubjectPackageOrArtifact `json:"-"` // Attested vulnerability Vulnerability AllCertifyVEXStatementVulnerability `json:"vulnerability"` // Status of the vulnerabilities with respect to the subject Status VexStatus `json:"status"` // Justification from VEX statement VexJustification VexJustification `json:"vexJustification"` // VEX statement: impact_statement or action_statement depending on status Statement string `json:"statement"` // statusNotes may convey information about how status was determined StatusNotes string `json:"statusNotes"` // Timestamp (exact time in RFC 3339 format) for the VEX statement KnownSince time.Time `json:"knownSince"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllCertifyVEXStatement includes the GraphQL fields of CertifyVEXStatement requested by the fragment AllCertifyVEXStatement. The GraphQL type's documentation follows.
CertifyVEXStatement is an attestation to attach VEX statements to a package or artifact to clarify the impact of a specific vulnerability.
func (*AllCertifyVEXStatement) GetCollector ¶ added in v0.1.1
func (v *AllCertifyVEXStatement) GetCollector() string
GetCollector returns AllCertifyVEXStatement.Collector, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatement) GetId ¶ added in v0.1.1
func (v *AllCertifyVEXStatement) GetId() string
GetId returns AllCertifyVEXStatement.Id, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatement) GetKnownSince ¶ added in v0.1.1
func (v *AllCertifyVEXStatement) GetKnownSince() time.Time
GetKnownSince returns AllCertifyVEXStatement.KnownSince, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatement) GetOrigin ¶ added in v0.1.1
func (v *AllCertifyVEXStatement) GetOrigin() string
GetOrigin returns AllCertifyVEXStatement.Origin, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatement) GetStatement ¶ added in v0.1.1
func (v *AllCertifyVEXStatement) GetStatement() string
GetStatement returns AllCertifyVEXStatement.Statement, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatement) GetStatus ¶ added in v0.1.1
func (v *AllCertifyVEXStatement) GetStatus() VexStatus
GetStatus returns AllCertifyVEXStatement.Status, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatement) GetStatusNotes ¶ added in v0.1.1
func (v *AllCertifyVEXStatement) GetStatusNotes() string
GetStatusNotes returns AllCertifyVEXStatement.StatusNotes, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatement) GetSubject ¶ added in v0.1.1
func (v *AllCertifyVEXStatement) GetSubject() AllCertifyVEXStatementSubjectPackageOrArtifact
GetSubject returns AllCertifyVEXStatement.Subject, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatement) GetVexJustification ¶ added in v0.1.1
func (v *AllCertifyVEXStatement) GetVexJustification() VexJustification
GetVexJustification returns AllCertifyVEXStatement.VexJustification, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatement) GetVulnerability ¶ added in v0.1.1
func (v *AllCertifyVEXStatement) GetVulnerability() AllCertifyVEXStatementVulnerability
GetVulnerability returns AllCertifyVEXStatement.Vulnerability, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatement) MarshalJSON ¶ added in v0.1.1
func (v *AllCertifyVEXStatement) MarshalJSON() ([]byte, error)
func (*AllCertifyVEXStatement) UnmarshalJSON ¶ added in v0.1.1
func (v *AllCertifyVEXStatement) UnmarshalJSON(b []byte) error
type AllCertifyVEXStatementSubjectArtifact ¶ added in v0.1.1
type AllCertifyVEXStatementSubjectArtifact struct { Typename *string `json:"__typename"` AllArtifactTree `json:"-"` }
AllCertifyVEXStatementSubjectArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*AllCertifyVEXStatementSubjectArtifact) GetAlgorithm ¶ added in v0.1.1
func (v *AllCertifyVEXStatementSubjectArtifact) GetAlgorithm() string
GetAlgorithm returns AllCertifyVEXStatementSubjectArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatementSubjectArtifact) GetDigest ¶ added in v0.1.1
func (v *AllCertifyVEXStatementSubjectArtifact) GetDigest() string
GetDigest returns AllCertifyVEXStatementSubjectArtifact.Digest, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatementSubjectArtifact) GetId ¶ added in v0.1.1
func (v *AllCertifyVEXStatementSubjectArtifact) GetId() string
GetId returns AllCertifyVEXStatementSubjectArtifact.Id, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatementSubjectArtifact) GetTypename ¶ added in v0.1.1
func (v *AllCertifyVEXStatementSubjectArtifact) GetTypename() *string
GetTypename returns AllCertifyVEXStatementSubjectArtifact.Typename, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatementSubjectArtifact) MarshalJSON ¶ added in v0.1.1
func (v *AllCertifyVEXStatementSubjectArtifact) MarshalJSON() ([]byte, error)
func (*AllCertifyVEXStatementSubjectArtifact) UnmarshalJSON ¶ added in v0.1.1
func (v *AllCertifyVEXStatementSubjectArtifact) UnmarshalJSON(b []byte) error
type AllCertifyVEXStatementSubjectPackage ¶ added in v0.1.1
type AllCertifyVEXStatementSubjectPackage struct { Typename *string `json:"__typename"` AllPkgTree `json:"-"` }
AllCertifyVEXStatementSubjectPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllCertifyVEXStatementSubjectPackage) GetId ¶ added in v0.1.1
func (v *AllCertifyVEXStatementSubjectPackage) GetId() string
GetId returns AllCertifyVEXStatementSubjectPackage.Id, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatementSubjectPackage) GetNamespaces ¶ added in v0.1.1
func (v *AllCertifyVEXStatementSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllCertifyVEXStatementSubjectPackage.Namespaces, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatementSubjectPackage) GetType ¶ added in v0.1.1
func (v *AllCertifyVEXStatementSubjectPackage) GetType() string
GetType returns AllCertifyVEXStatementSubjectPackage.Type, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatementSubjectPackage) GetTypename ¶ added in v0.1.1
func (v *AllCertifyVEXStatementSubjectPackage) GetTypename() *string
GetTypename returns AllCertifyVEXStatementSubjectPackage.Typename, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatementSubjectPackage) MarshalJSON ¶ added in v0.1.1
func (v *AllCertifyVEXStatementSubjectPackage) MarshalJSON() ([]byte, error)
func (*AllCertifyVEXStatementSubjectPackage) UnmarshalJSON ¶ added in v0.1.1
func (v *AllCertifyVEXStatementSubjectPackage) UnmarshalJSON(b []byte) error
type AllCertifyVEXStatementSubjectPackageOrArtifact ¶ added in v0.1.1
type AllCertifyVEXStatementSubjectPackageOrArtifact interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() *string // contains filtered or unexported methods }
AllCertifyVEXStatementSubjectPackageOrArtifact includes the requested fields of the GraphQL interface PackageOrArtifact.
AllCertifyVEXStatementSubjectPackageOrArtifact is implemented by the following types: AllCertifyVEXStatementSubjectArtifact AllCertifyVEXStatementSubjectPackage The GraphQL type's documentation follows.
PackageOrArtifact is a union of Package and Artifact.
type AllCertifyVEXStatementVulnerability ¶ added in v0.1.1
type AllCertifyVEXStatementVulnerability struct {
AllVulnerabilityTree `json:"-"`
}
AllCertifyVEXStatementVulnerability includes the requested fields of the GraphQL type Vulnerability. The GraphQL type's documentation follows.
Vulnerability represents the root of the vulnerability trie/tree.
We map vulnerability information to a trie, as a derivative of the pURL specification: each path in the trie represents a type and a vulnerability ID. This allows for generic representation of the various vulnerabilities and does not limit to just cve, ghsa or osv. This would be in the general format: vuln://<general-type>/<vuln-id>
Examples:
CVE, using path separator: vuln://cve/cve-2023-20753 OSV, representing its knowledge of a GHSA: vuln://osv/ghsa-205hk Random vendor: vuln://snyk/sn-whatever NoVuln: vuln://novuln/
This node represents the type part of the trie path. It is used to represent the specific type of the vulnerability: cve, ghsa, osv or some other vendor specific
Since this node is at the root of the vulnerability trie, it is named Vulnerability, not VulnerabilityType.
NoVuln is a special vulnerability node to attest that no vulnerability has been found during a vulnerability scan. It will have the type "novuln" and contain an empty string for vulnerabilityID
The resolvers will enforce that both the type and vulnerability IDs are lower case.
func (*AllCertifyVEXStatementVulnerability) GetId ¶ added in v0.2.0
func (v *AllCertifyVEXStatementVulnerability) GetId() string
GetId returns AllCertifyVEXStatementVulnerability.Id, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatementVulnerability) GetType ¶ added in v0.2.0
func (v *AllCertifyVEXStatementVulnerability) GetType() string
GetType returns AllCertifyVEXStatementVulnerability.Type, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatementVulnerability) GetVulnerabilityIDs ¶ added in v0.2.0
func (v *AllCertifyVEXStatementVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
GetVulnerabilityIDs returns AllCertifyVEXStatementVulnerability.VulnerabilityIDs, and is useful for accessing the field via an interface.
func (*AllCertifyVEXStatementVulnerability) MarshalJSON ¶ added in v0.2.0
func (v *AllCertifyVEXStatementVulnerability) MarshalJSON() ([]byte, error)
func (*AllCertifyVEXStatementVulnerability) UnmarshalJSON ¶ added in v0.2.0
func (v *AllCertifyVEXStatementVulnerability) UnmarshalJSON(b []byte) error
type AllCertifyVuln ¶
type AllCertifyVuln struct { Id string `json:"id"` // The package that is attested Package AllCertifyVulnPackage `json:"package"` // The vulnerability can be an be a specific vulnerability or NoVuln type. Vulnerability AllCertifyVulnVulnerability `json:"vulnerability"` // Metadata attached to the certification Metadata AllCertifyVulnMetadataScanMetadata `json:"metadata"` }
AllCertifyVuln includes the GraphQL fields of CertifyVuln requested by the fragment AllCertifyVuln. The GraphQL type's documentation follows.
CertifyVuln is an attestation to attach vulnerability information to a package.
This information is obtained via a scanner. If there is no vulnerability detected, we attach the a vulnerability with "NoVuln" type and an empty string for the vulnerability ID.
func (*AllCertifyVuln) GetId ¶
func (v *AllCertifyVuln) GetId() string
GetId returns AllCertifyVuln.Id, and is useful for accessing the field via an interface.
func (*AllCertifyVuln) GetMetadata ¶
func (v *AllCertifyVuln) GetMetadata() AllCertifyVulnMetadataScanMetadata
GetMetadata returns AllCertifyVuln.Metadata, and is useful for accessing the field via an interface.
func (*AllCertifyVuln) GetPackage ¶
func (v *AllCertifyVuln) GetPackage() AllCertifyVulnPackage
GetPackage returns AllCertifyVuln.Package, and is useful for accessing the field via an interface.
func (*AllCertifyVuln) GetVulnerability ¶
func (v *AllCertifyVuln) GetVulnerability() AllCertifyVulnVulnerability
GetVulnerability returns AllCertifyVuln.Vulnerability, and is useful for accessing the field via an interface.
type AllCertifyVulnMetadataScanMetadata ¶ added in v0.2.0
type AllCertifyVulnMetadataScanMetadata struct { // URI of the vulnerability database used by the scanner DbUri string `json:"dbUri"` // Version of the vulnerability database used by the scanner DbVersion string `json:"dbVersion"` // URI of the scanner ScannerUri string `json:"scannerUri"` // Version of the scanner ScannerVersion string `json:"scannerVersion"` // Time of scan (in RFC 3339 format) TimeScanned time.Time `json:"timeScanned"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllCertifyVulnMetadataScanMetadata includes the requested fields of the GraphQL type ScanMetadata. The GraphQL type's documentation follows.
ScanMetadata is the metadata attached to vulnerability certification.
It contains metadata about the scanner process that created the certification.
func (*AllCertifyVulnMetadataScanMetadata) GetCollector ¶ added in v0.2.0
func (v *AllCertifyVulnMetadataScanMetadata) GetCollector() string
GetCollector returns AllCertifyVulnMetadataScanMetadata.Collector, and is useful for accessing the field via an interface.
func (*AllCertifyVulnMetadataScanMetadata) GetDbUri ¶ added in v0.2.0
func (v *AllCertifyVulnMetadataScanMetadata) GetDbUri() string
GetDbUri returns AllCertifyVulnMetadataScanMetadata.DbUri, and is useful for accessing the field via an interface.
func (*AllCertifyVulnMetadataScanMetadata) GetDbVersion ¶ added in v0.2.0
func (v *AllCertifyVulnMetadataScanMetadata) GetDbVersion() string
GetDbVersion returns AllCertifyVulnMetadataScanMetadata.DbVersion, and is useful for accessing the field via an interface.
func (*AllCertifyVulnMetadataScanMetadata) GetOrigin ¶ added in v0.2.0
func (v *AllCertifyVulnMetadataScanMetadata) GetOrigin() string
GetOrigin returns AllCertifyVulnMetadataScanMetadata.Origin, and is useful for accessing the field via an interface.
func (*AllCertifyVulnMetadataScanMetadata) GetScannerUri ¶ added in v0.2.0
func (v *AllCertifyVulnMetadataScanMetadata) GetScannerUri() string
GetScannerUri returns AllCertifyVulnMetadataScanMetadata.ScannerUri, and is useful for accessing the field via an interface.
func (*AllCertifyVulnMetadataScanMetadata) GetScannerVersion ¶ added in v0.2.0
func (v *AllCertifyVulnMetadataScanMetadata) GetScannerVersion() string
GetScannerVersion returns AllCertifyVulnMetadataScanMetadata.ScannerVersion, and is useful for accessing the field via an interface.
func (*AllCertifyVulnMetadataScanMetadata) GetTimeScanned ¶ added in v0.2.0
func (v *AllCertifyVulnMetadataScanMetadata) GetTimeScanned() time.Time
GetTimeScanned returns AllCertifyVulnMetadataScanMetadata.TimeScanned, and is useful for accessing the field via an interface.
type AllCertifyVulnPackage ¶
type AllCertifyVulnPackage struct {
AllPkgTree `json:"-"`
}
AllCertifyVulnPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllCertifyVulnPackage) GetId ¶
func (v *AllCertifyVulnPackage) GetId() string
GetId returns AllCertifyVulnPackage.Id, and is useful for accessing the field via an interface.
func (*AllCertifyVulnPackage) GetNamespaces ¶
func (v *AllCertifyVulnPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllCertifyVulnPackage.Namespaces, and is useful for accessing the field via an interface.
func (*AllCertifyVulnPackage) GetType ¶
func (v *AllCertifyVulnPackage) GetType() string
GetType returns AllCertifyVulnPackage.Type, and is useful for accessing the field via an interface.
func (*AllCertifyVulnPackage) MarshalJSON ¶
func (v *AllCertifyVulnPackage) MarshalJSON() ([]byte, error)
func (*AllCertifyVulnPackage) UnmarshalJSON ¶
func (v *AllCertifyVulnPackage) UnmarshalJSON(b []byte) error
type AllCertifyVulnVulnerability ¶
type AllCertifyVulnVulnerability struct {
AllVulnerabilityTree `json:"-"`
}
AllCertifyVulnVulnerability includes the requested fields of the GraphQL type Vulnerability. The GraphQL type's documentation follows.
Vulnerability represents the root of the vulnerability trie/tree.
We map vulnerability information to a trie, as a derivative of the pURL specification: each path in the trie represents a type and a vulnerability ID. This allows for generic representation of the various vulnerabilities and does not limit to just cve, ghsa or osv. This would be in the general format: vuln://<general-type>/<vuln-id>
Examples:
CVE, using path separator: vuln://cve/cve-2023-20753 OSV, representing its knowledge of a GHSA: vuln://osv/ghsa-205hk Random vendor: vuln://snyk/sn-whatever NoVuln: vuln://novuln/
This node represents the type part of the trie path. It is used to represent the specific type of the vulnerability: cve, ghsa, osv or some other vendor specific
Since this node is at the root of the vulnerability trie, it is named Vulnerability, not VulnerabilityType.
NoVuln is a special vulnerability node to attest that no vulnerability has been found during a vulnerability scan. It will have the type "novuln" and contain an empty string for vulnerabilityID
The resolvers will enforce that both the type and vulnerability IDs are lower case.
func (*AllCertifyVulnVulnerability) GetId ¶ added in v0.2.0
func (v *AllCertifyVulnVulnerability) GetId() string
GetId returns AllCertifyVulnVulnerability.Id, and is useful for accessing the field via an interface.
func (*AllCertifyVulnVulnerability) GetType ¶ added in v0.2.0
func (v *AllCertifyVulnVulnerability) GetType() string
GetType returns AllCertifyVulnVulnerability.Type, and is useful for accessing the field via an interface.
func (*AllCertifyVulnVulnerability) GetVulnerabilityIDs ¶ added in v0.2.0
func (v *AllCertifyVulnVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
GetVulnerabilityIDs returns AllCertifyVulnVulnerability.VulnerabilityIDs, and is useful for accessing the field via an interface.
func (*AllCertifyVulnVulnerability) MarshalJSON ¶ added in v0.2.0
func (v *AllCertifyVulnVulnerability) MarshalJSON() ([]byte, error)
func (*AllCertifyVulnVulnerability) UnmarshalJSON ¶ added in v0.2.0
func (v *AllCertifyVulnVulnerability) UnmarshalJSON(b []byte) error
type AllHasMetadata ¶ added in v0.1.1
type AllHasMetadata struct { Id string `json:"id"` // The package, source or artifact that is attested Subject AllHasMetadataSubjectPackageSourceOrArtifact `json:"-"` // Key in the key value pair Key string `json:"key"` // Value in the key value pair Value string `json:"value"` // Timestamp when the certification was created (in RFC 3339 format) Timestamp time.Time `json:"timestamp"` // The justification for the metadata Justification string `json:"justification"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllHasMetadata includes the GraphQL fields of HasMetadata requested by the fragment AllHasMetadata. The GraphQL type's documentation follows.
HasMetadata is an attestation that a package, source, or artifact has a certain attested property (key) with value (value). For example, a source may have metadata "SourceRepo2FAEnabled=true".
The intent of this evidence tree predicate is to allow extensibility of metadata expressible within the GUAC ontology. Metadata that is commonly used will then be promoted to a predicate on its own.
Justification indicates how the metadata was determined.
The metadata applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*AllHasMetadata) GetCollector ¶ added in v0.1.1
func (v *AllHasMetadata) GetCollector() string
GetCollector returns AllHasMetadata.Collector, and is useful for accessing the field via an interface.
func (*AllHasMetadata) GetId ¶ added in v0.1.1
func (v *AllHasMetadata) GetId() string
GetId returns AllHasMetadata.Id, and is useful for accessing the field via an interface.
func (*AllHasMetadata) GetJustification ¶ added in v0.1.1
func (v *AllHasMetadata) GetJustification() string
GetJustification returns AllHasMetadata.Justification, and is useful for accessing the field via an interface.
func (*AllHasMetadata) GetKey ¶ added in v0.1.1
func (v *AllHasMetadata) GetKey() string
GetKey returns AllHasMetadata.Key, and is useful for accessing the field via an interface.
func (*AllHasMetadata) GetOrigin ¶ added in v0.1.1
func (v *AllHasMetadata) GetOrigin() string
GetOrigin returns AllHasMetadata.Origin, and is useful for accessing the field via an interface.
func (*AllHasMetadata) GetSubject ¶ added in v0.1.1
func (v *AllHasMetadata) GetSubject() AllHasMetadataSubjectPackageSourceOrArtifact
GetSubject returns AllHasMetadata.Subject, and is useful for accessing the field via an interface.
func (*AllHasMetadata) GetTimestamp ¶ added in v0.1.1
func (v *AllHasMetadata) GetTimestamp() time.Time
GetTimestamp returns AllHasMetadata.Timestamp, and is useful for accessing the field via an interface.
func (*AllHasMetadata) GetValue ¶ added in v0.1.1
func (v *AllHasMetadata) GetValue() string
GetValue returns AllHasMetadata.Value, and is useful for accessing the field via an interface.
func (*AllHasMetadata) MarshalJSON ¶ added in v0.1.1
func (v *AllHasMetadata) MarshalJSON() ([]byte, error)
func (*AllHasMetadata) UnmarshalJSON ¶ added in v0.1.1
func (v *AllHasMetadata) UnmarshalJSON(b []byte) error
type AllHasMetadataSubjectArtifact ¶ added in v0.1.1
type AllHasMetadataSubjectArtifact struct { Typename *string `json:"__typename"` AllArtifactTree `json:"-"` }
AllHasMetadataSubjectArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*AllHasMetadataSubjectArtifact) GetAlgorithm ¶ added in v0.1.1
func (v *AllHasMetadataSubjectArtifact) GetAlgorithm() string
GetAlgorithm returns AllHasMetadataSubjectArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*AllHasMetadataSubjectArtifact) GetDigest ¶ added in v0.1.1
func (v *AllHasMetadataSubjectArtifact) GetDigest() string
GetDigest returns AllHasMetadataSubjectArtifact.Digest, and is useful for accessing the field via an interface.
func (*AllHasMetadataSubjectArtifact) GetId ¶ added in v0.1.1
func (v *AllHasMetadataSubjectArtifact) GetId() string
GetId returns AllHasMetadataSubjectArtifact.Id, and is useful for accessing the field via an interface.
func (*AllHasMetadataSubjectArtifact) GetTypename ¶ added in v0.1.1
func (v *AllHasMetadataSubjectArtifact) GetTypename() *string
GetTypename returns AllHasMetadataSubjectArtifact.Typename, and is useful for accessing the field via an interface.
func (*AllHasMetadataSubjectArtifact) MarshalJSON ¶ added in v0.1.1
func (v *AllHasMetadataSubjectArtifact) MarshalJSON() ([]byte, error)
func (*AllHasMetadataSubjectArtifact) UnmarshalJSON ¶ added in v0.1.1
func (v *AllHasMetadataSubjectArtifact) UnmarshalJSON(b []byte) error
type AllHasMetadataSubjectPackage ¶ added in v0.1.1
type AllHasMetadataSubjectPackage struct { Typename *string `json:"__typename"` AllPkgTree `json:"-"` }
AllHasMetadataSubjectPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllHasMetadataSubjectPackage) GetId ¶ added in v0.1.1
func (v *AllHasMetadataSubjectPackage) GetId() string
GetId returns AllHasMetadataSubjectPackage.Id, and is useful for accessing the field via an interface.
func (*AllHasMetadataSubjectPackage) GetNamespaces ¶ added in v0.1.1
func (v *AllHasMetadataSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllHasMetadataSubjectPackage.Namespaces, and is useful for accessing the field via an interface.
func (*AllHasMetadataSubjectPackage) GetType ¶ added in v0.1.1
func (v *AllHasMetadataSubjectPackage) GetType() string
GetType returns AllHasMetadataSubjectPackage.Type, and is useful for accessing the field via an interface.
func (*AllHasMetadataSubjectPackage) GetTypename ¶ added in v0.1.1
func (v *AllHasMetadataSubjectPackage) GetTypename() *string
GetTypename returns AllHasMetadataSubjectPackage.Typename, and is useful for accessing the field via an interface.
func (*AllHasMetadataSubjectPackage) MarshalJSON ¶ added in v0.1.1
func (v *AllHasMetadataSubjectPackage) MarshalJSON() ([]byte, error)
func (*AllHasMetadataSubjectPackage) UnmarshalJSON ¶ added in v0.1.1
func (v *AllHasMetadataSubjectPackage) UnmarshalJSON(b []byte) error
type AllHasMetadataSubjectPackageSourceOrArtifact ¶ added in v0.1.1
type AllHasMetadataSubjectPackageSourceOrArtifact interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() *string // contains filtered or unexported methods }
AllHasMetadataSubjectPackageSourceOrArtifact includes the requested fields of the GraphQL interface PackageSourceOrArtifact.
AllHasMetadataSubjectPackageSourceOrArtifact is implemented by the following types: AllHasMetadataSubjectArtifact AllHasMetadataSubjectPackage AllHasMetadataSubjectSource The GraphQL type's documentation follows.
PackageSourceOrArtifact is a union of Package, Source, and Artifact.
type AllHasMetadataSubjectSource ¶ added in v0.1.1
type AllHasMetadataSubjectSource struct { Typename *string `json:"__typename"` AllSourceTree `json:"-"` }
AllHasMetadataSubjectSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*AllHasMetadataSubjectSource) GetId ¶ added in v0.1.1
func (v *AllHasMetadataSubjectSource) GetId() string
GetId returns AllHasMetadataSubjectSource.Id, and is useful for accessing the field via an interface.
func (*AllHasMetadataSubjectSource) GetNamespaces ¶ added in v0.1.1
func (v *AllHasMetadataSubjectSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns AllHasMetadataSubjectSource.Namespaces, and is useful for accessing the field via an interface.
func (*AllHasMetadataSubjectSource) GetType ¶ added in v0.1.1
func (v *AllHasMetadataSubjectSource) GetType() string
GetType returns AllHasMetadataSubjectSource.Type, and is useful for accessing the field via an interface.
func (*AllHasMetadataSubjectSource) GetTypename ¶ added in v0.1.1
func (v *AllHasMetadataSubjectSource) GetTypename() *string
GetTypename returns AllHasMetadataSubjectSource.Typename, and is useful for accessing the field via an interface.
func (*AllHasMetadataSubjectSource) MarshalJSON ¶ added in v0.1.1
func (v *AllHasMetadataSubjectSource) MarshalJSON() ([]byte, error)
func (*AllHasMetadataSubjectSource) UnmarshalJSON ¶ added in v0.1.1
func (v *AllHasMetadataSubjectSource) UnmarshalJSON(b []byte) error
type AllHasSBOMTree ¶ added in v0.1.1
type AllHasSBOMTree struct { Id string `json:"id"` // SBOM subject Subject AllHasSBOMTreeSubjectPackageOrArtifact `json:"-"` // Identifier for the SBOM document Uri string `json:"uri"` // Algorithm by which SBOMs digest was computed Algorithm string `json:"algorithm"` // Digest of SBOM Digest string `json:"digest"` // Location from which the SBOM can be downloaded DownloadLocation string `json:"downloadLocation"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` // Timestamp for SBOM creation KnownSince time.Time `json:"knownSince"` // Reference location of the document in the persistent blob store (if that is configured) DocumentRef string `json:"documentRef"` // Included packages and artifacts IncludedSoftware []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact `json:"-"` // Included dependencies IncludedDependencies []AllHasSBOMTreeIncludedDependenciesIsDependency `json:"includedDependencies"` // Included occurrences IncludedOccurrences []AllHasSBOMTreeIncludedOccurrencesIsOccurrence `json:"includedOccurrences"` }
AllHasSBOMTree includes the GraphQL fields of HasSBOM requested by the fragment AllHasSBOMTree.
func (*AllHasSBOMTree) GetAlgorithm ¶ added in v0.1.1
func (v *AllHasSBOMTree) GetAlgorithm() string
GetAlgorithm returns AllHasSBOMTree.Algorithm, and is useful for accessing the field via an interface.
func (*AllHasSBOMTree) GetCollector ¶ added in v0.1.1
func (v *AllHasSBOMTree) GetCollector() string
GetCollector returns AllHasSBOMTree.Collector, and is useful for accessing the field via an interface.
func (*AllHasSBOMTree) GetDigest ¶ added in v0.1.1
func (v *AllHasSBOMTree) GetDigest() string
GetDigest returns AllHasSBOMTree.Digest, and is useful for accessing the field via an interface.
func (*AllHasSBOMTree) GetDocumentRef ¶ added in v0.8.3
func (v *AllHasSBOMTree) GetDocumentRef() string
GetDocumentRef returns AllHasSBOMTree.DocumentRef, and is useful for accessing the field via an interface.
func (*AllHasSBOMTree) GetDownloadLocation ¶ added in v0.1.1
func (v *AllHasSBOMTree) GetDownloadLocation() string
GetDownloadLocation returns AllHasSBOMTree.DownloadLocation, and is useful for accessing the field via an interface.
func (*AllHasSBOMTree) GetId ¶ added in v0.1.1
func (v *AllHasSBOMTree) GetId() string
GetId returns AllHasSBOMTree.Id, and is useful for accessing the field via an interface.
func (*AllHasSBOMTree) GetIncludedDependencies ¶ added in v0.4.0
func (v *AllHasSBOMTree) GetIncludedDependencies() []AllHasSBOMTreeIncludedDependenciesIsDependency
GetIncludedDependencies returns AllHasSBOMTree.IncludedDependencies, and is useful for accessing the field via an interface.
func (*AllHasSBOMTree) GetIncludedOccurrences ¶ added in v0.4.0
func (v *AllHasSBOMTree) GetIncludedOccurrences() []AllHasSBOMTreeIncludedOccurrencesIsOccurrence
GetIncludedOccurrences returns AllHasSBOMTree.IncludedOccurrences, and is useful for accessing the field via an interface.
func (*AllHasSBOMTree) GetIncludedSoftware ¶ added in v0.4.0
func (v *AllHasSBOMTree) GetIncludedSoftware() []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
GetIncludedSoftware returns AllHasSBOMTree.IncludedSoftware, and is useful for accessing the field via an interface.
func (*AllHasSBOMTree) GetKnownSince ¶ added in v0.2.1
func (v *AllHasSBOMTree) GetKnownSince() time.Time
GetKnownSince returns AllHasSBOMTree.KnownSince, and is useful for accessing the field via an interface.
func (*AllHasSBOMTree) GetOrigin ¶ added in v0.1.1
func (v *AllHasSBOMTree) GetOrigin() string
GetOrigin returns AllHasSBOMTree.Origin, and is useful for accessing the field via an interface.
func (*AllHasSBOMTree) GetSubject ¶ added in v0.1.1
func (v *AllHasSBOMTree) GetSubject() AllHasSBOMTreeSubjectPackageOrArtifact
GetSubject returns AllHasSBOMTree.Subject, and is useful for accessing the field via an interface.
func (*AllHasSBOMTree) GetUri ¶ added in v0.1.1
func (v *AllHasSBOMTree) GetUri() string
GetUri returns AllHasSBOMTree.Uri, and is useful for accessing the field via an interface.
func (*AllHasSBOMTree) MarshalJSON ¶ added in v0.1.1
func (v *AllHasSBOMTree) MarshalJSON() ([]byte, error)
func (*AllHasSBOMTree) UnmarshalJSON ¶ added in v0.1.1
func (v *AllHasSBOMTree) UnmarshalJSON(b []byte) error
type AllHasSBOMTreeIncludedDependenciesIsDependency ¶ added in v0.4.0
type AllHasSBOMTreeIncludedDependenciesIsDependency struct {
AllIsDependencyTree `json:"-"`
}
AllHasSBOMTreeIncludedDependenciesIsDependency includes the requested fields of the GraphQL type IsDependency. The GraphQL type's documentation follows.
IsDependency is an attestation to record that a package depends on another.
func (*AllHasSBOMTreeIncludedDependenciesIsDependency) GetCollector ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) GetCollector() string
GetCollector returns AllHasSBOMTreeIncludedDependenciesIsDependency.Collector, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedDependenciesIsDependency) GetDependencyPackage ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
GetDependencyPackage returns AllHasSBOMTreeIncludedDependenciesIsDependency.DependencyPackage, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedDependenciesIsDependency) GetDependencyType ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) GetDependencyType() DependencyType
GetDependencyType returns AllHasSBOMTreeIncludedDependenciesIsDependency.DependencyType, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedDependenciesIsDependency) GetId ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) GetId() string
GetId returns AllHasSBOMTreeIncludedDependenciesIsDependency.Id, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedDependenciesIsDependency) GetJustification ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) GetJustification() string
GetJustification returns AllHasSBOMTreeIncludedDependenciesIsDependency.Justification, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedDependenciesIsDependency) GetOrigin ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) GetOrigin() string
GetOrigin returns AllHasSBOMTreeIncludedDependenciesIsDependency.Origin, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedDependenciesIsDependency) GetPackage ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) GetPackage() AllIsDependencyTreePackage
GetPackage returns AllHasSBOMTreeIncludedDependenciesIsDependency.Package, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedDependenciesIsDependency) MarshalJSON ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) MarshalJSON() ([]byte, error)
func (*AllHasSBOMTreeIncludedDependenciesIsDependency) UnmarshalJSON ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedDependenciesIsDependency) UnmarshalJSON(b []byte) error
type AllHasSBOMTreeIncludedOccurrencesIsOccurrence ¶ added in v0.4.0
type AllHasSBOMTreeIncludedOccurrencesIsOccurrence struct {
AllIsOccurrencesTree `json:"-"`
}
AllHasSBOMTreeIncludedOccurrencesIsOccurrence includes the requested fields of the GraphQL type IsOccurrence. The GraphQL type's documentation follows.
IsOccurrence is an attestation to link an artifact to a package or source.
Attestation must occur at the PackageVersion or at the SourceName.
func (*AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetArtifact ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetArtifact() AllIsOccurrencesTreeArtifact
GetArtifact returns AllHasSBOMTreeIncludedOccurrencesIsOccurrence.Artifact, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetCollector ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetCollector() string
GetCollector returns AllHasSBOMTreeIncludedOccurrencesIsOccurrence.Collector, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetId ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetId() string
GetId returns AllHasSBOMTreeIncludedOccurrencesIsOccurrence.Id, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetJustification ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetJustification() string
GetJustification returns AllHasSBOMTreeIncludedOccurrencesIsOccurrence.Justification, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetOrigin ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetOrigin() string
GetOrigin returns AllHasSBOMTreeIncludedOccurrencesIsOccurrence.Origin, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetSubject ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
GetSubject returns AllHasSBOMTreeIncludedOccurrencesIsOccurrence.Subject, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedOccurrencesIsOccurrence) MarshalJSON ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) MarshalJSON() ([]byte, error)
func (*AllHasSBOMTreeIncludedOccurrencesIsOccurrence) UnmarshalJSON ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedOccurrencesIsOccurrence) UnmarshalJSON(b []byte) error
type AllHasSBOMTreeIncludedSoftwareArtifact ¶ added in v0.4.0
type AllHasSBOMTreeIncludedSoftwareArtifact struct { Typename *string `json:"__typename"` AllArtifactTree `json:"-"` }
AllHasSBOMTreeIncludedSoftwareArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*AllHasSBOMTreeIncludedSoftwareArtifact) GetAlgorithm ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedSoftwareArtifact) GetAlgorithm() string
GetAlgorithm returns AllHasSBOMTreeIncludedSoftwareArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedSoftwareArtifact) GetDigest ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedSoftwareArtifact) GetDigest() string
GetDigest returns AllHasSBOMTreeIncludedSoftwareArtifact.Digest, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedSoftwareArtifact) GetId ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedSoftwareArtifact) GetId() string
GetId returns AllHasSBOMTreeIncludedSoftwareArtifact.Id, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedSoftwareArtifact) GetTypename ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedSoftwareArtifact) GetTypename() *string
GetTypename returns AllHasSBOMTreeIncludedSoftwareArtifact.Typename, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedSoftwareArtifact) MarshalJSON ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedSoftwareArtifact) MarshalJSON() ([]byte, error)
func (*AllHasSBOMTreeIncludedSoftwareArtifact) UnmarshalJSON ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedSoftwareArtifact) UnmarshalJSON(b []byte) error
type AllHasSBOMTreeIncludedSoftwarePackage ¶ added in v0.4.0
type AllHasSBOMTreeIncludedSoftwarePackage struct { Typename *string `json:"__typename"` AllPkgTree `json:"-"` }
AllHasSBOMTreeIncludedSoftwarePackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllHasSBOMTreeIncludedSoftwarePackage) GetId ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedSoftwarePackage) GetId() string
GetId returns AllHasSBOMTreeIncludedSoftwarePackage.Id, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedSoftwarePackage) GetNamespaces ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedSoftwarePackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllHasSBOMTreeIncludedSoftwarePackage.Namespaces, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedSoftwarePackage) GetType ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedSoftwarePackage) GetType() string
GetType returns AllHasSBOMTreeIncludedSoftwarePackage.Type, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedSoftwarePackage) GetTypename ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedSoftwarePackage) GetTypename() *string
GetTypename returns AllHasSBOMTreeIncludedSoftwarePackage.Typename, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeIncludedSoftwarePackage) MarshalJSON ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedSoftwarePackage) MarshalJSON() ([]byte, error)
func (*AllHasSBOMTreeIncludedSoftwarePackage) UnmarshalJSON ¶ added in v0.4.0
func (v *AllHasSBOMTreeIncludedSoftwarePackage) UnmarshalJSON(b []byte) error
type AllHasSBOMTreeIncludedSoftwarePackageOrArtifact ¶ added in v0.4.0
type AllHasSBOMTreeIncludedSoftwarePackageOrArtifact interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() *string // contains filtered or unexported methods }
AllHasSBOMTreeIncludedSoftwarePackageOrArtifact includes the requested fields of the GraphQL interface PackageOrArtifact.
AllHasSBOMTreeIncludedSoftwarePackageOrArtifact is implemented by the following types: AllHasSBOMTreeIncludedSoftwareArtifact AllHasSBOMTreeIncludedSoftwarePackage The GraphQL type's documentation follows.
PackageOrArtifact is a union of Package and Artifact.
type AllHasSBOMTreeSubjectArtifact ¶ added in v0.1.1
type AllHasSBOMTreeSubjectArtifact struct { Typename *string `json:"__typename"` AllArtifactTree `json:"-"` }
AllHasSBOMTreeSubjectArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*AllHasSBOMTreeSubjectArtifact) GetAlgorithm ¶ added in v0.1.1
func (v *AllHasSBOMTreeSubjectArtifact) GetAlgorithm() string
GetAlgorithm returns AllHasSBOMTreeSubjectArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeSubjectArtifact) GetDigest ¶ added in v0.1.1
func (v *AllHasSBOMTreeSubjectArtifact) GetDigest() string
GetDigest returns AllHasSBOMTreeSubjectArtifact.Digest, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeSubjectArtifact) GetId ¶ added in v0.1.1
func (v *AllHasSBOMTreeSubjectArtifact) GetId() string
GetId returns AllHasSBOMTreeSubjectArtifact.Id, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeSubjectArtifact) GetTypename ¶ added in v0.1.1
func (v *AllHasSBOMTreeSubjectArtifact) GetTypename() *string
GetTypename returns AllHasSBOMTreeSubjectArtifact.Typename, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeSubjectArtifact) MarshalJSON ¶ added in v0.1.1
func (v *AllHasSBOMTreeSubjectArtifact) MarshalJSON() ([]byte, error)
func (*AllHasSBOMTreeSubjectArtifact) UnmarshalJSON ¶ added in v0.1.1
func (v *AllHasSBOMTreeSubjectArtifact) UnmarshalJSON(b []byte) error
type AllHasSBOMTreeSubjectPackage ¶ added in v0.1.1
type AllHasSBOMTreeSubjectPackage struct { Typename *string `json:"__typename"` AllPkgTree `json:"-"` }
AllHasSBOMTreeSubjectPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllHasSBOMTreeSubjectPackage) GetId ¶ added in v0.1.1
func (v *AllHasSBOMTreeSubjectPackage) GetId() string
GetId returns AllHasSBOMTreeSubjectPackage.Id, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeSubjectPackage) GetNamespaces ¶ added in v0.1.1
func (v *AllHasSBOMTreeSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllHasSBOMTreeSubjectPackage.Namespaces, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeSubjectPackage) GetType ¶ added in v0.1.1
func (v *AllHasSBOMTreeSubjectPackage) GetType() string
GetType returns AllHasSBOMTreeSubjectPackage.Type, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeSubjectPackage) GetTypename ¶ added in v0.1.1
func (v *AllHasSBOMTreeSubjectPackage) GetTypename() *string
GetTypename returns AllHasSBOMTreeSubjectPackage.Typename, and is useful for accessing the field via an interface.
func (*AllHasSBOMTreeSubjectPackage) MarshalJSON ¶ added in v0.1.1
func (v *AllHasSBOMTreeSubjectPackage) MarshalJSON() ([]byte, error)
func (*AllHasSBOMTreeSubjectPackage) UnmarshalJSON ¶ added in v0.1.1
func (v *AllHasSBOMTreeSubjectPackage) UnmarshalJSON(b []byte) error
type AllHasSBOMTreeSubjectPackageOrArtifact ¶ added in v0.1.1
type AllHasSBOMTreeSubjectPackageOrArtifact interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() *string // contains filtered or unexported methods }
AllHasSBOMTreeSubjectPackageOrArtifact includes the requested fields of the GraphQL interface PackageOrArtifact.
AllHasSBOMTreeSubjectPackageOrArtifact is implemented by the following types: AllHasSBOMTreeSubjectArtifact AllHasSBOMTreeSubjectPackage The GraphQL type's documentation follows.
PackageOrArtifact is a union of Package and Artifact.
type AllHasSLSATree ¶ added in v0.7.0
type AllHasSLSATree struct { Id string `json:"id"` // The subject of SLSA attestation Subject AllHasSLSATreeSubjectArtifact `json:"subject"` // The SLSA attestation Slsa AllHasSLSATreeSlsaSLSA `json:"slsa"` }
AllHasSLSATree includes the GraphQL fields of HasSLSA requested by the fragment AllHasSLSATree. The GraphQL type's documentation follows.
HasSLSA records that a subject node has a SLSA attestation.
func (*AllHasSLSATree) GetId ¶ added in v0.7.0
func (v *AllHasSLSATree) GetId() string
GetId returns AllHasSLSATree.Id, and is useful for accessing the field via an interface.
func (*AllHasSLSATree) GetSlsa ¶ added in v0.7.0
func (v *AllHasSLSATree) GetSlsa() AllHasSLSATreeSlsaSLSA
GetSlsa returns AllHasSLSATree.Slsa, and is useful for accessing the field via an interface.
func (*AllHasSLSATree) GetSubject ¶ added in v0.7.0
func (v *AllHasSLSATree) GetSubject() AllHasSLSATreeSubjectArtifact
GetSubject returns AllHasSLSATree.Subject, and is useful for accessing the field via an interface.
type AllHasSLSATreeSlsaSLSA ¶ added in v0.7.0
type AllHasSLSATreeSlsaSLSA struct { // Materials of the build resulting in subject BuiltFrom []AllHasSLSATreeSlsaSLSABuiltFromArtifact `json:"builtFrom"` // Builder performing the build BuiltBy AllHasSLSATreeSlsaSLSABuiltByBuilder `json:"builtBy"` // Type of the builder BuildType string `json:"buildType"` // Individual predicates found in the attestation SlsaPredicate []AllHasSLSATreeSlsaSLSASlsaPredicateSLSAPredicate `json:"slsaPredicate"` // Version of the SLSA predicate SlsaVersion string `json:"slsaVersion"` // Timestamp (RFC3339Nano format) of build start time StartedOn *time.Time `json:"startedOn"` // Timestamp (RFC3339Nano format) of build end time FinishedOn *time.Time `json:"finishedOn"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` // Reference location of the document in the persistent blob store (if that is configured) DocumentRef string `json:"documentRef"` }
AllHasSLSATreeSlsaSLSA includes the requested fields of the GraphQL type SLSA. The GraphQL type's documentation follows.
SLSA contains all of the fields present in a SLSA attestation.
The materials and builders are objects of the HasSLSA predicate, everything else are properties extracted from the attestation.
We also include fields to specify under what conditions the check was performed (time of scan, version of scanners, etc.) as well as how this information got included into GUAC (origin document and the collector for that document).
func (*AllHasSLSATreeSlsaSLSA) GetBuildType ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSA) GetBuildType() string
GetBuildType returns AllHasSLSATreeSlsaSLSA.BuildType, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSA) GetBuiltBy ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSA) GetBuiltBy() AllHasSLSATreeSlsaSLSABuiltByBuilder
GetBuiltBy returns AllHasSLSATreeSlsaSLSA.BuiltBy, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSA) GetBuiltFrom ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSA) GetBuiltFrom() []AllHasSLSATreeSlsaSLSABuiltFromArtifact
GetBuiltFrom returns AllHasSLSATreeSlsaSLSA.BuiltFrom, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSA) GetCollector ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSA) GetCollector() string
GetCollector returns AllHasSLSATreeSlsaSLSA.Collector, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSA) GetDocumentRef ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSA) GetDocumentRef() string
GetDocumentRef returns AllHasSLSATreeSlsaSLSA.DocumentRef, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSA) GetFinishedOn ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSA) GetFinishedOn() *time.Time
GetFinishedOn returns AllHasSLSATreeSlsaSLSA.FinishedOn, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSA) GetOrigin ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSA) GetOrigin() string
GetOrigin returns AllHasSLSATreeSlsaSLSA.Origin, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSA) GetSlsaPredicate ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSA) GetSlsaPredicate() []AllHasSLSATreeSlsaSLSASlsaPredicateSLSAPredicate
GetSlsaPredicate returns AllHasSLSATreeSlsaSLSA.SlsaPredicate, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSA) GetSlsaVersion ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSA) GetSlsaVersion() string
GetSlsaVersion returns AllHasSLSATreeSlsaSLSA.SlsaVersion, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSA) GetStartedOn ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSA) GetStartedOn() *time.Time
GetStartedOn returns AllHasSLSATreeSlsaSLSA.StartedOn, and is useful for accessing the field via an interface.
type AllHasSLSATreeSlsaSLSABuiltByBuilder ¶ added in v0.7.0
type AllHasSLSATreeSlsaSLSABuiltByBuilder struct {
AllBuilderTree `json:"-"`
}
AllHasSLSATreeSlsaSLSABuiltByBuilder includes the requested fields of the GraphQL type Builder. The GraphQL type's documentation follows.
Builder represents the builder (e.g., FRSCA or GitHub Actions).
Currently builders are identified by the uri field.
func (*AllHasSLSATreeSlsaSLSABuiltByBuilder) GetId ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSABuiltByBuilder) GetId() string
GetId returns AllHasSLSATreeSlsaSLSABuiltByBuilder.Id, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSABuiltByBuilder) GetUri ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSABuiltByBuilder) GetUri() string
GetUri returns AllHasSLSATreeSlsaSLSABuiltByBuilder.Uri, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSABuiltByBuilder) MarshalJSON ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSABuiltByBuilder) MarshalJSON() ([]byte, error)
func (*AllHasSLSATreeSlsaSLSABuiltByBuilder) UnmarshalJSON ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSABuiltByBuilder) UnmarshalJSON(b []byte) error
type AllHasSLSATreeSlsaSLSABuiltFromArtifact ¶ added in v0.7.0
type AllHasSLSATreeSlsaSLSABuiltFromArtifact struct {
AllArtifactTree `json:"-"`
}
AllHasSLSATreeSlsaSLSABuiltFromArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*AllHasSLSATreeSlsaSLSABuiltFromArtifact) GetAlgorithm ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSABuiltFromArtifact) GetAlgorithm() string
GetAlgorithm returns AllHasSLSATreeSlsaSLSABuiltFromArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSABuiltFromArtifact) GetDigest ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSABuiltFromArtifact) GetDigest() string
GetDigest returns AllHasSLSATreeSlsaSLSABuiltFromArtifact.Digest, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSABuiltFromArtifact) GetId ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSABuiltFromArtifact) GetId() string
GetId returns AllHasSLSATreeSlsaSLSABuiltFromArtifact.Id, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSABuiltFromArtifact) MarshalJSON ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSABuiltFromArtifact) MarshalJSON() ([]byte, error)
func (*AllHasSLSATreeSlsaSLSABuiltFromArtifact) UnmarshalJSON ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSABuiltFromArtifact) UnmarshalJSON(b []byte) error
type AllHasSLSATreeSlsaSLSASlsaPredicateSLSAPredicate ¶ added in v0.7.0
type AllHasSLSATreeSlsaSLSASlsaPredicateSLSAPredicate struct { Key string `json:"key"` Value string `json:"value"` }
AllHasSLSATreeSlsaSLSASlsaPredicateSLSAPredicate includes the requested fields of the GraphQL type SLSAPredicate. The GraphQL type's documentation follows.
SLSAPredicate are the values from the SLSA predicate in key-value pair form.
For example, given the following predicate ¶
``` "predicate": { "buildDefinition": { "externalParameters": { "repository": "https://github.com/octocat/hello-world", ... }, ... }, ... } ```
we have
``` key = "buildDefinition.externalParameters.repository" value = "https://github.com/octocat/hello-world" ```
This node cannot be directly referred by other parts of GUAC.
func (*AllHasSLSATreeSlsaSLSASlsaPredicateSLSAPredicate) GetKey ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSASlsaPredicateSLSAPredicate) GetKey() string
GetKey returns AllHasSLSATreeSlsaSLSASlsaPredicateSLSAPredicate.Key, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSlsaSLSASlsaPredicateSLSAPredicate) GetValue ¶ added in v0.7.0
func (v *AllHasSLSATreeSlsaSLSASlsaPredicateSLSAPredicate) GetValue() string
GetValue returns AllHasSLSATreeSlsaSLSASlsaPredicateSLSAPredicate.Value, and is useful for accessing the field via an interface.
type AllHasSLSATreeSubjectArtifact ¶ added in v0.7.0
type AllHasSLSATreeSubjectArtifact struct {
AllArtifactTree `json:"-"`
}
AllHasSLSATreeSubjectArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*AllHasSLSATreeSubjectArtifact) GetAlgorithm ¶ added in v0.7.0
func (v *AllHasSLSATreeSubjectArtifact) GetAlgorithm() string
GetAlgorithm returns AllHasSLSATreeSubjectArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSubjectArtifact) GetDigest ¶ added in v0.7.0
func (v *AllHasSLSATreeSubjectArtifact) GetDigest() string
GetDigest returns AllHasSLSATreeSubjectArtifact.Digest, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSubjectArtifact) GetId ¶ added in v0.7.0
func (v *AllHasSLSATreeSubjectArtifact) GetId() string
GetId returns AllHasSLSATreeSubjectArtifact.Id, and is useful for accessing the field via an interface.
func (*AllHasSLSATreeSubjectArtifact) MarshalJSON ¶ added in v0.7.0
func (v *AllHasSLSATreeSubjectArtifact) MarshalJSON() ([]byte, error)
func (*AllHasSLSATreeSubjectArtifact) UnmarshalJSON ¶ added in v0.7.0
func (v *AllHasSLSATreeSubjectArtifact) UnmarshalJSON(b []byte) error
type AllHasSourceAt ¶ added in v0.1.1
type AllHasSourceAt struct { Id string `json:"id"` // Justification for the attested relationship Justification string `json:"justification"` // Timestamp since this link between package and source was certified KnownSince time.Time `json:"knownSince"` // The subject of the attestation: can be a PackageName or a PackageVersion Package AllHasSourceAtPackage `json:"package"` // Source repository from which the package is built Source AllHasSourceAtSource `json:"source"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllHasSourceAt includes the GraphQL fields of HasSourceAt requested by the fragment AllHasSourceAt. The GraphQL type's documentation follows.
HasSourceAt records that a package's repository is a given source.
func (*AllHasSourceAt) GetCollector ¶ added in v0.1.1
func (v *AllHasSourceAt) GetCollector() string
GetCollector returns AllHasSourceAt.Collector, and is useful for accessing the field via an interface.
func (*AllHasSourceAt) GetId ¶ added in v0.1.1
func (v *AllHasSourceAt) GetId() string
GetId returns AllHasSourceAt.Id, and is useful for accessing the field via an interface.
func (*AllHasSourceAt) GetJustification ¶ added in v0.1.1
func (v *AllHasSourceAt) GetJustification() string
GetJustification returns AllHasSourceAt.Justification, and is useful for accessing the field via an interface.
func (*AllHasSourceAt) GetKnownSince ¶ added in v0.1.1
func (v *AllHasSourceAt) GetKnownSince() time.Time
GetKnownSince returns AllHasSourceAt.KnownSince, and is useful for accessing the field via an interface.
func (*AllHasSourceAt) GetOrigin ¶ added in v0.1.1
func (v *AllHasSourceAt) GetOrigin() string
GetOrigin returns AllHasSourceAt.Origin, and is useful for accessing the field via an interface.
func (*AllHasSourceAt) GetPackage ¶ added in v0.1.1
func (v *AllHasSourceAt) GetPackage() AllHasSourceAtPackage
GetPackage returns AllHasSourceAt.Package, and is useful for accessing the field via an interface.
func (*AllHasSourceAt) GetSource ¶ added in v0.1.1
func (v *AllHasSourceAt) GetSource() AllHasSourceAtSource
GetSource returns AllHasSourceAt.Source, and is useful for accessing the field via an interface.
type AllHasSourceAtPackage ¶ added in v0.1.1
type AllHasSourceAtPackage struct {
AllPkgTree `json:"-"`
}
AllHasSourceAtPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllHasSourceAtPackage) GetId ¶ added in v0.1.1
func (v *AllHasSourceAtPackage) GetId() string
GetId returns AllHasSourceAtPackage.Id, and is useful for accessing the field via an interface.
func (*AllHasSourceAtPackage) GetNamespaces ¶ added in v0.1.1
func (v *AllHasSourceAtPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllHasSourceAtPackage.Namespaces, and is useful for accessing the field via an interface.
func (*AllHasSourceAtPackage) GetType ¶ added in v0.1.1
func (v *AllHasSourceAtPackage) GetType() string
GetType returns AllHasSourceAtPackage.Type, and is useful for accessing the field via an interface.
func (*AllHasSourceAtPackage) MarshalJSON ¶ added in v0.1.1
func (v *AllHasSourceAtPackage) MarshalJSON() ([]byte, error)
func (*AllHasSourceAtPackage) UnmarshalJSON ¶ added in v0.1.1
func (v *AllHasSourceAtPackage) UnmarshalJSON(b []byte) error
type AllHasSourceAtSource ¶ added in v0.1.1
type AllHasSourceAtSource struct {
AllSourceTree `json:"-"`
}
AllHasSourceAtSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*AllHasSourceAtSource) GetId ¶ added in v0.1.1
func (v *AllHasSourceAtSource) GetId() string
GetId returns AllHasSourceAtSource.Id, and is useful for accessing the field via an interface.
func (*AllHasSourceAtSource) GetNamespaces ¶ added in v0.1.1
func (v *AllHasSourceAtSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns AllHasSourceAtSource.Namespaces, and is useful for accessing the field via an interface.
func (*AllHasSourceAtSource) GetType ¶ added in v0.1.1
func (v *AllHasSourceAtSource) GetType() string
GetType returns AllHasSourceAtSource.Type, and is useful for accessing the field via an interface.
func (*AllHasSourceAtSource) MarshalJSON ¶ added in v0.1.1
func (v *AllHasSourceAtSource) MarshalJSON() ([]byte, error)
func (*AllHasSourceAtSource) UnmarshalJSON ¶ added in v0.1.1
func (v *AllHasSourceAtSource) UnmarshalJSON(b []byte) error
type AllHashEqualTree ¶ added in v0.1.1
type AllHashEqualTree struct { Id string `json:"id"` // Justification for the claim that the artifacts are similar Justification string `json:"justification"` // Two artifacts that are similar Artifacts []AllHashEqualTreeArtifactsArtifact `json:"artifacts"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllHashEqualTree includes the GraphQL fields of HashEqual requested by the fragment AllHashEqualTree. The GraphQL type's documentation follows.
HashEqual is an attestation that two artifacts are identical.
func (*AllHashEqualTree) GetArtifacts ¶ added in v0.1.1
func (v *AllHashEqualTree) GetArtifacts() []AllHashEqualTreeArtifactsArtifact
GetArtifacts returns AllHashEqualTree.Artifacts, and is useful for accessing the field via an interface.
func (*AllHashEqualTree) GetCollector ¶ added in v0.1.1
func (v *AllHashEqualTree) GetCollector() string
GetCollector returns AllHashEqualTree.Collector, and is useful for accessing the field via an interface.
func (*AllHashEqualTree) GetId ¶ added in v0.1.1
func (v *AllHashEqualTree) GetId() string
GetId returns AllHashEqualTree.Id, and is useful for accessing the field via an interface.
func (*AllHashEqualTree) GetJustification ¶ added in v0.1.1
func (v *AllHashEqualTree) GetJustification() string
GetJustification returns AllHashEqualTree.Justification, and is useful for accessing the field via an interface.
func (*AllHashEqualTree) GetOrigin ¶ added in v0.1.1
func (v *AllHashEqualTree) GetOrigin() string
GetOrigin returns AllHashEqualTree.Origin, and is useful for accessing the field via an interface.
type AllHashEqualTreeArtifactsArtifact ¶ added in v0.1.1
type AllHashEqualTreeArtifactsArtifact struct {
AllArtifactTree `json:"-"`
}
AllHashEqualTreeArtifactsArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*AllHashEqualTreeArtifactsArtifact) GetAlgorithm ¶ added in v0.1.1
func (v *AllHashEqualTreeArtifactsArtifact) GetAlgorithm() string
GetAlgorithm returns AllHashEqualTreeArtifactsArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*AllHashEqualTreeArtifactsArtifact) GetDigest ¶ added in v0.1.1
func (v *AllHashEqualTreeArtifactsArtifact) GetDigest() string
GetDigest returns AllHashEqualTreeArtifactsArtifact.Digest, and is useful for accessing the field via an interface.
func (*AllHashEqualTreeArtifactsArtifact) GetId ¶ added in v0.1.1
func (v *AllHashEqualTreeArtifactsArtifact) GetId() string
GetId returns AllHashEqualTreeArtifactsArtifact.Id, and is useful for accessing the field via an interface.
func (*AllHashEqualTreeArtifactsArtifact) MarshalJSON ¶ added in v0.1.1
func (v *AllHashEqualTreeArtifactsArtifact) MarshalJSON() ([]byte, error)
func (*AllHashEqualTreeArtifactsArtifact) UnmarshalJSON ¶ added in v0.1.1
func (v *AllHashEqualTreeArtifactsArtifact) UnmarshalJSON(b []byte) error
type AllIsDependencyTree ¶ added in v0.1.1
type AllIsDependencyTree struct { Id string `json:"id"` // Justification for the attested relationship Justification string `json:"justification"` // Package that has the dependency Package AllIsDependencyTreePackage `json:"package"` // Package for the dependency; MUST be PackageVersion DependencyPackage AllIsDependencyTreeDependencyPackage `json:"dependencyPackage"` // Type of dependency DependencyType DependencyType `json:"dependencyType"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllIsDependencyTree includes the GraphQL fields of IsDependency requested by the fragment AllIsDependencyTree. The GraphQL type's documentation follows.
IsDependency is an attestation to record that a package depends on another.
func (*AllIsDependencyTree) GetCollector ¶ added in v0.1.1
func (v *AllIsDependencyTree) GetCollector() string
GetCollector returns AllIsDependencyTree.Collector, and is useful for accessing the field via an interface.
func (*AllIsDependencyTree) GetDependencyPackage ¶ added in v0.2.0
func (v *AllIsDependencyTree) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
GetDependencyPackage returns AllIsDependencyTree.DependencyPackage, and is useful for accessing the field via an interface.
func (*AllIsDependencyTree) GetDependencyType ¶ added in v0.1.1
func (v *AllIsDependencyTree) GetDependencyType() DependencyType
GetDependencyType returns AllIsDependencyTree.DependencyType, and is useful for accessing the field via an interface.
func (*AllIsDependencyTree) GetId ¶ added in v0.1.1
func (v *AllIsDependencyTree) GetId() string
GetId returns AllIsDependencyTree.Id, and is useful for accessing the field via an interface.
func (*AllIsDependencyTree) GetJustification ¶ added in v0.1.1
func (v *AllIsDependencyTree) GetJustification() string
GetJustification returns AllIsDependencyTree.Justification, and is useful for accessing the field via an interface.
func (*AllIsDependencyTree) GetOrigin ¶ added in v0.1.1
func (v *AllIsDependencyTree) GetOrigin() string
GetOrigin returns AllIsDependencyTree.Origin, and is useful for accessing the field via an interface.
func (*AllIsDependencyTree) GetPackage ¶ added in v0.1.1
func (v *AllIsDependencyTree) GetPackage() AllIsDependencyTreePackage
GetPackage returns AllIsDependencyTree.Package, and is useful for accessing the field via an interface.
type AllIsDependencyTreeDependencyPackage ¶ added in v0.2.0
type AllIsDependencyTreeDependencyPackage struct {
AllPkgTree `json:"-"`
}
AllIsDependencyTreeDependencyPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllIsDependencyTreeDependencyPackage) GetId ¶ added in v0.2.0
func (v *AllIsDependencyTreeDependencyPackage) GetId() string
GetId returns AllIsDependencyTreeDependencyPackage.Id, and is useful for accessing the field via an interface.
func (*AllIsDependencyTreeDependencyPackage) GetNamespaces ¶ added in v0.2.0
func (v *AllIsDependencyTreeDependencyPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllIsDependencyTreeDependencyPackage.Namespaces, and is useful for accessing the field via an interface.
func (*AllIsDependencyTreeDependencyPackage) GetType ¶ added in v0.2.0
func (v *AllIsDependencyTreeDependencyPackage) GetType() string
GetType returns AllIsDependencyTreeDependencyPackage.Type, and is useful for accessing the field via an interface.
func (*AllIsDependencyTreeDependencyPackage) MarshalJSON ¶ added in v0.2.0
func (v *AllIsDependencyTreeDependencyPackage) MarshalJSON() ([]byte, error)
func (*AllIsDependencyTreeDependencyPackage) UnmarshalJSON ¶ added in v0.2.0
func (v *AllIsDependencyTreeDependencyPackage) UnmarshalJSON(b []byte) error
type AllIsDependencyTreePackage ¶ added in v0.1.1
type AllIsDependencyTreePackage struct {
AllPkgTree `json:"-"`
}
AllIsDependencyTreePackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllIsDependencyTreePackage) GetId ¶ added in v0.1.1
func (v *AllIsDependencyTreePackage) GetId() string
GetId returns AllIsDependencyTreePackage.Id, and is useful for accessing the field via an interface.
func (*AllIsDependencyTreePackage) GetNamespaces ¶ added in v0.1.1
func (v *AllIsDependencyTreePackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllIsDependencyTreePackage.Namespaces, and is useful for accessing the field via an interface.
func (*AllIsDependencyTreePackage) GetType ¶ added in v0.1.1
func (v *AllIsDependencyTreePackage) GetType() string
GetType returns AllIsDependencyTreePackage.Type, and is useful for accessing the field via an interface.
func (*AllIsDependencyTreePackage) MarshalJSON ¶ added in v0.1.1
func (v *AllIsDependencyTreePackage) MarshalJSON() ([]byte, error)
func (*AllIsDependencyTreePackage) UnmarshalJSON ¶ added in v0.1.1
func (v *AllIsDependencyTreePackage) UnmarshalJSON(b []byte) error
type AllIsOccurrencesTree ¶
type AllIsOccurrencesTree struct { Id string `json:"id"` // Package or source from which the artifact originates Subject AllIsOccurrencesTreeSubjectPackageOrSource `json:"-"` // The artifact in the relationship Artifact AllIsOccurrencesTreeArtifact `json:"artifact"` // Justification for the attested relationship Justification string `json:"justification"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllIsOccurrencesTree includes the GraphQL fields of IsOccurrence requested by the fragment AllIsOccurrencesTree. The GraphQL type's documentation follows.
IsOccurrence is an attestation to link an artifact to a package or source.
Attestation must occur at the PackageVersion or at the SourceName.
func (*AllIsOccurrencesTree) GetArtifact ¶
func (v *AllIsOccurrencesTree) GetArtifact() AllIsOccurrencesTreeArtifact
GetArtifact returns AllIsOccurrencesTree.Artifact, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTree) GetCollector ¶
func (v *AllIsOccurrencesTree) GetCollector() string
GetCollector returns AllIsOccurrencesTree.Collector, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTree) GetId ¶
func (v *AllIsOccurrencesTree) GetId() string
GetId returns AllIsOccurrencesTree.Id, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTree) GetJustification ¶
func (v *AllIsOccurrencesTree) GetJustification() string
GetJustification returns AllIsOccurrencesTree.Justification, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTree) GetOrigin ¶
func (v *AllIsOccurrencesTree) GetOrigin() string
GetOrigin returns AllIsOccurrencesTree.Origin, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTree) GetSubject ¶
func (v *AllIsOccurrencesTree) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
GetSubject returns AllIsOccurrencesTree.Subject, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTree) MarshalJSON ¶
func (v *AllIsOccurrencesTree) MarshalJSON() ([]byte, error)
func (*AllIsOccurrencesTree) UnmarshalJSON ¶
func (v *AllIsOccurrencesTree) UnmarshalJSON(b []byte) error
type AllIsOccurrencesTreeArtifact ¶
type AllIsOccurrencesTreeArtifact struct {
AllArtifactTree `json:"-"`
}
AllIsOccurrencesTreeArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*AllIsOccurrencesTreeArtifact) GetAlgorithm ¶
func (v *AllIsOccurrencesTreeArtifact) GetAlgorithm() string
GetAlgorithm returns AllIsOccurrencesTreeArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTreeArtifact) GetDigest ¶
func (v *AllIsOccurrencesTreeArtifact) GetDigest() string
GetDigest returns AllIsOccurrencesTreeArtifact.Digest, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTreeArtifact) GetId ¶
func (v *AllIsOccurrencesTreeArtifact) GetId() string
GetId returns AllIsOccurrencesTreeArtifact.Id, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTreeArtifact) MarshalJSON ¶
func (v *AllIsOccurrencesTreeArtifact) MarshalJSON() ([]byte, error)
func (*AllIsOccurrencesTreeArtifact) UnmarshalJSON ¶
func (v *AllIsOccurrencesTreeArtifact) UnmarshalJSON(b []byte) error
type AllIsOccurrencesTreeSubjectPackage ¶
type AllIsOccurrencesTreeSubjectPackage struct { Typename *string `json:"__typename"` AllPkgTree `json:"-"` }
AllIsOccurrencesTreeSubjectPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllIsOccurrencesTreeSubjectPackage) GetId ¶
func (v *AllIsOccurrencesTreeSubjectPackage) GetId() string
GetId returns AllIsOccurrencesTreeSubjectPackage.Id, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTreeSubjectPackage) GetNamespaces ¶
func (v *AllIsOccurrencesTreeSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllIsOccurrencesTreeSubjectPackage.Namespaces, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTreeSubjectPackage) GetType ¶
func (v *AllIsOccurrencesTreeSubjectPackage) GetType() string
GetType returns AllIsOccurrencesTreeSubjectPackage.Type, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTreeSubjectPackage) GetTypename ¶
func (v *AllIsOccurrencesTreeSubjectPackage) GetTypename() *string
GetTypename returns AllIsOccurrencesTreeSubjectPackage.Typename, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTreeSubjectPackage) MarshalJSON ¶
func (v *AllIsOccurrencesTreeSubjectPackage) MarshalJSON() ([]byte, error)
func (*AllIsOccurrencesTreeSubjectPackage) UnmarshalJSON ¶
func (v *AllIsOccurrencesTreeSubjectPackage) UnmarshalJSON(b []byte) error
type AllIsOccurrencesTreeSubjectPackageOrSource ¶
type AllIsOccurrencesTreeSubjectPackageOrSource interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() *string // contains filtered or unexported methods }
AllIsOccurrencesTreeSubjectPackageOrSource includes the requested fields of the GraphQL interface PackageOrSource.
AllIsOccurrencesTreeSubjectPackageOrSource is implemented by the following types: AllIsOccurrencesTreeSubjectPackage AllIsOccurrencesTreeSubjectSource The GraphQL type's documentation follows.
PackageOrSource is a union of Package and Source.
type AllIsOccurrencesTreeSubjectSource ¶
type AllIsOccurrencesTreeSubjectSource struct { Typename *string `json:"__typename"` AllSourceTree `json:"-"` }
AllIsOccurrencesTreeSubjectSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*AllIsOccurrencesTreeSubjectSource) GetId ¶
func (v *AllIsOccurrencesTreeSubjectSource) GetId() string
GetId returns AllIsOccurrencesTreeSubjectSource.Id, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTreeSubjectSource) GetNamespaces ¶
func (v *AllIsOccurrencesTreeSubjectSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns AllIsOccurrencesTreeSubjectSource.Namespaces, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTreeSubjectSource) GetType ¶
func (v *AllIsOccurrencesTreeSubjectSource) GetType() string
GetType returns AllIsOccurrencesTreeSubjectSource.Type, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTreeSubjectSource) GetTypename ¶
func (v *AllIsOccurrencesTreeSubjectSource) GetTypename() *string
GetTypename returns AllIsOccurrencesTreeSubjectSource.Typename, and is useful for accessing the field via an interface.
func (*AllIsOccurrencesTreeSubjectSource) MarshalJSON ¶
func (v *AllIsOccurrencesTreeSubjectSource) MarshalJSON() ([]byte, error)
func (*AllIsOccurrencesTreeSubjectSource) UnmarshalJSON ¶
func (v *AllIsOccurrencesTreeSubjectSource) UnmarshalJSON(b []byte) error
type AllLicenseTree ¶ added in v0.2.0
type AllLicenseTree struct { Id string `json:"id"` Name string `json:"name"` Inline *string `json:"inline"` ListVersion *string `json:"listVersion"` }
AllLicenseTree includes the GraphQL fields of License requested by the fragment AllLicenseTree. The GraphQL type's documentation follows.
License represents a particular license. If the license is found on the SPDX license list (https://spdx.org/licenses/) then the fields should be:
Name: SPDX license identifier Inline: empty ListVersion: SPDX license list version
example:
Name: AGPL-3.0-or-later Inline: "" ListVersion: 3.21 2023-06-18
If the license is not on the SPDX license list, then a new guid should be created and the license text placed inline:
Name: LicenseRef-<guid> Inline: Full license text ListVersion: empty
example:
Name: LicenseRef-1a2b3c Inline: Permission to use, copy, modify, and/or distribute ... ListVersion: ""
func (*AllLicenseTree) GetId ¶ added in v0.2.0
func (v *AllLicenseTree) GetId() string
GetId returns AllLicenseTree.Id, and is useful for accessing the field via an interface.
func (*AllLicenseTree) GetInline ¶ added in v0.2.0
func (v *AllLicenseTree) GetInline() *string
GetInline returns AllLicenseTree.Inline, and is useful for accessing the field via an interface.
func (*AllLicenseTree) GetListVersion ¶ added in v0.2.0
func (v *AllLicenseTree) GetListVersion() *string
GetListVersion returns AllLicenseTree.ListVersion, and is useful for accessing the field via an interface.
func (*AllLicenseTree) GetName ¶ added in v0.2.0
func (v *AllLicenseTree) GetName() string
GetName returns AllLicenseTree.Name, and is useful for accessing the field via an interface.
type AllPkgEqual ¶ added in v0.1.1
type AllPkgEqual struct { Id string `json:"id"` // Justification for the claim that the packages are similar Justification string `json:"justification"` // Two packages that are similar Packages []AllPkgEqualPackagesPackage `json:"packages"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllPkgEqual includes the GraphQL fields of PkgEqual requested by the fragment AllPkgEqual. The GraphQL type's documentation follows.
PkgEqual is an attestation that two packages are similar.
func (*AllPkgEqual) GetCollector ¶ added in v0.1.1
func (v *AllPkgEqual) GetCollector() string
GetCollector returns AllPkgEqual.Collector, and is useful for accessing the field via an interface.
func (*AllPkgEqual) GetId ¶ added in v0.1.1
func (v *AllPkgEqual) GetId() string
GetId returns AllPkgEqual.Id, and is useful for accessing the field via an interface.
func (*AllPkgEqual) GetJustification ¶ added in v0.1.1
func (v *AllPkgEqual) GetJustification() string
GetJustification returns AllPkgEqual.Justification, and is useful for accessing the field via an interface.
func (*AllPkgEqual) GetOrigin ¶ added in v0.1.1
func (v *AllPkgEqual) GetOrigin() string
GetOrigin returns AllPkgEqual.Origin, and is useful for accessing the field via an interface.
func (*AllPkgEqual) GetPackages ¶ added in v0.1.1
func (v *AllPkgEqual) GetPackages() []AllPkgEqualPackagesPackage
GetPackages returns AllPkgEqual.Packages, and is useful for accessing the field via an interface.
type AllPkgEqualPackagesPackage ¶ added in v0.1.1
type AllPkgEqualPackagesPackage struct {
AllPkgTree `json:"-"`
}
AllPkgEqualPackagesPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllPkgEqualPackagesPackage) GetId ¶ added in v0.1.1
func (v *AllPkgEqualPackagesPackage) GetId() string
GetId returns AllPkgEqualPackagesPackage.Id, and is useful for accessing the field via an interface.
func (*AllPkgEqualPackagesPackage) GetNamespaces ¶ added in v0.1.1
func (v *AllPkgEqualPackagesPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllPkgEqualPackagesPackage.Namespaces, and is useful for accessing the field via an interface.
func (*AllPkgEqualPackagesPackage) GetType ¶ added in v0.1.1
func (v *AllPkgEqualPackagesPackage) GetType() string
GetType returns AllPkgEqualPackagesPackage.Type, and is useful for accessing the field via an interface.
func (*AllPkgEqualPackagesPackage) MarshalJSON ¶ added in v0.1.1
func (v *AllPkgEqualPackagesPackage) MarshalJSON() ([]byte, error)
func (*AllPkgEqualPackagesPackage) UnmarshalJSON ¶ added in v0.1.1
func (v *AllPkgEqualPackagesPackage) UnmarshalJSON(b []byte) error
type AllPkgTree ¶
type AllPkgTree struct { Id string `json:"id"` Type string `json:"type"` Namespaces []AllPkgTreeNamespacesPackageNamespace `json:"namespaces"` }
AllPkgTree includes the GraphQL fields of Package requested by the fragment AllPkgTree. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllPkgTree) GetId ¶
func (v *AllPkgTree) GetId() string
GetId returns AllPkgTree.Id, and is useful for accessing the field via an interface.
func (*AllPkgTree) GetNamespaces ¶
func (v *AllPkgTree) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllPkgTree.Namespaces, and is useful for accessing the field via an interface.
func (*AllPkgTree) GetType ¶
func (v *AllPkgTree) GetType() string
GetType returns AllPkgTree.Type, and is useful for accessing the field via an interface.
type AllPkgTreeNamespacesPackageNamespace ¶
type AllPkgTreeNamespacesPackageNamespace struct { Id string `json:"id"` Namespace string `json:"namespace"` Names []AllPkgTreeNamespacesPackageNamespaceNamesPackageName `json:"names"` }
AllPkgTreeNamespacesPackageNamespace includes the requested fields of the GraphQL type PackageNamespace. The GraphQL type's documentation follows.
PackageNamespace is a namespace for packages.
In the pURL representation, each PackageNamespace matches the pkg:<type>/<namespace>/ partial pURL.
Namespaces are optional and type specific. Because they are optional, we use empty string to denote missing namespaces.
func (*AllPkgTreeNamespacesPackageNamespace) GetId ¶
func (v *AllPkgTreeNamespacesPackageNamespace) GetId() string
GetId returns AllPkgTreeNamespacesPackageNamespace.Id, and is useful for accessing the field via an interface.
func (*AllPkgTreeNamespacesPackageNamespace) GetNames ¶
func (v *AllPkgTreeNamespacesPackageNamespace) GetNames() []AllPkgTreeNamespacesPackageNamespaceNamesPackageName
GetNames returns AllPkgTreeNamespacesPackageNamespace.Names, and is useful for accessing the field via an interface.
func (*AllPkgTreeNamespacesPackageNamespace) GetNamespace ¶
func (v *AllPkgTreeNamespacesPackageNamespace) GetNamespace() string
GetNamespace returns AllPkgTreeNamespacesPackageNamespace.Namespace, and is useful for accessing the field via an interface.
type AllPkgTreeNamespacesPackageNamespaceNamesPackageName ¶
type AllPkgTreeNamespacesPackageNamespaceNamesPackageName struct { Id string `json:"id"` Name string `json:"name"` Versions []AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion `json:"versions"` }
AllPkgTreeNamespacesPackageNamespaceNamesPackageName includes the requested fields of the GraphQL type PackageName. The GraphQL type's documentation follows.
PackageName is a name for packages.
In the pURL representation, each PackageName matches the pkg:<type>/<namespace>/<name> pURL.
Names are always mandatory.
This is the first node in the trie that can be referred to by other parts of GUAC.
func (*AllPkgTreeNamespacesPackageNamespaceNamesPackageName) GetId ¶
func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageName) GetId() string
GetId returns AllPkgTreeNamespacesPackageNamespaceNamesPackageName.Id, and is useful for accessing the field via an interface.
func (*AllPkgTreeNamespacesPackageNamespaceNamesPackageName) GetName ¶
func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageName) GetName() string
GetName returns AllPkgTreeNamespacesPackageNamespaceNamesPackageName.Name, and is useful for accessing the field via an interface.
func (*AllPkgTreeNamespacesPackageNamespaceNamesPackageName) GetVersions ¶
func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageName) GetVersions() []AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion
GetVersions returns AllPkgTreeNamespacesPackageNamespaceNamesPackageName.Versions, and is useful for accessing the field via an interface.
type AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion ¶
type AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion struct { Id string `json:"id"` Purl string `json:"purl"` Version string `json:"version"` Qualifiers []AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier `json:"qualifiers"` Subpath string `json:"subpath"` }
AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion includes the requested fields of the GraphQL type PackageVersion. The GraphQL type's documentation follows.
PackageVersion is a package version.
In the pURL representation, each PackageName matches the pkg:<type>/<namespace>/<name>@<version> pURL.
Versions are optional and each Package type defines own rules for handling them. For this level of GUAC, these are just opaque strings.
NOTE: The handling of versions might change before this schema becomes stable.
This node can be referred to by other parts of GUAC.
Subpath and qualifiers are optional. Lack of qualifiers is represented by an empty list and lack of subpath by empty string (to be consistent with optionality of namespace and version). Two nodes that have different qualifiers and/or subpath but the same version mean two different packages in the trie (they are different). Two nodes that have same version but qualifiers of one are a subset of the qualifier of the other also mean two different packages in the trie.
func (*AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetId ¶
GetId returns AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion.Id, and is useful for accessing the field via an interface.
func (*AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetPurl ¶ added in v0.7.0
func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetPurl() string
GetPurl returns AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion.Purl, and is useful for accessing the field via an interface.
func (*AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetQualifiers ¶
func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetQualifiers() []AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier
GetQualifiers returns AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion.Qualifiers, and is useful for accessing the field via an interface.
func (*AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetSubpath ¶
func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetSubpath() string
GetSubpath returns AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion.Subpath, and is useful for accessing the field via an interface.
func (*AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetVersion ¶
func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetVersion() string
GetVersion returns AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion.Version, and is useful for accessing the field via an interface.
type AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier ¶
type AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier struct { Key string `json:"key"` Value string `json:"value"` }
AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier includes the requested fields of the GraphQL type PackageQualifier. The GraphQL type's documentation follows.
PackageQualifier is a qualifier for a package, a key-value pair.
In the pURL representation, it is a part of the <qualifiers> part of the pkg:<type>/<namespace>/<name>@<version>?<qualifiers> pURL.
Qualifiers are optional, each Package type defines own rules for handling them, and multiple qualifiers could be attached to the same package.
This node cannot be directly referred by other parts of GUAC.
func (*AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier) GetKey ¶
func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier) GetKey() string
GetKey returns AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier.Key, and is useful for accessing the field via an interface.
func (*AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier) GetValue ¶
func (v *AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier) GetValue() string
GetValue returns AllPkgTreeNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier.Value, and is useful for accessing the field via an interface.
type AllPointOfContact ¶ added in v0.1.1
type AllPointOfContact struct { Id string `json:"id"` // The package, source or artifact that is attested Subject AllPointOfContactSubjectPackageSourceOrArtifact `json:"-"` // Email for the POC Email string `json:"email"` // Generic info for the POC Info string `json:"info"` // Timestamp when the certification for POC was created (in RFC 3339 format) Since time.Time `json:"since"` // The justification for the POC attestation Justification string `json:"justification"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllPointOfContact includes the GraphQL fields of PointOfContact requested by the fragment AllPointOfContact. The GraphQL type's documentation follows.
PointOfContact is an attestation of how to get in touch with the person(s) responsible for a package, source, or artifact.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The attestation applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
email is the email address (singular) of the point of contact.
info is additional contact information other than email address. This is free form.
NOTE: the identifiers for point of contact should be part of software trees. This will benefit from identifier look up and traversal as well as organization hierarchy. However, until the use case arises, PointOfContact will be a flat reference to the contact details.
func (*AllPointOfContact) GetCollector ¶ added in v0.1.1
func (v *AllPointOfContact) GetCollector() string
GetCollector returns AllPointOfContact.Collector, and is useful for accessing the field via an interface.
func (*AllPointOfContact) GetEmail ¶ added in v0.1.1
func (v *AllPointOfContact) GetEmail() string
GetEmail returns AllPointOfContact.Email, and is useful for accessing the field via an interface.
func (*AllPointOfContact) GetId ¶ added in v0.1.1
func (v *AllPointOfContact) GetId() string
GetId returns AllPointOfContact.Id, and is useful for accessing the field via an interface.
func (*AllPointOfContact) GetInfo ¶ added in v0.1.1
func (v *AllPointOfContact) GetInfo() string
GetInfo returns AllPointOfContact.Info, and is useful for accessing the field via an interface.
func (*AllPointOfContact) GetJustification ¶ added in v0.1.1
func (v *AllPointOfContact) GetJustification() string
GetJustification returns AllPointOfContact.Justification, and is useful for accessing the field via an interface.
func (*AllPointOfContact) GetOrigin ¶ added in v0.1.1
func (v *AllPointOfContact) GetOrigin() string
GetOrigin returns AllPointOfContact.Origin, and is useful for accessing the field via an interface.
func (*AllPointOfContact) GetSince ¶ added in v0.1.1
func (v *AllPointOfContact) GetSince() time.Time
GetSince returns AllPointOfContact.Since, and is useful for accessing the field via an interface.
func (*AllPointOfContact) GetSubject ¶ added in v0.1.1
func (v *AllPointOfContact) GetSubject() AllPointOfContactSubjectPackageSourceOrArtifact
GetSubject returns AllPointOfContact.Subject, and is useful for accessing the field via an interface.
func (*AllPointOfContact) MarshalJSON ¶ added in v0.1.1
func (v *AllPointOfContact) MarshalJSON() ([]byte, error)
func (*AllPointOfContact) UnmarshalJSON ¶ added in v0.1.1
func (v *AllPointOfContact) UnmarshalJSON(b []byte) error
type AllPointOfContactSubjectArtifact ¶ added in v0.1.1
type AllPointOfContactSubjectArtifact struct { Typename *string `json:"__typename"` AllArtifactTree `json:"-"` }
AllPointOfContactSubjectArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*AllPointOfContactSubjectArtifact) GetAlgorithm ¶ added in v0.1.1
func (v *AllPointOfContactSubjectArtifact) GetAlgorithm() string
GetAlgorithm returns AllPointOfContactSubjectArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*AllPointOfContactSubjectArtifact) GetDigest ¶ added in v0.1.1
func (v *AllPointOfContactSubjectArtifact) GetDigest() string
GetDigest returns AllPointOfContactSubjectArtifact.Digest, and is useful for accessing the field via an interface.
func (*AllPointOfContactSubjectArtifact) GetId ¶ added in v0.1.1
func (v *AllPointOfContactSubjectArtifact) GetId() string
GetId returns AllPointOfContactSubjectArtifact.Id, and is useful for accessing the field via an interface.
func (*AllPointOfContactSubjectArtifact) GetTypename ¶ added in v0.1.1
func (v *AllPointOfContactSubjectArtifact) GetTypename() *string
GetTypename returns AllPointOfContactSubjectArtifact.Typename, and is useful for accessing the field via an interface.
func (*AllPointOfContactSubjectArtifact) MarshalJSON ¶ added in v0.1.1
func (v *AllPointOfContactSubjectArtifact) MarshalJSON() ([]byte, error)
func (*AllPointOfContactSubjectArtifact) UnmarshalJSON ¶ added in v0.1.1
func (v *AllPointOfContactSubjectArtifact) UnmarshalJSON(b []byte) error
type AllPointOfContactSubjectPackage ¶ added in v0.1.1
type AllPointOfContactSubjectPackage struct { Typename *string `json:"__typename"` AllPkgTree `json:"-"` }
AllPointOfContactSubjectPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*AllPointOfContactSubjectPackage) GetId ¶ added in v0.1.1
func (v *AllPointOfContactSubjectPackage) GetId() string
GetId returns AllPointOfContactSubjectPackage.Id, and is useful for accessing the field via an interface.
func (*AllPointOfContactSubjectPackage) GetNamespaces ¶ added in v0.1.1
func (v *AllPointOfContactSubjectPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns AllPointOfContactSubjectPackage.Namespaces, and is useful for accessing the field via an interface.
func (*AllPointOfContactSubjectPackage) GetType ¶ added in v0.1.1
func (v *AllPointOfContactSubjectPackage) GetType() string
GetType returns AllPointOfContactSubjectPackage.Type, and is useful for accessing the field via an interface.
func (*AllPointOfContactSubjectPackage) GetTypename ¶ added in v0.1.1
func (v *AllPointOfContactSubjectPackage) GetTypename() *string
GetTypename returns AllPointOfContactSubjectPackage.Typename, and is useful for accessing the field via an interface.
func (*AllPointOfContactSubjectPackage) MarshalJSON ¶ added in v0.1.1
func (v *AllPointOfContactSubjectPackage) MarshalJSON() ([]byte, error)
func (*AllPointOfContactSubjectPackage) UnmarshalJSON ¶ added in v0.1.1
func (v *AllPointOfContactSubjectPackage) UnmarshalJSON(b []byte) error
type AllPointOfContactSubjectPackageSourceOrArtifact ¶ added in v0.1.1
type AllPointOfContactSubjectPackageSourceOrArtifact interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() *string // contains filtered or unexported methods }
AllPointOfContactSubjectPackageSourceOrArtifact includes the requested fields of the GraphQL interface PackageSourceOrArtifact.
AllPointOfContactSubjectPackageSourceOrArtifact is implemented by the following types: AllPointOfContactSubjectArtifact AllPointOfContactSubjectPackage AllPointOfContactSubjectSource The GraphQL type's documentation follows.
PackageSourceOrArtifact is a union of Package, Source, and Artifact.
type AllPointOfContactSubjectSource ¶ added in v0.1.1
type AllPointOfContactSubjectSource struct { Typename *string `json:"__typename"` AllSourceTree `json:"-"` }
AllPointOfContactSubjectSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*AllPointOfContactSubjectSource) GetId ¶ added in v0.1.1
func (v *AllPointOfContactSubjectSource) GetId() string
GetId returns AllPointOfContactSubjectSource.Id, and is useful for accessing the field via an interface.
func (*AllPointOfContactSubjectSource) GetNamespaces ¶ added in v0.1.1
func (v *AllPointOfContactSubjectSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns AllPointOfContactSubjectSource.Namespaces, and is useful for accessing the field via an interface.
func (*AllPointOfContactSubjectSource) GetType ¶ added in v0.1.1
func (v *AllPointOfContactSubjectSource) GetType() string
GetType returns AllPointOfContactSubjectSource.Type, and is useful for accessing the field via an interface.
func (*AllPointOfContactSubjectSource) GetTypename ¶ added in v0.1.1
func (v *AllPointOfContactSubjectSource) GetTypename() *string
GetTypename returns AllPointOfContactSubjectSource.Typename, and is useful for accessing the field via an interface.
func (*AllPointOfContactSubjectSource) MarshalJSON ¶ added in v0.1.1
func (v *AllPointOfContactSubjectSource) MarshalJSON() ([]byte, error)
func (*AllPointOfContactSubjectSource) UnmarshalJSON ¶ added in v0.1.1
func (v *AllPointOfContactSubjectSource) UnmarshalJSON(b []byte) error
type AllSLSATree ¶ added in v0.1.1
type AllSLSATree struct { Id string `json:"id"` // The subject of SLSA attestation Subject AllSLSATreeSubjectArtifact `json:"subject"` // The SLSA attestation Slsa AllSLSATreeSlsaSLSA `json:"slsa"` }
AllSLSATree includes the GraphQL fields of HasSLSA requested by the fragment AllSLSATree. The GraphQL type's documentation follows.
HasSLSA records that a subject node has a SLSA attestation.
func (*AllSLSATree) GetId ¶ added in v0.1.1
func (v *AllSLSATree) GetId() string
GetId returns AllSLSATree.Id, and is useful for accessing the field via an interface.
func (*AllSLSATree) GetSlsa ¶ added in v0.1.1
func (v *AllSLSATree) GetSlsa() AllSLSATreeSlsaSLSA
GetSlsa returns AllSLSATree.Slsa, and is useful for accessing the field via an interface.
func (*AllSLSATree) GetSubject ¶ added in v0.1.1
func (v *AllSLSATree) GetSubject() AllSLSATreeSubjectArtifact
GetSubject returns AllSLSATree.Subject, and is useful for accessing the field via an interface.
type AllSLSATreeSlsaSLSA ¶ added in v0.1.1
type AllSLSATreeSlsaSLSA struct { // Materials of the build resulting in subject BuiltFrom []AllSLSATreeSlsaSLSABuiltFromArtifact `json:"builtFrom"` // Builder performing the build BuiltBy AllSLSATreeSlsaSLSABuiltByBuilder `json:"builtBy"` // Type of the builder BuildType string `json:"buildType"` // Individual predicates found in the attestation SlsaPredicate []AllSLSATreeSlsaSLSASlsaPredicateSLSAPredicate `json:"slsaPredicate"` // Version of the SLSA predicate SlsaVersion string `json:"slsaVersion"` // Timestamp (RFC3339Nano format) of build start time StartedOn *time.Time `json:"startedOn"` // Timestamp (RFC3339Nano format) of build end time FinishedOn *time.Time `json:"finishedOn"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllSLSATreeSlsaSLSA includes the requested fields of the GraphQL type SLSA. The GraphQL type's documentation follows.
SLSA contains all of the fields present in a SLSA attestation.
The materials and builders are objects of the HasSLSA predicate, everything else are properties extracted from the attestation.
We also include fields to specify under what conditions the check was performed (time of scan, version of scanners, etc.) as well as how this information got included into GUAC (origin document and the collector for that document).
func (*AllSLSATreeSlsaSLSA) GetBuildType ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSA) GetBuildType() string
GetBuildType returns AllSLSATreeSlsaSLSA.BuildType, and is useful for accessing the field via an interface.
func (*AllSLSATreeSlsaSLSA) GetBuiltBy ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSA) GetBuiltBy() AllSLSATreeSlsaSLSABuiltByBuilder
GetBuiltBy returns AllSLSATreeSlsaSLSA.BuiltBy, and is useful for accessing the field via an interface.
func (*AllSLSATreeSlsaSLSA) GetBuiltFrom ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSA) GetBuiltFrom() []AllSLSATreeSlsaSLSABuiltFromArtifact
GetBuiltFrom returns AllSLSATreeSlsaSLSA.BuiltFrom, and is useful for accessing the field via an interface.
func (*AllSLSATreeSlsaSLSA) GetCollector ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSA) GetCollector() string
GetCollector returns AllSLSATreeSlsaSLSA.Collector, and is useful for accessing the field via an interface.
func (*AllSLSATreeSlsaSLSA) GetFinishedOn ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSA) GetFinishedOn() *time.Time
GetFinishedOn returns AllSLSATreeSlsaSLSA.FinishedOn, and is useful for accessing the field via an interface.
func (*AllSLSATreeSlsaSLSA) GetOrigin ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSA) GetOrigin() string
GetOrigin returns AllSLSATreeSlsaSLSA.Origin, and is useful for accessing the field via an interface.
func (*AllSLSATreeSlsaSLSA) GetSlsaPredicate ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSA) GetSlsaPredicate() []AllSLSATreeSlsaSLSASlsaPredicateSLSAPredicate
GetSlsaPredicate returns AllSLSATreeSlsaSLSA.SlsaPredicate, and is useful for accessing the field via an interface.
func (*AllSLSATreeSlsaSLSA) GetSlsaVersion ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSA) GetSlsaVersion() string
GetSlsaVersion returns AllSLSATreeSlsaSLSA.SlsaVersion, and is useful for accessing the field via an interface.
func (*AllSLSATreeSlsaSLSA) GetStartedOn ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSA) GetStartedOn() *time.Time
GetStartedOn returns AllSLSATreeSlsaSLSA.StartedOn, and is useful for accessing the field via an interface.
type AllSLSATreeSlsaSLSABuiltByBuilder ¶ added in v0.1.1
AllSLSATreeSlsaSLSABuiltByBuilder includes the requested fields of the GraphQL type Builder. The GraphQL type's documentation follows.
Builder represents the builder (e.g., FRSCA or GitHub Actions).
Currently builders are identified by the uri field.
func (*AllSLSATreeSlsaSLSABuiltByBuilder) GetId ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSABuiltByBuilder) GetId() string
GetId returns AllSLSATreeSlsaSLSABuiltByBuilder.Id, and is useful for accessing the field via an interface.
func (*AllSLSATreeSlsaSLSABuiltByBuilder) GetUri ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSABuiltByBuilder) GetUri() string
GetUri returns AllSLSATreeSlsaSLSABuiltByBuilder.Uri, and is useful for accessing the field via an interface.
type AllSLSATreeSlsaSLSABuiltFromArtifact ¶ added in v0.1.1
type AllSLSATreeSlsaSLSABuiltFromArtifact struct {
AllArtifactTree `json:"-"`
}
AllSLSATreeSlsaSLSABuiltFromArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*AllSLSATreeSlsaSLSABuiltFromArtifact) GetAlgorithm ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSABuiltFromArtifact) GetAlgorithm() string
GetAlgorithm returns AllSLSATreeSlsaSLSABuiltFromArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*AllSLSATreeSlsaSLSABuiltFromArtifact) GetDigest ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSABuiltFromArtifact) GetDigest() string
GetDigest returns AllSLSATreeSlsaSLSABuiltFromArtifact.Digest, and is useful for accessing the field via an interface.
func (*AllSLSATreeSlsaSLSABuiltFromArtifact) GetId ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSABuiltFromArtifact) GetId() string
GetId returns AllSLSATreeSlsaSLSABuiltFromArtifact.Id, and is useful for accessing the field via an interface.
func (*AllSLSATreeSlsaSLSABuiltFromArtifact) MarshalJSON ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSABuiltFromArtifact) MarshalJSON() ([]byte, error)
func (*AllSLSATreeSlsaSLSABuiltFromArtifact) UnmarshalJSON ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSABuiltFromArtifact) UnmarshalJSON(b []byte) error
type AllSLSATreeSlsaSLSASlsaPredicateSLSAPredicate ¶ added in v0.1.1
type AllSLSATreeSlsaSLSASlsaPredicateSLSAPredicate struct { Key string `json:"key"` Value string `json:"value"` }
AllSLSATreeSlsaSLSASlsaPredicateSLSAPredicate includes the requested fields of the GraphQL type SLSAPredicate. The GraphQL type's documentation follows.
SLSAPredicate are the values from the SLSA predicate in key-value pair form.
For example, given the following predicate ¶
``` "predicate": { "buildDefinition": { "externalParameters": { "repository": "https://github.com/octocat/hello-world", ... }, ... }, ... } ```
we have
``` key = "buildDefinition.externalParameters.repository" value = "https://github.com/octocat/hello-world" ```
This node cannot be directly referred by other parts of GUAC.
func (*AllSLSATreeSlsaSLSASlsaPredicateSLSAPredicate) GetKey ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSASlsaPredicateSLSAPredicate) GetKey() string
GetKey returns AllSLSATreeSlsaSLSASlsaPredicateSLSAPredicate.Key, and is useful for accessing the field via an interface.
func (*AllSLSATreeSlsaSLSASlsaPredicateSLSAPredicate) GetValue ¶ added in v0.1.1
func (v *AllSLSATreeSlsaSLSASlsaPredicateSLSAPredicate) GetValue() string
GetValue returns AllSLSATreeSlsaSLSASlsaPredicateSLSAPredicate.Value, and is useful for accessing the field via an interface.
type AllSLSATreeSubjectArtifact ¶ added in v0.1.1
type AllSLSATreeSubjectArtifact struct {
AllArtifactTree `json:"-"`
}
AllSLSATreeSubjectArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*AllSLSATreeSubjectArtifact) GetAlgorithm ¶ added in v0.1.1
func (v *AllSLSATreeSubjectArtifact) GetAlgorithm() string
GetAlgorithm returns AllSLSATreeSubjectArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*AllSLSATreeSubjectArtifact) GetDigest ¶ added in v0.1.1
func (v *AllSLSATreeSubjectArtifact) GetDigest() string
GetDigest returns AllSLSATreeSubjectArtifact.Digest, and is useful for accessing the field via an interface.
func (*AllSLSATreeSubjectArtifact) GetId ¶ added in v0.1.1
func (v *AllSLSATreeSubjectArtifact) GetId() string
GetId returns AllSLSATreeSubjectArtifact.Id, and is useful for accessing the field via an interface.
func (*AllSLSATreeSubjectArtifact) MarshalJSON ¶ added in v0.1.1
func (v *AllSLSATreeSubjectArtifact) MarshalJSON() ([]byte, error)
func (*AllSLSATreeSubjectArtifact) UnmarshalJSON ¶ added in v0.1.1
func (v *AllSLSATreeSubjectArtifact) UnmarshalJSON(b []byte) error
type AllSourceTree ¶
type AllSourceTree struct { Id string `json:"id"` Type string `json:"type"` Namespaces []AllSourceTreeNamespacesSourceNamespace `json:"namespaces"` }
AllSourceTree includes the GraphQL fields of Source requested by the fragment AllSourceTree. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*AllSourceTree) GetId ¶
func (v *AllSourceTree) GetId() string
GetId returns AllSourceTree.Id, and is useful for accessing the field via an interface.
func (*AllSourceTree) GetNamespaces ¶
func (v *AllSourceTree) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns AllSourceTree.Namespaces, and is useful for accessing the field via an interface.
func (*AllSourceTree) GetType ¶
func (v *AllSourceTree) GetType() string
GetType returns AllSourceTree.Type, and is useful for accessing the field via an interface.
type AllSourceTreeNamespacesSourceNamespace ¶
type AllSourceTreeNamespacesSourceNamespace struct { Id string `json:"id"` Namespace string `json:"namespace"` Names []AllSourceTreeNamespacesSourceNamespaceNamesSourceName `json:"names"` }
AllSourceTreeNamespacesSourceNamespace includes the requested fields of the GraphQL type SourceNamespace. The GraphQL type's documentation follows.
SourceNamespace is a namespace for sources.
This is the location of the repository (such as github/gitlab/bitbucket).
The namespace field is mandatory.
func (*AllSourceTreeNamespacesSourceNamespace) GetId ¶
func (v *AllSourceTreeNamespacesSourceNamespace) GetId() string
GetId returns AllSourceTreeNamespacesSourceNamespace.Id, and is useful for accessing the field via an interface.
func (*AllSourceTreeNamespacesSourceNamespace) GetNames ¶
func (v *AllSourceTreeNamespacesSourceNamespace) GetNames() []AllSourceTreeNamespacesSourceNamespaceNamesSourceName
GetNames returns AllSourceTreeNamespacesSourceNamespace.Names, and is useful for accessing the field via an interface.
func (*AllSourceTreeNamespacesSourceNamespace) GetNamespace ¶
func (v *AllSourceTreeNamespacesSourceNamespace) GetNamespace() string
GetNamespace returns AllSourceTreeNamespacesSourceNamespace.Namespace, and is useful for accessing the field via an interface.
type AllSourceTreeNamespacesSourceNamespaceNamesSourceName ¶
type AllSourceTreeNamespacesSourceNamespaceNamesSourceName struct { Id string `json:"id"` Name string `json:"name"` Tag *string `json:"tag"` Commit *string `json:"commit"` }
AllSourceTreeNamespacesSourceNamespaceNamesSourceName includes the requested fields of the GraphQL type SourceName. The GraphQL type's documentation follows.
SourceName represents the url of the repository.
The name field is mandatory. The tag and commit fields are optional, but it is an error to specify both.
This is the only source trie node that can be referenced by other parts of GUAC.
func (*AllSourceTreeNamespacesSourceNamespaceNamesSourceName) GetCommit ¶
func (v *AllSourceTreeNamespacesSourceNamespaceNamesSourceName) GetCommit() *string
GetCommit returns AllSourceTreeNamespacesSourceNamespaceNamesSourceName.Commit, and is useful for accessing the field via an interface.
func (*AllSourceTreeNamespacesSourceNamespaceNamesSourceName) GetId ¶
func (v *AllSourceTreeNamespacesSourceNamespaceNamesSourceName) GetId() string
GetId returns AllSourceTreeNamespacesSourceNamespaceNamesSourceName.Id, and is useful for accessing the field via an interface.
func (*AllSourceTreeNamespacesSourceNamespaceNamesSourceName) GetName ¶
func (v *AllSourceTreeNamespacesSourceNamespaceNamesSourceName) GetName() string
GetName returns AllSourceTreeNamespacesSourceNamespaceNamesSourceName.Name, and is useful for accessing the field via an interface.
func (*AllSourceTreeNamespacesSourceNamespaceNamesSourceName) GetTag ¶
func (v *AllSourceTreeNamespacesSourceNamespaceNamesSourceName) GetTag() *string
GetTag returns AllSourceTreeNamespacesSourceNamespaceNamesSourceName.Tag, and is useful for accessing the field via an interface.
type AllVulnEqual ¶ added in v0.2.0
type AllVulnEqual struct { Id string `json:"id"` // Two vulnerabilities that are similar Vulnerabilities []AllVulnEqualVulnerabilitiesVulnerability `json:"vulnerabilities"` // Justification for the attested relationship Justification string `json:"justification"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllVulnEqual includes the GraphQL fields of VulnEqual requested by the fragment AllVulnEqual. The GraphQL type's documentation follows.
VulnEqual is an attestation to link two vulnerabilities together as being equal"
Note that setting noVuln vulnerability type is invalid for VulnEqual!
func (*AllVulnEqual) GetCollector ¶ added in v0.2.0
func (v *AllVulnEqual) GetCollector() string
GetCollector returns AllVulnEqual.Collector, and is useful for accessing the field via an interface.
func (*AllVulnEqual) GetId ¶ added in v0.2.0
func (v *AllVulnEqual) GetId() string
GetId returns AllVulnEqual.Id, and is useful for accessing the field via an interface.
func (*AllVulnEqual) GetJustification ¶ added in v0.2.0
func (v *AllVulnEqual) GetJustification() string
GetJustification returns AllVulnEqual.Justification, and is useful for accessing the field via an interface.
func (*AllVulnEqual) GetOrigin ¶ added in v0.2.0
func (v *AllVulnEqual) GetOrigin() string
GetOrigin returns AllVulnEqual.Origin, and is useful for accessing the field via an interface.
func (*AllVulnEqual) GetVulnerabilities ¶ added in v0.2.0
func (v *AllVulnEqual) GetVulnerabilities() []AllVulnEqualVulnerabilitiesVulnerability
GetVulnerabilities returns AllVulnEqual.Vulnerabilities, and is useful for accessing the field via an interface.
type AllVulnEqualVulnerabilitiesVulnerability ¶ added in v0.2.0
type AllVulnEqualVulnerabilitiesVulnerability struct {
AllVulnerabilityTree `json:"-"`
}
AllVulnEqualVulnerabilitiesVulnerability includes the requested fields of the GraphQL type Vulnerability. The GraphQL type's documentation follows.
Vulnerability represents the root of the vulnerability trie/tree.
We map vulnerability information to a trie, as a derivative of the pURL specification: each path in the trie represents a type and a vulnerability ID. This allows for generic representation of the various vulnerabilities and does not limit to just cve, ghsa or osv. This would be in the general format: vuln://<general-type>/<vuln-id>
Examples:
CVE, using path separator: vuln://cve/cve-2023-20753 OSV, representing its knowledge of a GHSA: vuln://osv/ghsa-205hk Random vendor: vuln://snyk/sn-whatever NoVuln: vuln://novuln/
This node represents the type part of the trie path. It is used to represent the specific type of the vulnerability: cve, ghsa, osv or some other vendor specific
Since this node is at the root of the vulnerability trie, it is named Vulnerability, not VulnerabilityType.
NoVuln is a special vulnerability node to attest that no vulnerability has been found during a vulnerability scan. It will have the type "novuln" and contain an empty string for vulnerabilityID
The resolvers will enforce that both the type and vulnerability IDs are lower case.
func (*AllVulnEqualVulnerabilitiesVulnerability) GetId ¶ added in v0.2.0
func (v *AllVulnEqualVulnerabilitiesVulnerability) GetId() string
GetId returns AllVulnEqualVulnerabilitiesVulnerability.Id, and is useful for accessing the field via an interface.
func (*AllVulnEqualVulnerabilitiesVulnerability) GetType ¶ added in v0.2.0
func (v *AllVulnEqualVulnerabilitiesVulnerability) GetType() string
GetType returns AllVulnEqualVulnerabilitiesVulnerability.Type, and is useful for accessing the field via an interface.
func (*AllVulnEqualVulnerabilitiesVulnerability) GetVulnerabilityIDs ¶ added in v0.2.0
func (v *AllVulnEqualVulnerabilitiesVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
GetVulnerabilityIDs returns AllVulnEqualVulnerabilitiesVulnerability.VulnerabilityIDs, and is useful for accessing the field via an interface.
func (*AllVulnEqualVulnerabilitiesVulnerability) MarshalJSON ¶ added in v0.2.0
func (v *AllVulnEqualVulnerabilitiesVulnerability) MarshalJSON() ([]byte, error)
func (*AllVulnEqualVulnerabilitiesVulnerability) UnmarshalJSON ¶ added in v0.2.0
func (v *AllVulnEqualVulnerabilitiesVulnerability) UnmarshalJSON(b []byte) error
type AllVulnMetadataTree ¶ added in v0.2.0
type AllVulnMetadataTree struct { Id string `json:"id"` // The subject vulnerability that the metadata applies to Vulnerability AllVulnMetadataTreeVulnerability `json:"vulnerability"` // The specific score type for the score value ScoreType VulnerabilityScoreType `json:"scoreType"` // The score value based on the score type ScoreValue float64 `json:"scoreValue"` // Timestamp when the certification was created (in RFC 3339 format) Timestamp time.Time `json:"timestamp"` // Document from which this attestation is generated from Origin string `json:"origin"` // GUAC collector for the document Collector string `json:"collector"` }
AllVulnMetadataTree includes the GraphQL fields of VulnerabilityMetadata requested by the fragment AllVulnMetadataTree. The GraphQL type's documentation follows.
VulnerabilityMetadata is an attestation that a vulnerability has a related score associated with it.
The intent of this evidence tree predicate is to allow extensibility of vulnerability score (one-to-one mapping) with a specific vulnerability ID.
A vulnerability ID can have a one-to-many relationship with the VulnerabilityMetadata node as a vulnerability ID can have multiple scores (in various frameworks).
Examples:
scoreType: EPSSv1 scoreValue: 0.960760000
scoreType: CVSSv2 scoreValue: 5.0
scoreType: CVSSv3 scoreValue: 7.5
The timestamp is used to determine when the score was evaluated for the specific vulnerability.
func (*AllVulnMetadataTree) GetCollector ¶ added in v0.2.0
func (v *AllVulnMetadataTree) GetCollector() string
GetCollector returns AllVulnMetadataTree.Collector, and is useful for accessing the field via an interface.
func (*AllVulnMetadataTree) GetId ¶ added in v0.2.0
func (v *AllVulnMetadataTree) GetId() string
GetId returns AllVulnMetadataTree.Id, and is useful for accessing the field via an interface.
func (*AllVulnMetadataTree) GetOrigin ¶ added in v0.2.0
func (v *AllVulnMetadataTree) GetOrigin() string
GetOrigin returns AllVulnMetadataTree.Origin, and is useful for accessing the field via an interface.
func (*AllVulnMetadataTree) GetScoreType ¶ added in v0.2.0
func (v *AllVulnMetadataTree) GetScoreType() VulnerabilityScoreType
GetScoreType returns AllVulnMetadataTree.ScoreType, and is useful for accessing the field via an interface.
func (*AllVulnMetadataTree) GetScoreValue ¶ added in v0.2.0
func (v *AllVulnMetadataTree) GetScoreValue() float64
GetScoreValue returns AllVulnMetadataTree.ScoreValue, and is useful for accessing the field via an interface.
func (*AllVulnMetadataTree) GetTimestamp ¶ added in v0.2.0
func (v *AllVulnMetadataTree) GetTimestamp() time.Time
GetTimestamp returns AllVulnMetadataTree.Timestamp, and is useful for accessing the field via an interface.
func (*AllVulnMetadataTree) GetVulnerability ¶ added in v0.2.0
func (v *AllVulnMetadataTree) GetVulnerability() AllVulnMetadataTreeVulnerability
GetVulnerability returns AllVulnMetadataTree.Vulnerability, and is useful for accessing the field via an interface.
type AllVulnMetadataTreeVulnerability ¶ added in v0.2.0
type AllVulnMetadataTreeVulnerability struct { Id string `json:"id"` Type string `json:"type"` VulnerabilityIDs []AllVulnMetadataTreeVulnerabilityVulnerabilityIDsVulnerabilityID `json:"vulnerabilityIDs"` }
AllVulnMetadataTreeVulnerability includes the requested fields of the GraphQL type Vulnerability. The GraphQL type's documentation follows.
Vulnerability represents the root of the vulnerability trie/tree.
We map vulnerability information to a trie, as a derivative of the pURL specification: each path in the trie represents a type and a vulnerability ID. This allows for generic representation of the various vulnerabilities and does not limit to just cve, ghsa or osv. This would be in the general format: vuln://<general-type>/<vuln-id>
Examples:
CVE, using path separator: vuln://cve/cve-2023-20753 OSV, representing its knowledge of a GHSA: vuln://osv/ghsa-205hk Random vendor: vuln://snyk/sn-whatever NoVuln: vuln://novuln/
This node represents the type part of the trie path. It is used to represent the specific type of the vulnerability: cve, ghsa, osv or some other vendor specific
Since this node is at the root of the vulnerability trie, it is named Vulnerability, not VulnerabilityType.
NoVuln is a special vulnerability node to attest that no vulnerability has been found during a vulnerability scan. It will have the type "novuln" and contain an empty string for vulnerabilityID
The resolvers will enforce that both the type and vulnerability IDs are lower case.
func (*AllVulnMetadataTreeVulnerability) GetId ¶ added in v0.2.0
func (v *AllVulnMetadataTreeVulnerability) GetId() string
GetId returns AllVulnMetadataTreeVulnerability.Id, and is useful for accessing the field via an interface.
func (*AllVulnMetadataTreeVulnerability) GetType ¶ added in v0.2.0
func (v *AllVulnMetadataTreeVulnerability) GetType() string
GetType returns AllVulnMetadataTreeVulnerability.Type, and is useful for accessing the field via an interface.
func (*AllVulnMetadataTreeVulnerability) GetVulnerabilityIDs ¶ added in v0.2.0
func (v *AllVulnMetadataTreeVulnerability) GetVulnerabilityIDs() []AllVulnMetadataTreeVulnerabilityVulnerabilityIDsVulnerabilityID
GetVulnerabilityIDs returns AllVulnMetadataTreeVulnerability.VulnerabilityIDs, and is useful for accessing the field via an interface.
type AllVulnMetadataTreeVulnerabilityVulnerabilityIDsVulnerabilityID ¶ added in v0.2.0
type AllVulnMetadataTreeVulnerabilityVulnerabilityIDsVulnerabilityID struct { Id string `json:"id"` VulnerabilityID string `json:"vulnerabilityID"` }
AllVulnMetadataTreeVulnerabilityVulnerabilityIDsVulnerabilityID includes the requested fields of the GraphQL type VulnerabilityID. The GraphQL type's documentation follows.
VulnerabilityID is a specific vulnerability ID associated with the type of the vulnerability.
This will be enforced to be all lowercase.
The namespace field is mandatory.
func (*AllVulnMetadataTreeVulnerabilityVulnerabilityIDsVulnerabilityID) GetId ¶ added in v0.2.0
func (v *AllVulnMetadataTreeVulnerabilityVulnerabilityIDsVulnerabilityID) GetId() string
GetId returns AllVulnMetadataTreeVulnerabilityVulnerabilityIDsVulnerabilityID.Id, and is useful for accessing the field via an interface.
func (*AllVulnMetadataTreeVulnerabilityVulnerabilityIDsVulnerabilityID) GetVulnerabilityID ¶ added in v0.2.0
func (v *AllVulnMetadataTreeVulnerabilityVulnerabilityIDsVulnerabilityID) GetVulnerabilityID() string
GetVulnerabilityID returns AllVulnMetadataTreeVulnerabilityVulnerabilityIDsVulnerabilityID.VulnerabilityID, and is useful for accessing the field via an interface.
type AllVulnerabilityTree ¶ added in v0.2.0
type AllVulnerabilityTree struct { Id string `json:"id"` Type string `json:"type"` VulnerabilityIDs []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID `json:"vulnerabilityIDs"` }
AllVulnerabilityTree includes the GraphQL fields of Vulnerability requested by the fragment AllVulnerabilityTree. The GraphQL type's documentation follows.
Vulnerability represents the root of the vulnerability trie/tree.
We map vulnerability information to a trie, as a derivative of the pURL specification: each path in the trie represents a type and a vulnerability ID. This allows for generic representation of the various vulnerabilities and does not limit to just cve, ghsa or osv. This would be in the general format: vuln://<general-type>/<vuln-id>
Examples:
CVE, using path separator: vuln://cve/cve-2023-20753 OSV, representing its knowledge of a GHSA: vuln://osv/ghsa-205hk Random vendor: vuln://snyk/sn-whatever NoVuln: vuln://novuln/
This node represents the type part of the trie path. It is used to represent the specific type of the vulnerability: cve, ghsa, osv or some other vendor specific
Since this node is at the root of the vulnerability trie, it is named Vulnerability, not VulnerabilityType.
NoVuln is a special vulnerability node to attest that no vulnerability has been found during a vulnerability scan. It will have the type "novuln" and contain an empty string for vulnerabilityID
The resolvers will enforce that both the type and vulnerability IDs are lower case.
func (*AllVulnerabilityTree) GetId ¶ added in v0.2.0
func (v *AllVulnerabilityTree) GetId() string
GetId returns AllVulnerabilityTree.Id, and is useful for accessing the field via an interface.
func (*AllVulnerabilityTree) GetType ¶ added in v0.2.0
func (v *AllVulnerabilityTree) GetType() string
GetType returns AllVulnerabilityTree.Type, and is useful for accessing the field via an interface.
func (*AllVulnerabilityTree) GetVulnerabilityIDs ¶ added in v0.2.0
func (v *AllVulnerabilityTree) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
GetVulnerabilityIDs returns AllVulnerabilityTree.VulnerabilityIDs, and is useful for accessing the field via an interface.
type AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID ¶ added in v0.2.0
type AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID struct { Id string `json:"id"` VulnerabilityID string `json:"vulnerabilityID"` }
AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID includes the requested fields of the GraphQL type VulnerabilityID. The GraphQL type's documentation follows.
VulnerabilityID is a specific vulnerability ID associated with the type of the vulnerability.
This will be enforced to be all lowercase.
The namespace field is mandatory.
func (*AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID) GetId ¶ added in v0.2.0
func (v *AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID) GetId() string
GetId returns AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID.Id, and is useful for accessing the field via an interface.
func (*AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID) GetVulnerabilityID ¶ added in v0.2.0
func (v *AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID) GetVulnerabilityID() string
GetVulnerabilityID returns AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID.VulnerabilityID, and is useful for accessing the field via an interface.
type ArtifactInputSpec ¶
ArtifactInputSpec specifies an artifact for mutations.
The checksum fields are canonicalized to be lowercase.
func (*ArtifactInputSpec) GetAlgorithm ¶
func (v *ArtifactInputSpec) GetAlgorithm() string
GetAlgorithm returns ArtifactInputSpec.Algorithm, and is useful for accessing the field via an interface.
func (*ArtifactInputSpec) GetDigest ¶
func (v *ArtifactInputSpec) GetDigest() string
GetDigest returns ArtifactInputSpec.Digest, and is useful for accessing the field via an interface.
type ArtifactSpec ¶
type ArtifactSpec struct { Id *string `json:"id"` Algorithm *string `json:"algorithm"` Digest *string `json:"digest"` }
ArtifactSpec allows filtering the list of artifacts to return in a query.
The checksum fields are canonicalized to be lowercase.
func (*ArtifactSpec) GetAlgorithm ¶
func (v *ArtifactSpec) GetAlgorithm() *string
GetAlgorithm returns ArtifactSpec.Algorithm, and is useful for accessing the field via an interface.
func (*ArtifactSpec) GetDigest ¶
func (v *ArtifactSpec) GetDigest() *string
GetDigest returns ArtifactSpec.Digest, and is useful for accessing the field via an interface.
func (*ArtifactSpec) GetId ¶
func (v *ArtifactSpec) GetId() *string
GetId returns ArtifactSpec.Id, and is useful for accessing the field via an interface.
type ArtifactsArtifactsArtifact ¶
type ArtifactsArtifactsArtifact struct {
AllArtifactTree `json:"-"`
}
ArtifactsArtifactsArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*ArtifactsArtifactsArtifact) GetAlgorithm ¶
func (v *ArtifactsArtifactsArtifact) GetAlgorithm() string
GetAlgorithm returns ArtifactsArtifactsArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*ArtifactsArtifactsArtifact) GetDigest ¶
func (v *ArtifactsArtifactsArtifact) GetDigest() string
GetDigest returns ArtifactsArtifactsArtifact.Digest, and is useful for accessing the field via an interface.
func (*ArtifactsArtifactsArtifact) GetId ¶
func (v *ArtifactsArtifactsArtifact) GetId() string
GetId returns ArtifactsArtifactsArtifact.Id, and is useful for accessing the field via an interface.
func (*ArtifactsArtifactsArtifact) MarshalJSON ¶
func (v *ArtifactsArtifactsArtifact) MarshalJSON() ([]byte, error)
func (*ArtifactsArtifactsArtifact) UnmarshalJSON ¶
func (v *ArtifactsArtifactsArtifact) UnmarshalJSON(b []byte) error
type ArtifactsListArtifactsListArtifactConnection ¶ added in v0.7.0
type ArtifactsListArtifactsListArtifactConnection struct { TotalCount int `json:"totalCount"` Edges []ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdge `json:"edges"` PageInfo ArtifactsListArtifactsListArtifactConnectionPageInfo `json:"pageInfo"` }
ArtifactsListArtifactsListArtifactConnection includes the requested fields of the GraphQL type ArtifactConnection. The GraphQL type's documentation follows.
ArtifactConnection returns the paginated results for artifact.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the ArtifactEdge which contains the current cursor and the artifact node itself
func (*ArtifactsListArtifactsListArtifactConnection) GetEdges ¶ added in v0.7.0
func (v *ArtifactsListArtifactsListArtifactConnection) GetEdges() []ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdge
GetEdges returns ArtifactsListArtifactsListArtifactConnection.Edges, and is useful for accessing the field via an interface.
func (*ArtifactsListArtifactsListArtifactConnection) GetPageInfo ¶ added in v0.7.0
func (v *ArtifactsListArtifactsListArtifactConnection) GetPageInfo() ArtifactsListArtifactsListArtifactConnectionPageInfo
GetPageInfo returns ArtifactsListArtifactsListArtifactConnection.PageInfo, and is useful for accessing the field via an interface.
func (*ArtifactsListArtifactsListArtifactConnection) GetTotalCount ¶ added in v0.7.0
func (v *ArtifactsListArtifactsListArtifactConnection) GetTotalCount() int
GetTotalCount returns ArtifactsListArtifactsListArtifactConnection.TotalCount, and is useful for accessing the field via an interface.
type ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdge ¶ added in v0.7.0
type ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdge struct { Cursor string `json:"cursor"` Node ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact `json:"node"` }
ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdge includes the requested fields of the GraphQL type ArtifactEdge. The GraphQL type's documentation follows.
ArtifactEdge contains the cursor for the resulting node and the artifact node itself.
func (*ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdge) GetCursor ¶ added in v0.7.0
func (v *ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdge) GetCursor() string
GetCursor returns ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdge.Cursor, and is useful for accessing the field via an interface.
func (*ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdge) GetNode ¶ added in v0.7.0
func (v *ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdge) GetNode() ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact
GetNode returns ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdge.Node, and is useful for accessing the field via an interface.
type ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact ¶ added in v0.7.0
type ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact struct {
AllArtifactTree `json:"-"`
}
ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact) GetAlgorithm ¶ added in v0.7.0
func (v *ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact) GetAlgorithm() string
GetAlgorithm returns ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact) GetDigest ¶ added in v0.7.0
func (v *ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact) GetDigest() string
GetDigest returns ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact.Digest, and is useful for accessing the field via an interface.
func (*ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact) GetId ¶ added in v0.7.0
GetId returns ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact.Id, and is useful for accessing the field via an interface.
func (*ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact) MarshalJSON ¶ added in v0.7.0
func (v *ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact) MarshalJSON() ([]byte, error)
func (*ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact) UnmarshalJSON ¶ added in v0.7.0
func (v *ArtifactsListArtifactsListArtifactConnectionEdgesArtifactEdgeNodeArtifact) UnmarshalJSON(b []byte) error
type ArtifactsListArtifactsListArtifactConnectionPageInfo ¶ added in v0.7.0
type ArtifactsListArtifactsListArtifactConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
ArtifactsListArtifactsListArtifactConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*ArtifactsListArtifactsListArtifactConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *ArtifactsListArtifactsListArtifactConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns ArtifactsListArtifactsListArtifactConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*ArtifactsListArtifactsListArtifactConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *ArtifactsListArtifactsListArtifactConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns ArtifactsListArtifactsListArtifactConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*ArtifactsListArtifactsListArtifactConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *ArtifactsListArtifactsListArtifactConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns ArtifactsListArtifactsListArtifactConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type ArtifactsListResponse ¶ added in v0.7.0
type ArtifactsListResponse struct { // Returns a paginated results via ArtifactConnection ArtifactsList *ArtifactsListArtifactsListArtifactConnection `json:"artifactsList"` }
ArtifactsListResponse is returned by ArtifactsList on success.
func ArtifactsList ¶ added in v0.7.0
func ArtifactsList( ctx_ context.Context, client_ graphql.Client, filter ArtifactSpec, after *string, first *int, ) (*ArtifactsListResponse, error)
func (*ArtifactsListResponse) GetArtifactsList ¶ added in v0.7.0
func (v *ArtifactsListResponse) GetArtifactsList() *ArtifactsListArtifactsListArtifactConnection
GetArtifactsList returns ArtifactsListResponse.ArtifactsList, and is useful for accessing the field via an interface.
type ArtifactsResponse ¶
type ArtifactsResponse struct { // Returns all artifacts matching a filter. Artifacts []ArtifactsArtifactsArtifact `json:"artifacts"` }
ArtifactsResponse is returned by Artifacts on success.
func Artifacts ¶
func Artifacts( ctx_ context.Context, client_ graphql.Client, filter ArtifactSpec, ) (*ArtifactsResponse, error)
func (*ArtifactsResponse) GetArtifacts ¶
func (v *ArtifactsResponse) GetArtifacts() []ArtifactsArtifactsArtifact
GetArtifacts returns ArtifactsResponse.Artifacts, and is useful for accessing the field via an interface.
type BuilderInputSpec ¶
type BuilderInputSpec struct {
Uri string `json:"uri"`
}
BuilderInputSpec specifies a builder for mutations.
func (*BuilderInputSpec) GetUri ¶
func (v *BuilderInputSpec) GetUri() string
GetUri returns BuilderInputSpec.Uri, and is useful for accessing the field via an interface.
type BuilderSpec ¶ added in v0.7.0
BuilderSpec allows filtering the list of builders to return in a query.
func (*BuilderSpec) GetId ¶ added in v0.7.0
func (v *BuilderSpec) GetId() *string
GetId returns BuilderSpec.Id, and is useful for accessing the field via an interface.
func (*BuilderSpec) GetUri ¶ added in v0.7.0
func (v *BuilderSpec) GetUri() *string
GetUri returns BuilderSpec.Uri, and is useful for accessing the field via an interface.
type BuildersBuildersBuilder ¶ added in v0.7.0
type BuildersBuildersBuilder struct {
AllBuilderTree `json:"-"`
}
BuildersBuildersBuilder includes the requested fields of the GraphQL type Builder. The GraphQL type's documentation follows.
Builder represents the builder (e.g., FRSCA or GitHub Actions).
Currently builders are identified by the uri field.
func (*BuildersBuildersBuilder) GetId ¶ added in v0.7.0
func (v *BuildersBuildersBuilder) GetId() string
GetId returns BuildersBuildersBuilder.Id, and is useful for accessing the field via an interface.
func (*BuildersBuildersBuilder) GetUri ¶ added in v0.7.0
func (v *BuildersBuildersBuilder) GetUri() string
GetUri returns BuildersBuildersBuilder.Uri, and is useful for accessing the field via an interface.
func (*BuildersBuildersBuilder) MarshalJSON ¶ added in v0.7.0
func (v *BuildersBuildersBuilder) MarshalJSON() ([]byte, error)
func (*BuildersBuildersBuilder) UnmarshalJSON ¶ added in v0.7.0
func (v *BuildersBuildersBuilder) UnmarshalJSON(b []byte) error
type BuildersListBuildersListBuilderConnection ¶ added in v0.7.0
type BuildersListBuildersListBuilderConnection struct { TotalCount int `json:"totalCount"` Edges []BuildersListBuildersListBuilderConnectionEdgesBuilderEdge `json:"edges"` PageInfo BuildersListBuildersListBuilderConnectionPageInfo `json:"pageInfo"` }
BuildersListBuildersListBuilderConnection includes the requested fields of the GraphQL type BuilderConnection. The GraphQL type's documentation follows.
BuilderConnection returns the paginated results for builder.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the BuilderEdge which contains the current cursor and the Builder node itself
func (*BuildersListBuildersListBuilderConnection) GetEdges ¶ added in v0.7.0
func (v *BuildersListBuildersListBuilderConnection) GetEdges() []BuildersListBuildersListBuilderConnectionEdgesBuilderEdge
GetEdges returns BuildersListBuildersListBuilderConnection.Edges, and is useful for accessing the field via an interface.
func (*BuildersListBuildersListBuilderConnection) GetPageInfo ¶ added in v0.7.0
func (v *BuildersListBuildersListBuilderConnection) GetPageInfo() BuildersListBuildersListBuilderConnectionPageInfo
GetPageInfo returns BuildersListBuildersListBuilderConnection.PageInfo, and is useful for accessing the field via an interface.
func (*BuildersListBuildersListBuilderConnection) GetTotalCount ¶ added in v0.7.0
func (v *BuildersListBuildersListBuilderConnection) GetTotalCount() int
GetTotalCount returns BuildersListBuildersListBuilderConnection.TotalCount, and is useful for accessing the field via an interface.
type BuildersListBuildersListBuilderConnectionEdgesBuilderEdge ¶ added in v0.7.0
type BuildersListBuildersListBuilderConnectionEdgesBuilderEdge struct { Cursor string `json:"cursor"` Node BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder `json:"node"` }
BuildersListBuildersListBuilderConnectionEdgesBuilderEdge includes the requested fields of the GraphQL type BuilderEdge. The GraphQL type's documentation follows.
BuilderEdge contains the cursor for the resulting node and the Builder node itself.
func (*BuildersListBuildersListBuilderConnectionEdgesBuilderEdge) GetCursor ¶ added in v0.7.0
func (v *BuildersListBuildersListBuilderConnectionEdgesBuilderEdge) GetCursor() string
GetCursor returns BuildersListBuildersListBuilderConnectionEdgesBuilderEdge.Cursor, and is useful for accessing the field via an interface.
func (*BuildersListBuildersListBuilderConnectionEdgesBuilderEdge) GetNode ¶ added in v0.7.0
func (v *BuildersListBuildersListBuilderConnectionEdgesBuilderEdge) GetNode() BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder
GetNode returns BuildersListBuildersListBuilderConnectionEdgesBuilderEdge.Node, and is useful for accessing the field via an interface.
type BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder ¶ added in v0.7.0
type BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder struct {
AllBuilderTree `json:"-"`
}
BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder includes the requested fields of the GraphQL type Builder. The GraphQL type's documentation follows.
Builder represents the builder (e.g., FRSCA or GitHub Actions).
Currently builders are identified by the uri field.
func (*BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder) GetId ¶ added in v0.7.0
func (v *BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder) GetId() string
GetId returns BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder.Id, and is useful for accessing the field via an interface.
func (*BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder) GetUri ¶ added in v0.7.0
func (v *BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder) GetUri() string
GetUri returns BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder.Uri, and is useful for accessing the field via an interface.
func (*BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder) MarshalJSON ¶ added in v0.7.0
func (v *BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder) MarshalJSON() ([]byte, error)
func (*BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder) UnmarshalJSON ¶ added in v0.7.0
func (v *BuildersListBuildersListBuilderConnectionEdgesBuilderEdgeNodeBuilder) UnmarshalJSON(b []byte) error
type BuildersListBuildersListBuilderConnectionPageInfo ¶ added in v0.7.0
type BuildersListBuildersListBuilderConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
BuildersListBuildersListBuilderConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*BuildersListBuildersListBuilderConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *BuildersListBuildersListBuilderConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns BuildersListBuildersListBuilderConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*BuildersListBuildersListBuilderConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *BuildersListBuildersListBuilderConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns BuildersListBuildersListBuilderConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*BuildersListBuildersListBuilderConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *BuildersListBuildersListBuilderConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns BuildersListBuildersListBuilderConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type BuildersListResponse ¶ added in v0.7.0
type BuildersListResponse struct { // Returns a paginated results via BuilderConnection BuildersList *BuildersListBuildersListBuilderConnection `json:"buildersList"` }
BuildersListResponse is returned by BuildersList on success.
func BuildersList ¶ added in v0.7.0
func BuildersList( ctx_ context.Context, client_ graphql.Client, filter BuilderSpec, after *string, first *int, ) (*BuildersListResponse, error)
func (*BuildersListResponse) GetBuildersList ¶ added in v0.7.0
func (v *BuildersListResponse) GetBuildersList() *BuildersListBuildersListBuilderConnection
GetBuildersList returns BuildersListResponse.BuildersList, and is useful for accessing the field via an interface.
type BuildersResponse ¶ added in v0.7.0
type BuildersResponse struct { // Returns all builders matching a filter. Builders []BuildersBuildersBuilder `json:"builders"` }
BuildersResponse is returned by Builders on success.
func Builders ¶ added in v0.7.0
func Builders( ctx_ context.Context, client_ graphql.Client, filter BuilderSpec, ) (*BuildersResponse, error)
func (*BuildersResponse) GetBuilders ¶ added in v0.7.0
func (v *BuildersResponse) GetBuilders() []BuildersBuildersBuilder
GetBuilders returns BuildersResponse.Builders, and is useful for accessing the field via an interface.
type CertifyBadCertifyBad ¶ added in v0.7.0
type CertifyBadCertifyBad struct {
AllCertifyBad `json:"-"`
}
CertifyBadCertifyBad includes the requested fields of the GraphQL type CertifyBad. The GraphQL type's documentation follows.
CertifyBad is an attestation that a package, source, or artifact is considered bad.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The certification applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*CertifyBadCertifyBad) GetCollector ¶ added in v0.7.0
func (v *CertifyBadCertifyBad) GetCollector() string
GetCollector returns CertifyBadCertifyBad.Collector, and is useful for accessing the field via an interface.
func (*CertifyBadCertifyBad) GetId ¶ added in v0.7.0
func (v *CertifyBadCertifyBad) GetId() string
GetId returns CertifyBadCertifyBad.Id, and is useful for accessing the field via an interface.
func (*CertifyBadCertifyBad) GetJustification ¶ added in v0.7.0
func (v *CertifyBadCertifyBad) GetJustification() string
GetJustification returns CertifyBadCertifyBad.Justification, and is useful for accessing the field via an interface.
func (*CertifyBadCertifyBad) GetKnownSince ¶ added in v0.7.0
func (v *CertifyBadCertifyBad) GetKnownSince() time.Time
GetKnownSince returns CertifyBadCertifyBad.KnownSince, and is useful for accessing the field via an interface.
func (*CertifyBadCertifyBad) GetOrigin ¶ added in v0.7.0
func (v *CertifyBadCertifyBad) GetOrigin() string
GetOrigin returns CertifyBadCertifyBad.Origin, and is useful for accessing the field via an interface.
func (*CertifyBadCertifyBad) GetSubject ¶ added in v0.7.0
func (v *CertifyBadCertifyBad) GetSubject() AllCertifyBadSubjectPackageSourceOrArtifact
GetSubject returns CertifyBadCertifyBad.Subject, and is useful for accessing the field via an interface.
func (*CertifyBadCertifyBad) MarshalJSON ¶ added in v0.7.0
func (v *CertifyBadCertifyBad) MarshalJSON() ([]byte, error)
func (*CertifyBadCertifyBad) UnmarshalJSON ¶ added in v0.7.0
func (v *CertifyBadCertifyBad) UnmarshalJSON(b []byte) error
type CertifyBadInputSpec ¶
type CertifyBadInputSpec struct { Justification string `json:"justification"` KnownSince time.Time `json:"knownSince"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
CertifyBadInputSpec represents the mutation input to ingest a CertifyBad evidence.
func (*CertifyBadInputSpec) GetCollector ¶
func (v *CertifyBadInputSpec) GetCollector() string
GetCollector returns CertifyBadInputSpec.Collector, and is useful for accessing the field via an interface.
func (*CertifyBadInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *CertifyBadInputSpec) GetDocumentRef() string
GetDocumentRef returns CertifyBadInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*CertifyBadInputSpec) GetJustification ¶
func (v *CertifyBadInputSpec) GetJustification() string
GetJustification returns CertifyBadInputSpec.Justification, and is useful for accessing the field via an interface.
func (*CertifyBadInputSpec) GetKnownSince ¶ added in v0.2.1
func (v *CertifyBadInputSpec) GetKnownSince() time.Time
GetKnownSince returns CertifyBadInputSpec.KnownSince, and is useful for accessing the field via an interface.
func (*CertifyBadInputSpec) GetOrigin ¶
func (v *CertifyBadInputSpec) GetOrigin() string
GetOrigin returns CertifyBadInputSpec.Origin, and is useful for accessing the field via an interface.
type CertifyBadListCertifyBadListCertifyBadConnection ¶ added in v0.7.0
type CertifyBadListCertifyBadListCertifyBadConnection struct { TotalCount int `json:"totalCount"` Edges []CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdge `json:"edges"` PageInfo CertifyBadListCertifyBadListCertifyBadConnectionPageInfo `json:"pageInfo"` }
CertifyBadListCertifyBadListCertifyBadConnection includes the requested fields of the GraphQL type CertifyBadConnection. The GraphQL type's documentation follows.
CertifyBadConnection returns the paginated results for CertifyBad.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the CertifyBadEdge which contains the current cursor and the CertifyBad node itself
func (*CertifyBadListCertifyBadListCertifyBadConnection) GetEdges ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnection) GetEdges() []CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdge
GetEdges returns CertifyBadListCertifyBadListCertifyBadConnection.Edges, and is useful for accessing the field via an interface.
func (*CertifyBadListCertifyBadListCertifyBadConnection) GetPageInfo ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnection) GetPageInfo() CertifyBadListCertifyBadListCertifyBadConnectionPageInfo
GetPageInfo returns CertifyBadListCertifyBadListCertifyBadConnection.PageInfo, and is useful for accessing the field via an interface.
func (*CertifyBadListCertifyBadListCertifyBadConnection) GetTotalCount ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnection) GetTotalCount() int
GetTotalCount returns CertifyBadListCertifyBadListCertifyBadConnection.TotalCount, and is useful for accessing the field via an interface.
type CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdge ¶ added in v0.7.0
type CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdge struct { Cursor string `json:"cursor"` Node CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad `json:"node"` }
CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdge includes the requested fields of the GraphQL type CertifyBadEdge. The GraphQL type's documentation follows.
CertifyBadEdge contains the cursor for the resulting node and the CertifyBad node itself.
func (*CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdge) GetCursor ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdge) GetCursor() string
GetCursor returns CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdge.Cursor, and is useful for accessing the field via an interface.
func (*CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdge) GetNode ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdge) GetNode() CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad
GetNode returns CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdge.Node, and is useful for accessing the field via an interface.
type CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad ¶ added in v0.7.0
type CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad struct {
AllCertifyBad `json:"-"`
}
CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad includes the requested fields of the GraphQL type CertifyBad. The GraphQL type's documentation follows.
CertifyBad is an attestation that a package, source, or artifact is considered bad.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The certification applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetCollector ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetCollector() string
GetCollector returns CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad.Collector, and is useful for accessing the field via an interface.
func (*CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetId ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetId() string
GetId returns CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad.Id, and is useful for accessing the field via an interface.
func (*CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetJustification ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetJustification() string
GetJustification returns CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad.Justification, and is useful for accessing the field via an interface.
func (*CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetKnownSince ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetKnownSince() time.Time
GetKnownSince returns CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad.KnownSince, and is useful for accessing the field via an interface.
func (*CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetOrigin ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetOrigin() string
GetOrigin returns CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad.Origin, and is useful for accessing the field via an interface.
func (*CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetSubject ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) GetSubject() AllCertifyBadSubjectPackageSourceOrArtifact
GetSubject returns CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad.Subject, and is useful for accessing the field via an interface.
func (*CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) MarshalJSON ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) MarshalJSON() ([]byte, error)
func (*CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) UnmarshalJSON ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnectionEdgesCertifyBadEdgeNodeCertifyBad) UnmarshalJSON(b []byte) error
type CertifyBadListCertifyBadListCertifyBadConnectionPageInfo ¶ added in v0.7.0
type CertifyBadListCertifyBadListCertifyBadConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
CertifyBadListCertifyBadListCertifyBadConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*CertifyBadListCertifyBadListCertifyBadConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns CertifyBadListCertifyBadListCertifyBadConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*CertifyBadListCertifyBadListCertifyBadConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns CertifyBadListCertifyBadListCertifyBadConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*CertifyBadListCertifyBadListCertifyBadConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *CertifyBadListCertifyBadListCertifyBadConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns CertifyBadListCertifyBadListCertifyBadConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type CertifyBadListResponse ¶ added in v0.7.0
type CertifyBadListResponse struct { // Returns a paginated results via CertifyBadConnection CertifyBadList *CertifyBadListCertifyBadListCertifyBadConnection `json:"CertifyBadList"` }
CertifyBadListResponse is returned by CertifyBadList on success.
func CertifyBadList ¶ added in v0.7.0
func CertifyBadList( ctx_ context.Context, client_ graphql.Client, filter CertifyBadSpec, after *string, first *int, ) (*CertifyBadListResponse, error)
func (*CertifyBadListResponse) GetCertifyBadList ¶ added in v0.7.0
func (v *CertifyBadListResponse) GetCertifyBadList() *CertifyBadListCertifyBadListCertifyBadConnection
GetCertifyBadList returns CertifyBadListResponse.CertifyBadList, and is useful for accessing the field via an interface.
type CertifyBadResponse ¶ added in v0.7.0
type CertifyBadResponse struct { // Returns all CertifyBad attestations matching a filter. CertifyBad []CertifyBadCertifyBad `json:"CertifyBad"` }
CertifyBadResponse is returned by CertifyBad on success.
func CertifyBad ¶ added in v0.7.0
func CertifyBad( ctx_ context.Context, client_ graphql.Client, filter CertifyBadSpec, ) (*CertifyBadResponse, error)
func (*CertifyBadResponse) GetCertifyBad ¶ added in v0.7.0
func (v *CertifyBadResponse) GetCertifyBad() []CertifyBadCertifyBad
GetCertifyBad returns CertifyBadResponse.CertifyBad, and is useful for accessing the field via an interface.
type CertifyBadSpec ¶
type CertifyBadSpec struct { Id *string `json:"id"` Subject *PackageSourceOrArtifactSpec `json:"subject"` Justification *string `json:"justification"` KnownSince *time.Time `json:"knownSince"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
CertifyBadSpec allows filtering the list of CertifyBad evidence to return in a query.
If a package is specified in the subject filter, then it must be specified up to PackageName or PackageVersion. That is, user must specify package name, or name and one of version, qualifiers, or subpath.
If a source is specified in the subject filter, then it must specify a name, and optionally a tag and a commit.
If KnownSince is specified, the returned value will be after or equal to the specified time. Any nodes time that is before KnownSince is excluded.
func (*CertifyBadSpec) GetCollector ¶
func (v *CertifyBadSpec) GetCollector() *string
GetCollector returns CertifyBadSpec.Collector, and is useful for accessing the field via an interface.
func (*CertifyBadSpec) GetDocumentRef ¶ added in v0.6.0
func (v *CertifyBadSpec) GetDocumentRef() *string
GetDocumentRef returns CertifyBadSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*CertifyBadSpec) GetId ¶
func (v *CertifyBadSpec) GetId() *string
GetId returns CertifyBadSpec.Id, and is useful for accessing the field via an interface.
func (*CertifyBadSpec) GetJustification ¶
func (v *CertifyBadSpec) GetJustification() *string
GetJustification returns CertifyBadSpec.Justification, and is useful for accessing the field via an interface.
func (*CertifyBadSpec) GetKnownSince ¶ added in v0.2.1
func (v *CertifyBadSpec) GetKnownSince() *time.Time
GetKnownSince returns CertifyBadSpec.KnownSince, and is useful for accessing the field via an interface.
func (*CertifyBadSpec) GetOrigin ¶
func (v *CertifyBadSpec) GetOrigin() *string
GetOrigin returns CertifyBadSpec.Origin, and is useful for accessing the field via an interface.
func (*CertifyBadSpec) GetSubject ¶
func (v *CertifyBadSpec) GetSubject() *PackageSourceOrArtifactSpec
GetSubject returns CertifyBadSpec.Subject, and is useful for accessing the field via an interface.
type CertifyGoodCertifyGood ¶ added in v0.7.0
type CertifyGoodCertifyGood struct {
AllCertifyGood `json:"-"`
}
CertifyGoodCertifyGood includes the requested fields of the GraphQL type CertifyGood. The GraphQL type's documentation follows.
CertifyGood is an attestation that a package, source, or artifact is considered good.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The certification applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*CertifyGoodCertifyGood) GetCollector ¶ added in v0.7.0
func (v *CertifyGoodCertifyGood) GetCollector() string
GetCollector returns CertifyGoodCertifyGood.Collector, and is useful for accessing the field via an interface.
func (*CertifyGoodCertifyGood) GetId ¶ added in v0.7.0
func (v *CertifyGoodCertifyGood) GetId() string
GetId returns CertifyGoodCertifyGood.Id, and is useful for accessing the field via an interface.
func (*CertifyGoodCertifyGood) GetJustification ¶ added in v0.7.0
func (v *CertifyGoodCertifyGood) GetJustification() string
GetJustification returns CertifyGoodCertifyGood.Justification, and is useful for accessing the field via an interface.
func (*CertifyGoodCertifyGood) GetKnownSince ¶ added in v0.7.0
func (v *CertifyGoodCertifyGood) GetKnownSince() time.Time
GetKnownSince returns CertifyGoodCertifyGood.KnownSince, and is useful for accessing the field via an interface.
func (*CertifyGoodCertifyGood) GetOrigin ¶ added in v0.7.0
func (v *CertifyGoodCertifyGood) GetOrigin() string
GetOrigin returns CertifyGoodCertifyGood.Origin, and is useful for accessing the field via an interface.
func (*CertifyGoodCertifyGood) GetSubject ¶ added in v0.7.0
func (v *CertifyGoodCertifyGood) GetSubject() AllCertifyGoodSubjectPackageSourceOrArtifact
GetSubject returns CertifyGoodCertifyGood.Subject, and is useful for accessing the field via an interface.
func (*CertifyGoodCertifyGood) MarshalJSON ¶ added in v0.7.0
func (v *CertifyGoodCertifyGood) MarshalJSON() ([]byte, error)
func (*CertifyGoodCertifyGood) UnmarshalJSON ¶ added in v0.7.0
func (v *CertifyGoodCertifyGood) UnmarshalJSON(b []byte) error
type CertifyGoodInputSpec ¶
type CertifyGoodInputSpec struct { Justification string `json:"justification"` KnownSince time.Time `json:"knownSince"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
CertifyGoodInputSpec represents the mutation input to ingest a CertifyGood evidence.
func (*CertifyGoodInputSpec) GetCollector ¶
func (v *CertifyGoodInputSpec) GetCollector() string
GetCollector returns CertifyGoodInputSpec.Collector, and is useful for accessing the field via an interface.
func (*CertifyGoodInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *CertifyGoodInputSpec) GetDocumentRef() string
GetDocumentRef returns CertifyGoodInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*CertifyGoodInputSpec) GetJustification ¶
func (v *CertifyGoodInputSpec) GetJustification() string
GetJustification returns CertifyGoodInputSpec.Justification, and is useful for accessing the field via an interface.
func (*CertifyGoodInputSpec) GetKnownSince ¶ added in v0.2.1
func (v *CertifyGoodInputSpec) GetKnownSince() time.Time
GetKnownSince returns CertifyGoodInputSpec.KnownSince, and is useful for accessing the field via an interface.
func (*CertifyGoodInputSpec) GetOrigin ¶
func (v *CertifyGoodInputSpec) GetOrigin() string
GetOrigin returns CertifyGoodInputSpec.Origin, and is useful for accessing the field via an interface.
type CertifyGoodListCertifyGoodListCertifyGoodConnection ¶ added in v0.7.0
type CertifyGoodListCertifyGoodListCertifyGoodConnection struct { TotalCount int `json:"totalCount"` Edges []CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdge `json:"edges"` PageInfo CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo `json:"pageInfo"` }
CertifyGoodListCertifyGoodListCertifyGoodConnection includes the requested fields of the GraphQL type CertifyGoodConnection. The GraphQL type's documentation follows.
CertifyGoodConnection returns the paginated results for CertifyGood.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the CertifyGoodEdge which contains the current cursor and the CertifyGood node itself
func (*CertifyGoodListCertifyGoodListCertifyGoodConnection) GetEdges ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnection) GetEdges() []CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdge
GetEdges returns CertifyGoodListCertifyGoodListCertifyGoodConnection.Edges, and is useful for accessing the field via an interface.
func (*CertifyGoodListCertifyGoodListCertifyGoodConnection) GetPageInfo ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnection) GetPageInfo() CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo
GetPageInfo returns CertifyGoodListCertifyGoodListCertifyGoodConnection.PageInfo, and is useful for accessing the field via an interface.
func (*CertifyGoodListCertifyGoodListCertifyGoodConnection) GetTotalCount ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnection) GetTotalCount() int
GetTotalCount returns CertifyGoodListCertifyGoodListCertifyGoodConnection.TotalCount, and is useful for accessing the field via an interface.
type CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdge ¶ added in v0.7.0
type CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdge struct { Cursor string `json:"cursor"` Node CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood `json:"node"` }
CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdge includes the requested fields of the GraphQL type CertifyGoodEdge. The GraphQL type's documentation follows.
CertifyGoodEdge contains the cursor for the resulting node and the CertifyGood node itself.
func (*CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdge) GetCursor ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdge) GetCursor() string
GetCursor returns CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdge.Cursor, and is useful for accessing the field via an interface.
func (*CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdge) GetNode ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdge) GetNode() CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood
GetNode returns CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdge.Node, and is useful for accessing the field via an interface.
type CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood ¶ added in v0.7.0
type CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood struct {
AllCertifyGood `json:"-"`
}
CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood includes the requested fields of the GraphQL type CertifyGood. The GraphQL type's documentation follows.
CertifyGood is an attestation that a package, source, or artifact is considered good.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The certification applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetCollector ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetCollector() string
GetCollector returns CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood.Collector, and is useful for accessing the field via an interface.
func (*CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetId ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetId() string
GetId returns CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood.Id, and is useful for accessing the field via an interface.
func (*CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetJustification ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetJustification() string
GetJustification returns CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood.Justification, and is useful for accessing the field via an interface.
func (*CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetKnownSince ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetKnownSince() time.Time
GetKnownSince returns CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood.KnownSince, and is useful for accessing the field via an interface.
func (*CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetOrigin ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetOrigin() string
GetOrigin returns CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood.Origin, and is useful for accessing the field via an interface.
func (*CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetSubject ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) GetSubject() AllCertifyGoodSubjectPackageSourceOrArtifact
GetSubject returns CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood.Subject, and is useful for accessing the field via an interface.
func (*CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) MarshalJSON ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) MarshalJSON() ([]byte, error)
func (*CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) UnmarshalJSON ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionEdgesCertifyGoodEdgeNodeCertifyGood) UnmarshalJSON(b []byte) error
type CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo ¶ added in v0.7.0
type CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns CertifyGoodListCertifyGoodListCertifyGoodConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type CertifyGoodListResponse ¶ added in v0.7.0
type CertifyGoodListResponse struct { // Returns a paginated results via CertifyGoodConnection CertifyGoodList *CertifyGoodListCertifyGoodListCertifyGoodConnection `json:"CertifyGoodList"` }
CertifyGoodListResponse is returned by CertifyGoodList on success.
func CertifyGoodList ¶ added in v0.7.0
func CertifyGoodList( ctx_ context.Context, client_ graphql.Client, filter CertifyGoodSpec, after *string, first *int, ) (*CertifyGoodListResponse, error)
func (*CertifyGoodListResponse) GetCertifyGoodList ¶ added in v0.7.0
func (v *CertifyGoodListResponse) GetCertifyGoodList() *CertifyGoodListCertifyGoodListCertifyGoodConnection
GetCertifyGoodList returns CertifyGoodListResponse.CertifyGoodList, and is useful for accessing the field via an interface.
type CertifyGoodResponse ¶ added in v0.7.0
type CertifyGoodResponse struct { // Returns all CertifyGood attestations matching a filter. CertifyGood []CertifyGoodCertifyGood `json:"CertifyGood"` }
CertifyGoodResponse is returned by CertifyGood on success.
func CertifyGood ¶ added in v0.7.0
func CertifyGood( ctx_ context.Context, client_ graphql.Client, filter CertifyGoodSpec, ) (*CertifyGoodResponse, error)
func (*CertifyGoodResponse) GetCertifyGood ¶ added in v0.7.0
func (v *CertifyGoodResponse) GetCertifyGood() []CertifyGoodCertifyGood
GetCertifyGood returns CertifyGoodResponse.CertifyGood, and is useful for accessing the field via an interface.
type CertifyGoodSpec ¶ added in v0.7.0
type CertifyGoodSpec struct { Id *string `json:"id"` Subject *PackageSourceOrArtifactSpec `json:"subject"` Justification *string `json:"justification"` KnownSince *time.Time `json:"knownSince"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
CertifyBadSpec allows filtering the list of CertifyBad evidence to return in a query.
If a package is specified in the subject filter, then it must be specified up to PackageName or PackageVersion. That is, user must specify package name, or name and one of version, qualifiers, or subpath.
If a source is specified in the subject filter, then it must specify a name, and optionally a tag and a commit.
If KnownSince is specified, the returned value will be after or equal to the specified time. Any nodes time that is before KnownSince is excluded.
func (*CertifyGoodSpec) GetCollector ¶ added in v0.7.0
func (v *CertifyGoodSpec) GetCollector() *string
GetCollector returns CertifyGoodSpec.Collector, and is useful for accessing the field via an interface.
func (*CertifyGoodSpec) GetDocumentRef ¶ added in v0.7.0
func (v *CertifyGoodSpec) GetDocumentRef() *string
GetDocumentRef returns CertifyGoodSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*CertifyGoodSpec) GetId ¶ added in v0.7.0
func (v *CertifyGoodSpec) GetId() *string
GetId returns CertifyGoodSpec.Id, and is useful for accessing the field via an interface.
func (*CertifyGoodSpec) GetJustification ¶ added in v0.7.0
func (v *CertifyGoodSpec) GetJustification() *string
GetJustification returns CertifyGoodSpec.Justification, and is useful for accessing the field via an interface.
func (*CertifyGoodSpec) GetKnownSince ¶ added in v0.7.0
func (v *CertifyGoodSpec) GetKnownSince() *time.Time
GetKnownSince returns CertifyGoodSpec.KnownSince, and is useful for accessing the field via an interface.
func (*CertifyGoodSpec) GetOrigin ¶ added in v0.7.0
func (v *CertifyGoodSpec) GetOrigin() *string
GetOrigin returns CertifyGoodSpec.Origin, and is useful for accessing the field via an interface.
func (*CertifyGoodSpec) GetSubject ¶ added in v0.7.0
func (v *CertifyGoodSpec) GetSubject() *PackageSourceOrArtifactSpec
GetSubject returns CertifyGoodSpec.Subject, and is useful for accessing the field via an interface.
type CertifyLegalCertifyLegal ¶ added in v0.7.0
type CertifyLegalCertifyLegal struct {
AllCertifyLegalTree `json:"-"`
}
CertifyLegalCertifyLegal includes the requested fields of the GraphQL type CertifyLegal. The GraphQL type's documentation follows.
CertifyLegal is an attestation to attach legal information to a package or source.
The certification information is either copied from an attestation found in an SBOM or created by a collector/scanner.
Discovered license is also known as Concluded. More information: https://docs.clearlydefined.io/docs/curation/curation-guidelines#the-difference-between-declared-and-discovered-licenses
Attribution is also known as Copyright Text. It is what could be displayed to comply with notice requirements. https://www.nexb.com/oss-attribution-best-practices/
License expressions follow this format: https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/
func (*CertifyLegalCertifyLegal) GetAttribution ¶ added in v0.7.0
func (v *CertifyLegalCertifyLegal) GetAttribution() string
GetAttribution returns CertifyLegalCertifyLegal.Attribution, and is useful for accessing the field via an interface.
func (*CertifyLegalCertifyLegal) GetCollector ¶ added in v0.7.0
func (v *CertifyLegalCertifyLegal) GetCollector() string
GetCollector returns CertifyLegalCertifyLegal.Collector, and is useful for accessing the field via an interface.
func (*CertifyLegalCertifyLegal) GetDeclaredLicense ¶ added in v0.7.0
func (v *CertifyLegalCertifyLegal) GetDeclaredLicense() string
GetDeclaredLicense returns CertifyLegalCertifyLegal.DeclaredLicense, and is useful for accessing the field via an interface.
func (*CertifyLegalCertifyLegal) GetDeclaredLicenses ¶ added in v0.7.0
func (v *CertifyLegalCertifyLegal) GetDeclaredLicenses() []AllCertifyLegalTreeDeclaredLicensesLicense
GetDeclaredLicenses returns CertifyLegalCertifyLegal.DeclaredLicenses, and is useful for accessing the field via an interface.
func (*CertifyLegalCertifyLegal) GetDiscoveredLicense ¶ added in v0.7.0
func (v *CertifyLegalCertifyLegal) GetDiscoveredLicense() string
GetDiscoveredLicense returns CertifyLegalCertifyLegal.DiscoveredLicense, and is useful for accessing the field via an interface.
func (*CertifyLegalCertifyLegal) GetDiscoveredLicenses ¶ added in v0.7.0
func (v *CertifyLegalCertifyLegal) GetDiscoveredLicenses() []AllCertifyLegalTreeDiscoveredLicensesLicense
GetDiscoveredLicenses returns CertifyLegalCertifyLegal.DiscoveredLicenses, and is useful for accessing the field via an interface.
func (*CertifyLegalCertifyLegal) GetId ¶ added in v0.7.0
func (v *CertifyLegalCertifyLegal) GetId() string
GetId returns CertifyLegalCertifyLegal.Id, and is useful for accessing the field via an interface.
func (*CertifyLegalCertifyLegal) GetJustification ¶ added in v0.7.0
func (v *CertifyLegalCertifyLegal) GetJustification() string
GetJustification returns CertifyLegalCertifyLegal.Justification, and is useful for accessing the field via an interface.
func (*CertifyLegalCertifyLegal) GetOrigin ¶ added in v0.7.0
func (v *CertifyLegalCertifyLegal) GetOrigin() string
GetOrigin returns CertifyLegalCertifyLegal.Origin, and is useful for accessing the field via an interface.
func (*CertifyLegalCertifyLegal) GetSubject ¶ added in v0.7.0
func (v *CertifyLegalCertifyLegal) GetSubject() AllCertifyLegalTreeSubjectPackageOrSource
GetSubject returns CertifyLegalCertifyLegal.Subject, and is useful for accessing the field via an interface.
func (*CertifyLegalCertifyLegal) GetTimeScanned ¶ added in v0.7.0
func (v *CertifyLegalCertifyLegal) GetTimeScanned() time.Time
GetTimeScanned returns CertifyLegalCertifyLegal.TimeScanned, and is useful for accessing the field via an interface.
func (*CertifyLegalCertifyLegal) MarshalJSON ¶ added in v0.7.0
func (v *CertifyLegalCertifyLegal) MarshalJSON() ([]byte, error)
func (*CertifyLegalCertifyLegal) UnmarshalJSON ¶ added in v0.7.0
func (v *CertifyLegalCertifyLegal) UnmarshalJSON(b []byte) error
type CertifyLegalInputSpec ¶ added in v0.2.0
type CertifyLegalInputSpec struct { DeclaredLicense string `json:"declaredLicense"` DiscoveredLicense string `json:"discoveredLicense"` Attribution string `json:"attribution"` Justification string `json:"justification"` TimeScanned time.Time `json:"timeScanned"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
CertifyLegalInputSpec represents the input for certifying legal information in mutations.
func (*CertifyLegalInputSpec) GetAttribution ¶ added in v0.2.0
func (v *CertifyLegalInputSpec) GetAttribution() string
GetAttribution returns CertifyLegalInputSpec.Attribution, and is useful for accessing the field via an interface.
func (*CertifyLegalInputSpec) GetCollector ¶ added in v0.2.0
func (v *CertifyLegalInputSpec) GetCollector() string
GetCollector returns CertifyLegalInputSpec.Collector, and is useful for accessing the field via an interface.
func (*CertifyLegalInputSpec) GetDeclaredLicense ¶ added in v0.2.0
func (v *CertifyLegalInputSpec) GetDeclaredLicense() string
GetDeclaredLicense returns CertifyLegalInputSpec.DeclaredLicense, and is useful for accessing the field via an interface.
func (*CertifyLegalInputSpec) GetDiscoveredLicense ¶ added in v0.2.0
func (v *CertifyLegalInputSpec) GetDiscoveredLicense() string
GetDiscoveredLicense returns CertifyLegalInputSpec.DiscoveredLicense, and is useful for accessing the field via an interface.
func (*CertifyLegalInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *CertifyLegalInputSpec) GetDocumentRef() string
GetDocumentRef returns CertifyLegalInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*CertifyLegalInputSpec) GetJustification ¶ added in v0.2.0
func (v *CertifyLegalInputSpec) GetJustification() string
GetJustification returns CertifyLegalInputSpec.Justification, and is useful for accessing the field via an interface.
func (*CertifyLegalInputSpec) GetOrigin ¶ added in v0.2.0
func (v *CertifyLegalInputSpec) GetOrigin() string
GetOrigin returns CertifyLegalInputSpec.Origin, and is useful for accessing the field via an interface.
func (*CertifyLegalInputSpec) GetTimeScanned ¶ added in v0.2.0
func (v *CertifyLegalInputSpec) GetTimeScanned() time.Time
GetTimeScanned returns CertifyLegalInputSpec.TimeScanned, and is useful for accessing the field via an interface.
type CertifyLegalListCertifyLegalListCertifyLegalConnection ¶ added in v0.7.0
type CertifyLegalListCertifyLegalListCertifyLegalConnection struct { TotalCount int `json:"totalCount"` Edges []CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdge `json:"edges"` PageInfo CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo `json:"pageInfo"` }
CertifyLegalListCertifyLegalListCertifyLegalConnection includes the requested fields of the GraphQL type CertifyLegalConnection. The GraphQL type's documentation follows.
CertifyLegalConnection returns the paginated results for CertifyLegal.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the CertifyLegalEdge which contains the current cursor and the CertifyLegal node itself
func (*CertifyLegalListCertifyLegalListCertifyLegalConnection) GetEdges ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnection) GetEdges() []CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdge
GetEdges returns CertifyLegalListCertifyLegalListCertifyLegalConnection.Edges, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnection) GetPageInfo ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnection) GetPageInfo() CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo
GetPageInfo returns CertifyLegalListCertifyLegalListCertifyLegalConnection.PageInfo, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnection) GetTotalCount ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnection) GetTotalCount() int
GetTotalCount returns CertifyLegalListCertifyLegalListCertifyLegalConnection.TotalCount, and is useful for accessing the field via an interface.
type CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdge ¶ added in v0.7.0
type CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdge struct { Cursor string `json:"cursor"` Node CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal `json:"node"` }
CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdge includes the requested fields of the GraphQL type CertifyLegalEdge. The GraphQL type's documentation follows.
CertifyLegalEdge contains the cursor for the resulting node and the CertifyLegal node itself.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdge) GetCursor ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdge) GetCursor() string
GetCursor returns CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdge.Cursor, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdge) GetNode ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdge) GetNode() CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal
GetNode returns CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdge.Node, and is useful for accessing the field via an interface.
type CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal ¶ added in v0.7.0
type CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal struct {
AllCertifyLegalTree `json:"-"`
}
CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal includes the requested fields of the GraphQL type CertifyLegal. The GraphQL type's documentation follows.
CertifyLegal is an attestation to attach legal information to a package or source.
The certification information is either copied from an attestation found in an SBOM or created by a collector/scanner.
Discovered license is also known as Concluded. More information: https://docs.clearlydefined.io/docs/curation/curation-guidelines#the-difference-between-declared-and-discovered-licenses
Attribution is also known as Copyright Text. It is what could be displayed to comply with notice requirements. https://www.nexb.com/oss-attribution-best-practices/
License expressions follow this format: https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetAttribution ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetAttribution() string
GetAttribution returns CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal.Attribution, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetCollector ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetCollector() string
GetCollector returns CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal.Collector, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetDeclaredLicense ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetDeclaredLicense() string
GetDeclaredLicense returns CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal.DeclaredLicense, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetDeclaredLicenses ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetDeclaredLicenses() []AllCertifyLegalTreeDeclaredLicensesLicense
GetDeclaredLicenses returns CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal.DeclaredLicenses, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetDiscoveredLicense ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetDiscoveredLicense() string
GetDiscoveredLicense returns CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal.DiscoveredLicense, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetDiscoveredLicenses ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetDiscoveredLicenses() []AllCertifyLegalTreeDiscoveredLicensesLicense
GetDiscoveredLicenses returns CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal.DiscoveredLicenses, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetId ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetId() string
GetId returns CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal.Id, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetJustification ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetJustification() string
GetJustification returns CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal.Justification, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetOrigin ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetOrigin() string
GetOrigin returns CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal.Origin, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetSubject ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetSubject() AllCertifyLegalTreeSubjectPackageOrSource
GetSubject returns CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal.Subject, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetTimeScanned ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) GetTimeScanned() time.Time
GetTimeScanned returns CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal.TimeScanned, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) MarshalJSON ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) MarshalJSON() ([]byte, error)
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) UnmarshalJSON ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionEdgesCertifyLegalEdgeNodeCertifyLegal) UnmarshalJSON(b []byte) error
type CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo ¶ added in v0.7.0
type CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns CertifyLegalListCertifyLegalListCertifyLegalConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type CertifyLegalListResponse ¶ added in v0.7.0
type CertifyLegalListResponse struct { // Returns a paginated results via CertifyLegalConnection CertifyLegalList *CertifyLegalListCertifyLegalListCertifyLegalConnection `json:"CertifyLegalList"` }
CertifyLegalListResponse is returned by CertifyLegalList on success.
func CertifyLegalList ¶ added in v0.7.0
func CertifyLegalList( ctx_ context.Context, client_ graphql.Client, filter CertifyLegalSpec, after *string, first *int, ) (*CertifyLegalListResponse, error)
func (*CertifyLegalListResponse) GetCertifyLegalList ¶ added in v0.7.0
func (v *CertifyLegalListResponse) GetCertifyLegalList() *CertifyLegalListCertifyLegalListCertifyLegalConnection
GetCertifyLegalList returns CertifyLegalListResponse.CertifyLegalList, and is useful for accessing the field via an interface.
type CertifyLegalResponse ¶ added in v0.7.0
type CertifyLegalResponse struct { // Returns all legal certifications matching the input filter. CertifyLegal []CertifyLegalCertifyLegal `json:"CertifyLegal"` }
CertifyLegalResponse is returned by CertifyLegal on success.
func CertifyLegal ¶ added in v0.7.0
func CertifyLegal( ctx_ context.Context, client_ graphql.Client, filter CertifyLegalSpec, ) (*CertifyLegalResponse, error)
func (*CertifyLegalResponse) GetCertifyLegal ¶ added in v0.7.0
func (v *CertifyLegalResponse) GetCertifyLegal() []CertifyLegalCertifyLegal
GetCertifyLegal returns CertifyLegalResponse.CertifyLegal, and is useful for accessing the field via an interface.
type CertifyLegalSpec ¶ added in v0.2.0
type CertifyLegalSpec struct { Id *string `json:"id"` Subject *PackageOrSourceSpec `json:"subject"` DeclaredLicense *string `json:"declaredLicense"` DeclaredLicenses []LicenseSpec `json:"declaredLicenses"` DiscoveredLicense *string `json:"discoveredLicense"` DiscoveredLicenses []LicenseSpec `json:"discoveredLicenses"` Attribution *string `json:"attribution"` Justification *string `json:"justification"` TimeScanned *time.Time `json:"timeScanned"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
CertifyLegalSpec allows filtering the list of legal certifications to return in a query.
Specifying just the package allows to query for all certifications associated with the package.
func (*CertifyLegalSpec) GetAttribution ¶ added in v0.2.0
func (v *CertifyLegalSpec) GetAttribution() *string
GetAttribution returns CertifyLegalSpec.Attribution, and is useful for accessing the field via an interface.
func (*CertifyLegalSpec) GetCollector ¶ added in v0.2.0
func (v *CertifyLegalSpec) GetCollector() *string
GetCollector returns CertifyLegalSpec.Collector, and is useful for accessing the field via an interface.
func (*CertifyLegalSpec) GetDeclaredLicense ¶ added in v0.2.0
func (v *CertifyLegalSpec) GetDeclaredLicense() *string
GetDeclaredLicense returns CertifyLegalSpec.DeclaredLicense, and is useful for accessing the field via an interface.
func (*CertifyLegalSpec) GetDeclaredLicenses ¶ added in v0.2.0
func (v *CertifyLegalSpec) GetDeclaredLicenses() []LicenseSpec
GetDeclaredLicenses returns CertifyLegalSpec.DeclaredLicenses, and is useful for accessing the field via an interface.
func (*CertifyLegalSpec) GetDiscoveredLicense ¶ added in v0.2.0
func (v *CertifyLegalSpec) GetDiscoveredLicense() *string
GetDiscoveredLicense returns CertifyLegalSpec.DiscoveredLicense, and is useful for accessing the field via an interface.
func (*CertifyLegalSpec) GetDiscoveredLicenses ¶ added in v0.2.0
func (v *CertifyLegalSpec) GetDiscoveredLicenses() []LicenseSpec
GetDiscoveredLicenses returns CertifyLegalSpec.DiscoveredLicenses, and is useful for accessing the field via an interface.
func (*CertifyLegalSpec) GetDocumentRef ¶ added in v0.6.0
func (v *CertifyLegalSpec) GetDocumentRef() *string
GetDocumentRef returns CertifyLegalSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*CertifyLegalSpec) GetId ¶ added in v0.2.0
func (v *CertifyLegalSpec) GetId() *string
GetId returns CertifyLegalSpec.Id, and is useful for accessing the field via an interface.
func (*CertifyLegalSpec) GetJustification ¶ added in v0.2.0
func (v *CertifyLegalSpec) GetJustification() *string
GetJustification returns CertifyLegalSpec.Justification, and is useful for accessing the field via an interface.
func (*CertifyLegalSpec) GetOrigin ¶ added in v0.2.0
func (v *CertifyLegalSpec) GetOrigin() *string
GetOrigin returns CertifyLegalSpec.Origin, and is useful for accessing the field via an interface.
func (*CertifyLegalSpec) GetSubject ¶ added in v0.2.0
func (v *CertifyLegalSpec) GetSubject() *PackageOrSourceSpec
GetSubject returns CertifyLegalSpec.Subject, and is useful for accessing the field via an interface.
func (*CertifyLegalSpec) GetTimeScanned ¶ added in v0.2.0
func (v *CertifyLegalSpec) GetTimeScanned() *time.Time
GetTimeScanned returns CertifyLegalSpec.TimeScanned, and is useful for accessing the field via an interface.
type CertifyScorecardSpec ¶ added in v0.5.2
type CertifyScorecardSpec struct { Id *string `json:"id"` Source *SourceSpec `json:"source"` TimeScanned *time.Time `json:"timeScanned"` AggregateScore *float64 `json:"aggregateScore"` Checks []ScorecardCheckSpec `json:"checks"` ScorecardVersion *string `json:"scorecardVersion"` ScorecardCommit *string `json:"scorecardCommit"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
CertifyScorecardSpec allows filtering the list of Scorecards to return.
func (*CertifyScorecardSpec) GetAggregateScore ¶ added in v0.5.2
func (v *CertifyScorecardSpec) GetAggregateScore() *float64
GetAggregateScore returns CertifyScorecardSpec.AggregateScore, and is useful for accessing the field via an interface.
func (*CertifyScorecardSpec) GetChecks ¶ added in v0.5.2
func (v *CertifyScorecardSpec) GetChecks() []ScorecardCheckSpec
GetChecks returns CertifyScorecardSpec.Checks, and is useful for accessing the field via an interface.
func (*CertifyScorecardSpec) GetCollector ¶ added in v0.5.2
func (v *CertifyScorecardSpec) GetCollector() *string
GetCollector returns CertifyScorecardSpec.Collector, and is useful for accessing the field via an interface.
func (*CertifyScorecardSpec) GetDocumentRef ¶ added in v0.6.0
func (v *CertifyScorecardSpec) GetDocumentRef() *string
GetDocumentRef returns CertifyScorecardSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*CertifyScorecardSpec) GetId ¶ added in v0.5.2
func (v *CertifyScorecardSpec) GetId() *string
GetId returns CertifyScorecardSpec.Id, and is useful for accessing the field via an interface.
func (*CertifyScorecardSpec) GetOrigin ¶ added in v0.5.2
func (v *CertifyScorecardSpec) GetOrigin() *string
GetOrigin returns CertifyScorecardSpec.Origin, and is useful for accessing the field via an interface.
func (*CertifyScorecardSpec) GetScorecardCommit ¶ added in v0.5.2
func (v *CertifyScorecardSpec) GetScorecardCommit() *string
GetScorecardCommit returns CertifyScorecardSpec.ScorecardCommit, and is useful for accessing the field via an interface.
func (*CertifyScorecardSpec) GetScorecardVersion ¶ added in v0.5.2
func (v *CertifyScorecardSpec) GetScorecardVersion() *string
GetScorecardVersion returns CertifyScorecardSpec.ScorecardVersion, and is useful for accessing the field via an interface.
func (*CertifyScorecardSpec) GetSource ¶ added in v0.5.2
func (v *CertifyScorecardSpec) GetSource() *SourceSpec
GetSource returns CertifyScorecardSpec.Source, and is useful for accessing the field via an interface.
func (*CertifyScorecardSpec) GetTimeScanned ¶ added in v0.5.2
func (v *CertifyScorecardSpec) GetTimeScanned() *time.Time
GetTimeScanned returns CertifyScorecardSpec.TimeScanned, and is useful for accessing the field via an interface.
type CertifyVEXStatementSpec ¶ added in v0.7.0
type CertifyVEXStatementSpec struct { Id *string `json:"id"` Subject *PackageOrArtifactSpec `json:"subject"` Vulnerability *VulnerabilitySpec `json:"vulnerability"` Status *VexStatus `json:"status"` VexJustification *VexJustification `json:"vexJustification"` Statement *string `json:"statement"` StatusNotes *string `json:"statusNotes"` KnownSince *time.Time `json:"knownSince"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
CertifyVEXStatementSpec allows filtering the list of VEX statements to return in a query.
Only one subject type (package or artifact) and one vulnerability may be specified.
Note that setting noVuln vulnerability type is invalid for VEX statements!
func (*CertifyVEXStatementSpec) GetCollector ¶ added in v0.7.0
func (v *CertifyVEXStatementSpec) GetCollector() *string
GetCollector returns CertifyVEXStatementSpec.Collector, and is useful for accessing the field via an interface.
func (*CertifyVEXStatementSpec) GetDocumentRef ¶ added in v0.7.0
func (v *CertifyVEXStatementSpec) GetDocumentRef() *string
GetDocumentRef returns CertifyVEXStatementSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*CertifyVEXStatementSpec) GetId ¶ added in v0.7.0
func (v *CertifyVEXStatementSpec) GetId() *string
GetId returns CertifyVEXStatementSpec.Id, and is useful for accessing the field via an interface.
func (*CertifyVEXStatementSpec) GetKnownSince ¶ added in v0.7.0
func (v *CertifyVEXStatementSpec) GetKnownSince() *time.Time
GetKnownSince returns CertifyVEXStatementSpec.KnownSince, and is useful for accessing the field via an interface.
func (*CertifyVEXStatementSpec) GetOrigin ¶ added in v0.7.0
func (v *CertifyVEXStatementSpec) GetOrigin() *string
GetOrigin returns CertifyVEXStatementSpec.Origin, and is useful for accessing the field via an interface.
func (*CertifyVEXStatementSpec) GetStatement ¶ added in v0.7.0
func (v *CertifyVEXStatementSpec) GetStatement() *string
GetStatement returns CertifyVEXStatementSpec.Statement, and is useful for accessing the field via an interface.
func (*CertifyVEXStatementSpec) GetStatus ¶ added in v0.7.0
func (v *CertifyVEXStatementSpec) GetStatus() *VexStatus
GetStatus returns CertifyVEXStatementSpec.Status, and is useful for accessing the field via an interface.
func (*CertifyVEXStatementSpec) GetStatusNotes ¶ added in v0.7.0
func (v *CertifyVEXStatementSpec) GetStatusNotes() *string
GetStatusNotes returns CertifyVEXStatementSpec.StatusNotes, and is useful for accessing the field via an interface.
func (*CertifyVEXStatementSpec) GetSubject ¶ added in v0.7.0
func (v *CertifyVEXStatementSpec) GetSubject() *PackageOrArtifactSpec
GetSubject returns CertifyVEXStatementSpec.Subject, and is useful for accessing the field via an interface.
func (*CertifyVEXStatementSpec) GetVexJustification ¶ added in v0.7.0
func (v *CertifyVEXStatementSpec) GetVexJustification() *VexJustification
GetVexJustification returns CertifyVEXStatementSpec.VexJustification, and is useful for accessing the field via an interface.
func (*CertifyVEXStatementSpec) GetVulnerability ¶ added in v0.7.0
func (v *CertifyVEXStatementSpec) GetVulnerability() *VulnerabilitySpec
GetVulnerability returns CertifyVEXStatementSpec.Vulnerability, and is useful for accessing the field via an interface.
type CertifyVulnCertifyVuln ¶ added in v0.7.0
type CertifyVulnCertifyVuln struct {
AllCertifyVuln `json:"-"`
}
CertifyVulnCertifyVuln includes the requested fields of the GraphQL type CertifyVuln. The GraphQL type's documentation follows.
CertifyVuln is an attestation to attach vulnerability information to a package.
This information is obtained via a scanner. If there is no vulnerability detected, we attach the a vulnerability with "NoVuln" type and an empty string for the vulnerability ID.
func (*CertifyVulnCertifyVuln) GetId ¶ added in v0.7.0
func (v *CertifyVulnCertifyVuln) GetId() string
GetId returns CertifyVulnCertifyVuln.Id, and is useful for accessing the field via an interface.
func (*CertifyVulnCertifyVuln) GetMetadata ¶ added in v0.7.0
func (v *CertifyVulnCertifyVuln) GetMetadata() AllCertifyVulnMetadataScanMetadata
GetMetadata returns CertifyVulnCertifyVuln.Metadata, and is useful for accessing the field via an interface.
func (*CertifyVulnCertifyVuln) GetPackage ¶ added in v0.7.0
func (v *CertifyVulnCertifyVuln) GetPackage() AllCertifyVulnPackage
GetPackage returns CertifyVulnCertifyVuln.Package, and is useful for accessing the field via an interface.
func (*CertifyVulnCertifyVuln) GetVulnerability ¶ added in v0.7.0
func (v *CertifyVulnCertifyVuln) GetVulnerability() AllCertifyVulnVulnerability
GetVulnerability returns CertifyVulnCertifyVuln.Vulnerability, and is useful for accessing the field via an interface.
func (*CertifyVulnCertifyVuln) MarshalJSON ¶ added in v0.7.0
func (v *CertifyVulnCertifyVuln) MarshalJSON() ([]byte, error)
func (*CertifyVulnCertifyVuln) UnmarshalJSON ¶ added in v0.7.0
func (v *CertifyVulnCertifyVuln) UnmarshalJSON(b []byte) error
type CertifyVulnListCertifyVulnListCertifyVulnConnection ¶ added in v0.7.0
type CertifyVulnListCertifyVulnListCertifyVulnConnection struct { TotalCount int `json:"totalCount"` Edges []CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdge `json:"edges"` PageInfo CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo `json:"pageInfo"` }
CertifyVulnListCertifyVulnListCertifyVulnConnection includes the requested fields of the GraphQL type CertifyVulnConnection. The GraphQL type's documentation follows.
CertifyVulnConnection returns the paginated results for CertifyVuln.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the CertifyVulnEdge which contains the current cursor and the CertifyVuln node itself
func (*CertifyVulnListCertifyVulnListCertifyVulnConnection) GetEdges ¶ added in v0.7.0
func (v *CertifyVulnListCertifyVulnListCertifyVulnConnection) GetEdges() []CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdge
GetEdges returns CertifyVulnListCertifyVulnListCertifyVulnConnection.Edges, and is useful for accessing the field via an interface.
func (*CertifyVulnListCertifyVulnListCertifyVulnConnection) GetPageInfo ¶ added in v0.7.0
func (v *CertifyVulnListCertifyVulnListCertifyVulnConnection) GetPageInfo() CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo
GetPageInfo returns CertifyVulnListCertifyVulnListCertifyVulnConnection.PageInfo, and is useful for accessing the field via an interface.
func (*CertifyVulnListCertifyVulnListCertifyVulnConnection) GetTotalCount ¶ added in v0.7.0
func (v *CertifyVulnListCertifyVulnListCertifyVulnConnection) GetTotalCount() int
GetTotalCount returns CertifyVulnListCertifyVulnListCertifyVulnConnection.TotalCount, and is useful for accessing the field via an interface.
type CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdge ¶ added in v0.7.0
type CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdge struct { Cursor string `json:"cursor"` Node CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln `json:"node"` }
CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdge includes the requested fields of the GraphQL type CertifyVulnEdge. The GraphQL type's documentation follows.
CertifyVulnEdge contains the cursor for the resulting node and the CertifyVuln node itself.
func (*CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdge) GetCursor ¶ added in v0.7.0
func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdge) GetCursor() string
GetCursor returns CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdge.Cursor, and is useful for accessing the field via an interface.
func (*CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdge) GetNode ¶ added in v0.7.0
func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdge) GetNode() CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln
GetNode returns CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdge.Node, and is useful for accessing the field via an interface.
type CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln ¶ added in v0.7.0
type CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln struct {
AllCertifyVuln `json:"-"`
}
CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln includes the requested fields of the GraphQL type CertifyVuln. The GraphQL type's documentation follows.
CertifyVuln is an attestation to attach vulnerability information to a package.
This information is obtained via a scanner. If there is no vulnerability detected, we attach the a vulnerability with "NoVuln" type and an empty string for the vulnerability ID.
func (*CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) GetId ¶ added in v0.7.0
func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) GetId() string
GetId returns CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln.Id, and is useful for accessing the field via an interface.
func (*CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) GetMetadata ¶ added in v0.7.0
func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) GetMetadata() AllCertifyVulnMetadataScanMetadata
GetMetadata returns CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln.Metadata, and is useful for accessing the field via an interface.
func (*CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) GetPackage ¶ added in v0.7.0
func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) GetPackage() AllCertifyVulnPackage
GetPackage returns CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln.Package, and is useful for accessing the field via an interface.
func (*CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) GetVulnerability ¶ added in v0.7.0
func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) GetVulnerability() AllCertifyVulnVulnerability
GetVulnerability returns CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln.Vulnerability, and is useful for accessing the field via an interface.
func (*CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) MarshalJSON ¶ added in v0.7.0
func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) MarshalJSON() ([]byte, error)
func (*CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) UnmarshalJSON ¶ added in v0.7.0
func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionEdgesCertifyVulnEdgeNodeCertifyVuln) UnmarshalJSON(b []byte) error
type CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo ¶ added in v0.7.0
type CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns CertifyVulnListCertifyVulnListCertifyVulnConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type CertifyVulnListResponse ¶ added in v0.7.0
type CertifyVulnListResponse struct { // Returns a paginated results via CertifyVulnConnection CertifyVulnList *CertifyVulnListCertifyVulnListCertifyVulnConnection `json:"CertifyVulnList"` }
CertifyVulnListResponse is returned by CertifyVulnList on success.
func CertifyVulnList ¶ added in v0.7.0
func CertifyVulnList( ctx_ context.Context, client_ graphql.Client, filter CertifyVulnSpec, after *string, first *int, ) (*CertifyVulnListResponse, error)
func (*CertifyVulnListResponse) GetCertifyVulnList ¶ added in v0.7.0
func (v *CertifyVulnListResponse) GetCertifyVulnList() *CertifyVulnListCertifyVulnListCertifyVulnConnection
GetCertifyVulnList returns CertifyVulnListResponse.CertifyVulnList, and is useful for accessing the field via an interface.
type CertifyVulnResponse ¶ added in v0.7.0
type CertifyVulnResponse struct { // Returns all vulnerability certifications matching the input filter. CertifyVuln []CertifyVulnCertifyVuln `json:"CertifyVuln"` }
CertifyVulnResponse is returned by CertifyVuln on success.
func CertifyVuln ¶ added in v0.7.0
func CertifyVuln( ctx_ context.Context, client_ graphql.Client, filter CertifyVulnSpec, ) (*CertifyVulnResponse, error)
func (*CertifyVulnResponse) GetCertifyVuln ¶ added in v0.7.0
func (v *CertifyVulnResponse) GetCertifyVuln() []CertifyVulnCertifyVuln
GetCertifyVuln returns CertifyVulnResponse.CertifyVuln, and is useful for accessing the field via an interface.
type CertifyVulnSpec ¶ added in v0.7.0
type CertifyVulnSpec struct { Id *string `json:"id"` Package *PkgSpec `json:"package"` Vulnerability *VulnerabilitySpec `json:"vulnerability"` TimeScanned *time.Time `json:"timeScanned"` DbUri *string `json:"dbUri"` DbVersion *string `json:"dbVersion"` ScannerUri *string `json:"scannerUri"` ScannerVersion *string `json:"scannerVersion"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
CertifyVulnSpec allows filtering the list of vulnerability certifications to return in a query.
Specifying just the package allows to query for all vulnerabilities associated with the package.
Only one vulnerability (or NoVuln vulnerability type) may be specified.
func (*CertifyVulnSpec) GetCollector ¶ added in v0.7.0
func (v *CertifyVulnSpec) GetCollector() *string
GetCollector returns CertifyVulnSpec.Collector, and is useful for accessing the field via an interface.
func (*CertifyVulnSpec) GetDbUri ¶ added in v0.7.0
func (v *CertifyVulnSpec) GetDbUri() *string
GetDbUri returns CertifyVulnSpec.DbUri, and is useful for accessing the field via an interface.
func (*CertifyVulnSpec) GetDbVersion ¶ added in v0.7.0
func (v *CertifyVulnSpec) GetDbVersion() *string
GetDbVersion returns CertifyVulnSpec.DbVersion, and is useful for accessing the field via an interface.
func (*CertifyVulnSpec) GetDocumentRef ¶ added in v0.7.0
func (v *CertifyVulnSpec) GetDocumentRef() *string
GetDocumentRef returns CertifyVulnSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*CertifyVulnSpec) GetId ¶ added in v0.7.0
func (v *CertifyVulnSpec) GetId() *string
GetId returns CertifyVulnSpec.Id, and is useful for accessing the field via an interface.
func (*CertifyVulnSpec) GetOrigin ¶ added in v0.7.0
func (v *CertifyVulnSpec) GetOrigin() *string
GetOrigin returns CertifyVulnSpec.Origin, and is useful for accessing the field via an interface.
func (*CertifyVulnSpec) GetPackage ¶ added in v0.7.0
func (v *CertifyVulnSpec) GetPackage() *PkgSpec
GetPackage returns CertifyVulnSpec.Package, and is useful for accessing the field via an interface.
func (*CertifyVulnSpec) GetScannerUri ¶ added in v0.7.0
func (v *CertifyVulnSpec) GetScannerUri() *string
GetScannerUri returns CertifyVulnSpec.ScannerUri, and is useful for accessing the field via an interface.
func (*CertifyVulnSpec) GetScannerVersion ¶ added in v0.7.0
func (v *CertifyVulnSpec) GetScannerVersion() *string
GetScannerVersion returns CertifyVulnSpec.ScannerVersion, and is useful for accessing the field via an interface.
func (*CertifyVulnSpec) GetTimeScanned ¶ added in v0.7.0
func (v *CertifyVulnSpec) GetTimeScanned() *time.Time
GetTimeScanned returns CertifyVulnSpec.TimeScanned, and is useful for accessing the field via an interface.
func (*CertifyVulnSpec) GetVulnerability ¶ added in v0.7.0
func (v *CertifyVulnSpec) GetVulnerability() *VulnerabilitySpec
GetVulnerability returns CertifyVulnSpec.Vulnerability, and is useful for accessing the field via an interface.
type Comparator ¶ added in v0.7.0
type Comparator string
The Comparator is used by the vulnerability score filter on ranges
const ( ComparatorGreater Comparator = "GREATER" ComparatorEqual Comparator = "EQUAL" ComparatorLess Comparator = "LESS" ComparatorGreaterEqual Comparator = "GREATER_EQUAL" ComparatorLessEqual Comparator = "LESS_EQUAL" )
type DeleteResponse ¶ added in v0.8.0
type DeleteResponse struct { // Delete node with ID and all associated relationships. // Deletion is only implemented for HasSBOM, HasSLSA and CertifyVuln // for the time being. Other may be added based on usecase but these // were chosen to ensure that users do not end up making breaking changes // to their database. Delete bool `json:"delete"` }
DeleteResponse is returned by Delete on success.
func (*DeleteResponse) GetDelete ¶ added in v0.8.0
func (v *DeleteResponse) GetDelete() bool
GetDelete returns DeleteResponse.Delete, and is useful for accessing the field via an interface.
type DependenciesIsDependency ¶ added in v0.4.0
type DependenciesIsDependency struct {
AllIsDependencyTree `json:"-"`
}
DependenciesIsDependency includes the requested fields of the GraphQL type IsDependency. The GraphQL type's documentation follows.
IsDependency is an attestation to record that a package depends on another.
func (*DependenciesIsDependency) GetCollector ¶ added in v0.4.0
func (v *DependenciesIsDependency) GetCollector() string
GetCollector returns DependenciesIsDependency.Collector, and is useful for accessing the field via an interface.
func (*DependenciesIsDependency) GetDependencyPackage ¶ added in v0.4.0
func (v *DependenciesIsDependency) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
GetDependencyPackage returns DependenciesIsDependency.DependencyPackage, and is useful for accessing the field via an interface.
func (*DependenciesIsDependency) GetDependencyType ¶ added in v0.4.0
func (v *DependenciesIsDependency) GetDependencyType() DependencyType
GetDependencyType returns DependenciesIsDependency.DependencyType, and is useful for accessing the field via an interface.
func (*DependenciesIsDependency) GetId ¶ added in v0.4.0
func (v *DependenciesIsDependency) GetId() string
GetId returns DependenciesIsDependency.Id, and is useful for accessing the field via an interface.
func (*DependenciesIsDependency) GetJustification ¶ added in v0.4.0
func (v *DependenciesIsDependency) GetJustification() string
GetJustification returns DependenciesIsDependency.Justification, and is useful for accessing the field via an interface.
func (*DependenciesIsDependency) GetOrigin ¶ added in v0.4.0
func (v *DependenciesIsDependency) GetOrigin() string
GetOrigin returns DependenciesIsDependency.Origin, and is useful for accessing the field via an interface.
func (*DependenciesIsDependency) GetPackage ¶ added in v0.4.0
func (v *DependenciesIsDependency) GetPackage() AllIsDependencyTreePackage
GetPackage returns DependenciesIsDependency.Package, and is useful for accessing the field via an interface.
func (*DependenciesIsDependency) MarshalJSON ¶ added in v0.4.0
func (v *DependenciesIsDependency) MarshalJSON() ([]byte, error)
func (*DependenciesIsDependency) UnmarshalJSON ¶ added in v0.4.0
func (v *DependenciesIsDependency) UnmarshalJSON(b []byte) error
type DependenciesResponse ¶ added in v0.4.0
type DependenciesResponse struct { // Returns all package dependencies that match the filter. IsDependency []DependenciesIsDependency `json:"IsDependency"` }
DependenciesResponse is returned by Dependencies on success.
func Dependencies ¶ added in v0.4.0
func Dependencies( ctx_ context.Context, client_ graphql.Client, filter IsDependencySpec, ) (*DependenciesResponse, error)
func (*DependenciesResponse) GetIsDependency ¶ added in v0.4.0
func (v *DependenciesResponse) GetIsDependency() []DependenciesIsDependency
GetIsDependency returns DependenciesResponse.IsDependency, and is useful for accessing the field via an interface.
type DependencyListIsDependencyListIsDependencyConnection ¶ added in v0.7.0
type DependencyListIsDependencyListIsDependencyConnection struct { TotalCount int `json:"totalCount"` Edges []DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdge `json:"edges"` PageInfo DependencyListIsDependencyListIsDependencyConnectionPageInfo `json:"pageInfo"` }
DependencyListIsDependencyListIsDependencyConnection includes the requested fields of the GraphQL type IsDependencyConnection. The GraphQL type's documentation follows.
IsDependencyConnection returns the paginated results for IsDependency.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the IsDependencyEdge which contains the current cursor and the IsDependency node itself
func (*DependencyListIsDependencyListIsDependencyConnection) GetEdges ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnection) GetEdges() []DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdge
GetEdges returns DependencyListIsDependencyListIsDependencyConnection.Edges, and is useful for accessing the field via an interface.
func (*DependencyListIsDependencyListIsDependencyConnection) GetPageInfo ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnection) GetPageInfo() DependencyListIsDependencyListIsDependencyConnectionPageInfo
GetPageInfo returns DependencyListIsDependencyListIsDependencyConnection.PageInfo, and is useful for accessing the field via an interface.
func (*DependencyListIsDependencyListIsDependencyConnection) GetTotalCount ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnection) GetTotalCount() int
GetTotalCount returns DependencyListIsDependencyListIsDependencyConnection.TotalCount, and is useful for accessing the field via an interface.
type DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdge ¶ added in v0.7.0
type DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdge struct { Cursor string `json:"cursor"` Node DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency `json:"node"` }
DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdge includes the requested fields of the GraphQL type IsDependencyEdge. The GraphQL type's documentation follows.
IsDependencyEdge contains the cursor for the resulting node and the IsDependency node itself.
func (*DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdge) GetCursor ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdge) GetCursor() string
GetCursor returns DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdge.Cursor, and is useful for accessing the field via an interface.
func (*DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdge) GetNode ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdge) GetNode() DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency
GetNode returns DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdge.Node, and is useful for accessing the field via an interface.
type DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency ¶ added in v0.7.0
type DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency struct {
AllIsDependencyTree `json:"-"`
}
DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency includes the requested fields of the GraphQL type IsDependency. The GraphQL type's documentation follows.
IsDependency is an attestation to record that a package depends on another.
func (*DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetCollector ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetCollector() string
GetCollector returns DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency.Collector, and is useful for accessing the field via an interface.
func (*DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetDependencyPackage ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
GetDependencyPackage returns DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency.DependencyPackage, and is useful for accessing the field via an interface.
func (*DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetDependencyType ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetDependencyType() DependencyType
GetDependencyType returns DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency.DependencyType, and is useful for accessing the field via an interface.
func (*DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetId ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetId() string
GetId returns DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency.Id, and is useful for accessing the field via an interface.
func (*DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetJustification ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetJustification() string
GetJustification returns DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency.Justification, and is useful for accessing the field via an interface.
func (*DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetOrigin ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetOrigin() string
GetOrigin returns DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency.Origin, and is useful for accessing the field via an interface.
func (*DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetPackage ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) GetPackage() AllIsDependencyTreePackage
GetPackage returns DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency.Package, and is useful for accessing the field via an interface.
func (*DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) MarshalJSON ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) MarshalJSON() ([]byte, error)
func (*DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) UnmarshalJSON ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnectionEdgesIsDependencyEdgeNodeIsDependency) UnmarshalJSON(b []byte) error
type DependencyListIsDependencyListIsDependencyConnectionPageInfo ¶ added in v0.7.0
type DependencyListIsDependencyListIsDependencyConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
DependencyListIsDependencyListIsDependencyConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*DependencyListIsDependencyListIsDependencyConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns DependencyListIsDependencyListIsDependencyConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*DependencyListIsDependencyListIsDependencyConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns DependencyListIsDependencyListIsDependencyConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*DependencyListIsDependencyListIsDependencyConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *DependencyListIsDependencyListIsDependencyConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns DependencyListIsDependencyListIsDependencyConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type DependencyListResponse ¶ added in v0.7.0
type DependencyListResponse struct { // Returns a paginated results via IsDependencyConnection IsDependencyList *DependencyListIsDependencyListIsDependencyConnection `json:"IsDependencyList"` }
DependencyListResponse is returned by DependencyList on success.
func DependencyList ¶ added in v0.7.0
func DependencyList( ctx_ context.Context, client_ graphql.Client, filter IsDependencySpec, after *string, first *int, ) (*DependencyListResponse, error)
func (*DependencyListResponse) GetIsDependencyList ¶ added in v0.7.0
func (v *DependencyListResponse) GetIsDependencyList() *DependencyListIsDependencyListIsDependencyConnection
GetIsDependencyList returns DependencyListResponse.IsDependencyList, and is useful for accessing the field via an interface.
type DependencyType ¶
type DependencyType string
DependencyType determines the type of the dependency.
const ( // direct dependency DependencyTypeDirect DependencyType = "DIRECT" // indirect dependency DependencyTypeIndirect DependencyType = "INDIRECT" // type not known/not specified DependencyTypeUnknown DependencyType = "UNKNOWN" )
type Edge ¶
type Edge string
Edge allows filtering path/neighbors output to only contain a subset of all possible GUAC links.
Each member of the enum is formed by merging two Node names with _. Each name is converted from CamelCase to CAPITALS_WITH_UNDERSCORES. Only valid edges (pairs from Node to Node) are included. Edges are defined in both directions, which means nodes can be traversed from either direction.
The only exception to the above rule is for links out of HasSLSA. The names are HAS_SLSA_SUBJECT, HAS_SLSA_BUILT_BY, and HAS_SLSA_MATERIALS. This is because ARTIFACT_HAS_SLSA is only from subject Artifact to HasSLSA.
const ( EdgeArtifactCertifyBad Edge = "ARTIFACT_CERTIFY_BAD" EdgeArtifactCertifyGood Edge = "ARTIFACT_CERTIFY_GOOD" EdgeArtifactCertifyVexStatement Edge = "ARTIFACT_CERTIFY_VEX_STATEMENT" EdgeArtifactHashEqual Edge = "ARTIFACT_HASH_EQUAL" EdgeArtifactHasMetadata Edge = "ARTIFACT_HAS_METADATA" EdgeArtifactHasSbom Edge = "ARTIFACT_HAS_SBOM" EdgeArtifactHasSlsa Edge = "ARTIFACT_HAS_SLSA" EdgeArtifactIsOccurrence Edge = "ARTIFACT_IS_OCCURRENCE" EdgeArtifactPointOfContact Edge = "ARTIFACT_POINT_OF_CONTACT" EdgeBuilderHasSlsa Edge = "BUILDER_HAS_SLSA" EdgeLicenseCertifyLegal Edge = "LICENSE_CERTIFY_LEGAL" EdgePackageCertifyBad Edge = "PACKAGE_CERTIFY_BAD" EdgePackageCertifyGood Edge = "PACKAGE_CERTIFY_GOOD" EdgePackageCertifyLegal Edge = "PACKAGE_CERTIFY_LEGAL" EdgePackageCertifyVexStatement Edge = "PACKAGE_CERTIFY_VEX_STATEMENT" EdgePackageCertifyVuln Edge = "PACKAGE_CERTIFY_VULN" EdgePackageHasMetadata Edge = "PACKAGE_HAS_METADATA" EdgePackageHasSbom Edge = "PACKAGE_HAS_SBOM" EdgePackageHasSourceAt Edge = "PACKAGE_HAS_SOURCE_AT" EdgePackageIsDependency Edge = "PACKAGE_IS_DEPENDENCY" EdgePackageIsOccurrence Edge = "PACKAGE_IS_OCCURRENCE" EdgePackageNamePackageNamespace Edge = "PACKAGE_NAME_PACKAGE_NAMESPACE" EdgePackageNamePackageVersion Edge = "PACKAGE_NAME_PACKAGE_VERSION" EdgePackageNamespacePackageName Edge = "PACKAGE_NAMESPACE_PACKAGE_NAME" EdgePackageNamespacePackageType Edge = "PACKAGE_NAMESPACE_PACKAGE_TYPE" EdgePackagePkgEqual Edge = "PACKAGE_PKG_EQUAL" EdgePackagePointOfContact Edge = "PACKAGE_POINT_OF_CONTACT" EdgePackageTypePackageNamespace Edge = "PACKAGE_TYPE_PACKAGE_NAMESPACE" EdgePackageVersionPackageName Edge = "PACKAGE_VERSION_PACKAGE_NAME" EdgeSourceCertifyBad Edge = "SOURCE_CERTIFY_BAD" EdgeSourceCertifyGood Edge = "SOURCE_CERTIFY_GOOD" EdgeSourceCertifyLegal Edge = "SOURCE_CERTIFY_LEGAL" EdgeSourceCertifyScorecard Edge = "SOURCE_CERTIFY_SCORECARD" EdgeSourceHasMetadata Edge = "SOURCE_HAS_METADATA" EdgeSourceHasSourceAt Edge = "SOURCE_HAS_SOURCE_AT" EdgeSourceIsOccurrence Edge = "SOURCE_IS_OCCURRENCE" EdgeSourceNameSourceNamespace Edge = "SOURCE_NAME_SOURCE_NAMESPACE" EdgeSourceNamespaceSourceName Edge = "SOURCE_NAMESPACE_SOURCE_NAME" EdgeSourceNamespaceSourceType Edge = "SOURCE_NAMESPACE_SOURCE_TYPE" EdgeSourcePointOfContact Edge = "SOURCE_POINT_OF_CONTACT" EdgeSourceTypeSourceNamespace Edge = "SOURCE_TYPE_SOURCE_NAMESPACE" EdgeVulnerabilityCertifyVexStatement Edge = "VULNERABILITY_CERTIFY_VEX_STATEMENT" EdgeVulnerabilityCertifyVuln Edge = "VULNERABILITY_CERTIFY_VULN" EdgeVulnerabilityIdVulnerabilityType Edge = "VULNERABILITY_ID_VULNERABILITY_TYPE" EdgeVulnerabilityTypeVulnerabilityId Edge = "VULNERABILITY_TYPE_VULNERABILITY_ID" EdgeVulnerabilityVulnEqual Edge = "VULNERABILITY_VULN_EQUAL" EdgeVulnerabilityVulnMetadata Edge = "VULNERABILITY_VULN_METADATA" EdgeCertifyBadArtifact Edge = "CERTIFY_BAD_ARTIFACT" EdgeCertifyBadPackage Edge = "CERTIFY_BAD_PACKAGE" EdgeCertifyBadSource Edge = "CERTIFY_BAD_SOURCE" EdgeCertifyGoodArtifact Edge = "CERTIFY_GOOD_ARTIFACT" EdgeCertifyGoodPackage Edge = "CERTIFY_GOOD_PACKAGE" EdgeCertifyGoodSource Edge = "CERTIFY_GOOD_SOURCE" EdgeCertifyLegalLicense Edge = "CERTIFY_LEGAL_LICENSE" EdgeCertifyLegalPackage Edge = "CERTIFY_LEGAL_PACKAGE" EdgeCertifyLegalSource Edge = "CERTIFY_LEGAL_SOURCE" EdgeCertifyScorecardSource Edge = "CERTIFY_SCORECARD_SOURCE" EdgeCertifyVexStatementArtifact Edge = "CERTIFY_VEX_STATEMENT_ARTIFACT" EdgeCertifyVexStatementPackage Edge = "CERTIFY_VEX_STATEMENT_PACKAGE" EdgeCertifyVexStatementVulnerability Edge = "CERTIFY_VEX_STATEMENT_VULNERABILITY" EdgeCertifyVulnPackage Edge = "CERTIFY_VULN_PACKAGE" EdgeCertifyVulnVulnerability Edge = "CERTIFY_VULN_VULNERABILITY" EdgeHashEqualArtifact Edge = "HASH_EQUAL_ARTIFACT" EdgeHasMetadataArtifact Edge = "HAS_METADATA_ARTIFACT" EdgeHasMetadataPackage Edge = "HAS_METADATA_PACKAGE" EdgeHasMetadataSource Edge = "HAS_METADATA_SOURCE" EdgeHasSbomArtifact Edge = "HAS_SBOM_ARTIFACT" EdgeHasSbomPackage Edge = "HAS_SBOM_PACKAGE" EdgeHasSbomIncludedSoftware Edge = "HAS_SBOM_INCLUDED_SOFTWARE" EdgeHasSbomIncludedDependencies Edge = "HAS_SBOM_INCLUDED_DEPENDENCIES" EdgeHasSbomIncludedOccurrences Edge = "HAS_SBOM_INCLUDED_OCCURRENCES" EdgeHasSlsaBuiltBy Edge = "HAS_SLSA_BUILT_BY" EdgeHasSlsaMaterials Edge = "HAS_SLSA_MATERIALS" EdgeHasSlsaSubject Edge = "HAS_SLSA_SUBJECT" EdgeHasSourceAtPackage Edge = "HAS_SOURCE_AT_PACKAGE" EdgeHasSourceAtSource Edge = "HAS_SOURCE_AT_SOURCE" EdgeIsDependencyPackage Edge = "IS_DEPENDENCY_PACKAGE" EdgeIsOccurrenceArtifact Edge = "IS_OCCURRENCE_ARTIFACT" EdgeIsOccurrencePackage Edge = "IS_OCCURRENCE_PACKAGE" EdgeIsOccurrenceSource Edge = "IS_OCCURRENCE_SOURCE" EdgePkgEqualPackage Edge = "PKG_EQUAL_PACKAGE" EdgePointOfContactArtifact Edge = "POINT_OF_CONTACT_ARTIFACT" EdgePointOfContactPackage Edge = "POINT_OF_CONTACT_PACKAGE" EdgePointOfContactSource Edge = "POINT_OF_CONTACT_SOURCE" EdgeVulnEqualVulnerability Edge = "VULN_EQUAL_VULNERABILITY" EdgeVulnMetadataVulnerability Edge = "VULN_METADATA_VULNERABILITY" )
type FindSoftwareFindSoftwareArtifact ¶ added in v0.1.1
type FindSoftwareFindSoftwareArtifact struct { Typename *string `json:"__typename"` AllArtifactTree `json:"-"` }
FindSoftwareFindSoftwareArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*FindSoftwareFindSoftwareArtifact) GetAlgorithm ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwareArtifact) GetAlgorithm() string
GetAlgorithm returns FindSoftwareFindSoftwareArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*FindSoftwareFindSoftwareArtifact) GetDigest ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwareArtifact) GetDigest() string
GetDigest returns FindSoftwareFindSoftwareArtifact.Digest, and is useful for accessing the field via an interface.
func (*FindSoftwareFindSoftwareArtifact) GetId ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwareArtifact) GetId() string
GetId returns FindSoftwareFindSoftwareArtifact.Id, and is useful for accessing the field via an interface.
func (*FindSoftwareFindSoftwareArtifact) GetTypename ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwareArtifact) GetTypename() *string
GetTypename returns FindSoftwareFindSoftwareArtifact.Typename, and is useful for accessing the field via an interface.
func (*FindSoftwareFindSoftwareArtifact) MarshalJSON ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwareArtifact) MarshalJSON() ([]byte, error)
func (*FindSoftwareFindSoftwareArtifact) UnmarshalJSON ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwareArtifact) UnmarshalJSON(b []byte) error
type FindSoftwareFindSoftwarePackage ¶ added in v0.1.1
type FindSoftwareFindSoftwarePackage struct { Typename *string `json:"__typename"` AllPkgTree `json:"-"` }
FindSoftwareFindSoftwarePackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*FindSoftwareFindSoftwarePackage) GetId ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwarePackage) GetId() string
GetId returns FindSoftwareFindSoftwarePackage.Id, and is useful for accessing the field via an interface.
func (*FindSoftwareFindSoftwarePackage) GetNamespaces ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwarePackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns FindSoftwareFindSoftwarePackage.Namespaces, and is useful for accessing the field via an interface.
func (*FindSoftwareFindSoftwarePackage) GetType ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwarePackage) GetType() string
GetType returns FindSoftwareFindSoftwarePackage.Type, and is useful for accessing the field via an interface.
func (*FindSoftwareFindSoftwarePackage) GetTypename ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwarePackage) GetTypename() *string
GetTypename returns FindSoftwareFindSoftwarePackage.Typename, and is useful for accessing the field via an interface.
func (*FindSoftwareFindSoftwarePackage) MarshalJSON ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwarePackage) MarshalJSON() ([]byte, error)
func (*FindSoftwareFindSoftwarePackage) UnmarshalJSON ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwarePackage) UnmarshalJSON(b []byte) error
type FindSoftwareFindSoftwarePackageSourceOrArtifact ¶ added in v0.1.1
type FindSoftwareFindSoftwarePackageSourceOrArtifact interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() *string // contains filtered or unexported methods }
FindSoftwareFindSoftwarePackageSourceOrArtifact includes the requested fields of the GraphQL interface PackageSourceOrArtifact.
FindSoftwareFindSoftwarePackageSourceOrArtifact is implemented by the following types: FindSoftwareFindSoftwareArtifact FindSoftwareFindSoftwarePackage FindSoftwareFindSoftwareSource The GraphQL type's documentation follows.
PackageSourceOrArtifact is a union of Package, Source, and Artifact.
type FindSoftwareFindSoftwareSource ¶ added in v0.1.1
type FindSoftwareFindSoftwareSource struct { Typename *string `json:"__typename"` AllSourceTree `json:"-"` }
FindSoftwareFindSoftwareSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*FindSoftwareFindSoftwareSource) GetId ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwareSource) GetId() string
GetId returns FindSoftwareFindSoftwareSource.Id, and is useful for accessing the field via an interface.
func (*FindSoftwareFindSoftwareSource) GetNamespaces ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwareSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns FindSoftwareFindSoftwareSource.Namespaces, and is useful for accessing the field via an interface.
func (*FindSoftwareFindSoftwareSource) GetType ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwareSource) GetType() string
GetType returns FindSoftwareFindSoftwareSource.Type, and is useful for accessing the field via an interface.
func (*FindSoftwareFindSoftwareSource) GetTypename ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwareSource) GetTypename() *string
GetTypename returns FindSoftwareFindSoftwareSource.Typename, and is useful for accessing the field via an interface.
func (*FindSoftwareFindSoftwareSource) MarshalJSON ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwareSource) MarshalJSON() ([]byte, error)
func (*FindSoftwareFindSoftwareSource) UnmarshalJSON ¶ added in v0.1.1
func (v *FindSoftwareFindSoftwareSource) UnmarshalJSON(b []byte) error
type FindSoftwareResponse ¶ added in v0.1.1
type FindSoftwareResponse struct { // findSoftware takes in a searchText string and looks for software // that may be relevant for the input text. This can be seen as fuzzy search // function for Packages, Sources and Artifacts. findSoftware returns a list // of Packages, Sources and Artifacts that it determines to be relevant to // the input searchText. // // Due to the nature of full text search being implemented differently on // different db platforms, the behavior of findSoftware is not guaranteed // to be the same. In addition, their statistical nature may result in // results being different per call and not reproducible. // // All that is asked in the implementation of this API is that it follows // the spirit of helping to retrieve the right nodes with best effort. // // Warning: This is an EXPERIMENTAL feature. This is subject to change. // Warning: This is an OPTIONAL feature. Backends are not required to // implement this API. FindSoftware []FindSoftwareFindSoftwarePackageSourceOrArtifact `json:"-"` }
FindSoftwareResponse is returned by FindSoftware on success.
func FindSoftware ¶ added in v0.1.1
func (*FindSoftwareResponse) GetFindSoftware ¶ added in v0.1.1
func (v *FindSoftwareResponse) GetFindSoftware() []FindSoftwareFindSoftwarePackageSourceOrArtifact
GetFindSoftware returns FindSoftwareResponse.FindSoftware, and is useful for accessing the field via an interface.
func (*FindSoftwareResponse) MarshalJSON ¶ added in v0.1.1
func (v *FindSoftwareResponse) MarshalJSON() ([]byte, error)
func (*FindSoftwareResponse) UnmarshalJSON ¶ added in v0.1.1
func (v *FindSoftwareResponse) UnmarshalJSON(b []byte) error
type HasMetadataHasMetadata ¶ added in v0.7.0
type HasMetadataHasMetadata struct {
AllHasMetadata `json:"-"`
}
HasMetadataHasMetadata includes the requested fields of the GraphQL type HasMetadata. The GraphQL type's documentation follows.
HasMetadata is an attestation that a package, source, or artifact has a certain attested property (key) with value (value). For example, a source may have metadata "SourceRepo2FAEnabled=true".
The intent of this evidence tree predicate is to allow extensibility of metadata expressible within the GUAC ontology. Metadata that is commonly used will then be promoted to a predicate on its own.
Justification indicates how the metadata was determined.
The metadata applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*HasMetadataHasMetadata) GetCollector ¶ added in v0.7.0
func (v *HasMetadataHasMetadata) GetCollector() string
GetCollector returns HasMetadataHasMetadata.Collector, and is useful for accessing the field via an interface.
func (*HasMetadataHasMetadata) GetId ¶ added in v0.7.0
func (v *HasMetadataHasMetadata) GetId() string
GetId returns HasMetadataHasMetadata.Id, and is useful for accessing the field via an interface.
func (*HasMetadataHasMetadata) GetJustification ¶ added in v0.7.0
func (v *HasMetadataHasMetadata) GetJustification() string
GetJustification returns HasMetadataHasMetadata.Justification, and is useful for accessing the field via an interface.
func (*HasMetadataHasMetadata) GetKey ¶ added in v0.7.0
func (v *HasMetadataHasMetadata) GetKey() string
GetKey returns HasMetadataHasMetadata.Key, and is useful for accessing the field via an interface.
func (*HasMetadataHasMetadata) GetOrigin ¶ added in v0.7.0
func (v *HasMetadataHasMetadata) GetOrigin() string
GetOrigin returns HasMetadataHasMetadata.Origin, and is useful for accessing the field via an interface.
func (*HasMetadataHasMetadata) GetSubject ¶ added in v0.7.0
func (v *HasMetadataHasMetadata) GetSubject() AllHasMetadataSubjectPackageSourceOrArtifact
GetSubject returns HasMetadataHasMetadata.Subject, and is useful for accessing the field via an interface.
func (*HasMetadataHasMetadata) GetTimestamp ¶ added in v0.7.0
func (v *HasMetadataHasMetadata) GetTimestamp() time.Time
GetTimestamp returns HasMetadataHasMetadata.Timestamp, and is useful for accessing the field via an interface.
func (*HasMetadataHasMetadata) GetValue ¶ added in v0.7.0
func (v *HasMetadataHasMetadata) GetValue() string
GetValue returns HasMetadataHasMetadata.Value, and is useful for accessing the field via an interface.
func (*HasMetadataHasMetadata) MarshalJSON ¶ added in v0.7.0
func (v *HasMetadataHasMetadata) MarshalJSON() ([]byte, error)
func (*HasMetadataHasMetadata) UnmarshalJSON ¶ added in v0.7.0
func (v *HasMetadataHasMetadata) UnmarshalJSON(b []byte) error
type HasMetadataInputSpec ¶ added in v0.1.1
type HasMetadataInputSpec struct { Key string `json:"key"` Value string `json:"value"` Timestamp time.Time `json:"timestamp"` Justification string `json:"justification"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
HasMetadataInputSpec represents the mutation input to ingest a CertifyGood evidence.
func (*HasMetadataInputSpec) GetCollector ¶ added in v0.1.1
func (v *HasMetadataInputSpec) GetCollector() string
GetCollector returns HasMetadataInputSpec.Collector, and is useful for accessing the field via an interface.
func (*HasMetadataInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *HasMetadataInputSpec) GetDocumentRef() string
GetDocumentRef returns HasMetadataInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*HasMetadataInputSpec) GetJustification ¶ added in v0.1.1
func (v *HasMetadataInputSpec) GetJustification() string
GetJustification returns HasMetadataInputSpec.Justification, and is useful for accessing the field via an interface.
func (*HasMetadataInputSpec) GetKey ¶ added in v0.1.1
func (v *HasMetadataInputSpec) GetKey() string
GetKey returns HasMetadataInputSpec.Key, and is useful for accessing the field via an interface.
func (*HasMetadataInputSpec) GetOrigin ¶ added in v0.1.1
func (v *HasMetadataInputSpec) GetOrigin() string
GetOrigin returns HasMetadataInputSpec.Origin, and is useful for accessing the field via an interface.
func (*HasMetadataInputSpec) GetTimestamp ¶ added in v0.1.1
func (v *HasMetadataInputSpec) GetTimestamp() time.Time
GetTimestamp returns HasMetadataInputSpec.Timestamp, and is useful for accessing the field via an interface.
func (*HasMetadataInputSpec) GetValue ¶ added in v0.1.1
func (v *HasMetadataInputSpec) GetValue() string
GetValue returns HasMetadataInputSpec.Value, and is useful for accessing the field via an interface.
type HasMetadataListHasMetadataListHasMetadataConnection ¶ added in v0.7.0
type HasMetadataListHasMetadataListHasMetadataConnection struct { TotalCount int `json:"totalCount"` Edges []HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdge `json:"edges"` PageInfo HasMetadataListHasMetadataListHasMetadataConnectionPageInfo `json:"pageInfo"` }
HasMetadataListHasMetadataListHasMetadataConnection includes the requested fields of the GraphQL type HasMetadataConnection. The GraphQL type's documentation follows.
HasMetadataConnection returns the paginated results for HasMetadata.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the HasMetadataEdge which contains the current cursor and the HasMetadata node itself
func (*HasMetadataListHasMetadataListHasMetadataConnection) GetEdges ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnection) GetEdges() []HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdge
GetEdges returns HasMetadataListHasMetadataListHasMetadataConnection.Edges, and is useful for accessing the field via an interface.
func (*HasMetadataListHasMetadataListHasMetadataConnection) GetPageInfo ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnection) GetPageInfo() HasMetadataListHasMetadataListHasMetadataConnectionPageInfo
GetPageInfo returns HasMetadataListHasMetadataListHasMetadataConnection.PageInfo, and is useful for accessing the field via an interface.
func (*HasMetadataListHasMetadataListHasMetadataConnection) GetTotalCount ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnection) GetTotalCount() int
GetTotalCount returns HasMetadataListHasMetadataListHasMetadataConnection.TotalCount, and is useful for accessing the field via an interface.
type HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdge ¶ added in v0.7.0
type HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdge struct { Cursor string `json:"cursor"` Node HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata `json:"node"` }
HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdge includes the requested fields of the GraphQL type HasMetadataEdge. The GraphQL type's documentation follows.
HasMetadataEdge contains the cursor for the resulting node and the HasMetadata node itself.
func (*HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdge) GetCursor ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdge) GetCursor() string
GetCursor returns HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdge.Cursor, and is useful for accessing the field via an interface.
func (*HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdge) GetNode ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdge) GetNode() HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata
GetNode returns HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdge.Node, and is useful for accessing the field via an interface.
type HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata ¶ added in v0.7.0
type HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata struct {
AllHasMetadata `json:"-"`
}
HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata includes the requested fields of the GraphQL type HasMetadata. The GraphQL type's documentation follows.
HasMetadata is an attestation that a package, source, or artifact has a certain attested property (key) with value (value). For example, a source may have metadata "SourceRepo2FAEnabled=true".
The intent of this evidence tree predicate is to allow extensibility of metadata expressible within the GUAC ontology. Metadata that is commonly used will then be promoted to a predicate on its own.
Justification indicates how the metadata was determined.
The metadata applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetCollector ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetCollector() string
GetCollector returns HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata.Collector, and is useful for accessing the field via an interface.
func (*HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetId ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetId() string
GetId returns HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata.Id, and is useful for accessing the field via an interface.
func (*HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetJustification ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetJustification() string
GetJustification returns HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata.Justification, and is useful for accessing the field via an interface.
func (*HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetKey ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetKey() string
GetKey returns HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata.Key, and is useful for accessing the field via an interface.
func (*HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetOrigin ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetOrigin() string
GetOrigin returns HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata.Origin, and is useful for accessing the field via an interface.
func (*HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetSubject ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetSubject() AllHasMetadataSubjectPackageSourceOrArtifact
GetSubject returns HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata.Subject, and is useful for accessing the field via an interface.
func (*HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetTimestamp ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetTimestamp() time.Time
GetTimestamp returns HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata.Timestamp, and is useful for accessing the field via an interface.
func (*HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetValue ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) GetValue() string
GetValue returns HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata.Value, and is useful for accessing the field via an interface.
func (*HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) MarshalJSON ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) MarshalJSON() ([]byte, error)
func (*HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) UnmarshalJSON ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionEdgesHasMetadataEdgeNodeHasMetadata) UnmarshalJSON(b []byte) error
type HasMetadataListHasMetadataListHasMetadataConnectionPageInfo ¶ added in v0.7.0
type HasMetadataListHasMetadataListHasMetadataConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
HasMetadataListHasMetadataListHasMetadataConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*HasMetadataListHasMetadataListHasMetadataConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns HasMetadataListHasMetadataListHasMetadataConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*HasMetadataListHasMetadataListHasMetadataConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns HasMetadataListHasMetadataListHasMetadataConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*HasMetadataListHasMetadataListHasMetadataConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *HasMetadataListHasMetadataListHasMetadataConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns HasMetadataListHasMetadataListHasMetadataConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type HasMetadataListResponse ¶ added in v0.7.0
type HasMetadataListResponse struct { // Returns a paginated results via HasMetadataConnection HasMetadataList *HasMetadataListHasMetadataListHasMetadataConnection `json:"HasMetadataList"` }
HasMetadataListResponse is returned by HasMetadataList on success.
func HasMetadataList ¶ added in v0.7.0
func HasMetadataList( ctx_ context.Context, client_ graphql.Client, filter HasMetadataSpec, after *string, first *int, ) (*HasMetadataListResponse, error)
func (*HasMetadataListResponse) GetHasMetadataList ¶ added in v0.7.0
func (v *HasMetadataListResponse) GetHasMetadataList() *HasMetadataListHasMetadataListHasMetadataConnection
GetHasMetadataList returns HasMetadataListResponse.HasMetadataList, and is useful for accessing the field via an interface.
type HasMetadataResponse ¶ added in v0.7.0
type HasMetadataResponse struct { // Returns all HasMetdata attestations matching a filter. HasMetadata []HasMetadataHasMetadata `json:"HasMetadata"` }
HasMetadataResponse is returned by HasMetadata on success.
func HasMetadata ¶ added in v0.7.0
func HasMetadata( ctx_ context.Context, client_ graphql.Client, filter HasMetadataSpec, ) (*HasMetadataResponse, error)
func (*HasMetadataResponse) GetHasMetadata ¶ added in v0.7.0
func (v *HasMetadataResponse) GetHasMetadata() []HasMetadataHasMetadata
GetHasMetadata returns HasMetadataResponse.HasMetadata, and is useful for accessing the field via an interface.
type HasMetadataSpec ¶ added in v0.7.0
type HasMetadataSpec struct { Id *string `json:"id"` Subject *PackageSourceOrArtifactSpec `json:"subject"` Since *time.Time `json:"since"` Key *string `json:"key"` Value *string `json:"value"` Justification *string `json:"justification"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
HasMetadataSpec allows filtering the list of HasMetadata evidence to return in a query.
If a package is specified in the subject filter, then it must be specified up to PackageName or PackageVersion. That is, user must specify package name, or name and one of version, qualifiers, or subpath.
If a source is specified in the subject filter, then it must specify a name, and optionally a tag and a commit.
since specified indicates filtering timestamps after the specified time
func (*HasMetadataSpec) GetCollector ¶ added in v0.7.0
func (v *HasMetadataSpec) GetCollector() *string
GetCollector returns HasMetadataSpec.Collector, and is useful for accessing the field via an interface.
func (*HasMetadataSpec) GetDocumentRef ¶ added in v0.7.0
func (v *HasMetadataSpec) GetDocumentRef() *string
GetDocumentRef returns HasMetadataSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*HasMetadataSpec) GetId ¶ added in v0.7.0
func (v *HasMetadataSpec) GetId() *string
GetId returns HasMetadataSpec.Id, and is useful for accessing the field via an interface.
func (*HasMetadataSpec) GetJustification ¶ added in v0.7.0
func (v *HasMetadataSpec) GetJustification() *string
GetJustification returns HasMetadataSpec.Justification, and is useful for accessing the field via an interface.
func (*HasMetadataSpec) GetKey ¶ added in v0.7.0
func (v *HasMetadataSpec) GetKey() *string
GetKey returns HasMetadataSpec.Key, and is useful for accessing the field via an interface.
func (*HasMetadataSpec) GetOrigin ¶ added in v0.7.0
func (v *HasMetadataSpec) GetOrigin() *string
GetOrigin returns HasMetadataSpec.Origin, and is useful for accessing the field via an interface.
func (*HasMetadataSpec) GetSince ¶ added in v0.7.0
func (v *HasMetadataSpec) GetSince() *time.Time
GetSince returns HasMetadataSpec.Since, and is useful for accessing the field via an interface.
func (*HasMetadataSpec) GetSubject ¶ added in v0.7.0
func (v *HasMetadataSpec) GetSubject() *PackageSourceOrArtifactSpec
GetSubject returns HasMetadataSpec.Subject, and is useful for accessing the field via an interface.
func (*HasMetadataSpec) GetValue ¶ added in v0.7.0
func (v *HasMetadataSpec) GetValue() *string
GetValue returns HasMetadataSpec.Value, and is useful for accessing the field via an interface.
type HasSBOMIncludesInputSpec ¶ added in v0.4.0
type HasSBOMIncludesInputSpec struct { Packages []string `json:"packages"` Artifacts []string `json:"artifacts"` Dependencies []string `json:"dependencies"` Occurrences []string `json:"occurrences"` }
func (*HasSBOMIncludesInputSpec) GetArtifacts ¶ added in v0.5.0
func (v *HasSBOMIncludesInputSpec) GetArtifacts() []string
GetArtifacts returns HasSBOMIncludesInputSpec.Artifacts, and is useful for accessing the field via an interface.
func (*HasSBOMIncludesInputSpec) GetDependencies ¶ added in v0.4.0
func (v *HasSBOMIncludesInputSpec) GetDependencies() []string
GetDependencies returns HasSBOMIncludesInputSpec.Dependencies, and is useful for accessing the field via an interface.
func (*HasSBOMIncludesInputSpec) GetOccurrences ¶ added in v0.4.0
func (v *HasSBOMIncludesInputSpec) GetOccurrences() []string
GetOccurrences returns HasSBOMIncludesInputSpec.Occurrences, and is useful for accessing the field via an interface.
func (*HasSBOMIncludesInputSpec) GetPackages ¶ added in v0.5.0
func (v *HasSBOMIncludesInputSpec) GetPackages() []string
GetPackages returns HasSBOMIncludesInputSpec.Packages, and is useful for accessing the field via an interface.
type HasSBOMInputSpec ¶
type HasSBOMInputSpec struct { Uri string `json:"uri"` Algorithm string `json:"algorithm"` Digest string `json:"digest"` DownloadLocation string `json:"downloadLocation"` KnownSince time.Time `json:"knownSince"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
HasSBOMInputSpec is similar to HasSBOM but for mutation input.
func (*HasSBOMInputSpec) GetAlgorithm ¶
func (v *HasSBOMInputSpec) GetAlgorithm() string
GetAlgorithm returns HasSBOMInputSpec.Algorithm, and is useful for accessing the field via an interface.
func (*HasSBOMInputSpec) GetCollector ¶
func (v *HasSBOMInputSpec) GetCollector() string
GetCollector returns HasSBOMInputSpec.Collector, and is useful for accessing the field via an interface.
func (*HasSBOMInputSpec) GetDigest ¶
func (v *HasSBOMInputSpec) GetDigest() string
GetDigest returns HasSBOMInputSpec.Digest, and is useful for accessing the field via an interface.
func (*HasSBOMInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *HasSBOMInputSpec) GetDocumentRef() string
GetDocumentRef returns HasSBOMInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*HasSBOMInputSpec) GetDownloadLocation ¶
func (v *HasSBOMInputSpec) GetDownloadLocation() string
GetDownloadLocation returns HasSBOMInputSpec.DownloadLocation, and is useful for accessing the field via an interface.
func (*HasSBOMInputSpec) GetKnownSince ¶ added in v0.2.1
func (v *HasSBOMInputSpec) GetKnownSince() time.Time
GetKnownSince returns HasSBOMInputSpec.KnownSince, and is useful for accessing the field via an interface.
func (*HasSBOMInputSpec) GetOrigin ¶
func (v *HasSBOMInputSpec) GetOrigin() string
GetOrigin returns HasSBOMInputSpec.Origin, and is useful for accessing the field via an interface.
func (*HasSBOMInputSpec) GetUri ¶
func (v *HasSBOMInputSpec) GetUri() string
GetUri returns HasSBOMInputSpec.Uri, and is useful for accessing the field via an interface.
type HasSBOMListHasSBOMListHasSBOMConnection ¶ added in v0.7.0
type HasSBOMListHasSBOMListHasSBOMConnection struct { TotalCount int `json:"totalCount"` Edges []HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdge `json:"edges"` PageInfo HasSBOMListHasSBOMListHasSBOMConnectionPageInfo `json:"pageInfo"` }
HasSBOMListHasSBOMListHasSBOMConnection includes the requested fields of the GraphQL type HasSBOMConnection. The GraphQL type's documentation follows.
HasSBOMConnection returns the paginated results for HasSBOM.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the HasSBOMEdge which contains the current cursor and the HasSBOM node itself
func (*HasSBOMListHasSBOMListHasSBOMConnection) GetEdges ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnection) GetEdges() []HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdge
GetEdges returns HasSBOMListHasSBOMListHasSBOMConnection.Edges, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnection) GetPageInfo ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnection) GetPageInfo() HasSBOMListHasSBOMListHasSBOMConnectionPageInfo
GetPageInfo returns HasSBOMListHasSBOMListHasSBOMConnection.PageInfo, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnection) GetTotalCount ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnection) GetTotalCount() int
GetTotalCount returns HasSBOMListHasSBOMListHasSBOMConnection.TotalCount, and is useful for accessing the field via an interface.
type HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdge ¶ added in v0.7.0
type HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdge struct { Cursor string `json:"cursor"` Node HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM `json:"node"` }
HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdge includes the requested fields of the GraphQL type HasSBOMEdge. The GraphQL type's documentation follows.
HasSBOMEdge contains the cursor for the resulting node and the HasSBOMEdge node itself.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdge) GetCursor ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdge) GetCursor() string
GetCursor returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdge.Cursor, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdge) GetNode ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdge) GetNode() HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM
GetNode returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdge.Node, and is useful for accessing the field via an interface.
type HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM ¶ added in v0.7.0
type HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM struct {
AllHasSBOMTree `json:"-"`
}
HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM includes the requested fields of the GraphQL type HasSBOM.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetAlgorithm ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetAlgorithm() string
GetAlgorithm returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM.Algorithm, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetCollector ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetCollector() string
GetCollector returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM.Collector, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetDigest ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetDigest() string
GetDigest returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM.Digest, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetDocumentRef ¶ added in v0.8.3
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetDocumentRef() string
GetDocumentRef returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM.DocumentRef, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetDownloadLocation ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetDownloadLocation() string
GetDownloadLocation returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM.DownloadLocation, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetId ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetId() string
GetId returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM.Id, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetIncludedDependencies ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetIncludedDependencies() []AllHasSBOMTreeIncludedDependenciesIsDependency
GetIncludedDependencies returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM.IncludedDependencies, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetIncludedOccurrences ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetIncludedOccurrences() []AllHasSBOMTreeIncludedOccurrencesIsOccurrence
GetIncludedOccurrences returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM.IncludedOccurrences, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetIncludedSoftware ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetIncludedSoftware() []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
GetIncludedSoftware returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM.IncludedSoftware, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetKnownSince ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetKnownSince() time.Time
GetKnownSince returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM.KnownSince, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetOrigin ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetOrigin() string
GetOrigin returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM.Origin, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetSubject ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetSubject() AllHasSBOMTreeSubjectPackageOrArtifact
GetSubject returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM.Subject, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetUri ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) GetUri() string
GetUri returns HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM.Uri, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) MarshalJSON ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) MarshalJSON() ([]byte, error)
func (*HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) UnmarshalJSON ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionEdgesHasSBOMEdgeNodeHasSBOM) UnmarshalJSON(b []byte) error
type HasSBOMListHasSBOMListHasSBOMConnectionPageInfo ¶ added in v0.7.0
type HasSBOMListHasSBOMListHasSBOMConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
HasSBOMListHasSBOMListHasSBOMConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*HasSBOMListHasSBOMListHasSBOMConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns HasSBOMListHasSBOMListHasSBOMConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns HasSBOMListHasSBOMListHasSBOMConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*HasSBOMListHasSBOMListHasSBOMConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *HasSBOMListHasSBOMListHasSBOMConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns HasSBOMListHasSBOMListHasSBOMConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type HasSBOMListResponse ¶ added in v0.7.0
type HasSBOMListResponse struct { // Returns a paginated results via HasSBOMConnection HasSBOMList *HasSBOMListHasSBOMListHasSBOMConnection `json:"HasSBOMList"` }
HasSBOMListResponse is returned by HasSBOMList on success.
func HasSBOMList ¶ added in v0.7.0
func HasSBOMList( ctx_ context.Context, client_ graphql.Client, filter HasSBOMSpec, after *string, first *int, ) (*HasSBOMListResponse, error)
func (*HasSBOMListResponse) GetHasSBOMList ¶ added in v0.7.0
func (v *HasSBOMListResponse) GetHasSBOMList() *HasSBOMListHasSBOMListHasSBOMConnection
GetHasSBOMList returns HasSBOMListResponse.HasSBOMList, and is useful for accessing the field via an interface.
type HasSBOMSpec ¶ added in v0.4.0
type HasSBOMSpec struct { Id *string `json:"id"` Subject *PackageOrArtifactSpec `json:"subject"` Uri *string `json:"uri"` Algorithm *string `json:"algorithm"` Digest *string `json:"digest"` DownloadLocation *string `json:"downloadLocation"` KnownSince *time.Time `json:"knownSince"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` IncludedSoftware []PackageOrArtifactSpec `json:"includedSoftware"` IncludedDependencies []IsDependencySpec `json:"includedDependencies"` IncludedOccurrences []IsOccurrenceSpec `json:"includedOccurrences"` }
HasSBOMSpec allows filtering the list of HasSBOM to return.
Only the package or artifact can be added, not both.
If KnownSince is specified, the returned value will be after or equal to the specified time. Any nodes time that is before KnownSince is excluded.
func (*HasSBOMSpec) GetAlgorithm ¶ added in v0.4.0
func (v *HasSBOMSpec) GetAlgorithm() *string
GetAlgorithm returns HasSBOMSpec.Algorithm, and is useful for accessing the field via an interface.
func (*HasSBOMSpec) GetCollector ¶ added in v0.4.0
func (v *HasSBOMSpec) GetCollector() *string
GetCollector returns HasSBOMSpec.Collector, and is useful for accessing the field via an interface.
func (*HasSBOMSpec) GetDigest ¶ added in v0.4.0
func (v *HasSBOMSpec) GetDigest() *string
GetDigest returns HasSBOMSpec.Digest, and is useful for accessing the field via an interface.
func (*HasSBOMSpec) GetDocumentRef ¶ added in v0.6.0
func (v *HasSBOMSpec) GetDocumentRef() *string
GetDocumentRef returns HasSBOMSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*HasSBOMSpec) GetDownloadLocation ¶ added in v0.4.0
func (v *HasSBOMSpec) GetDownloadLocation() *string
GetDownloadLocation returns HasSBOMSpec.DownloadLocation, and is useful for accessing the field via an interface.
func (*HasSBOMSpec) GetId ¶ added in v0.4.0
func (v *HasSBOMSpec) GetId() *string
GetId returns HasSBOMSpec.Id, and is useful for accessing the field via an interface.
func (*HasSBOMSpec) GetIncludedDependencies ¶ added in v0.4.0
func (v *HasSBOMSpec) GetIncludedDependencies() []IsDependencySpec
GetIncludedDependencies returns HasSBOMSpec.IncludedDependencies, and is useful for accessing the field via an interface.
func (*HasSBOMSpec) GetIncludedOccurrences ¶ added in v0.4.0
func (v *HasSBOMSpec) GetIncludedOccurrences() []IsOccurrenceSpec
GetIncludedOccurrences returns HasSBOMSpec.IncludedOccurrences, and is useful for accessing the field via an interface.
func (*HasSBOMSpec) GetIncludedSoftware ¶ added in v0.4.0
func (v *HasSBOMSpec) GetIncludedSoftware() []PackageOrArtifactSpec
GetIncludedSoftware returns HasSBOMSpec.IncludedSoftware, and is useful for accessing the field via an interface.
func (*HasSBOMSpec) GetKnownSince ¶ added in v0.4.0
func (v *HasSBOMSpec) GetKnownSince() *time.Time
GetKnownSince returns HasSBOMSpec.KnownSince, and is useful for accessing the field via an interface.
func (*HasSBOMSpec) GetOrigin ¶ added in v0.4.0
func (v *HasSBOMSpec) GetOrigin() *string
GetOrigin returns HasSBOMSpec.Origin, and is useful for accessing the field via an interface.
func (*HasSBOMSpec) GetSubject ¶ added in v0.4.0
func (v *HasSBOMSpec) GetSubject() *PackageOrArtifactSpec
GetSubject returns HasSBOMSpec.Subject, and is useful for accessing the field via an interface.
func (*HasSBOMSpec) GetUri ¶ added in v0.4.0
func (v *HasSBOMSpec) GetUri() *string
GetUri returns HasSBOMSpec.Uri, and is useful for accessing the field via an interface.
type HasSBOMsHasSBOM ¶ added in v0.4.0
type HasSBOMsHasSBOM struct {
AllHasSBOMTree `json:"-"`
}
HasSBOMsHasSBOM includes the requested fields of the GraphQL type HasSBOM.
func (*HasSBOMsHasSBOM) GetAlgorithm ¶ added in v0.4.0
func (v *HasSBOMsHasSBOM) GetAlgorithm() string
GetAlgorithm returns HasSBOMsHasSBOM.Algorithm, and is useful for accessing the field via an interface.
func (*HasSBOMsHasSBOM) GetCollector ¶ added in v0.4.0
func (v *HasSBOMsHasSBOM) GetCollector() string
GetCollector returns HasSBOMsHasSBOM.Collector, and is useful for accessing the field via an interface.
func (*HasSBOMsHasSBOM) GetDigest ¶ added in v0.4.0
func (v *HasSBOMsHasSBOM) GetDigest() string
GetDigest returns HasSBOMsHasSBOM.Digest, and is useful for accessing the field via an interface.
func (*HasSBOMsHasSBOM) GetDocumentRef ¶ added in v0.8.3
func (v *HasSBOMsHasSBOM) GetDocumentRef() string
GetDocumentRef returns HasSBOMsHasSBOM.DocumentRef, and is useful for accessing the field via an interface.
func (*HasSBOMsHasSBOM) GetDownloadLocation ¶ added in v0.4.0
func (v *HasSBOMsHasSBOM) GetDownloadLocation() string
GetDownloadLocation returns HasSBOMsHasSBOM.DownloadLocation, and is useful for accessing the field via an interface.
func (*HasSBOMsHasSBOM) GetId ¶ added in v0.4.0
func (v *HasSBOMsHasSBOM) GetId() string
GetId returns HasSBOMsHasSBOM.Id, and is useful for accessing the field via an interface.
func (*HasSBOMsHasSBOM) GetIncludedDependencies ¶ added in v0.4.0
func (v *HasSBOMsHasSBOM) GetIncludedDependencies() []AllHasSBOMTreeIncludedDependenciesIsDependency
GetIncludedDependencies returns HasSBOMsHasSBOM.IncludedDependencies, and is useful for accessing the field via an interface.
func (*HasSBOMsHasSBOM) GetIncludedOccurrences ¶ added in v0.4.0
func (v *HasSBOMsHasSBOM) GetIncludedOccurrences() []AllHasSBOMTreeIncludedOccurrencesIsOccurrence
GetIncludedOccurrences returns HasSBOMsHasSBOM.IncludedOccurrences, and is useful for accessing the field via an interface.
func (*HasSBOMsHasSBOM) GetIncludedSoftware ¶ added in v0.4.0
func (v *HasSBOMsHasSBOM) GetIncludedSoftware() []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
GetIncludedSoftware returns HasSBOMsHasSBOM.IncludedSoftware, and is useful for accessing the field via an interface.
func (*HasSBOMsHasSBOM) GetKnownSince ¶ added in v0.4.0
func (v *HasSBOMsHasSBOM) GetKnownSince() time.Time
GetKnownSince returns HasSBOMsHasSBOM.KnownSince, and is useful for accessing the field via an interface.
func (*HasSBOMsHasSBOM) GetOrigin ¶ added in v0.4.0
func (v *HasSBOMsHasSBOM) GetOrigin() string
GetOrigin returns HasSBOMsHasSBOM.Origin, and is useful for accessing the field via an interface.
func (*HasSBOMsHasSBOM) GetSubject ¶ added in v0.4.0
func (v *HasSBOMsHasSBOM) GetSubject() AllHasSBOMTreeSubjectPackageOrArtifact
GetSubject returns HasSBOMsHasSBOM.Subject, and is useful for accessing the field via an interface.
func (*HasSBOMsHasSBOM) GetUri ¶ added in v0.4.0
func (v *HasSBOMsHasSBOM) GetUri() string
GetUri returns HasSBOMsHasSBOM.Uri, and is useful for accessing the field via an interface.
func (*HasSBOMsHasSBOM) MarshalJSON ¶ added in v0.4.0
func (v *HasSBOMsHasSBOM) MarshalJSON() ([]byte, error)
func (*HasSBOMsHasSBOM) UnmarshalJSON ¶ added in v0.4.0
func (v *HasSBOMsHasSBOM) UnmarshalJSON(b []byte) error
type HasSBOMsResponse ¶ added in v0.4.0
type HasSBOMsResponse struct { // Returns all SBOM certifications. HasSBOM []HasSBOMsHasSBOM `json:"HasSBOM"` }
HasSBOMsResponse is returned by HasSBOMs on success.
func HasSBOMs ¶ added in v0.4.0
func HasSBOMs( ctx_ context.Context, client_ graphql.Client, filter HasSBOMSpec, ) (*HasSBOMsResponse, error)
func (*HasSBOMsResponse) GetHasSBOM ¶ added in v0.4.0
func (v *HasSBOMsResponse) GetHasSBOM() []HasSBOMsHasSBOM
GetHasSBOM returns HasSBOMsResponse.HasSBOM, and is useful for accessing the field via an interface.
type HasSLSAHasSLSA ¶ added in v0.7.0
type HasSLSAHasSLSA struct {
AllHasSLSATree `json:"-"`
}
HasSLSAHasSLSA includes the requested fields of the GraphQL type HasSLSA. The GraphQL type's documentation follows.
HasSLSA records that a subject node has a SLSA attestation.
func (*HasSLSAHasSLSA) GetId ¶ added in v0.7.0
func (v *HasSLSAHasSLSA) GetId() string
GetId returns HasSLSAHasSLSA.Id, and is useful for accessing the field via an interface.
func (*HasSLSAHasSLSA) GetSlsa ¶ added in v0.7.0
func (v *HasSLSAHasSLSA) GetSlsa() AllHasSLSATreeSlsaSLSA
GetSlsa returns HasSLSAHasSLSA.Slsa, and is useful for accessing the field via an interface.
func (*HasSLSAHasSLSA) GetSubject ¶ added in v0.7.0
func (v *HasSLSAHasSLSA) GetSubject() AllHasSLSATreeSubjectArtifact
GetSubject returns HasSLSAHasSLSA.Subject, and is useful for accessing the field via an interface.
func (*HasSLSAHasSLSA) MarshalJSON ¶ added in v0.7.0
func (v *HasSLSAHasSLSA) MarshalJSON() ([]byte, error)
func (*HasSLSAHasSLSA) UnmarshalJSON ¶ added in v0.7.0
func (v *HasSLSAHasSLSA) UnmarshalJSON(b []byte) error
type HasSLSAListHasSLSAListHasSLSAConnection ¶ added in v0.7.0
type HasSLSAListHasSLSAListHasSLSAConnection struct { TotalCount int `json:"totalCount"` Edges []HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdge `json:"edges"` PageInfo HasSLSAListHasSLSAListHasSLSAConnectionPageInfo `json:"pageInfo"` }
HasSLSAListHasSLSAListHasSLSAConnection includes the requested fields of the GraphQL type HasSLSAConnection. The GraphQL type's documentation follows.
HasSLSAConnection returns the paginated results for HasSLSA.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the HasSLSAEdge which contains the current cursor and the HasSLSA node itself
func (*HasSLSAListHasSLSAListHasSLSAConnection) GetEdges ¶ added in v0.7.0
func (v *HasSLSAListHasSLSAListHasSLSAConnection) GetEdges() []HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdge
GetEdges returns HasSLSAListHasSLSAListHasSLSAConnection.Edges, and is useful for accessing the field via an interface.
func (*HasSLSAListHasSLSAListHasSLSAConnection) GetPageInfo ¶ added in v0.7.0
func (v *HasSLSAListHasSLSAListHasSLSAConnection) GetPageInfo() HasSLSAListHasSLSAListHasSLSAConnectionPageInfo
GetPageInfo returns HasSLSAListHasSLSAListHasSLSAConnection.PageInfo, and is useful for accessing the field via an interface.
func (*HasSLSAListHasSLSAListHasSLSAConnection) GetTotalCount ¶ added in v0.7.0
func (v *HasSLSAListHasSLSAListHasSLSAConnection) GetTotalCount() int
GetTotalCount returns HasSLSAListHasSLSAListHasSLSAConnection.TotalCount, and is useful for accessing the field via an interface.
type HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdge ¶ added in v0.7.0
type HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdge struct { Cursor string `json:"cursor"` Node HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA `json:"node"` }
HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdge includes the requested fields of the GraphQL type HasSLSAEdge. The GraphQL type's documentation follows.
HasSLSAEdge contains the cursor for the resulting node and the HasSLSA node itself.
func (*HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdge) GetCursor ¶ added in v0.7.0
func (v *HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdge) GetCursor() string
GetCursor returns HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdge.Cursor, and is useful for accessing the field via an interface.
func (*HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdge) GetNode ¶ added in v0.7.0
func (v *HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdge) GetNode() HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA
GetNode returns HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdge.Node, and is useful for accessing the field via an interface.
type HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA ¶ added in v0.7.0
type HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA struct {
AllHasSLSATree `json:"-"`
}
HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA includes the requested fields of the GraphQL type HasSLSA. The GraphQL type's documentation follows.
HasSLSA records that a subject node has a SLSA attestation.
func (*HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) GetId ¶ added in v0.7.0
func (v *HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) GetId() string
GetId returns HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA.Id, and is useful for accessing the field via an interface.
func (*HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) GetSlsa ¶ added in v0.7.0
func (v *HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) GetSlsa() AllHasSLSATreeSlsaSLSA
GetSlsa returns HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA.Slsa, and is useful for accessing the field via an interface.
func (*HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) GetSubject ¶ added in v0.7.0
func (v *HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) GetSubject() AllHasSLSATreeSubjectArtifact
GetSubject returns HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA.Subject, and is useful for accessing the field via an interface.
func (*HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) MarshalJSON ¶ added in v0.7.0
func (v *HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) MarshalJSON() ([]byte, error)
func (*HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) UnmarshalJSON ¶ added in v0.7.0
func (v *HasSLSAListHasSLSAListHasSLSAConnectionEdgesHasSLSAEdgeNodeHasSLSA) UnmarshalJSON(b []byte) error
type HasSLSAListHasSLSAListHasSLSAConnectionPageInfo ¶ added in v0.7.0
type HasSLSAListHasSLSAListHasSLSAConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
HasSLSAListHasSLSAListHasSLSAConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*HasSLSAListHasSLSAListHasSLSAConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *HasSLSAListHasSLSAListHasSLSAConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns HasSLSAListHasSLSAListHasSLSAConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*HasSLSAListHasSLSAListHasSLSAConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *HasSLSAListHasSLSAListHasSLSAConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns HasSLSAListHasSLSAListHasSLSAConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*HasSLSAListHasSLSAListHasSLSAConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *HasSLSAListHasSLSAListHasSLSAConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns HasSLSAListHasSLSAListHasSLSAConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type HasSLSAListResponse ¶ added in v0.7.0
type HasSLSAListResponse struct { // Returns a paginated results via HasSLSAConnection HasSLSAList *HasSLSAListHasSLSAListHasSLSAConnection `json:"HasSLSAList"` }
HasSLSAListResponse is returned by HasSLSAList on success.
func HasSLSAList ¶ added in v0.7.0
func HasSLSAList( ctx_ context.Context, client_ graphql.Client, filter HasSLSASpec, after *string, first *int, ) (*HasSLSAListResponse, error)
func (*HasSLSAListResponse) GetHasSLSAList ¶ added in v0.7.0
func (v *HasSLSAListResponse) GetHasSLSAList() *HasSLSAListHasSLSAListHasSLSAConnection
GetHasSLSAList returns HasSLSAListResponse.HasSLSAList, and is useful for accessing the field via an interface.
type HasSLSAResponse ¶ added in v0.7.0
type HasSLSAResponse struct { // Returns all SLSA attestations matching the filter. HasSLSA []HasSLSAHasSLSA `json:"HasSLSA"` }
HasSLSAResponse is returned by HasSLSA on success.
func HasSLSA ¶ added in v0.7.0
func HasSLSA( ctx_ context.Context, client_ graphql.Client, filter HasSLSASpec, ) (*HasSLSAResponse, error)
func (*HasSLSAResponse) GetHasSLSA ¶ added in v0.7.0
func (v *HasSLSAResponse) GetHasSLSA() []HasSLSAHasSLSA
GetHasSLSA returns HasSLSAResponse.HasSLSA, and is useful for accessing the field via an interface.
type HasSLSASpec ¶ added in v0.7.0
type HasSLSASpec struct { Id *string `json:"id"` Subject *ArtifactSpec `json:"subject"` BuiltFrom []ArtifactSpec `json:"builtFrom"` BuiltBy *BuilderSpec `json:"builtBy"` BuildType *string `json:"buildType"` Predicate []SLSAPredicateSpec `json:"predicate"` SlsaVersion *string `json:"slsaVersion"` StartedOn *time.Time `json:"startedOn"` FinishedOn *time.Time `json:"finishedOn"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
HasSLSASpec allows filtering the list of HasSLSA to return.
func (*HasSLSASpec) GetBuildType ¶ added in v0.7.0
func (v *HasSLSASpec) GetBuildType() *string
GetBuildType returns HasSLSASpec.BuildType, and is useful for accessing the field via an interface.
func (*HasSLSASpec) GetBuiltBy ¶ added in v0.7.0
func (v *HasSLSASpec) GetBuiltBy() *BuilderSpec
GetBuiltBy returns HasSLSASpec.BuiltBy, and is useful for accessing the field via an interface.
func (*HasSLSASpec) GetBuiltFrom ¶ added in v0.7.0
func (v *HasSLSASpec) GetBuiltFrom() []ArtifactSpec
GetBuiltFrom returns HasSLSASpec.BuiltFrom, and is useful for accessing the field via an interface.
func (*HasSLSASpec) GetCollector ¶ added in v0.7.0
func (v *HasSLSASpec) GetCollector() *string
GetCollector returns HasSLSASpec.Collector, and is useful for accessing the field via an interface.
func (*HasSLSASpec) GetDocumentRef ¶ added in v0.7.0
func (v *HasSLSASpec) GetDocumentRef() *string
GetDocumentRef returns HasSLSASpec.DocumentRef, and is useful for accessing the field via an interface.
func (*HasSLSASpec) GetFinishedOn ¶ added in v0.7.0
func (v *HasSLSASpec) GetFinishedOn() *time.Time
GetFinishedOn returns HasSLSASpec.FinishedOn, and is useful for accessing the field via an interface.
func (*HasSLSASpec) GetId ¶ added in v0.7.0
func (v *HasSLSASpec) GetId() *string
GetId returns HasSLSASpec.Id, and is useful for accessing the field via an interface.
func (*HasSLSASpec) GetOrigin ¶ added in v0.7.0
func (v *HasSLSASpec) GetOrigin() *string
GetOrigin returns HasSLSASpec.Origin, and is useful for accessing the field via an interface.
func (*HasSLSASpec) GetPredicate ¶ added in v0.7.0
func (v *HasSLSASpec) GetPredicate() []SLSAPredicateSpec
GetPredicate returns HasSLSASpec.Predicate, and is useful for accessing the field via an interface.
func (*HasSLSASpec) GetSlsaVersion ¶ added in v0.7.0
func (v *HasSLSASpec) GetSlsaVersion() *string
GetSlsaVersion returns HasSLSASpec.SlsaVersion, and is useful for accessing the field via an interface.
func (*HasSLSASpec) GetStartedOn ¶ added in v0.7.0
func (v *HasSLSASpec) GetStartedOn() *time.Time
GetStartedOn returns HasSLSASpec.StartedOn, and is useful for accessing the field via an interface.
func (*HasSLSASpec) GetSubject ¶ added in v0.7.0
func (v *HasSLSASpec) GetSubject() *ArtifactSpec
GetSubject returns HasSLSASpec.Subject, and is useful for accessing the field via an interface.
type HasSourceAtHasSourceAt ¶ added in v0.7.0
type HasSourceAtHasSourceAt struct {
AllHasSourceAt `json:"-"`
}
HasSourceAtHasSourceAt includes the requested fields of the GraphQL type HasSourceAt. The GraphQL type's documentation follows.
HasSourceAt records that a package's repository is a given source.
func (*HasSourceAtHasSourceAt) GetCollector ¶ added in v0.7.0
func (v *HasSourceAtHasSourceAt) GetCollector() string
GetCollector returns HasSourceAtHasSourceAt.Collector, and is useful for accessing the field via an interface.
func (*HasSourceAtHasSourceAt) GetId ¶ added in v0.7.0
func (v *HasSourceAtHasSourceAt) GetId() string
GetId returns HasSourceAtHasSourceAt.Id, and is useful for accessing the field via an interface.
func (*HasSourceAtHasSourceAt) GetJustification ¶ added in v0.7.0
func (v *HasSourceAtHasSourceAt) GetJustification() string
GetJustification returns HasSourceAtHasSourceAt.Justification, and is useful for accessing the field via an interface.
func (*HasSourceAtHasSourceAt) GetKnownSince ¶ added in v0.7.0
func (v *HasSourceAtHasSourceAt) GetKnownSince() time.Time
GetKnownSince returns HasSourceAtHasSourceAt.KnownSince, and is useful for accessing the field via an interface.
func (*HasSourceAtHasSourceAt) GetOrigin ¶ added in v0.7.0
func (v *HasSourceAtHasSourceAt) GetOrigin() string
GetOrigin returns HasSourceAtHasSourceAt.Origin, and is useful for accessing the field via an interface.
func (*HasSourceAtHasSourceAt) GetPackage ¶ added in v0.7.0
func (v *HasSourceAtHasSourceAt) GetPackage() AllHasSourceAtPackage
GetPackage returns HasSourceAtHasSourceAt.Package, and is useful for accessing the field via an interface.
func (*HasSourceAtHasSourceAt) GetSource ¶ added in v0.7.0
func (v *HasSourceAtHasSourceAt) GetSource() AllHasSourceAtSource
GetSource returns HasSourceAtHasSourceAt.Source, and is useful for accessing the field via an interface.
func (*HasSourceAtHasSourceAt) MarshalJSON ¶ added in v0.7.0
func (v *HasSourceAtHasSourceAt) MarshalJSON() ([]byte, error)
func (*HasSourceAtHasSourceAt) UnmarshalJSON ¶ added in v0.7.0
func (v *HasSourceAtHasSourceAt) UnmarshalJSON(b []byte) error
type HasSourceAtInputSpec ¶
type HasSourceAtInputSpec struct { KnownSince time.Time `json:"knownSince"` Justification string `json:"justification"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
HasSourceAtInputSpec is the same as HasSourceAt but for mutation input.
func (*HasSourceAtInputSpec) GetCollector ¶
func (v *HasSourceAtInputSpec) GetCollector() string
GetCollector returns HasSourceAtInputSpec.Collector, and is useful for accessing the field via an interface.
func (*HasSourceAtInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *HasSourceAtInputSpec) GetDocumentRef() string
GetDocumentRef returns HasSourceAtInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*HasSourceAtInputSpec) GetJustification ¶
func (v *HasSourceAtInputSpec) GetJustification() string
GetJustification returns HasSourceAtInputSpec.Justification, and is useful for accessing the field via an interface.
func (*HasSourceAtInputSpec) GetKnownSince ¶
func (v *HasSourceAtInputSpec) GetKnownSince() time.Time
GetKnownSince returns HasSourceAtInputSpec.KnownSince, and is useful for accessing the field via an interface.
func (*HasSourceAtInputSpec) GetOrigin ¶
func (v *HasSourceAtInputSpec) GetOrigin() string
GetOrigin returns HasSourceAtInputSpec.Origin, and is useful for accessing the field via an interface.
type HasSourceAtListHasSourceAtListHasSourceAtConnection ¶ added in v0.7.0
type HasSourceAtListHasSourceAtListHasSourceAtConnection struct { TotalCount int `json:"totalCount"` Edges []HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdge `json:"edges"` PageInfo HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo `json:"pageInfo"` }
HasSourceAtListHasSourceAtListHasSourceAtConnection includes the requested fields of the GraphQL type HasSourceAtConnection. The GraphQL type's documentation follows.
HasSourceAtConnection returns the paginated results for HasSourceAt.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the HasSourceAtEdge which contains the current cursor and the HasSourceAt node itself
func (*HasSourceAtListHasSourceAtListHasSourceAtConnection) GetEdges ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnection) GetEdges() []HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdge
GetEdges returns HasSourceAtListHasSourceAtListHasSourceAtConnection.Edges, and is useful for accessing the field via an interface.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnection) GetPageInfo ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnection) GetPageInfo() HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo
GetPageInfo returns HasSourceAtListHasSourceAtListHasSourceAtConnection.PageInfo, and is useful for accessing the field via an interface.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnection) GetTotalCount ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnection) GetTotalCount() int
GetTotalCount returns HasSourceAtListHasSourceAtListHasSourceAtConnection.TotalCount, and is useful for accessing the field via an interface.
type HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdge ¶ added in v0.7.0
type HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdge struct { Cursor string `json:"cursor"` Node HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt `json:"node"` }
HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdge includes the requested fields of the GraphQL type HasSourceAtEdge. The GraphQL type's documentation follows.
HasSourceAtEdge contains the cursor for the resulting node and the HasSourceAt node itself.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdge) GetCursor ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdge) GetCursor() string
GetCursor returns HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdge.Cursor, and is useful for accessing the field via an interface.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdge) GetNode ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdge) GetNode() HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt
GetNode returns HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdge.Node, and is useful for accessing the field via an interface.
type HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt ¶ added in v0.7.0
type HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt struct {
AllHasSourceAt `json:"-"`
}
HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt includes the requested fields of the GraphQL type HasSourceAt. The GraphQL type's documentation follows.
HasSourceAt records that a package's repository is a given source.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetCollector ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetCollector() string
GetCollector returns HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt.Collector, and is useful for accessing the field via an interface.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetId ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetId() string
GetId returns HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt.Id, and is useful for accessing the field via an interface.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetJustification ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetJustification() string
GetJustification returns HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt.Justification, and is useful for accessing the field via an interface.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetKnownSince ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetKnownSince() time.Time
GetKnownSince returns HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt.KnownSince, and is useful for accessing the field via an interface.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetOrigin ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetOrigin() string
GetOrigin returns HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt.Origin, and is useful for accessing the field via an interface.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetPackage ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetPackage() AllHasSourceAtPackage
GetPackage returns HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt.Package, and is useful for accessing the field via an interface.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetSource ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) GetSource() AllHasSourceAtSource
GetSource returns HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt.Source, and is useful for accessing the field via an interface.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) MarshalJSON ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) MarshalJSON() ([]byte, error)
func (*HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) UnmarshalJSON ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionEdgesHasSourceAtEdgeNodeHasSourceAt) UnmarshalJSON(b []byte) error
type HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo ¶ added in v0.7.0
type HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns HasSourceAtListHasSourceAtListHasSourceAtConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type HasSourceAtListResponse ¶ added in v0.7.0
type HasSourceAtListResponse struct { // Returns a paginated results via HasSourceAtConnection HasSourceAtList *HasSourceAtListHasSourceAtListHasSourceAtConnection `json:"HasSourceAtList"` }
HasSourceAtListResponse is returned by HasSourceAtList on success.
func HasSourceAtList ¶ added in v0.7.0
func HasSourceAtList( ctx_ context.Context, client_ graphql.Client, filter HasSourceAtSpec, after *string, first *int, ) (*HasSourceAtListResponse, error)
func (*HasSourceAtListResponse) GetHasSourceAtList ¶ added in v0.7.0
func (v *HasSourceAtListResponse) GetHasSourceAtList() *HasSourceAtListHasSourceAtListHasSourceAtConnection
GetHasSourceAtList returns HasSourceAtListResponse.HasSourceAtList, and is useful for accessing the field via an interface.
type HasSourceAtResponse ¶
type HasSourceAtResponse struct { // Returns all source mappings that match the filter. HasSourceAt []HasSourceAtHasSourceAt `json:"HasSourceAt"` }
HasSourceAtResponse is returned by HasSourceAt on success.
func HasSourceAt ¶
func HasSourceAt( ctx_ context.Context, client_ graphql.Client, filter HasSourceAtSpec, ) (*HasSourceAtResponse, error)
func (*HasSourceAtResponse) GetHasSourceAt ¶ added in v0.7.0
func (v *HasSourceAtResponse) GetHasSourceAt() []HasSourceAtHasSourceAt
GetHasSourceAt returns HasSourceAtResponse.HasSourceAt, and is useful for accessing the field via an interface.
type HasSourceAtSpec ¶ added in v0.7.0
type HasSourceAtSpec struct { Id *string `json:"id"` Package *PkgSpec `json:"package"` Source *SourceSpec `json:"source"` KnownSince *time.Time `json:"knownSince"` Justification *string `json:"justification"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
HasSourceAtSpec allows filtering the list of HasSourceAt to return.
func (*HasSourceAtSpec) GetCollector ¶ added in v0.7.0
func (v *HasSourceAtSpec) GetCollector() *string
GetCollector returns HasSourceAtSpec.Collector, and is useful for accessing the field via an interface.
func (*HasSourceAtSpec) GetDocumentRef ¶ added in v0.7.0
func (v *HasSourceAtSpec) GetDocumentRef() *string
GetDocumentRef returns HasSourceAtSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*HasSourceAtSpec) GetId ¶ added in v0.7.0
func (v *HasSourceAtSpec) GetId() *string
GetId returns HasSourceAtSpec.Id, and is useful for accessing the field via an interface.
func (*HasSourceAtSpec) GetJustification ¶ added in v0.7.0
func (v *HasSourceAtSpec) GetJustification() *string
GetJustification returns HasSourceAtSpec.Justification, and is useful for accessing the field via an interface.
func (*HasSourceAtSpec) GetKnownSince ¶ added in v0.7.0
func (v *HasSourceAtSpec) GetKnownSince() *time.Time
GetKnownSince returns HasSourceAtSpec.KnownSince, and is useful for accessing the field via an interface.
func (*HasSourceAtSpec) GetOrigin ¶ added in v0.7.0
func (v *HasSourceAtSpec) GetOrigin() *string
GetOrigin returns HasSourceAtSpec.Origin, and is useful for accessing the field via an interface.
func (*HasSourceAtSpec) GetPackage ¶ added in v0.7.0
func (v *HasSourceAtSpec) GetPackage() *PkgSpec
GetPackage returns HasSourceAtSpec.Package, and is useful for accessing the field via an interface.
func (*HasSourceAtSpec) GetSource ¶ added in v0.7.0
func (v *HasSourceAtSpec) GetSource() *SourceSpec
GetSource returns HasSourceAtSpec.Source, and is useful for accessing the field via an interface.
type HashEqualInputSpec ¶
type HashEqualInputSpec struct { Justification string `json:"justification"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
HashEqualInputSpec represents the input to certify that packages are similar.
func (*HashEqualInputSpec) GetCollector ¶
func (v *HashEqualInputSpec) GetCollector() string
GetCollector returns HashEqualInputSpec.Collector, and is useful for accessing the field via an interface.
func (*HashEqualInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *HashEqualInputSpec) GetDocumentRef() string
GetDocumentRef returns HashEqualInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*HashEqualInputSpec) GetJustification ¶
func (v *HashEqualInputSpec) GetJustification() string
GetJustification returns HashEqualInputSpec.Justification, and is useful for accessing the field via an interface.
func (*HashEqualInputSpec) GetOrigin ¶
func (v *HashEqualInputSpec) GetOrigin() string
GetOrigin returns HashEqualInputSpec.Origin, and is useful for accessing the field via an interface.
type HashEqualListHashEqualListHashEqualConnection ¶ added in v0.7.0
type HashEqualListHashEqualListHashEqualConnection struct { TotalCount int `json:"totalCount"` Edges []HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdge `json:"edges"` PageInfo HashEqualListHashEqualListHashEqualConnectionPageInfo `json:"pageInfo"` }
HashEqualListHashEqualListHashEqualConnection includes the requested fields of the GraphQL type HashEqualConnection. The GraphQL type's documentation follows.
HashEqualConnection returns the paginated results for HashEqual.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the HashEqualEdge which contains the current cursor and the HashEqual node itself
func (*HashEqualListHashEqualListHashEqualConnection) GetEdges ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnection) GetEdges() []HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdge
GetEdges returns HashEqualListHashEqualListHashEqualConnection.Edges, and is useful for accessing the field via an interface.
func (*HashEqualListHashEqualListHashEqualConnection) GetPageInfo ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnection) GetPageInfo() HashEqualListHashEqualListHashEqualConnectionPageInfo
GetPageInfo returns HashEqualListHashEqualListHashEqualConnection.PageInfo, and is useful for accessing the field via an interface.
func (*HashEqualListHashEqualListHashEqualConnection) GetTotalCount ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnection) GetTotalCount() int
GetTotalCount returns HashEqualListHashEqualListHashEqualConnection.TotalCount, and is useful for accessing the field via an interface.
type HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdge ¶ added in v0.7.0
type HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdge struct { Cursor string `json:"cursor"` Node HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual `json:"node"` }
HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdge includes the requested fields of the GraphQL type HashEqualEdge. The GraphQL type's documentation follows.
HashEqualEdge contains the cursor for the resulting node and the HashEqual node itself.
func (*HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdge) GetCursor ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdge) GetCursor() string
GetCursor returns HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdge.Cursor, and is useful for accessing the field via an interface.
func (*HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdge) GetNode ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdge) GetNode() HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual
GetNode returns HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdge.Node, and is useful for accessing the field via an interface.
type HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual ¶ added in v0.7.0
type HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual struct {
AllHashEqualTree `json:"-"`
}
HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual includes the requested fields of the GraphQL type HashEqual. The GraphQL type's documentation follows.
HashEqual is an attestation that two artifacts are identical.
func (*HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetArtifacts ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetArtifacts() []AllHashEqualTreeArtifactsArtifact
GetArtifacts returns HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual.Artifacts, and is useful for accessing the field via an interface.
func (*HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetCollector ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetCollector() string
GetCollector returns HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual.Collector, and is useful for accessing the field via an interface.
func (*HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetId ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetId() string
GetId returns HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual.Id, and is useful for accessing the field via an interface.
func (*HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetJustification ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetJustification() string
GetJustification returns HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual.Justification, and is useful for accessing the field via an interface.
func (*HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetOrigin ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) GetOrigin() string
GetOrigin returns HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual.Origin, and is useful for accessing the field via an interface.
func (*HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) MarshalJSON ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) MarshalJSON() ([]byte, error)
func (*HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) UnmarshalJSON ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnectionEdgesHashEqualEdgeNodeHashEqual) UnmarshalJSON(b []byte) error
type HashEqualListHashEqualListHashEqualConnectionPageInfo ¶ added in v0.7.0
type HashEqualListHashEqualListHashEqualConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
HashEqualListHashEqualListHashEqualConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*HashEqualListHashEqualListHashEqualConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns HashEqualListHashEqualListHashEqualConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*HashEqualListHashEqualListHashEqualConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns HashEqualListHashEqualListHashEqualConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*HashEqualListHashEqualListHashEqualConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *HashEqualListHashEqualListHashEqualConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns HashEqualListHashEqualListHashEqualConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type HashEqualListResponse ¶ added in v0.7.0
type HashEqualListResponse struct { // Returns a paginated results via HashEqualConnection HashEqualList *HashEqualListHashEqualListHashEqualConnection `json:"HashEqualList"` }
HashEqualListResponse is returned by HashEqualList on success.
func HashEqualList ¶ added in v0.7.0
func HashEqualList( ctx_ context.Context, client_ graphql.Client, filter HashEqualSpec, after *string, first *int, ) (*HashEqualListResponse, error)
func (*HashEqualListResponse) GetHashEqualList ¶ added in v0.7.0
func (v *HashEqualListResponse) GetHashEqualList() *HashEqualListHashEqualListHashEqualConnection
GetHashEqualList returns HashEqualListResponse.HashEqualList, and is useful for accessing the field via an interface.
type HashEqualSpec ¶ added in v0.6.0
type HashEqualSpec struct { Id *string `json:"id"` Artifacts []*ArtifactSpec `json:"artifacts"` Justification *string `json:"justification"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
HashEqualSpec allows filtering the list of artifact equality statements to return in a query.
Specifying just one artifact allows to query for all similar artifacts (if any exists).
func (*HashEqualSpec) GetArtifacts ¶ added in v0.6.0
func (v *HashEqualSpec) GetArtifacts() []*ArtifactSpec
GetArtifacts returns HashEqualSpec.Artifacts, and is useful for accessing the field via an interface.
func (*HashEqualSpec) GetCollector ¶ added in v0.6.0
func (v *HashEqualSpec) GetCollector() *string
GetCollector returns HashEqualSpec.Collector, and is useful for accessing the field via an interface.
func (*HashEqualSpec) GetDocumentRef ¶ added in v0.6.0
func (v *HashEqualSpec) GetDocumentRef() *string
GetDocumentRef returns HashEqualSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*HashEqualSpec) GetId ¶ added in v0.6.0
func (v *HashEqualSpec) GetId() *string
GetId returns HashEqualSpec.Id, and is useful for accessing the field via an interface.
func (*HashEqualSpec) GetJustification ¶ added in v0.6.0
func (v *HashEqualSpec) GetJustification() *string
GetJustification returns HashEqualSpec.Justification, and is useful for accessing the field via an interface.
func (*HashEqualSpec) GetOrigin ¶ added in v0.6.0
func (v *HashEqualSpec) GetOrigin() *string
GetOrigin returns HashEqualSpec.Origin, and is useful for accessing the field via an interface.
type HashEqualsHashEqual ¶ added in v0.6.0
type HashEqualsHashEqual struct {
AllHashEqualTree `json:"-"`
}
HashEqualsHashEqual includes the requested fields of the GraphQL type HashEqual. The GraphQL type's documentation follows.
HashEqual is an attestation that two artifacts are identical.
func (*HashEqualsHashEqual) GetArtifacts ¶ added in v0.6.0
func (v *HashEqualsHashEqual) GetArtifacts() []AllHashEqualTreeArtifactsArtifact
GetArtifacts returns HashEqualsHashEqual.Artifacts, and is useful for accessing the field via an interface.
func (*HashEqualsHashEqual) GetCollector ¶ added in v0.6.0
func (v *HashEqualsHashEqual) GetCollector() string
GetCollector returns HashEqualsHashEqual.Collector, and is useful for accessing the field via an interface.
func (*HashEqualsHashEqual) GetId ¶ added in v0.6.0
func (v *HashEqualsHashEqual) GetId() string
GetId returns HashEqualsHashEqual.Id, and is useful for accessing the field via an interface.
func (*HashEqualsHashEqual) GetJustification ¶ added in v0.6.0
func (v *HashEqualsHashEqual) GetJustification() string
GetJustification returns HashEqualsHashEqual.Justification, and is useful for accessing the field via an interface.
func (*HashEqualsHashEqual) GetOrigin ¶ added in v0.6.0
func (v *HashEqualsHashEqual) GetOrigin() string
GetOrigin returns HashEqualsHashEqual.Origin, and is useful for accessing the field via an interface.
func (*HashEqualsHashEqual) MarshalJSON ¶ added in v0.6.0
func (v *HashEqualsHashEqual) MarshalJSON() ([]byte, error)
func (*HashEqualsHashEqual) UnmarshalJSON ¶ added in v0.6.0
func (v *HashEqualsHashEqual) UnmarshalJSON(b []byte) error
type HashEqualsResponse ¶ added in v0.1.2
type HashEqualsResponse struct { // Returns all artifact equality statements matching a filter. HashEqual []HashEqualsHashEqual `json:"HashEqual"` }
HashEqualsResponse is returned by HashEquals on success.
func HashEquals ¶ added in v0.1.2
func HashEquals( ctx_ context.Context, client_ graphql.Client, filter HashEqualSpec, ) (*HashEqualsResponse, error)
func (*HashEqualsResponse) GetHashEqual ¶ added in v0.6.0
func (v *HashEqualsResponse) GetHashEqual() []HashEqualsHashEqual
GetHashEqual returns HashEqualsResponse.HashEqual, and is useful for accessing the field via an interface.
type IDorArtifactInput ¶ added in v0.5.0
type IDorArtifactInput struct { ArtifactID *string `json:"artifactID"` ArtifactInput *ArtifactInputSpec `json:"artifactInput"` }
IDorArtifactInput allows for specifying either the artifact ID or the ArtifactInputSpec.
Either the ID or the ArtifactInputSpec must be specified. Both cannot be nil.
If the ID is specified, the ArtifactInputSpec is not used.
func (*IDorArtifactInput) GetArtifactID ¶ added in v0.5.0
func (v *IDorArtifactInput) GetArtifactID() *string
GetArtifactID returns IDorArtifactInput.ArtifactID, and is useful for accessing the field via an interface.
func (*IDorArtifactInput) GetArtifactInput ¶ added in v0.5.0
func (v *IDorArtifactInput) GetArtifactInput() *ArtifactInputSpec
GetArtifactInput returns IDorArtifactInput.ArtifactInput, and is useful for accessing the field via an interface.
type IDorBuilderInput ¶ added in v0.5.0
type IDorBuilderInput struct { BuilderID *string `json:"builderID"` BuilderInput *BuilderInputSpec `json:"builderInput"` }
IDorBuilderInput allows for specifying either the builder ID or the BuilderInputSpec.
Either the ID or the BuilderInputSpec must be specified. Both cannot be nil.
If the ID is specified, the BuilderInputSpec is not used.
func (*IDorBuilderInput) GetBuilderID ¶ added in v0.5.0
func (v *IDorBuilderInput) GetBuilderID() *string
GetBuilderID returns IDorBuilderInput.BuilderID, and is useful for accessing the field via an interface.
func (*IDorBuilderInput) GetBuilderInput ¶ added in v0.5.0
func (v *IDorBuilderInput) GetBuilderInput() *BuilderInputSpec
GetBuilderInput returns IDorBuilderInput.BuilderInput, and is useful for accessing the field via an interface.
type IDorLicenseInput ¶ added in v0.5.0
type IDorLicenseInput struct { LicenseID *string `json:"licenseID"` LicenseInput *LicenseInputSpec `json:"licenseInput"` }
IDorLicenseInput allows for specifying either the license ID or the LicenseInputSpec.
Either the ID or the LicenseInputSpec must be specified. Both cannot be nil.
If the ID is specified, the LicenseInputSpec is not used.
func (*IDorLicenseInput) GetLicenseID ¶ added in v0.5.0
func (v *IDorLicenseInput) GetLicenseID() *string
GetLicenseID returns IDorLicenseInput.LicenseID, and is useful for accessing the field via an interface.
func (*IDorLicenseInput) GetLicenseInput ¶ added in v0.5.0
func (v *IDorLicenseInput) GetLicenseInput() *LicenseInputSpec
GetLicenseInput returns IDorLicenseInput.LicenseInput, and is useful for accessing the field via an interface.
type IDorPkgInput ¶ added in v0.5.0
type IDorPkgInput struct { PackageTypeID *string `json:"packageTypeID"` PackageNamespaceID *string `json:"packageNamespaceID"` PackageNameID *string `json:"packageNameID"` PackageVersionID *string `json:"packageVersionID"` PackageInput *PkgInputSpec `json:"packageInput"` }
IDorPkgInput allows for specifying either the package IDs or the PkgInputSpec.
Either the IDs or the PkgInputSpec must be specified. Both cannot be nil.
If the IDs are specified, the PkgInputSpec is not used.
func (*IDorPkgInput) GetPackageInput ¶ added in v0.5.0
func (v *IDorPkgInput) GetPackageInput() *PkgInputSpec
GetPackageInput returns IDorPkgInput.PackageInput, and is useful for accessing the field via an interface.
func (*IDorPkgInput) GetPackageNameID ¶ added in v0.5.0
func (v *IDorPkgInput) GetPackageNameID() *string
GetPackageNameID returns IDorPkgInput.PackageNameID, and is useful for accessing the field via an interface.
func (*IDorPkgInput) GetPackageNamespaceID ¶ added in v0.5.0
func (v *IDorPkgInput) GetPackageNamespaceID() *string
GetPackageNamespaceID returns IDorPkgInput.PackageNamespaceID, and is useful for accessing the field via an interface.
func (*IDorPkgInput) GetPackageTypeID ¶ added in v0.5.0
func (v *IDorPkgInput) GetPackageTypeID() *string
GetPackageTypeID returns IDorPkgInput.PackageTypeID, and is useful for accessing the field via an interface.
func (*IDorPkgInput) GetPackageVersionID ¶ added in v0.5.0
func (v *IDorPkgInput) GetPackageVersionID() *string
GetPackageVersionID returns IDorPkgInput.PackageVersionID, and is useful for accessing the field via an interface.
type IDorSourceInput ¶ added in v0.5.0
type IDorSourceInput struct { SourceTypeID *string `json:"sourceTypeID"` SourceNamespaceID *string `json:"sourceNamespaceID"` SourceNameID *string `json:"sourceNameID"` SourceInput *SourceInputSpec `json:"sourceInput"` }
IDorSourceInput allows for specifying either the source IDs or the SourceInputSpec.
Either the IDs or the SourceInputSpec must be specified. Both cannot be nil.
If the IDs are specified, the SourceInputSpec is not used.
func (*IDorSourceInput) GetSourceInput ¶ added in v0.5.0
func (v *IDorSourceInput) GetSourceInput() *SourceInputSpec
GetSourceInput returns IDorSourceInput.SourceInput, and is useful for accessing the field via an interface.
func (*IDorSourceInput) GetSourceNameID ¶ added in v0.5.0
func (v *IDorSourceInput) GetSourceNameID() *string
GetSourceNameID returns IDorSourceInput.SourceNameID, and is useful for accessing the field via an interface.
func (*IDorSourceInput) GetSourceNamespaceID ¶ added in v0.5.0
func (v *IDorSourceInput) GetSourceNamespaceID() *string
GetSourceNamespaceID returns IDorSourceInput.SourceNamespaceID, and is useful for accessing the field via an interface.
func (*IDorSourceInput) GetSourceTypeID ¶ added in v0.5.0
func (v *IDorSourceInput) GetSourceTypeID() *string
GetSourceTypeID returns IDorSourceInput.SourceTypeID, and is useful for accessing the field via an interface.
type IDorVulnerabilityInput ¶ added in v0.5.0
type IDorVulnerabilityInput struct { VulnerabilityTypeID *string `json:"vulnerabilityTypeID"` VulnerabilityNodeID *string `json:"vulnerabilityNodeID"` VulnerabilityInput *VulnerabilityInputSpec `json:"vulnerabilityInput"` }
IDorVulnerabilityInput allows for specifying either the vulnerability IDs or the VulnerabilityInputSpec.
Either the IDs or the VulnerabilityInputSpec must be specified. Both cannot be nil.
If the IDs are specified, the VulnerabilityInputSpec is not used.
func (*IDorVulnerabilityInput) GetVulnerabilityInput ¶ added in v0.5.0
func (v *IDorVulnerabilityInput) GetVulnerabilityInput() *VulnerabilityInputSpec
GetVulnerabilityInput returns IDorVulnerabilityInput.VulnerabilityInput, and is useful for accessing the field via an interface.
func (*IDorVulnerabilityInput) GetVulnerabilityNodeID ¶ added in v0.5.0
func (v *IDorVulnerabilityInput) GetVulnerabilityNodeID() *string
GetVulnerabilityNodeID returns IDorVulnerabilityInput.VulnerabilityNodeID, and is useful for accessing the field via an interface.
func (*IDorVulnerabilityInput) GetVulnerabilityTypeID ¶ added in v0.5.0
func (v *IDorVulnerabilityInput) GetVulnerabilityTypeID() *string
GetVulnerabilityTypeID returns IDorVulnerabilityInput.VulnerabilityTypeID, and is useful for accessing the field via an interface.
type IngestArtifactResponse ¶ added in v0.1.1
type IngestArtifactResponse struct { // Ingests a new artifact and returns it. IngestArtifact string `json:"ingestArtifact"` }
IngestArtifactResponse is returned by IngestArtifact on success.
func IngestArtifact ¶ added in v0.1.1
func IngestArtifact( ctx_ context.Context, client_ graphql.Client, artifact IDorArtifactInput, ) (*IngestArtifactResponse, error)
func (*IngestArtifactResponse) GetIngestArtifact ¶ added in v0.1.1
func (v *IngestArtifactResponse) GetIngestArtifact() string
GetIngestArtifact returns IngestArtifactResponse.IngestArtifact, and is useful for accessing the field via an interface.
type IngestArtifactsResponse ¶ added in v0.1.1
type IngestArtifactsResponse struct { // Bulk ingests new artifacts and returns a list of them. The returned array of IDs must be in the same order as the inputs. IngestArtifacts []string `json:"ingestArtifacts"` }
IngestArtifactsResponse is returned by IngestArtifacts on success.
func IngestArtifacts ¶ added in v0.1.1
func IngestArtifacts( ctx_ context.Context, client_ graphql.Client, artifacts []IDorArtifactInput, ) (*IngestArtifactsResponse, error)
func (*IngestArtifactsResponse) GetIngestArtifacts ¶ added in v0.1.1
func (v *IngestArtifactsResponse) GetIngestArtifacts() []string
GetIngestArtifacts returns IngestArtifactsResponse.IngestArtifacts, and is useful for accessing the field via an interface.
type IngestBuilderResponse ¶ added in v0.1.1
type IngestBuilderResponse struct { // Ingests a new builder and returns it. IngestBuilder string `json:"ingestBuilder"` }
IngestBuilderResponse is returned by IngestBuilder on success.
func IngestBuilder ¶ added in v0.1.1
func IngestBuilder( ctx_ context.Context, client_ graphql.Client, builder IDorBuilderInput, ) (*IngestBuilderResponse, error)
func (*IngestBuilderResponse) GetIngestBuilder ¶ added in v0.1.1
func (v *IngestBuilderResponse) GetIngestBuilder() string
GetIngestBuilder returns IngestBuilderResponse.IngestBuilder, and is useful for accessing the field via an interface.
type IngestBuildersResponse ¶ added in v0.1.1
type IngestBuildersResponse struct { // Bulk ingests new builders and returns a list of them. The returned array of IDs must be in the same order as the inputs. IngestBuilders []string `json:"ingestBuilders"` }
IngestBuildersResponse is returned by IngestBuilders on success.
func IngestBuilders ¶ added in v0.1.1
func IngestBuilders( ctx_ context.Context, client_ graphql.Client, builders []IDorBuilderInput, ) (*IngestBuildersResponse, error)
func (*IngestBuildersResponse) GetIngestBuilders ¶ added in v0.1.1
func (v *IngestBuildersResponse) GetIngestBuilders() []string
GetIngestBuilders returns IngestBuildersResponse.IngestBuilders, and is useful for accessing the field via an interface.
type IngestBulkVulnHasMetadataResponse ¶ added in v0.5.0
type IngestBulkVulnHasMetadataResponse struct { // Bulk add certifications that vulnerability has a specific score. The returned array of IDs can be a an array of empty string. IngestBulkVulnerabilityMetadata []string `json:"ingestBulkVulnerabilityMetadata"` }
IngestBulkVulnHasMetadataResponse is returned by IngestBulkVulnHasMetadata on success.
func IngestBulkVulnHasMetadata ¶ added in v0.5.0
func IngestBulkVulnHasMetadata( ctx_ context.Context, client_ graphql.Client, vulnerabilities []IDorVulnerabilityInput, vulnerabilityMetadataList []VulnerabilityMetadataInputSpec, ) (*IngestBulkVulnHasMetadataResponse, error)
func (*IngestBulkVulnHasMetadataResponse) GetIngestBulkVulnerabilityMetadata ¶ added in v0.5.0
func (v *IngestBulkVulnHasMetadataResponse) GetIngestBulkVulnerabilityMetadata() []string
GetIngestBulkVulnerabilityMetadata returns IngestBulkVulnHasMetadataResponse.IngestBulkVulnerabilityMetadata, and is useful for accessing the field via an interface.
type IngestCertifyBadArtifactResponse ¶ added in v0.5.0
type IngestCertifyBadArtifactResponse struct { // Adds a certification that a package, source or artifact is considered bad. The returned ID can be empty string. IngestCertifyBad string `json:"ingestCertifyBad"` }
IngestCertifyBadArtifactResponse is returned by IngestCertifyBadArtifact on success.
func IngestCertifyBadArtifact ¶ added in v0.5.0
func IngestCertifyBadArtifact( ctx_ context.Context, client_ graphql.Client, artifact IDorArtifactInput, certifyBad CertifyBadInputSpec, ) (*IngestCertifyBadArtifactResponse, error)
func (*IngestCertifyBadArtifactResponse) GetIngestCertifyBad ¶ added in v0.5.0
func (v *IngestCertifyBadArtifactResponse) GetIngestCertifyBad() string
GetIngestCertifyBad returns IngestCertifyBadArtifactResponse.IngestCertifyBad, and is useful for accessing the field via an interface.
type IngestCertifyBadArtifactsResponse ¶ added in v0.5.0
type IngestCertifyBadArtifactsResponse struct { // Adds bulk certifications that a package, source or artifact is considered bad. The returned array of IDs can be a an array of empty string. IngestCertifyBads []string `json:"ingestCertifyBads"` }
IngestCertifyBadArtifactsResponse is returned by IngestCertifyBadArtifacts on success.
func IngestCertifyBadArtifacts ¶ added in v0.5.0
func IngestCertifyBadArtifacts( ctx_ context.Context, client_ graphql.Client, artifacts []IDorArtifactInput, certifyBads []CertifyBadInputSpec, ) (*IngestCertifyBadArtifactsResponse, error)
func (*IngestCertifyBadArtifactsResponse) GetIngestCertifyBads ¶ added in v0.5.0
func (v *IngestCertifyBadArtifactsResponse) GetIngestCertifyBads() []string
GetIngestCertifyBads returns IngestCertifyBadArtifactsResponse.IngestCertifyBads, and is useful for accessing the field via an interface.
type IngestCertifyBadPkgResponse ¶ added in v0.5.0
type IngestCertifyBadPkgResponse struct { // Adds a certification that a package, source or artifact is considered bad. The returned ID can be empty string. IngestCertifyBad string `json:"ingestCertifyBad"` }
IngestCertifyBadPkgResponse is returned by IngestCertifyBadPkg on success.
func IngestCertifyBadPkg ¶ added in v0.5.0
func IngestCertifyBadPkg( ctx_ context.Context, client_ graphql.Client, pkg IDorPkgInput, pkgMatchType MatchFlags, certifyBad CertifyBadInputSpec, ) (*IngestCertifyBadPkgResponse, error)
func (*IngestCertifyBadPkgResponse) GetIngestCertifyBad ¶ added in v0.5.0
func (v *IngestCertifyBadPkgResponse) GetIngestCertifyBad() string
GetIngestCertifyBad returns IngestCertifyBadPkgResponse.IngestCertifyBad, and is useful for accessing the field via an interface.
type IngestCertifyBadPkgsResponse ¶ added in v0.5.0
type IngestCertifyBadPkgsResponse struct { // Adds bulk certifications that a package, source or artifact is considered bad. The returned array of IDs can be a an array of empty string. IngestCertifyBads []string `json:"ingestCertifyBads"` }
IngestCertifyBadPkgsResponse is returned by IngestCertifyBadPkgs on success.
func IngestCertifyBadPkgs ¶ added in v0.5.0
func IngestCertifyBadPkgs( ctx_ context.Context, client_ graphql.Client, pkgs []IDorPkgInput, pkgMatchType MatchFlags, certifyBads []CertifyBadInputSpec, ) (*IngestCertifyBadPkgsResponse, error)
func (*IngestCertifyBadPkgsResponse) GetIngestCertifyBads ¶ added in v0.5.0
func (v *IngestCertifyBadPkgsResponse) GetIngestCertifyBads() []string
GetIngestCertifyBads returns IngestCertifyBadPkgsResponse.IngestCertifyBads, and is useful for accessing the field via an interface.
type IngestCertifyBadSrcResponse ¶ added in v0.5.0
type IngestCertifyBadSrcResponse struct { // Adds a certification that a package, source or artifact is considered bad. The returned ID can be empty string. IngestCertifyBad string `json:"ingestCertifyBad"` }
IngestCertifyBadSrcResponse is returned by IngestCertifyBadSrc on success.
func IngestCertifyBadSrc ¶ added in v0.5.0
func IngestCertifyBadSrc( ctx_ context.Context, client_ graphql.Client, source IDorSourceInput, certifyBad CertifyBadInputSpec, ) (*IngestCertifyBadSrcResponse, error)
func (*IngestCertifyBadSrcResponse) GetIngestCertifyBad ¶ added in v0.5.0
func (v *IngestCertifyBadSrcResponse) GetIngestCertifyBad() string
GetIngestCertifyBad returns IngestCertifyBadSrcResponse.IngestCertifyBad, and is useful for accessing the field via an interface.
type IngestCertifyBadSrcsResponse ¶ added in v0.5.0
type IngestCertifyBadSrcsResponse struct { // Adds bulk certifications that a package, source or artifact is considered bad. The returned array of IDs can be a an array of empty string. IngestCertifyBads []string `json:"ingestCertifyBads"` }
IngestCertifyBadSrcsResponse is returned by IngestCertifyBadSrcs on success.
func IngestCertifyBadSrcs ¶ added in v0.5.0
func IngestCertifyBadSrcs( ctx_ context.Context, client_ graphql.Client, sources []IDorSourceInput, certifyBads []CertifyBadInputSpec, ) (*IngestCertifyBadSrcsResponse, error)
func (*IngestCertifyBadSrcsResponse) GetIngestCertifyBads ¶ added in v0.5.0
func (v *IngestCertifyBadSrcsResponse) GetIngestCertifyBads() []string
GetIngestCertifyBads returns IngestCertifyBadSrcsResponse.IngestCertifyBads, and is useful for accessing the field via an interface.
type IngestCertifyGoodArtifactResponse ¶ added in v0.5.0
type IngestCertifyGoodArtifactResponse struct { // Adds a certification that a package, source or artifact is considered good. The returned ID can be empty string. IngestCertifyGood string `json:"ingestCertifyGood"` }
IngestCertifyGoodArtifactResponse is returned by IngestCertifyGoodArtifact on success.
func IngestCertifyGoodArtifact ¶ added in v0.5.0
func IngestCertifyGoodArtifact( ctx_ context.Context, client_ graphql.Client, artifact IDorArtifactInput, certifyGood CertifyGoodInputSpec, ) (*IngestCertifyGoodArtifactResponse, error)
func (*IngestCertifyGoodArtifactResponse) GetIngestCertifyGood ¶ added in v0.5.0
func (v *IngestCertifyGoodArtifactResponse) GetIngestCertifyGood() string
GetIngestCertifyGood returns IngestCertifyGoodArtifactResponse.IngestCertifyGood, and is useful for accessing the field via an interface.
type IngestCertifyGoodArtifactsResponse ¶ added in v0.5.0
type IngestCertifyGoodArtifactsResponse struct { // Adds bulk certifications that a package, source or artifact is considered good. The returned array of IDs can be a an array of empty string. IngestCertifyGoods []string `json:"ingestCertifyGoods"` }
IngestCertifyGoodArtifactsResponse is returned by IngestCertifyGoodArtifacts on success.
func IngestCertifyGoodArtifacts ¶ added in v0.5.0
func IngestCertifyGoodArtifacts( ctx_ context.Context, client_ graphql.Client, artifacts []IDorArtifactInput, certifyGoods []CertifyGoodInputSpec, ) (*IngestCertifyGoodArtifactsResponse, error)
func (*IngestCertifyGoodArtifactsResponse) GetIngestCertifyGoods ¶ added in v0.5.0
func (v *IngestCertifyGoodArtifactsResponse) GetIngestCertifyGoods() []string
GetIngestCertifyGoods returns IngestCertifyGoodArtifactsResponse.IngestCertifyGoods, and is useful for accessing the field via an interface.
type IngestCertifyGoodPkgResponse ¶ added in v0.5.0
type IngestCertifyGoodPkgResponse struct { // Adds a certification that a package, source or artifact is considered good. The returned ID can be empty string. IngestCertifyGood string `json:"ingestCertifyGood"` }
IngestCertifyGoodPkgResponse is returned by IngestCertifyGoodPkg on success.
func IngestCertifyGoodPkg ¶ added in v0.5.0
func IngestCertifyGoodPkg( ctx_ context.Context, client_ graphql.Client, pkg IDorPkgInput, pkgMatchType MatchFlags, certifyGood CertifyGoodInputSpec, ) (*IngestCertifyGoodPkgResponse, error)
func (*IngestCertifyGoodPkgResponse) GetIngestCertifyGood ¶ added in v0.5.0
func (v *IngestCertifyGoodPkgResponse) GetIngestCertifyGood() string
GetIngestCertifyGood returns IngestCertifyGoodPkgResponse.IngestCertifyGood, and is useful for accessing the field via an interface.
type IngestCertifyGoodPkgsResponse ¶ added in v0.5.0
type IngestCertifyGoodPkgsResponse struct { // Adds bulk certifications that a package, source or artifact is considered good. The returned array of IDs can be a an array of empty string. IngestCertifyGoods []string `json:"ingestCertifyGoods"` }
IngestCertifyGoodPkgsResponse is returned by IngestCertifyGoodPkgs on success.
func IngestCertifyGoodPkgs ¶ added in v0.5.0
func IngestCertifyGoodPkgs( ctx_ context.Context, client_ graphql.Client, pkgs []IDorPkgInput, pkgMatchType MatchFlags, certifyGoods []CertifyGoodInputSpec, ) (*IngestCertifyGoodPkgsResponse, error)
func (*IngestCertifyGoodPkgsResponse) GetIngestCertifyGoods ¶ added in v0.5.0
func (v *IngestCertifyGoodPkgsResponse) GetIngestCertifyGoods() []string
GetIngestCertifyGoods returns IngestCertifyGoodPkgsResponse.IngestCertifyGoods, and is useful for accessing the field via an interface.
type IngestCertifyGoodSrcResponse ¶ added in v0.5.0
type IngestCertifyGoodSrcResponse struct { // Adds a certification that a package, source or artifact is considered good. The returned ID can be empty string. IngestCertifyGood string `json:"ingestCertifyGood"` }
IngestCertifyGoodSrcResponse is returned by IngestCertifyGoodSrc on success.
func IngestCertifyGoodSrc ¶ added in v0.5.0
func IngestCertifyGoodSrc( ctx_ context.Context, client_ graphql.Client, source IDorSourceInput, certifyGood CertifyGoodInputSpec, ) (*IngestCertifyGoodSrcResponse, error)
func (*IngestCertifyGoodSrcResponse) GetIngestCertifyGood ¶ added in v0.5.0
func (v *IngestCertifyGoodSrcResponse) GetIngestCertifyGood() string
GetIngestCertifyGood returns IngestCertifyGoodSrcResponse.IngestCertifyGood, and is useful for accessing the field via an interface.
type IngestCertifyGoodSrcsResponse ¶ added in v0.5.0
type IngestCertifyGoodSrcsResponse struct { // Adds bulk certifications that a package, source or artifact is considered good. The returned array of IDs can be a an array of empty string. IngestCertifyGoods []string `json:"ingestCertifyGoods"` }
IngestCertifyGoodSrcsResponse is returned by IngestCertifyGoodSrcs on success.
func IngestCertifyGoodSrcs ¶ added in v0.5.0
func IngestCertifyGoodSrcs( ctx_ context.Context, client_ graphql.Client, sources []IDorSourceInput, certifyGoods []CertifyGoodInputSpec, ) (*IngestCertifyGoodSrcsResponse, error)
func (*IngestCertifyGoodSrcsResponse) GetIngestCertifyGoods ¶ added in v0.5.0
func (v *IngestCertifyGoodSrcsResponse) GetIngestCertifyGoods() []string
GetIngestCertifyGoods returns IngestCertifyGoodSrcsResponse.IngestCertifyGoods, and is useful for accessing the field via an interface.
type IngestCertifyLegalPkgResponse ¶ added in v0.5.0
type IngestCertifyLegalPkgResponse struct { // Adds a legal certification to a package or source. IngestCertifyLegal string `json:"ingestCertifyLegal"` }
IngestCertifyLegalPkgResponse is returned by IngestCertifyLegalPkg on success.
func IngestCertifyLegalPkg ¶ added in v0.5.0
func IngestCertifyLegalPkg( ctx_ context.Context, client_ graphql.Client, pkg IDorPkgInput, declaredLicenses []IDorLicenseInput, discoveredLicenses []IDorLicenseInput, legal CertifyLegalInputSpec, ) (*IngestCertifyLegalPkgResponse, error)
func (*IngestCertifyLegalPkgResponse) GetIngestCertifyLegal ¶ added in v0.5.0
func (v *IngestCertifyLegalPkgResponse) GetIngestCertifyLegal() string
GetIngestCertifyLegal returns IngestCertifyLegalPkgResponse.IngestCertifyLegal, and is useful for accessing the field via an interface.
type IngestCertifyLegalPkgsResponse ¶ added in v0.5.0
type IngestCertifyLegalPkgsResponse struct { // Bulk add legal certifications to packages or sources, not both at same time. IngestCertifyLegals []string `json:"ingestCertifyLegals"` }
IngestCertifyLegalPkgsResponse is returned by IngestCertifyLegalPkgs on success.
func IngestCertifyLegalPkgs ¶ added in v0.5.0
func IngestCertifyLegalPkgs( ctx_ context.Context, client_ graphql.Client, pkgs []IDorPkgInput, declaredLicensesList [][]IDorLicenseInput, discoveredLicensesList [][]IDorLicenseInput, legals []CertifyLegalInputSpec, ) (*IngestCertifyLegalPkgsResponse, error)
func (*IngestCertifyLegalPkgsResponse) GetIngestCertifyLegals ¶ added in v0.5.0
func (v *IngestCertifyLegalPkgsResponse) GetIngestCertifyLegals() []string
GetIngestCertifyLegals returns IngestCertifyLegalPkgsResponse.IngestCertifyLegals, and is useful for accessing the field via an interface.
type IngestCertifyLegalSrcResponse ¶ added in v0.5.0
type IngestCertifyLegalSrcResponse struct { // Adds a legal certification to a package or source. IngestCertifyLegal string `json:"ingestCertifyLegal"` }
IngestCertifyLegalSrcResponse is returned by IngestCertifyLegalSrc on success.
func IngestCertifyLegalSrc ¶ added in v0.5.0
func IngestCertifyLegalSrc( ctx_ context.Context, client_ graphql.Client, src IDorSourceInput, declaredLicenses []IDorLicenseInput, discoveredLicenses []IDorLicenseInput, legal CertifyLegalInputSpec, ) (*IngestCertifyLegalSrcResponse, error)
func (*IngestCertifyLegalSrcResponse) GetIngestCertifyLegal ¶ added in v0.5.0
func (v *IngestCertifyLegalSrcResponse) GetIngestCertifyLegal() string
GetIngestCertifyLegal returns IngestCertifyLegalSrcResponse.IngestCertifyLegal, and is useful for accessing the field via an interface.
type IngestCertifyLegalSrcsResponse ¶ added in v0.5.0
type IngestCertifyLegalSrcsResponse struct { // Bulk add legal certifications to packages or sources, not both at same time. IngestCertifyLegals []string `json:"ingestCertifyLegals"` }
IngestCertifyLegalSrcsResponse is returned by IngestCertifyLegalSrcs on success.
func IngestCertifyLegalSrcs ¶ added in v0.5.0
func IngestCertifyLegalSrcs( ctx_ context.Context, client_ graphql.Client, srcs []IDorSourceInput, declaredLicensesList [][]IDorLicenseInput, discoveredLicensesList [][]IDorLicenseInput, legals []CertifyLegalInputSpec, ) (*IngestCertifyLegalSrcsResponse, error)
func (*IngestCertifyLegalSrcsResponse) GetIngestCertifyLegals ¶ added in v0.5.0
func (v *IngestCertifyLegalSrcsResponse) GetIngestCertifyLegals() []string
GetIngestCertifyLegals returns IngestCertifyLegalSrcsResponse.IngestCertifyLegals, and is useful for accessing the field via an interface.
type IngestCertifyScorecardResponse ¶ added in v0.5.0
type IngestCertifyScorecardResponse struct { // Adds a certification that a source repository has a Scorecard. The returned ID can be empty string. IngestScorecard string `json:"ingestScorecard"` }
IngestCertifyScorecardResponse is returned by IngestCertifyScorecard on success.
func IngestCertifyScorecard ¶ added in v0.5.0
func IngestCertifyScorecard( ctx_ context.Context, client_ graphql.Client, source IDorSourceInput, scorecard ScorecardInputSpec, ) (*IngestCertifyScorecardResponse, error)
func (*IngestCertifyScorecardResponse) GetIngestScorecard ¶ added in v0.5.0
func (v *IngestCertifyScorecardResponse) GetIngestScorecard() string
GetIngestScorecard returns IngestCertifyScorecardResponse.IngestScorecard, and is useful for accessing the field via an interface.
type IngestCertifyScorecardsResponse ¶ added in v0.5.0
type IngestCertifyScorecardsResponse struct { // Adds bulk certifications that a source repository has a Scorecard. The returned array of IDs can be a an array of empty string. IngestScorecards []string `json:"ingestScorecards"` }
IngestCertifyScorecardsResponse is returned by IngestCertifyScorecards on success.
func IngestCertifyScorecards ¶ added in v0.5.0
func IngestCertifyScorecards( ctx_ context.Context, client_ graphql.Client, sources []IDorSourceInput, scorecards []ScorecardInputSpec, ) (*IngestCertifyScorecardsResponse, error)
func (*IngestCertifyScorecardsResponse) GetIngestScorecards ¶ added in v0.5.0
func (v *IngestCertifyScorecardsResponse) GetIngestScorecards() []string
GetIngestScorecards returns IngestCertifyScorecardsResponse.IngestScorecards, and is useful for accessing the field via an interface.
type IngestCertifyVexArtifactResponse ¶ added in v0.5.0
type IngestCertifyVexArtifactResponse struct { // Adds a VEX certification for a package. The returned ID can be empty string. IngestVEXStatement string `json:"ingestVEXStatement"` }
IngestCertifyVexArtifactResponse is returned by IngestCertifyVexArtifact on success.
func IngestCertifyVexArtifact ¶ added in v0.5.0
func IngestCertifyVexArtifact( ctx_ context.Context, client_ graphql.Client, artifact IDorArtifactInput, vulnerability IDorVulnerabilityInput, vexStatement VexStatementInputSpec, ) (*IngestCertifyVexArtifactResponse, error)
func (*IngestCertifyVexArtifactResponse) GetIngestVEXStatement ¶ added in v0.5.0
func (v *IngestCertifyVexArtifactResponse) GetIngestVEXStatement() string
GetIngestVEXStatement returns IngestCertifyVexArtifactResponse.IngestVEXStatement, and is useful for accessing the field via an interface.
type IngestCertifyVexArtifactsResponse ¶ added in v0.5.0
type IngestCertifyVexArtifactsResponse struct { // Bulk add VEX certifications for a package and vulnerability. The returned array of IDs can be a an array of empty string. IngestVEXStatements []string `json:"ingestVEXStatements"` }
IngestCertifyVexArtifactsResponse is returned by IngestCertifyVexArtifacts on success.
func IngestCertifyVexArtifacts ¶ added in v0.5.0
func IngestCertifyVexArtifacts( ctx_ context.Context, client_ graphql.Client, artifacts []IDorArtifactInput, vulnerabilities []IDorVulnerabilityInput, vexStatements []VexStatementInputSpec, ) (*IngestCertifyVexArtifactsResponse, error)
func (*IngestCertifyVexArtifactsResponse) GetIngestVEXStatements ¶ added in v0.5.0
func (v *IngestCertifyVexArtifactsResponse) GetIngestVEXStatements() []string
GetIngestVEXStatements returns IngestCertifyVexArtifactsResponse.IngestVEXStatements, and is useful for accessing the field via an interface.
type IngestCertifyVexPkgResponse ¶ added in v0.5.0
type IngestCertifyVexPkgResponse struct { // Adds a VEX certification for a package. The returned ID can be empty string. IngestVEXStatement string `json:"ingestVEXStatement"` }
IngestCertifyVexPkgResponse is returned by IngestCertifyVexPkg on success.
func IngestCertifyVexPkg ¶ added in v0.5.0
func IngestCertifyVexPkg( ctx_ context.Context, client_ graphql.Client, pkg IDorPkgInput, vulnerability IDorVulnerabilityInput, vexStatement VexStatementInputSpec, ) (*IngestCertifyVexPkgResponse, error)
func (*IngestCertifyVexPkgResponse) GetIngestVEXStatement ¶ added in v0.5.0
func (v *IngestCertifyVexPkgResponse) GetIngestVEXStatement() string
GetIngestVEXStatement returns IngestCertifyVexPkgResponse.IngestVEXStatement, and is useful for accessing the field via an interface.
type IngestCertifyVexPkgsResponse ¶ added in v0.5.0
type IngestCertifyVexPkgsResponse struct { // Bulk add VEX certifications for a package and vulnerability. The returned array of IDs can be a an array of empty string. IngestVEXStatements []string `json:"ingestVEXStatements"` }
IngestCertifyVexPkgsResponse is returned by IngestCertifyVexPkgs on success.
func IngestCertifyVexPkgs ¶ added in v0.5.0
func IngestCertifyVexPkgs( ctx_ context.Context, client_ graphql.Client, pkgs []IDorPkgInput, vulnerabilities []IDorVulnerabilityInput, vexStatements []VexStatementInputSpec, ) (*IngestCertifyVexPkgsResponse, error)
func (*IngestCertifyVexPkgsResponse) GetIngestVEXStatements ¶ added in v0.5.0
func (v *IngestCertifyVexPkgsResponse) GetIngestVEXStatements() []string
GetIngestVEXStatements returns IngestCertifyVexPkgsResponse.IngestVEXStatements, and is useful for accessing the field via an interface.
type IngestCertifyVulnPkgResponse ¶ added in v0.5.0
type IngestCertifyVulnPkgResponse struct { // Adds a certification that a package has been scanned for vulnerabilities. The returned ID can be empty string. IngestCertifyVuln string `json:"ingestCertifyVuln"` }
IngestCertifyVulnPkgResponse is returned by IngestCertifyVulnPkg on success.
func IngestCertifyVulnPkg ¶ added in v0.5.0
func IngestCertifyVulnPkg( ctx_ context.Context, client_ graphql.Client, pkg IDorPkgInput, vulnerability IDorVulnerabilityInput, certifyVuln ScanMetadataInput, ) (*IngestCertifyVulnPkgResponse, error)
func (*IngestCertifyVulnPkgResponse) GetIngestCertifyVuln ¶ added in v0.5.0
func (v *IngestCertifyVulnPkgResponse) GetIngestCertifyVuln() string
GetIngestCertifyVuln returns IngestCertifyVulnPkgResponse.IngestCertifyVuln, and is useful for accessing the field via an interface.
type IngestCertifyVulnPkgsResponse ¶ added in v0.5.0
type IngestCertifyVulnPkgsResponse struct { // Bulk add certifications that a package has been scanned for vulnerabilities. The returned array of IDs can be a an array of empty string. IngestCertifyVulns []string `json:"ingestCertifyVulns"` }
IngestCertifyVulnPkgsResponse is returned by IngestCertifyVulnPkgs on success.
func IngestCertifyVulnPkgs ¶ added in v0.5.0
func IngestCertifyVulnPkgs( ctx_ context.Context, client_ graphql.Client, pkgs []IDorPkgInput, vulnerabilities []IDorVulnerabilityInput, certifyVulns []ScanMetadataInput, ) (*IngestCertifyVulnPkgsResponse, error)
func (*IngestCertifyVulnPkgsResponse) GetIngestCertifyVulns ¶ added in v0.5.0
func (v *IngestCertifyVulnPkgsResponse) GetIngestCertifyVulns() []string
GetIngestCertifyVulns returns IngestCertifyVulnPkgsResponse.IngestCertifyVulns, and is useful for accessing the field via an interface.
type IngestHasMetadataArtifactResponse ¶ added in v0.5.0
type IngestHasMetadataArtifactResponse struct { // Adds metadata about a package, source or artifact. The returned ID can be empty string. IngestHasMetadata string `json:"ingestHasMetadata"` }
IngestHasMetadataArtifactResponse is returned by IngestHasMetadataArtifact on success.
func IngestHasMetadataArtifact ¶ added in v0.5.0
func IngestHasMetadataArtifact( ctx_ context.Context, client_ graphql.Client, artifact IDorArtifactInput, hasMetadata HasMetadataInputSpec, ) (*IngestHasMetadataArtifactResponse, error)
func (*IngestHasMetadataArtifactResponse) GetIngestHasMetadata ¶ added in v0.5.0
func (v *IngestHasMetadataArtifactResponse) GetIngestHasMetadata() string
GetIngestHasMetadata returns IngestHasMetadataArtifactResponse.IngestHasMetadata, and is useful for accessing the field via an interface.
type IngestHasMetadataArtifactsResponse ¶ added in v0.5.0
type IngestHasMetadataArtifactsResponse struct { // Adds bulk metadata about a package, source or artifact. The returned array of IDs can be a an array of empty string. IngestBulkHasMetadata []string `json:"ingestBulkHasMetadata"` }
IngestHasMetadataArtifactsResponse is returned by IngestHasMetadataArtifacts on success.
func IngestHasMetadataArtifacts ¶ added in v0.5.0
func IngestHasMetadataArtifacts( ctx_ context.Context, client_ graphql.Client, artifacts []IDorArtifactInput, hasMetadataList []HasMetadataInputSpec, ) (*IngestHasMetadataArtifactsResponse, error)
func (*IngestHasMetadataArtifactsResponse) GetIngestBulkHasMetadata ¶ added in v0.5.0
func (v *IngestHasMetadataArtifactsResponse) GetIngestBulkHasMetadata() []string
GetIngestBulkHasMetadata returns IngestHasMetadataArtifactsResponse.IngestBulkHasMetadata, and is useful for accessing the field via an interface.
type IngestHasMetadataPkgResponse ¶ added in v0.5.0
type IngestHasMetadataPkgResponse struct { // Adds metadata about a package, source or artifact. The returned ID can be empty string. IngestHasMetadata string `json:"ingestHasMetadata"` }
IngestHasMetadataPkgResponse is returned by IngestHasMetadataPkg on success.
func IngestHasMetadataPkg ¶ added in v0.5.0
func IngestHasMetadataPkg( ctx_ context.Context, client_ graphql.Client, pkg IDorPkgInput, pkgMatchType MatchFlags, hasMetadata HasMetadataInputSpec, ) (*IngestHasMetadataPkgResponse, error)
func (*IngestHasMetadataPkgResponse) GetIngestHasMetadata ¶ added in v0.5.0
func (v *IngestHasMetadataPkgResponse) GetIngestHasMetadata() string
GetIngestHasMetadata returns IngestHasMetadataPkgResponse.IngestHasMetadata, and is useful for accessing the field via an interface.
type IngestHasMetadataPkgsResponse ¶ added in v0.5.0
type IngestHasMetadataPkgsResponse struct { // Adds bulk metadata about a package, source or artifact. The returned array of IDs can be a an array of empty string. IngestBulkHasMetadata []string `json:"ingestBulkHasMetadata"` }
IngestHasMetadataPkgsResponse is returned by IngestHasMetadataPkgs on success.
func IngestHasMetadataPkgs ¶ added in v0.5.0
func IngestHasMetadataPkgs( ctx_ context.Context, client_ graphql.Client, pkgs []IDorPkgInput, pkgMatchType MatchFlags, hasMetadataList []HasMetadataInputSpec, ) (*IngestHasMetadataPkgsResponse, error)
func (*IngestHasMetadataPkgsResponse) GetIngestBulkHasMetadata ¶ added in v0.5.0
func (v *IngestHasMetadataPkgsResponse) GetIngestBulkHasMetadata() []string
GetIngestBulkHasMetadata returns IngestHasMetadataPkgsResponse.IngestBulkHasMetadata, and is useful for accessing the field via an interface.
type IngestHasMetadataSrcResponse ¶ added in v0.5.0
type IngestHasMetadataSrcResponse struct { // Adds metadata about a package, source or artifact. The returned ID can be empty string. IngestHasMetadata string `json:"ingestHasMetadata"` }
IngestHasMetadataSrcResponse is returned by IngestHasMetadataSrc on success.
func IngestHasMetadataSrc ¶ added in v0.5.0
func IngestHasMetadataSrc( ctx_ context.Context, client_ graphql.Client, source IDorSourceInput, hasMetadata HasMetadataInputSpec, ) (*IngestHasMetadataSrcResponse, error)
func (*IngestHasMetadataSrcResponse) GetIngestHasMetadata ¶ added in v0.5.0
func (v *IngestHasMetadataSrcResponse) GetIngestHasMetadata() string
GetIngestHasMetadata returns IngestHasMetadataSrcResponse.IngestHasMetadata, and is useful for accessing the field via an interface.
type IngestHasMetadataSrcsResponse ¶ added in v0.5.0
type IngestHasMetadataSrcsResponse struct { // Adds bulk metadata about a package, source or artifact. The returned array of IDs can be a an array of empty string. IngestBulkHasMetadata []string `json:"ingestBulkHasMetadata"` }
IngestHasMetadataSrcsResponse is returned by IngestHasMetadataSrcs on success.
func IngestHasMetadataSrcs ¶ added in v0.5.0
func IngestHasMetadataSrcs( ctx_ context.Context, client_ graphql.Client, sources []IDorSourceInput, hasMetadataList []HasMetadataInputSpec, ) (*IngestHasMetadataSrcsResponse, error)
func (*IngestHasMetadataSrcsResponse) GetIngestBulkHasMetadata ¶ added in v0.5.0
func (v *IngestHasMetadataSrcsResponse) GetIngestBulkHasMetadata() []string
GetIngestBulkHasMetadata returns IngestHasMetadataSrcsResponse.IngestBulkHasMetadata, and is useful for accessing the field via an interface.
type IngestHasSBOMArtifactResponse ¶ added in v0.5.0
type IngestHasSBOMArtifactResponse struct { // Certifies that a package or artifact has an SBOM. The returned ID can be empty string. IngestHasSBOM string `json:"ingestHasSBOM"` }
IngestHasSBOMArtifactResponse is returned by IngestHasSBOMArtifact on success.
func IngestHasSBOMArtifact ¶ added in v0.5.0
func IngestHasSBOMArtifact( ctx_ context.Context, client_ graphql.Client, artifact IDorArtifactInput, hasSBOM HasSBOMInputSpec, includes HasSBOMIncludesInputSpec, ) (*IngestHasSBOMArtifactResponse, error)
func (*IngestHasSBOMArtifactResponse) GetIngestHasSBOM ¶ added in v0.5.0
func (v *IngestHasSBOMArtifactResponse) GetIngestHasSBOM() string
GetIngestHasSBOM returns IngestHasSBOMArtifactResponse.IngestHasSBOM, and is useful for accessing the field via an interface.
type IngestHasSBOMArtifactsResponse ¶ added in v0.5.0
type IngestHasSBOMArtifactsResponse struct { // Bulk ingest that package or artifact has an SBOM. The returned array of IDs can be a an array of empty string. IngestHasSBOMs []string `json:"ingestHasSBOMs"` }
IngestHasSBOMArtifactsResponse is returned by IngestHasSBOMArtifacts on success.
func IngestHasSBOMArtifacts ¶ added in v0.5.0
func IngestHasSBOMArtifacts( ctx_ context.Context, client_ graphql.Client, artifacts []IDorArtifactInput, hasSBOMs []HasSBOMInputSpec, includes []HasSBOMIncludesInputSpec, ) (*IngestHasSBOMArtifactsResponse, error)
func (*IngestHasSBOMArtifactsResponse) GetIngestHasSBOMs ¶ added in v0.5.0
func (v *IngestHasSBOMArtifactsResponse) GetIngestHasSBOMs() []string
GetIngestHasSBOMs returns IngestHasSBOMArtifactsResponse.IngestHasSBOMs, and is useful for accessing the field via an interface.
type IngestHasSBOMPkgResponse ¶ added in v0.5.0
type IngestHasSBOMPkgResponse struct { // Certifies that a package or artifact has an SBOM. The returned ID can be empty string. IngestHasSBOM string `json:"ingestHasSBOM"` }
IngestHasSBOMPkgResponse is returned by IngestHasSBOMPkg on success.
func IngestHasSBOMPkg ¶ added in v0.5.0
func IngestHasSBOMPkg( ctx_ context.Context, client_ graphql.Client, pkg IDorPkgInput, hasSBOM HasSBOMInputSpec, includes HasSBOMIncludesInputSpec, ) (*IngestHasSBOMPkgResponse, error)
func (*IngestHasSBOMPkgResponse) GetIngestHasSBOM ¶ added in v0.5.0
func (v *IngestHasSBOMPkgResponse) GetIngestHasSBOM() string
GetIngestHasSBOM returns IngestHasSBOMPkgResponse.IngestHasSBOM, and is useful for accessing the field via an interface.
type IngestHasSBOMPkgsResponse ¶ added in v0.5.0
type IngestHasSBOMPkgsResponse struct { // Bulk ingest that package or artifact has an SBOM. The returned array of IDs can be a an array of empty string. IngestHasSBOMs []string `json:"ingestHasSBOMs"` }
IngestHasSBOMPkgsResponse is returned by IngestHasSBOMPkgs on success.
func IngestHasSBOMPkgs ¶ added in v0.5.0
func IngestHasSBOMPkgs( ctx_ context.Context, client_ graphql.Client, pkgs []IDorPkgInput, hasSBOMs []HasSBOMInputSpec, includes []HasSBOMIncludesInputSpec, ) (*IngestHasSBOMPkgsResponse, error)
func (*IngestHasSBOMPkgsResponse) GetIngestHasSBOMs ¶ added in v0.5.0
func (v *IngestHasSBOMPkgsResponse) GetIngestHasSBOMs() []string
GetIngestHasSBOMs returns IngestHasSBOMPkgsResponse.IngestHasSBOMs, and is useful for accessing the field via an interface.
type IngestHasSourceAtResponse ¶ added in v0.2.0
type IngestHasSourceAtResponse struct { // Adds a certification that a package (PackageName or PackageVersion) is built from the source. The returned ID can be empty string. IngestHasSourceAt string `json:"ingestHasSourceAt"` }
IngestHasSourceAtResponse is returned by IngestHasSourceAt on success.
func IngestHasSourceAt ¶ added in v0.2.0
func IngestHasSourceAt( ctx_ context.Context, client_ graphql.Client, pkg IDorPkgInput, pkgMatchType MatchFlags, source IDorSourceInput, hasSourceAt HasSourceAtInputSpec, ) (*IngestHasSourceAtResponse, error)
func (*IngestHasSourceAtResponse) GetIngestHasSourceAt ¶ added in v0.2.0
func (v *IngestHasSourceAtResponse) GetIngestHasSourceAt() string
GetIngestHasSourceAt returns IngestHasSourceAtResponse.IngestHasSourceAt, and is useful for accessing the field via an interface.
type IngestHasSourcesAtResponse ¶ added in v0.5.0
type IngestHasSourcesAtResponse struct { // Bulk ingestion of certifications that a package (PackageName or PackageVersion) is built from the source. The returned array of IDs can be a an array of empty string. IngestHasSourceAts []string `json:"ingestHasSourceAts"` }
IngestHasSourcesAtResponse is returned by IngestHasSourcesAt on success.
func IngestHasSourcesAt ¶ added in v0.5.0
func IngestHasSourcesAt( ctx_ context.Context, client_ graphql.Client, pkgs []IDorPkgInput, pkgMatchType MatchFlags, sources []IDorSourceInput, hasSourceAts []HasSourceAtInputSpec, ) (*IngestHasSourcesAtResponse, error)
func (*IngestHasSourcesAtResponse) GetIngestHasSourceAts ¶ added in v0.5.0
func (v *IngestHasSourcesAtResponse) GetIngestHasSourceAts() []string
GetIngestHasSourceAts returns IngestHasSourcesAtResponse.IngestHasSourceAts, and is useful for accessing the field via an interface.
type IngestHashEqualResponse ¶ added in v0.2.0
type IngestHashEqualResponse struct { // Adds a certification that two artifacts are equal. The returned ID can be empty string. IngestHashEqual string `json:"ingestHashEqual"` }
IngestHashEqualResponse is returned by IngestHashEqual on success.
func IngestHashEqual ¶ added in v0.2.0
func IngestHashEqual( ctx_ context.Context, client_ graphql.Client, artifact IDorArtifactInput, otherArtifact IDorArtifactInput, hashEqual HashEqualInputSpec, ) (*IngestHashEqualResponse, error)
func (*IngestHashEqualResponse) GetIngestHashEqual ¶ added in v0.2.0
func (v *IngestHashEqualResponse) GetIngestHashEqual() string
GetIngestHashEqual returns IngestHashEqualResponse.IngestHashEqual, and is useful for accessing the field via an interface.
type IngestHashEqualsResponse ¶ added in v0.2.0
type IngestHashEqualsResponse struct { // Bulk ingest certifications that two artifacts are equal. The returned array of IDs can be a an array of empty string. IngestHashEquals []string `json:"ingestHashEquals"` }
IngestHashEqualsResponse is returned by IngestHashEquals on success.
func IngestHashEquals ¶ added in v0.2.0
func IngestHashEquals( ctx_ context.Context, client_ graphql.Client, artifacts []IDorArtifactInput, otherArtifacts []IDorArtifactInput, hashEquals []HashEqualInputSpec, ) (*IngestHashEqualsResponse, error)
func (*IngestHashEqualsResponse) GetIngestHashEquals ¶ added in v0.2.0
func (v *IngestHashEqualsResponse) GetIngestHashEquals() []string
GetIngestHashEquals returns IngestHashEqualsResponse.IngestHashEquals, and is useful for accessing the field via an interface.
type IngestIsDependenciesResponse ¶ added in v0.5.0
type IngestIsDependenciesResponse struct { // Bulk adds a dependency between two packages. The returned array of IDs cannot be an empty string as its used by hasSBOM. IngestDependencies []string `json:"ingestDependencies"` }
IngestIsDependenciesResponse is returned by IngestIsDependencies on success.
func IngestIsDependencies ¶ added in v0.5.0
func IngestIsDependencies( ctx_ context.Context, client_ graphql.Client, pkgs []IDorPkgInput, depPkgs []IDorPkgInput, dependencies []IsDependencyInputSpec, ) (*IngestIsDependenciesResponse, error)
func (*IngestIsDependenciesResponse) GetIngestDependencies ¶ added in v0.5.0
func (v *IngestIsDependenciesResponse) GetIngestDependencies() []string
GetIngestDependencies returns IngestIsDependenciesResponse.IngestDependencies, and is useful for accessing the field via an interface.
type IngestIsDependencyResponse ¶ added in v0.5.0
type IngestIsDependencyResponse struct { // Adds a dependency between two packages. The returned ID cannot be empty string as its used by hasSBOM. IngestDependency string `json:"ingestDependency"` }
IngestIsDependencyResponse is returned by IngestIsDependency on success.
func IngestIsDependency ¶ added in v0.5.0
func IngestIsDependency( ctx_ context.Context, client_ graphql.Client, pkg IDorPkgInput, depPkg IDorPkgInput, dependency IsDependencyInputSpec, ) (*IngestIsDependencyResponse, error)
func (*IngestIsDependencyResponse) GetIngestDependency ¶ added in v0.5.0
func (v *IngestIsDependencyResponse) GetIngestDependency() string
GetIngestDependency returns IngestIsDependencyResponse.IngestDependency, and is useful for accessing the field via an interface.
type IngestIsOccurrencePkgResponse ¶ added in v0.5.0
type IngestIsOccurrencePkgResponse struct { // Ingest that an artifact is produced from a package or source. The returned ID cannot be empty string as its used by hasSBOM. IngestOccurrence string `json:"ingestOccurrence"` }
IngestIsOccurrencePkgResponse is returned by IngestIsOccurrencePkg on success.
func IngestIsOccurrencePkg ¶ added in v0.5.0
func IngestIsOccurrencePkg( ctx_ context.Context, client_ graphql.Client, pkg IDorPkgInput, artifact IDorArtifactInput, occurrence IsOccurrenceInputSpec, ) (*IngestIsOccurrencePkgResponse, error)
func (*IngestIsOccurrencePkgResponse) GetIngestOccurrence ¶ added in v0.5.0
func (v *IngestIsOccurrencePkgResponse) GetIngestOccurrence() string
GetIngestOccurrence returns IngestIsOccurrencePkgResponse.IngestOccurrence, and is useful for accessing the field via an interface.
type IngestIsOccurrenceSrcResponse ¶ added in v0.5.0
type IngestIsOccurrenceSrcResponse struct { // Ingest that an artifact is produced from a package or source. The returned ID cannot be empty string as its used by hasSBOM. IngestOccurrence string `json:"ingestOccurrence"` }
IngestIsOccurrenceSrcResponse is returned by IngestIsOccurrenceSrc on success.
func IngestIsOccurrenceSrc ¶ added in v0.5.0
func IngestIsOccurrenceSrc( ctx_ context.Context, client_ graphql.Client, source IDorSourceInput, artifact IDorArtifactInput, occurrence IsOccurrenceInputSpec, ) (*IngestIsOccurrenceSrcResponse, error)
func (*IngestIsOccurrenceSrcResponse) GetIngestOccurrence ¶ added in v0.5.0
func (v *IngestIsOccurrenceSrcResponse) GetIngestOccurrence() string
GetIngestOccurrence returns IngestIsOccurrenceSrcResponse.IngestOccurrence, and is useful for accessing the field via an interface.
type IngestIsOccurrencesPkgResponse ¶ added in v0.5.0
type IngestIsOccurrencesPkgResponse struct { // Bulk ingest that an artifact is produced from a package or source. The returned array of IDs cannot be an empty string as its used by hasSBOM IngestOccurrences []string `json:"ingestOccurrences"` }
IngestIsOccurrencesPkgResponse is returned by IngestIsOccurrencesPkg on success.
func IngestIsOccurrencesPkg ¶ added in v0.5.0
func IngestIsOccurrencesPkg( ctx_ context.Context, client_ graphql.Client, pkgs []IDorPkgInput, artifacts []IDorArtifactInput, occurrences []IsOccurrenceInputSpec, ) (*IngestIsOccurrencesPkgResponse, error)
func (*IngestIsOccurrencesPkgResponse) GetIngestOccurrences ¶ added in v0.5.0
func (v *IngestIsOccurrencesPkgResponse) GetIngestOccurrences() []string
GetIngestOccurrences returns IngestIsOccurrencesPkgResponse.IngestOccurrences, and is useful for accessing the field via an interface.
type IngestIsOccurrencesSrcResponse ¶ added in v0.5.0
type IngestIsOccurrencesSrcResponse struct { // Bulk ingest that an artifact is produced from a package or source. The returned array of IDs cannot be an empty string as its used by hasSBOM IngestOccurrences []string `json:"ingestOccurrences"` }
IngestIsOccurrencesSrcResponse is returned by IngestIsOccurrencesSrc on success.
func IngestIsOccurrencesSrc ¶ added in v0.5.0
func IngestIsOccurrencesSrc( ctx_ context.Context, client_ graphql.Client, sources []IDorSourceInput, artifacts []IDorArtifactInput, occurrences []IsOccurrenceInputSpec, ) (*IngestIsOccurrencesSrcResponse, error)
func (*IngestIsOccurrencesSrcResponse) GetIngestOccurrences ¶ added in v0.5.0
func (v *IngestIsOccurrencesSrcResponse) GetIngestOccurrences() []string
GetIngestOccurrences returns IngestIsOccurrencesSrcResponse.IngestOccurrences, and is useful for accessing the field via an interface.
type IngestLicenseResponse ¶ added in v0.2.0
type IngestLicenseResponse struct { // Ingests a new license and returns it. IngestLicense string `json:"ingestLicense"` }
IngestLicenseResponse is returned by IngestLicense on success.
func IngestLicense ¶ added in v0.2.0
func IngestLicense( ctx_ context.Context, client_ graphql.Client, license IDorLicenseInput, ) (*IngestLicenseResponse, error)
func (*IngestLicenseResponse) GetIngestLicense ¶ added in v0.2.0
func (v *IngestLicenseResponse) GetIngestLicense() string
GetIngestLicense returns IngestLicenseResponse.IngestLicense, and is useful for accessing the field via an interface.
type IngestLicensesResponse ¶ added in v0.2.0
type IngestLicensesResponse struct { // Bulk ingests new licenses and returns a list of them. The returned array of IDs must be in the same order as the inputs. IngestLicenses []string `json:"ingestLicenses"` }
IngestLicensesResponse is returned by IngestLicenses on success.
func IngestLicenses ¶ added in v0.2.0
func IngestLicenses( ctx_ context.Context, client_ graphql.Client, licenses []IDorLicenseInput, ) (*IngestLicensesResponse, error)
func (*IngestLicensesResponse) GetIngestLicenses ¶ added in v0.2.0
func (v *IngestLicensesResponse) GetIngestLicenses() []string
GetIngestLicenses returns IngestLicensesResponse.IngestLicenses, and is useful for accessing the field via an interface.
type IngestPackageIngestPackagePackageIDs ¶ added in v0.4.0
type IngestPackageIngestPackagePackageIDs struct { PackageTypeID string `json:"packageTypeID"` PackageNamespaceID string `json:"packageNamespaceID"` PackageNameID string `json:"packageNameID"` PackageVersionID string `json:"packageVersionID"` }
IngestPackageIngestPackagePackageIDs includes the requested fields of the GraphQL type PackageIDs. The GraphQL type's documentation follows.
The IDs of the ingested package
func (*IngestPackageIngestPackagePackageIDs) GetPackageNameID ¶ added in v0.4.0
func (v *IngestPackageIngestPackagePackageIDs) GetPackageNameID() string
GetPackageNameID returns IngestPackageIngestPackagePackageIDs.PackageNameID, and is useful for accessing the field via an interface.
func (*IngestPackageIngestPackagePackageIDs) GetPackageNamespaceID ¶ added in v0.4.0
func (v *IngestPackageIngestPackagePackageIDs) GetPackageNamespaceID() string
GetPackageNamespaceID returns IngestPackageIngestPackagePackageIDs.PackageNamespaceID, and is useful for accessing the field via an interface.
func (*IngestPackageIngestPackagePackageIDs) GetPackageTypeID ¶ added in v0.4.0
func (v *IngestPackageIngestPackagePackageIDs) GetPackageTypeID() string
GetPackageTypeID returns IngestPackageIngestPackagePackageIDs.PackageTypeID, and is useful for accessing the field via an interface.
func (*IngestPackageIngestPackagePackageIDs) GetPackageVersionID ¶ added in v0.4.0
func (v *IngestPackageIngestPackagePackageIDs) GetPackageVersionID() string
GetPackageVersionID returns IngestPackageIngestPackagePackageIDs.PackageVersionID, and is useful for accessing the field via an interface.
type IngestPackageResponse ¶ added in v0.1.1
type IngestPackageResponse struct { // Ingests a new package and returns a corresponding package hierarchy containing only the IDs. IngestPackage IngestPackageIngestPackagePackageIDs `json:"ingestPackage"` }
IngestPackageResponse is returned by IngestPackage on success.
func IngestPackage ¶ added in v0.1.1
func IngestPackage( ctx_ context.Context, client_ graphql.Client, pkg IDorPkgInput, ) (*IngestPackageResponse, error)
func (*IngestPackageResponse) GetIngestPackage ¶ added in v0.1.1
func (v *IngestPackageResponse) GetIngestPackage() IngestPackageIngestPackagePackageIDs
GetIngestPackage returns IngestPackageResponse.IngestPackage, and is useful for accessing the field via an interface.
type IngestPackagesIngestPackagesPackageIDs ¶ added in v0.4.0
type IngestPackagesIngestPackagesPackageIDs struct { PackageTypeID string `json:"packageTypeID"` PackageNamespaceID string `json:"packageNamespaceID"` PackageNameID string `json:"packageNameID"` PackageVersionID string `json:"packageVersionID"` }
IngestPackagesIngestPackagesPackageIDs includes the requested fields of the GraphQL type PackageIDs. The GraphQL type's documentation follows.
The IDs of the ingested package
func (*IngestPackagesIngestPackagesPackageIDs) GetPackageNameID ¶ added in v0.4.0
func (v *IngestPackagesIngestPackagesPackageIDs) GetPackageNameID() string
GetPackageNameID returns IngestPackagesIngestPackagesPackageIDs.PackageNameID, and is useful for accessing the field via an interface.
func (*IngestPackagesIngestPackagesPackageIDs) GetPackageNamespaceID ¶ added in v0.4.0
func (v *IngestPackagesIngestPackagesPackageIDs) GetPackageNamespaceID() string
GetPackageNamespaceID returns IngestPackagesIngestPackagesPackageIDs.PackageNamespaceID, and is useful for accessing the field via an interface.
func (*IngestPackagesIngestPackagesPackageIDs) GetPackageTypeID ¶ added in v0.4.0
func (v *IngestPackagesIngestPackagesPackageIDs) GetPackageTypeID() string
GetPackageTypeID returns IngestPackagesIngestPackagesPackageIDs.PackageTypeID, and is useful for accessing the field via an interface.
func (*IngestPackagesIngestPackagesPackageIDs) GetPackageVersionID ¶ added in v0.4.0
func (v *IngestPackagesIngestPackagesPackageIDs) GetPackageVersionID() string
GetPackageVersionID returns IngestPackagesIngestPackagesPackageIDs.PackageVersionID, and is useful for accessing the field via an interface.
type IngestPackagesResponse ¶ added in v0.1.1
type IngestPackagesResponse struct { // Bulk ingests packages and returns the list of corresponding package hierarchies containing only the IDs. The returned array of IDs must be in the same order as the inputs. IngestPackages []IngestPackagesIngestPackagesPackageIDs `json:"ingestPackages"` }
IngestPackagesResponse is returned by IngestPackages on success.
func IngestPackages ¶ added in v0.1.1
func IngestPackages( ctx_ context.Context, client_ graphql.Client, pkgs []IDorPkgInput, ) (*IngestPackagesResponse, error)
func (*IngestPackagesResponse) GetIngestPackages ¶ added in v0.1.1
func (v *IngestPackagesResponse) GetIngestPackages() []IngestPackagesIngestPackagesPackageIDs
GetIngestPackages returns IngestPackagesResponse.IngestPackages, and is useful for accessing the field via an interface.
type IngestPkgEqualResponse ¶ added in v0.2.0
type IngestPkgEqualResponse struct { // Adds a certification that two packages are similar. The returned ID can be empty string. IngestPkgEqual string `json:"ingestPkgEqual"` }
IngestPkgEqualResponse is returned by IngestPkgEqual on success.
func IngestPkgEqual ¶ added in v0.2.0
func IngestPkgEqual( ctx_ context.Context, client_ graphql.Client, pkg IDorPkgInput, otherPackage IDorPkgInput, pkgEqual PkgEqualInputSpec, ) (*IngestPkgEqualResponse, error)
func (*IngestPkgEqualResponse) GetIngestPkgEqual ¶ added in v0.2.0
func (v *IngestPkgEqualResponse) GetIngestPkgEqual() string
GetIngestPkgEqual returns IngestPkgEqualResponse.IngestPkgEqual, and is useful for accessing the field via an interface.
type IngestPkgEqualsResponse ¶ added in v0.2.0
type IngestPkgEqualsResponse struct { // Bulk ingest mapping between packages. The returned array of IDs can be a an array of empty string. IngestPkgEquals []string `json:"ingestPkgEquals"` }
IngestPkgEqualsResponse is returned by IngestPkgEquals on success.
func IngestPkgEquals ¶ added in v0.2.0
func IngestPkgEquals( ctx_ context.Context, client_ graphql.Client, pkgs []IDorPkgInput, otherPackages []IDorPkgInput, pkgEquals []PkgEqualInputSpec, ) (*IngestPkgEqualsResponse, error)
func (*IngestPkgEqualsResponse) GetIngestPkgEquals ¶ added in v0.2.0
func (v *IngestPkgEqualsResponse) GetIngestPkgEquals() []string
GetIngestPkgEquals returns IngestPkgEqualsResponse.IngestPkgEquals, and is useful for accessing the field via an interface.
type IngestPointOfContactArtifactResponse ¶ added in v0.5.0
type IngestPointOfContactArtifactResponse struct { // Adds a PointOfContact attestation to a package, source or artifact. The returned ID can be empty string. IngestPointOfContact string `json:"ingestPointOfContact"` }
IngestPointOfContactArtifactResponse is returned by IngestPointOfContactArtifact on success.
func IngestPointOfContactArtifact ¶ added in v0.5.0
func IngestPointOfContactArtifact( ctx_ context.Context, client_ graphql.Client, artifact IDorArtifactInput, pointOfContact PointOfContactInputSpec, ) (*IngestPointOfContactArtifactResponse, error)
func (*IngestPointOfContactArtifactResponse) GetIngestPointOfContact ¶ added in v0.5.0
func (v *IngestPointOfContactArtifactResponse) GetIngestPointOfContact() string
GetIngestPointOfContact returns IngestPointOfContactArtifactResponse.IngestPointOfContact, and is useful for accessing the field via an interface.
type IngestPointOfContactArtifactsResponse ¶ added in v0.5.0
type IngestPointOfContactArtifactsResponse struct { // Adds bulk PointOfContact attestations to a package, source or artifact. The returned array of IDs can be a an array of empty string. IngestPointOfContacts []string `json:"ingestPointOfContacts"` }
IngestPointOfContactArtifactsResponse is returned by IngestPointOfContactArtifacts on success.
func IngestPointOfContactArtifacts ¶ added in v0.5.0
func IngestPointOfContactArtifacts( ctx_ context.Context, client_ graphql.Client, artifacts []IDorArtifactInput, pointOfContacts []PointOfContactInputSpec, ) (*IngestPointOfContactArtifactsResponse, error)
func (*IngestPointOfContactArtifactsResponse) GetIngestPointOfContacts ¶ added in v0.5.0
func (v *IngestPointOfContactArtifactsResponse) GetIngestPointOfContacts() []string
GetIngestPointOfContacts returns IngestPointOfContactArtifactsResponse.IngestPointOfContacts, and is useful for accessing the field via an interface.
type IngestPointOfContactPkgResponse ¶ added in v0.5.0
type IngestPointOfContactPkgResponse struct { // Adds a PointOfContact attestation to a package, source or artifact. The returned ID can be empty string. IngestPointOfContact string `json:"ingestPointOfContact"` }
IngestPointOfContactPkgResponse is returned by IngestPointOfContactPkg on success.
func IngestPointOfContactPkg ¶ added in v0.5.0
func IngestPointOfContactPkg( ctx_ context.Context, client_ graphql.Client, pkg IDorPkgInput, pkgMatchType MatchFlags, pointOfContact PointOfContactInputSpec, ) (*IngestPointOfContactPkgResponse, error)
func (*IngestPointOfContactPkgResponse) GetIngestPointOfContact ¶ added in v0.5.0
func (v *IngestPointOfContactPkgResponse) GetIngestPointOfContact() string
GetIngestPointOfContact returns IngestPointOfContactPkgResponse.IngestPointOfContact, and is useful for accessing the field via an interface.
type IngestPointOfContactPkgsResponse ¶ added in v0.5.0
type IngestPointOfContactPkgsResponse struct { // Adds bulk PointOfContact attestations to a package, source or artifact. The returned array of IDs can be a an array of empty string. IngestPointOfContacts []string `json:"ingestPointOfContacts"` }
IngestPointOfContactPkgsResponse is returned by IngestPointOfContactPkgs on success.
func IngestPointOfContactPkgs ¶ added in v0.5.0
func IngestPointOfContactPkgs( ctx_ context.Context, client_ graphql.Client, pkgs []IDorPkgInput, pkgMatchType MatchFlags, pointOfContacts []PointOfContactInputSpec, ) (*IngestPointOfContactPkgsResponse, error)
func (*IngestPointOfContactPkgsResponse) GetIngestPointOfContacts ¶ added in v0.5.0
func (v *IngestPointOfContactPkgsResponse) GetIngestPointOfContacts() []string
GetIngestPointOfContacts returns IngestPointOfContactPkgsResponse.IngestPointOfContacts, and is useful for accessing the field via an interface.
type IngestPointOfContactSrcResponse ¶ added in v0.5.0
type IngestPointOfContactSrcResponse struct { // Adds a PointOfContact attestation to a package, source or artifact. The returned ID can be empty string. IngestPointOfContact string `json:"ingestPointOfContact"` }
IngestPointOfContactSrcResponse is returned by IngestPointOfContactSrc on success.
func IngestPointOfContactSrc ¶ added in v0.5.0
func IngestPointOfContactSrc( ctx_ context.Context, client_ graphql.Client, source IDorSourceInput, pointOfContact PointOfContactInputSpec, ) (*IngestPointOfContactSrcResponse, error)
func (*IngestPointOfContactSrcResponse) GetIngestPointOfContact ¶ added in v0.5.0
func (v *IngestPointOfContactSrcResponse) GetIngestPointOfContact() string
GetIngestPointOfContact returns IngestPointOfContactSrcResponse.IngestPointOfContact, and is useful for accessing the field via an interface.
type IngestPointOfContactSrcsResponse ¶ added in v0.5.0
type IngestPointOfContactSrcsResponse struct { // Adds bulk PointOfContact attestations to a package, source or artifact. The returned array of IDs can be a an array of empty string. IngestPointOfContacts []string `json:"ingestPointOfContacts"` }
IngestPointOfContactSrcsResponse is returned by IngestPointOfContactSrcs on success.
func IngestPointOfContactSrcs ¶ added in v0.5.0
func IngestPointOfContactSrcs( ctx_ context.Context, client_ graphql.Client, sources []IDorSourceInput, pointOfContacts []PointOfContactInputSpec, ) (*IngestPointOfContactSrcsResponse, error)
func (*IngestPointOfContactSrcsResponse) GetIngestPointOfContacts ¶ added in v0.5.0
func (v *IngestPointOfContactSrcsResponse) GetIngestPointOfContacts() []string
GetIngestPointOfContacts returns IngestPointOfContactSrcsResponse.IngestPointOfContacts, and is useful for accessing the field via an interface.
type IngestSLSAForArtifactResponse ¶ added in v0.5.0
type IngestSLSAForArtifactResponse struct { // Ingests a SLSA attestation. The returned ID can be empty string. IngestSLSA string `json:"ingestSLSA"` }
IngestSLSAForArtifactResponse is returned by IngestSLSAForArtifact on success.
func IngestSLSAForArtifact ¶ added in v0.5.0
func IngestSLSAForArtifact( ctx_ context.Context, client_ graphql.Client, artifact IDorArtifactInput, materials []IDorArtifactInput, builder IDorBuilderInput, slsa SLSAInputSpec, ) (*IngestSLSAForArtifactResponse, error)
func (*IngestSLSAForArtifactResponse) GetIngestSLSA ¶ added in v0.5.0
func (v *IngestSLSAForArtifactResponse) GetIngestSLSA() string
GetIngestSLSA returns IngestSLSAForArtifactResponse.IngestSLSA, and is useful for accessing the field via an interface.
type IngestSLSAForArtifactsResponse ¶ added in v0.5.0
type IngestSLSAForArtifactsResponse struct { // Bulk Ingest SLSA attestations. The returned array of IDs can be a an array of empty string. IngestSLSAs []string `json:"ingestSLSAs"` }
IngestSLSAForArtifactsResponse is returned by IngestSLSAForArtifacts on success.
func IngestSLSAForArtifacts ¶ added in v0.5.0
func IngestSLSAForArtifacts( ctx_ context.Context, client_ graphql.Client, artifacts []IDorArtifactInput, materialsList [][]IDorArtifactInput, builders []IDorBuilderInput, slsaList []SLSAInputSpec, ) (*IngestSLSAForArtifactsResponse, error)
func (*IngestSLSAForArtifactsResponse) GetIngestSLSAs ¶ added in v0.5.0
func (v *IngestSLSAForArtifactsResponse) GetIngestSLSAs() []string
GetIngestSLSAs returns IngestSLSAForArtifactsResponse.IngestSLSAs, and is useful for accessing the field via an interface.
type IngestSourceIngestSourceSourceIDs ¶ added in v0.4.0
type IngestSourceIngestSourceSourceIDs struct { SourceTypeID string `json:"sourceTypeID"` SourceNamespaceID string `json:"sourceNamespaceID"` SourceNameID string `json:"sourceNameID"` }
IngestSourceIngestSourceSourceIDs includes the requested fields of the GraphQL type SourceIDs. The GraphQL type's documentation follows.
The IDs of the ingested source
func (*IngestSourceIngestSourceSourceIDs) GetSourceNameID ¶ added in v0.4.0
func (v *IngestSourceIngestSourceSourceIDs) GetSourceNameID() string
GetSourceNameID returns IngestSourceIngestSourceSourceIDs.SourceNameID, and is useful for accessing the field via an interface.
func (*IngestSourceIngestSourceSourceIDs) GetSourceNamespaceID ¶ added in v0.4.0
func (v *IngestSourceIngestSourceSourceIDs) GetSourceNamespaceID() string
GetSourceNamespaceID returns IngestSourceIngestSourceSourceIDs.SourceNamespaceID, and is useful for accessing the field via an interface.
func (*IngestSourceIngestSourceSourceIDs) GetSourceTypeID ¶ added in v0.4.0
func (v *IngestSourceIngestSourceSourceIDs) GetSourceTypeID() string
GetSourceTypeID returns IngestSourceIngestSourceSourceIDs.SourceTypeID, and is useful for accessing the field via an interface.
type IngestSourceResponse ¶ added in v0.1.1
type IngestSourceResponse struct { // Ingests a new source and returns the corresponding source trie path. IngestSource IngestSourceIngestSourceSourceIDs `json:"ingestSource"` }
IngestSourceResponse is returned by IngestSource on success.
func IngestSource ¶ added in v0.1.1
func IngestSource( ctx_ context.Context, client_ graphql.Client, source IDorSourceInput, ) (*IngestSourceResponse, error)
func (*IngestSourceResponse) GetIngestSource ¶ added in v0.1.1
func (v *IngestSourceResponse) GetIngestSource() IngestSourceIngestSourceSourceIDs
GetIngestSource returns IngestSourceResponse.IngestSource, and is useful for accessing the field via an interface.
type IngestSourcesIngestSourcesSourceIDs ¶ added in v0.4.0
type IngestSourcesIngestSourcesSourceIDs struct { SourceTypeID string `json:"sourceTypeID"` SourceNamespaceID string `json:"sourceNamespaceID"` SourceNameID string `json:"sourceNameID"` }
IngestSourcesIngestSourcesSourceIDs includes the requested fields of the GraphQL type SourceIDs. The GraphQL type's documentation follows.
The IDs of the ingested source
func (*IngestSourcesIngestSourcesSourceIDs) GetSourceNameID ¶ added in v0.4.0
func (v *IngestSourcesIngestSourcesSourceIDs) GetSourceNameID() string
GetSourceNameID returns IngestSourcesIngestSourcesSourceIDs.SourceNameID, and is useful for accessing the field via an interface.
func (*IngestSourcesIngestSourcesSourceIDs) GetSourceNamespaceID ¶ added in v0.4.0
func (v *IngestSourcesIngestSourcesSourceIDs) GetSourceNamespaceID() string
GetSourceNamespaceID returns IngestSourcesIngestSourcesSourceIDs.SourceNamespaceID, and is useful for accessing the field via an interface.
func (*IngestSourcesIngestSourcesSourceIDs) GetSourceTypeID ¶ added in v0.4.0
func (v *IngestSourcesIngestSourcesSourceIDs) GetSourceTypeID() string
GetSourceTypeID returns IngestSourcesIngestSourcesSourceIDs.SourceTypeID, and is useful for accessing the field via an interface.
type IngestSourcesResponse ¶ added in v0.1.1
type IngestSourcesResponse struct { // Bulk ingests sources and returns the list of corresponding source trie path. The returned array of IDs must be in the same order as the inputs. IngestSources []IngestSourcesIngestSourcesSourceIDs `json:"ingestSources"` }
IngestSourcesResponse is returned by IngestSources on success.
func IngestSources ¶ added in v0.1.1
func IngestSources( ctx_ context.Context, client_ graphql.Client, sources []IDorSourceInput, ) (*IngestSourcesResponse, error)
func (*IngestSourcesResponse) GetIngestSources ¶ added in v0.1.1
func (v *IngestSourcesResponse) GetIngestSources() []IngestSourcesIngestSourcesSourceIDs
GetIngestSources returns IngestSourcesResponse.IngestSources, and is useful for accessing the field via an interface.
type IngestVulnEqualResponse ¶ added in v0.2.0
type IngestVulnEqualResponse struct { // Ingest a mapping between vulnerabilities. The returned ID can be empty string. IngestVulnEqual string `json:"ingestVulnEqual"` }
IngestVulnEqualResponse is returned by IngestVulnEqual on success.
func IngestVulnEqual ¶ added in v0.2.0
func IngestVulnEqual( ctx_ context.Context, client_ graphql.Client, vulnerability IDorVulnerabilityInput, otherVulnerability IDorVulnerabilityInput, vulnEqual VulnEqualInputSpec, ) (*IngestVulnEqualResponse, error)
func (*IngestVulnEqualResponse) GetIngestVulnEqual ¶ added in v0.2.0
func (v *IngestVulnEqualResponse) GetIngestVulnEqual() string
GetIngestVulnEqual returns IngestVulnEqualResponse.IngestVulnEqual, and is useful for accessing the field via an interface.
type IngestVulnEqualsResponse ¶ added in v0.2.0
type IngestVulnEqualsResponse struct { // Bulk ingest mapping between vulnerabilities. The returned array of IDs can be a an array of empty string. IngestVulnEquals []string `json:"ingestVulnEquals"` }
IngestVulnEqualsResponse is returned by IngestVulnEquals on success.
func IngestVulnEquals ¶ added in v0.2.0
func IngestVulnEquals( ctx_ context.Context, client_ graphql.Client, vulnerabilities []IDorVulnerabilityInput, otherVulnerabilities []IDorVulnerabilityInput, vulnEquals []VulnEqualInputSpec, ) (*IngestVulnEqualsResponse, error)
func (*IngestVulnEqualsResponse) GetIngestVulnEquals ¶ added in v0.2.0
func (v *IngestVulnEqualsResponse) GetIngestVulnEquals() []string
GetIngestVulnEquals returns IngestVulnEqualsResponse.IngestVulnEquals, and is useful for accessing the field via an interface.
type IngestVulnHasMetadataResponse ¶ added in v0.5.0
type IngestVulnHasMetadataResponse struct { // Adds metadata about a vulnerability. The returned ID can be empty string. IngestVulnerabilityMetadata string `json:"ingestVulnerabilityMetadata"` }
IngestVulnHasMetadataResponse is returned by IngestVulnHasMetadata on success.
func IngestVulnHasMetadata ¶ added in v0.5.0
func IngestVulnHasMetadata( ctx_ context.Context, client_ graphql.Client, vulnerability IDorVulnerabilityInput, vulnMetadata VulnerabilityMetadataInputSpec, ) (*IngestVulnHasMetadataResponse, error)
func (*IngestVulnHasMetadataResponse) GetIngestVulnerabilityMetadata ¶ added in v0.5.0
func (v *IngestVulnHasMetadataResponse) GetIngestVulnerabilityMetadata() string
GetIngestVulnerabilityMetadata returns IngestVulnHasMetadataResponse.IngestVulnerabilityMetadata, and is useful for accessing the field via an interface.
type IngestVulnerabilitiesIngestVulnerabilitiesVulnerabilityIDs ¶ added in v0.4.0
type IngestVulnerabilitiesIngestVulnerabilitiesVulnerabilityIDs struct { VulnerabilityTypeID string `json:"vulnerabilityTypeID"` VulnerabilityNodeID string `json:"vulnerabilityNodeID"` }
IngestVulnerabilitiesIngestVulnerabilitiesVulnerabilityIDs includes the requested fields of the GraphQL type VulnerabilityIDs. The GraphQL type's documentation follows.
The IDs of the ingested vulnerability
func (*IngestVulnerabilitiesIngestVulnerabilitiesVulnerabilityIDs) GetVulnerabilityNodeID ¶ added in v0.4.0
func (v *IngestVulnerabilitiesIngestVulnerabilitiesVulnerabilityIDs) GetVulnerabilityNodeID() string
GetVulnerabilityNodeID returns IngestVulnerabilitiesIngestVulnerabilitiesVulnerabilityIDs.VulnerabilityNodeID, and is useful for accessing the field via an interface.
func (*IngestVulnerabilitiesIngestVulnerabilitiesVulnerabilityIDs) GetVulnerabilityTypeID ¶ added in v0.4.0
func (v *IngestVulnerabilitiesIngestVulnerabilitiesVulnerabilityIDs) GetVulnerabilityTypeID() string
GetVulnerabilityTypeID returns IngestVulnerabilitiesIngestVulnerabilitiesVulnerabilityIDs.VulnerabilityTypeID, and is useful for accessing the field via an interface.
type IngestVulnerabilitiesResponse ¶ added in v0.2.0
type IngestVulnerabilitiesResponse struct { // Bulk ingests vulnerabilities and returns the list of corresponding vulnerability trie path. The returned array of IDs must be in the same order as the inputs IngestVulnerabilities []IngestVulnerabilitiesIngestVulnerabilitiesVulnerabilityIDs `json:"ingestVulnerabilities"` }
IngestVulnerabilitiesResponse is returned by IngestVulnerabilities on success.
func IngestVulnerabilities ¶ added in v0.2.0
func IngestVulnerabilities( ctx_ context.Context, client_ graphql.Client, vulns []IDorVulnerabilityInput, ) (*IngestVulnerabilitiesResponse, error)
func (*IngestVulnerabilitiesResponse) GetIngestVulnerabilities ¶ added in v0.2.0
func (v *IngestVulnerabilitiesResponse) GetIngestVulnerabilities() []IngestVulnerabilitiesIngestVulnerabilitiesVulnerabilityIDs
GetIngestVulnerabilities returns IngestVulnerabilitiesResponse.IngestVulnerabilities, and is useful for accessing the field via an interface.
type IngestVulnerabilityIngestVulnerabilityVulnerabilityIDs ¶ added in v0.4.0
type IngestVulnerabilityIngestVulnerabilityVulnerabilityIDs struct { VulnerabilityTypeID string `json:"vulnerabilityTypeID"` VulnerabilityNodeID string `json:"vulnerabilityNodeID"` }
IngestVulnerabilityIngestVulnerabilityVulnerabilityIDs includes the requested fields of the GraphQL type VulnerabilityIDs. The GraphQL type's documentation follows.
The IDs of the ingested vulnerability
func (*IngestVulnerabilityIngestVulnerabilityVulnerabilityIDs) GetVulnerabilityNodeID ¶ added in v0.4.0
func (v *IngestVulnerabilityIngestVulnerabilityVulnerabilityIDs) GetVulnerabilityNodeID() string
GetVulnerabilityNodeID returns IngestVulnerabilityIngestVulnerabilityVulnerabilityIDs.VulnerabilityNodeID, and is useful for accessing the field via an interface.
func (*IngestVulnerabilityIngestVulnerabilityVulnerabilityIDs) GetVulnerabilityTypeID ¶ added in v0.4.0
func (v *IngestVulnerabilityIngestVulnerabilityVulnerabilityIDs) GetVulnerabilityTypeID() string
GetVulnerabilityTypeID returns IngestVulnerabilityIngestVulnerabilityVulnerabilityIDs.VulnerabilityTypeID, and is useful for accessing the field via an interface.
type IngestVulnerabilityResponse ¶ added in v0.2.0
type IngestVulnerabilityResponse struct { // Ingests a new vulnerability and returns the corresponding vulnerability trie path. IngestVulnerability IngestVulnerabilityIngestVulnerabilityVulnerabilityIDs `json:"ingestVulnerability"` }
IngestVulnerabilityResponse is returned by IngestVulnerability on success.
func IngestVulnerability ¶ added in v0.2.0
func IngestVulnerability( ctx_ context.Context, client_ graphql.Client, vuln IDorVulnerabilityInput, ) (*IngestVulnerabilityResponse, error)
func (*IngestVulnerabilityResponse) GetIngestVulnerability ¶ added in v0.2.0
func (v *IngestVulnerabilityResponse) GetIngestVulnerability() IngestVulnerabilityIngestVulnerabilityVulnerabilityIDs
GetIngestVulnerability returns IngestVulnerabilityResponse.IngestVulnerability, and is useful for accessing the field via an interface.
type IsDependencyInputSpec ¶
type IsDependencyInputSpec struct { DependencyType DependencyType `json:"dependencyType"` Justification string `json:"justification"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
IsDependencyInputSpec is the input to record a new dependency.
func (*IsDependencyInputSpec) GetCollector ¶
func (v *IsDependencyInputSpec) GetCollector() string
GetCollector returns IsDependencyInputSpec.Collector, and is useful for accessing the field via an interface.
func (*IsDependencyInputSpec) GetDependencyType ¶
func (v *IsDependencyInputSpec) GetDependencyType() DependencyType
GetDependencyType returns IsDependencyInputSpec.DependencyType, and is useful for accessing the field via an interface.
func (*IsDependencyInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *IsDependencyInputSpec) GetDocumentRef() string
GetDocumentRef returns IsDependencyInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*IsDependencyInputSpec) GetJustification ¶
func (v *IsDependencyInputSpec) GetJustification() string
GetJustification returns IsDependencyInputSpec.Justification, and is useful for accessing the field via an interface.
func (*IsDependencyInputSpec) GetOrigin ¶
func (v *IsDependencyInputSpec) GetOrigin() string
GetOrigin returns IsDependencyInputSpec.Origin, and is useful for accessing the field via an interface.
type IsDependencySpec ¶ added in v0.4.0
type IsDependencySpec struct { Id *string `json:"id"` Package *PkgSpec `json:"package"` DependencyPackage *PkgSpec `json:"dependencyPackage"` DependencyType *DependencyType `json:"dependencyType"` Justification *string `json:"justification"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
IsDependencySpec allows filtering the list of dependencies to return.
To obtain the list of dependency packages, caller must fill in the package field.
Dependency packages must be defined at PackageVersion.
func (*IsDependencySpec) GetCollector ¶ added in v0.4.0
func (v *IsDependencySpec) GetCollector() *string
GetCollector returns IsDependencySpec.Collector, and is useful for accessing the field via an interface.
func (*IsDependencySpec) GetDependencyPackage ¶ added in v0.4.0
func (v *IsDependencySpec) GetDependencyPackage() *PkgSpec
GetDependencyPackage returns IsDependencySpec.DependencyPackage, and is useful for accessing the field via an interface.
func (*IsDependencySpec) GetDependencyType ¶ added in v0.4.0
func (v *IsDependencySpec) GetDependencyType() *DependencyType
GetDependencyType returns IsDependencySpec.DependencyType, and is useful for accessing the field via an interface.
func (*IsDependencySpec) GetDocumentRef ¶ added in v0.6.0
func (v *IsDependencySpec) GetDocumentRef() *string
GetDocumentRef returns IsDependencySpec.DocumentRef, and is useful for accessing the field via an interface.
func (*IsDependencySpec) GetId ¶ added in v0.4.0
func (v *IsDependencySpec) GetId() *string
GetId returns IsDependencySpec.Id, and is useful for accessing the field via an interface.
func (*IsDependencySpec) GetJustification ¶ added in v0.4.0
func (v *IsDependencySpec) GetJustification() *string
GetJustification returns IsDependencySpec.Justification, and is useful for accessing the field via an interface.
func (*IsDependencySpec) GetOrigin ¶ added in v0.4.0
func (v *IsDependencySpec) GetOrigin() *string
GetOrigin returns IsDependencySpec.Origin, and is useful for accessing the field via an interface.
func (*IsDependencySpec) GetPackage ¶ added in v0.4.0
func (v *IsDependencySpec) GetPackage() *PkgSpec
GetPackage returns IsDependencySpec.Package, and is useful for accessing the field via an interface.
type IsOccurrenceInputSpec ¶
type IsOccurrenceInputSpec struct { Justification string `json:"justification"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
IsOccurrenceInputSpec represents the input to record an artifact's origin.
func (*IsOccurrenceInputSpec) GetCollector ¶
func (v *IsOccurrenceInputSpec) GetCollector() string
GetCollector returns IsOccurrenceInputSpec.Collector, and is useful for accessing the field via an interface.
func (*IsOccurrenceInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *IsOccurrenceInputSpec) GetDocumentRef() string
GetDocumentRef returns IsOccurrenceInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*IsOccurrenceInputSpec) GetJustification ¶
func (v *IsOccurrenceInputSpec) GetJustification() string
GetJustification returns IsOccurrenceInputSpec.Justification, and is useful for accessing the field via an interface.
func (*IsOccurrenceInputSpec) GetOrigin ¶
func (v *IsOccurrenceInputSpec) GetOrigin() string
GetOrigin returns IsOccurrenceInputSpec.Origin, and is useful for accessing the field via an interface.
type IsOccurrenceSpec ¶ added in v0.4.0
type IsOccurrenceSpec struct { Id *string `json:"id"` Subject *PackageOrSourceSpec `json:"subject"` Artifact *ArtifactSpec `json:"artifact"` Justification *string `json:"justification"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
IsOccurrenceSpec allows filtering the list of artifact occurences to return in a query.
func (*IsOccurrenceSpec) GetArtifact ¶ added in v0.4.0
func (v *IsOccurrenceSpec) GetArtifact() *ArtifactSpec
GetArtifact returns IsOccurrenceSpec.Artifact, and is useful for accessing the field via an interface.
func (*IsOccurrenceSpec) GetCollector ¶ added in v0.4.0
func (v *IsOccurrenceSpec) GetCollector() *string
GetCollector returns IsOccurrenceSpec.Collector, and is useful for accessing the field via an interface.
func (*IsOccurrenceSpec) GetDocumentRef ¶ added in v0.6.0
func (v *IsOccurrenceSpec) GetDocumentRef() *string
GetDocumentRef returns IsOccurrenceSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*IsOccurrenceSpec) GetId ¶ added in v0.4.0
func (v *IsOccurrenceSpec) GetId() *string
GetId returns IsOccurrenceSpec.Id, and is useful for accessing the field via an interface.
func (*IsOccurrenceSpec) GetJustification ¶ added in v0.4.0
func (v *IsOccurrenceSpec) GetJustification() *string
GetJustification returns IsOccurrenceSpec.Justification, and is useful for accessing the field via an interface.
func (*IsOccurrenceSpec) GetOrigin ¶ added in v0.4.0
func (v *IsOccurrenceSpec) GetOrigin() *string
GetOrigin returns IsOccurrenceSpec.Origin, and is useful for accessing the field via an interface.
func (*IsOccurrenceSpec) GetSubject ¶ added in v0.4.0
func (v *IsOccurrenceSpec) GetSubject() *PackageOrSourceSpec
GetSubject returns IsOccurrenceSpec.Subject, and is useful for accessing the field via an interface.
type LicenseInputSpec ¶ added in v0.2.0
type LicenseInputSpec struct { Name string `json:"name"` Inline *string `json:"inline"` ListVersion *string `json:"listVersion"` }
LicenseInputSpec specifies an license for mutations. One of inline or listVersion should be empty or missing.
func (*LicenseInputSpec) GetInline ¶ added in v0.2.0
func (v *LicenseInputSpec) GetInline() *string
GetInline returns LicenseInputSpec.Inline, and is useful for accessing the field via an interface.
func (*LicenseInputSpec) GetListVersion ¶ added in v0.2.0
func (v *LicenseInputSpec) GetListVersion() *string
GetListVersion returns LicenseInputSpec.ListVersion, and is useful for accessing the field via an interface.
func (*LicenseInputSpec) GetName ¶ added in v0.2.0
func (v *LicenseInputSpec) GetName() string
GetName returns LicenseInputSpec.Name, and is useful for accessing the field via an interface.
type LicenseListLicenseListLicenseConnection ¶ added in v0.7.0
type LicenseListLicenseListLicenseConnection struct { TotalCount int `json:"totalCount"` Edges []LicenseListLicenseListLicenseConnectionEdgesLicenseEdge `json:"edges"` PageInfo LicenseListLicenseListLicenseConnectionPageInfo `json:"pageInfo"` }
LicenseListLicenseListLicenseConnection includes the requested fields of the GraphQL type LicenseConnection. The GraphQL type's documentation follows.
LicenseConnection returns the paginated results for License.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the LicenseEdge which contains the current cursor and the License node itself
func (*LicenseListLicenseListLicenseConnection) GetEdges ¶ added in v0.7.0
func (v *LicenseListLicenseListLicenseConnection) GetEdges() []LicenseListLicenseListLicenseConnectionEdgesLicenseEdge
GetEdges returns LicenseListLicenseListLicenseConnection.Edges, and is useful for accessing the field via an interface.
func (*LicenseListLicenseListLicenseConnection) GetPageInfo ¶ added in v0.7.0
func (v *LicenseListLicenseListLicenseConnection) GetPageInfo() LicenseListLicenseListLicenseConnectionPageInfo
GetPageInfo returns LicenseListLicenseListLicenseConnection.PageInfo, and is useful for accessing the field via an interface.
func (*LicenseListLicenseListLicenseConnection) GetTotalCount ¶ added in v0.7.0
func (v *LicenseListLicenseListLicenseConnection) GetTotalCount() int
GetTotalCount returns LicenseListLicenseListLicenseConnection.TotalCount, and is useful for accessing the field via an interface.
type LicenseListLicenseListLicenseConnectionEdgesLicenseEdge ¶ added in v0.7.0
type LicenseListLicenseListLicenseConnectionEdgesLicenseEdge struct { Cursor string `json:"cursor"` Node LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense `json:"node"` }
LicenseListLicenseListLicenseConnectionEdgesLicenseEdge includes the requested fields of the GraphQL type LicenseEdge. The GraphQL type's documentation follows.
LicenseEdge contains the cursor for the resulting node and the License node itself.
func (*LicenseListLicenseListLicenseConnectionEdgesLicenseEdge) GetCursor ¶ added in v0.7.0
func (v *LicenseListLicenseListLicenseConnectionEdgesLicenseEdge) GetCursor() string
GetCursor returns LicenseListLicenseListLicenseConnectionEdgesLicenseEdge.Cursor, and is useful for accessing the field via an interface.
func (*LicenseListLicenseListLicenseConnectionEdgesLicenseEdge) GetNode ¶ added in v0.7.0
func (v *LicenseListLicenseListLicenseConnectionEdgesLicenseEdge) GetNode() LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense
GetNode returns LicenseListLicenseListLicenseConnectionEdgesLicenseEdge.Node, and is useful for accessing the field via an interface.
type LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense ¶ added in v0.7.0
type LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense struct {
AllLicenseTree `json:"-"`
}
LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense includes the requested fields of the GraphQL type License. The GraphQL type's documentation follows.
License represents a particular license. If the license is found on the SPDX license list (https://spdx.org/licenses/) then the fields should be:
Name: SPDX license identifier Inline: empty ListVersion: SPDX license list version
example:
Name: AGPL-3.0-or-later Inline: "" ListVersion: 3.21 2023-06-18
If the license is not on the SPDX license list, then a new guid should be created and the license text placed inline:
Name: LicenseRef-<guid> Inline: Full license text ListVersion: empty
example:
Name: LicenseRef-1a2b3c Inline: Permission to use, copy, modify, and/or distribute ... ListVersion: ""
func (*LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) GetId ¶ added in v0.7.0
func (v *LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) GetId() string
GetId returns LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense.Id, and is useful for accessing the field via an interface.
func (*LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) GetInline ¶ added in v0.7.0
func (v *LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) GetInline() *string
GetInline returns LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense.Inline, and is useful for accessing the field via an interface.
func (*LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) GetListVersion ¶ added in v0.7.0
func (v *LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) GetListVersion() *string
GetListVersion returns LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense.ListVersion, and is useful for accessing the field via an interface.
func (*LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) GetName ¶ added in v0.7.0
func (v *LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) GetName() string
GetName returns LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense.Name, and is useful for accessing the field via an interface.
func (*LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) MarshalJSON ¶ added in v0.7.0
func (v *LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) MarshalJSON() ([]byte, error)
func (*LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) UnmarshalJSON ¶ added in v0.7.0
func (v *LicenseListLicenseListLicenseConnectionEdgesLicenseEdgeNodeLicense) UnmarshalJSON(b []byte) error
type LicenseListLicenseListLicenseConnectionPageInfo ¶ added in v0.7.0
type LicenseListLicenseListLicenseConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
LicenseListLicenseListLicenseConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*LicenseListLicenseListLicenseConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *LicenseListLicenseListLicenseConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns LicenseListLicenseListLicenseConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*LicenseListLicenseListLicenseConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *LicenseListLicenseListLicenseConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns LicenseListLicenseListLicenseConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*LicenseListLicenseListLicenseConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *LicenseListLicenseListLicenseConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns LicenseListLicenseListLicenseConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type LicenseListResponse ¶ added in v0.7.0
type LicenseListResponse struct { // Returns a paginated results via LicenseConnection LicenseList *LicenseListLicenseListLicenseConnection `json:"licenseList"` }
LicenseListResponse is returned by LicenseList on success.
func LicenseList ¶ added in v0.7.0
func LicenseList( ctx_ context.Context, client_ graphql.Client, filter LicenseSpec, after *string, first *int, ) (*LicenseListResponse, error)
func (*LicenseListResponse) GetLicenseList ¶ added in v0.7.0
func (v *LicenseListResponse) GetLicenseList() *LicenseListLicenseListLicenseConnection
GetLicenseList returns LicenseListResponse.LicenseList, and is useful for accessing the field via an interface.
type LicenseSpec ¶ added in v0.2.0
type LicenseSpec struct { Id *string `json:"id"` Name *string `json:"name"` Inline *string `json:"inline"` ListVersion *string `json:"listVersion"` }
LicenseSpec allows filtering the list of licenses to return in a query.
func (*LicenseSpec) GetId ¶ added in v0.2.0
func (v *LicenseSpec) GetId() *string
GetId returns LicenseSpec.Id, and is useful for accessing the field via an interface.
func (*LicenseSpec) GetInline ¶ added in v0.2.0
func (v *LicenseSpec) GetInline() *string
GetInline returns LicenseSpec.Inline, and is useful for accessing the field via an interface.
func (*LicenseSpec) GetListVersion ¶ added in v0.2.0
func (v *LicenseSpec) GetListVersion() *string
GetListVersion returns LicenseSpec.ListVersion, and is useful for accessing the field via an interface.
func (*LicenseSpec) GetName ¶ added in v0.2.0
func (v *LicenseSpec) GetName() *string
GetName returns LicenseSpec.Name, and is useful for accessing the field via an interface.
type LicensesLicensesLicense ¶ added in v0.2.0
type LicensesLicensesLicense struct {
AllLicenseTree `json:"-"`
}
LicensesLicensesLicense includes the requested fields of the GraphQL type License. The GraphQL type's documentation follows.
License represents a particular license. If the license is found on the SPDX license list (https://spdx.org/licenses/) then the fields should be:
Name: SPDX license identifier Inline: empty ListVersion: SPDX license list version
example:
Name: AGPL-3.0-or-later Inline: "" ListVersion: 3.21 2023-06-18
If the license is not on the SPDX license list, then a new guid should be created and the license text placed inline:
Name: LicenseRef-<guid> Inline: Full license text ListVersion: empty
example:
Name: LicenseRef-1a2b3c Inline: Permission to use, copy, modify, and/or distribute ... ListVersion: ""
func (*LicensesLicensesLicense) GetId ¶ added in v0.2.0
func (v *LicensesLicensesLicense) GetId() string
GetId returns LicensesLicensesLicense.Id, and is useful for accessing the field via an interface.
func (*LicensesLicensesLicense) GetInline ¶ added in v0.2.0
func (v *LicensesLicensesLicense) GetInline() *string
GetInline returns LicensesLicensesLicense.Inline, and is useful for accessing the field via an interface.
func (*LicensesLicensesLicense) GetListVersion ¶ added in v0.2.0
func (v *LicensesLicensesLicense) GetListVersion() *string
GetListVersion returns LicensesLicensesLicense.ListVersion, and is useful for accessing the field via an interface.
func (*LicensesLicensesLicense) GetName ¶ added in v0.2.0
func (v *LicensesLicensesLicense) GetName() string
GetName returns LicensesLicensesLicense.Name, and is useful for accessing the field via an interface.
func (*LicensesLicensesLicense) MarshalJSON ¶ added in v0.2.0
func (v *LicensesLicensesLicense) MarshalJSON() ([]byte, error)
func (*LicensesLicensesLicense) UnmarshalJSON ¶ added in v0.2.0
func (v *LicensesLicensesLicense) UnmarshalJSON(b []byte) error
type LicensesResponse ¶ added in v0.2.0
type LicensesResponse struct { // Returns all licenses matching a filter. Licenses []LicensesLicensesLicense `json:"licenses"` }
LicensesResponse is returned by Licenses on success.
func Licenses ¶ added in v0.2.0
func Licenses( ctx_ context.Context, client_ graphql.Client, filter LicenseSpec, ) (*LicensesResponse, error)
func (*LicensesResponse) GetLicenses ¶ added in v0.2.0
func (v *LicensesResponse) GetLicenses() []LicensesLicensesLicense
GetLicenses returns LicensesResponse.Licenses, and is useful for accessing the field via an interface.
type MatchFlags ¶
type MatchFlags struct {
Pkg PkgMatchType `json:"pkg"`
}
MatchFlags is used to input the PkgMatchType enum.
func (*MatchFlags) GetPkg ¶
func (v *MatchFlags) GetPkg() PkgMatchType
GetPkg returns MatchFlags.Pkg, and is useful for accessing the field via an interface.
type NeighborsNeighborsArtifact ¶
type NeighborsNeighborsArtifact struct { Typename *string `json:"__typename"` AllArtifactTree `json:"-"` }
NeighborsNeighborsArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*NeighborsNeighborsArtifact) GetAlgorithm ¶
func (v *NeighborsNeighborsArtifact) GetAlgorithm() string
GetAlgorithm returns NeighborsNeighborsArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsArtifact) GetDigest ¶
func (v *NeighborsNeighborsArtifact) GetDigest() string
GetDigest returns NeighborsNeighborsArtifact.Digest, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsArtifact) GetId ¶
func (v *NeighborsNeighborsArtifact) GetId() string
GetId returns NeighborsNeighborsArtifact.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsArtifact) GetTypename ¶
func (v *NeighborsNeighborsArtifact) GetTypename() *string
GetTypename returns NeighborsNeighborsArtifact.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsArtifact) MarshalJSON ¶
func (v *NeighborsNeighborsArtifact) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsArtifact) UnmarshalJSON ¶
func (v *NeighborsNeighborsArtifact) UnmarshalJSON(b []byte) error
type NeighborsNeighborsBuilder ¶
type NeighborsNeighborsBuilder struct { Typename *string `json:"__typename"` AllBuilderTree `json:"-"` }
NeighborsNeighborsBuilder includes the requested fields of the GraphQL type Builder. The GraphQL type's documentation follows.
Builder represents the builder (e.g., FRSCA or GitHub Actions).
Currently builders are identified by the uri field.
func (*NeighborsNeighborsBuilder) GetId ¶
func (v *NeighborsNeighborsBuilder) GetId() string
GetId returns NeighborsNeighborsBuilder.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsBuilder) GetTypename ¶
func (v *NeighborsNeighborsBuilder) GetTypename() *string
GetTypename returns NeighborsNeighborsBuilder.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsBuilder) GetUri ¶
func (v *NeighborsNeighborsBuilder) GetUri() string
GetUri returns NeighborsNeighborsBuilder.Uri, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsBuilder) MarshalJSON ¶
func (v *NeighborsNeighborsBuilder) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsBuilder) UnmarshalJSON ¶
func (v *NeighborsNeighborsBuilder) UnmarshalJSON(b []byte) error
type NeighborsNeighborsCertifyBad ¶
type NeighborsNeighborsCertifyBad struct { Typename *string `json:"__typename"` AllCertifyBad `json:"-"` }
NeighborsNeighborsCertifyBad includes the requested fields of the GraphQL type CertifyBad. The GraphQL type's documentation follows.
CertifyBad is an attestation that a package, source, or artifact is considered bad.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The certification applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*NeighborsNeighborsCertifyBad) GetCollector ¶
func (v *NeighborsNeighborsCertifyBad) GetCollector() string
GetCollector returns NeighborsNeighborsCertifyBad.Collector, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyBad) GetId ¶
func (v *NeighborsNeighborsCertifyBad) GetId() string
GetId returns NeighborsNeighborsCertifyBad.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyBad) GetJustification ¶
func (v *NeighborsNeighborsCertifyBad) GetJustification() string
GetJustification returns NeighborsNeighborsCertifyBad.Justification, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyBad) GetKnownSince ¶ added in v0.2.1
func (v *NeighborsNeighborsCertifyBad) GetKnownSince() time.Time
GetKnownSince returns NeighborsNeighborsCertifyBad.KnownSince, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyBad) GetOrigin ¶
func (v *NeighborsNeighborsCertifyBad) GetOrigin() string
GetOrigin returns NeighborsNeighborsCertifyBad.Origin, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyBad) GetSubject ¶
func (v *NeighborsNeighborsCertifyBad) GetSubject() AllCertifyBadSubjectPackageSourceOrArtifact
GetSubject returns NeighborsNeighborsCertifyBad.Subject, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyBad) GetTypename ¶
func (v *NeighborsNeighborsCertifyBad) GetTypename() *string
GetTypename returns NeighborsNeighborsCertifyBad.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyBad) MarshalJSON ¶
func (v *NeighborsNeighborsCertifyBad) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsCertifyBad) UnmarshalJSON ¶
func (v *NeighborsNeighborsCertifyBad) UnmarshalJSON(b []byte) error
type NeighborsNeighborsCertifyGood ¶
type NeighborsNeighborsCertifyGood struct { Typename *string `json:"__typename"` AllCertifyGood `json:"-"` }
NeighborsNeighborsCertifyGood includes the requested fields of the GraphQL type CertifyGood. The GraphQL type's documentation follows.
CertifyGood is an attestation that a package, source, or artifact is considered good.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The certification applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*NeighborsNeighborsCertifyGood) GetCollector ¶
func (v *NeighborsNeighborsCertifyGood) GetCollector() string
GetCollector returns NeighborsNeighborsCertifyGood.Collector, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyGood) GetId ¶
func (v *NeighborsNeighborsCertifyGood) GetId() string
GetId returns NeighborsNeighborsCertifyGood.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyGood) GetJustification ¶
func (v *NeighborsNeighborsCertifyGood) GetJustification() string
GetJustification returns NeighborsNeighborsCertifyGood.Justification, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyGood) GetKnownSince ¶ added in v0.2.1
func (v *NeighborsNeighborsCertifyGood) GetKnownSince() time.Time
GetKnownSince returns NeighborsNeighborsCertifyGood.KnownSince, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyGood) GetOrigin ¶
func (v *NeighborsNeighborsCertifyGood) GetOrigin() string
GetOrigin returns NeighborsNeighborsCertifyGood.Origin, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyGood) GetSubject ¶
func (v *NeighborsNeighborsCertifyGood) GetSubject() AllCertifyGoodSubjectPackageSourceOrArtifact
GetSubject returns NeighborsNeighborsCertifyGood.Subject, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyGood) GetTypename ¶
func (v *NeighborsNeighborsCertifyGood) GetTypename() *string
GetTypename returns NeighborsNeighborsCertifyGood.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyGood) MarshalJSON ¶
func (v *NeighborsNeighborsCertifyGood) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsCertifyGood) UnmarshalJSON ¶
func (v *NeighborsNeighborsCertifyGood) UnmarshalJSON(b []byte) error
type NeighborsNeighborsCertifyLegal ¶ added in v0.2.0
type NeighborsNeighborsCertifyLegal struct { Typename *string `json:"__typename"` AllCertifyLegalTree `json:"-"` }
NeighborsNeighborsCertifyLegal includes the requested fields of the GraphQL type CertifyLegal. The GraphQL type's documentation follows.
CertifyLegal is an attestation to attach legal information to a package or source.
The certification information is either copied from an attestation found in an SBOM or created by a collector/scanner.
Discovered license is also known as Concluded. More information: https://docs.clearlydefined.io/docs/curation/curation-guidelines#the-difference-between-declared-and-discovered-licenses
Attribution is also known as Copyright Text. It is what could be displayed to comply with notice requirements. https://www.nexb.com/oss-attribution-best-practices/
License expressions follow this format: https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/
func (*NeighborsNeighborsCertifyLegal) GetAttribution ¶ added in v0.2.0
func (v *NeighborsNeighborsCertifyLegal) GetAttribution() string
GetAttribution returns NeighborsNeighborsCertifyLegal.Attribution, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyLegal) GetCollector ¶ added in v0.2.0
func (v *NeighborsNeighborsCertifyLegal) GetCollector() string
GetCollector returns NeighborsNeighborsCertifyLegal.Collector, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyLegal) GetDeclaredLicense ¶ added in v0.2.0
func (v *NeighborsNeighborsCertifyLegal) GetDeclaredLicense() string
GetDeclaredLicense returns NeighborsNeighborsCertifyLegal.DeclaredLicense, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyLegal) GetDeclaredLicenses ¶ added in v0.2.0
func (v *NeighborsNeighborsCertifyLegal) GetDeclaredLicenses() []AllCertifyLegalTreeDeclaredLicensesLicense
GetDeclaredLicenses returns NeighborsNeighborsCertifyLegal.DeclaredLicenses, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyLegal) GetDiscoveredLicense ¶ added in v0.2.0
func (v *NeighborsNeighborsCertifyLegal) GetDiscoveredLicense() string
GetDiscoveredLicense returns NeighborsNeighborsCertifyLegal.DiscoveredLicense, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyLegal) GetDiscoveredLicenses ¶ added in v0.2.0
func (v *NeighborsNeighborsCertifyLegal) GetDiscoveredLicenses() []AllCertifyLegalTreeDiscoveredLicensesLicense
GetDiscoveredLicenses returns NeighborsNeighborsCertifyLegal.DiscoveredLicenses, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyLegal) GetId ¶ added in v0.2.0
func (v *NeighborsNeighborsCertifyLegal) GetId() string
GetId returns NeighborsNeighborsCertifyLegal.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyLegal) GetJustification ¶ added in v0.2.0
func (v *NeighborsNeighborsCertifyLegal) GetJustification() string
GetJustification returns NeighborsNeighborsCertifyLegal.Justification, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyLegal) GetOrigin ¶ added in v0.2.0
func (v *NeighborsNeighborsCertifyLegal) GetOrigin() string
GetOrigin returns NeighborsNeighborsCertifyLegal.Origin, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyLegal) GetSubject ¶ added in v0.2.0
func (v *NeighborsNeighborsCertifyLegal) GetSubject() AllCertifyLegalTreeSubjectPackageOrSource
GetSubject returns NeighborsNeighborsCertifyLegal.Subject, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyLegal) GetTimeScanned ¶ added in v0.2.0
func (v *NeighborsNeighborsCertifyLegal) GetTimeScanned() time.Time
GetTimeScanned returns NeighborsNeighborsCertifyLegal.TimeScanned, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyLegal) GetTypename ¶ added in v0.2.0
func (v *NeighborsNeighborsCertifyLegal) GetTypename() *string
GetTypename returns NeighborsNeighborsCertifyLegal.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyLegal) MarshalJSON ¶ added in v0.2.0
func (v *NeighborsNeighborsCertifyLegal) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsCertifyLegal) UnmarshalJSON ¶ added in v0.2.0
func (v *NeighborsNeighborsCertifyLegal) UnmarshalJSON(b []byte) error
type NeighborsNeighborsCertifyScorecard ¶
type NeighborsNeighborsCertifyScorecard struct { Typename *string `json:"__typename"` AllCertifyScorecard `json:"-"` }
NeighborsNeighborsCertifyScorecard includes the requested fields of the GraphQL type CertifyScorecard. The GraphQL type's documentation follows.
CertifyScorecard is an attestation to attach a Scorecard analysis to a particular source repository.
func (*NeighborsNeighborsCertifyScorecard) GetId ¶
func (v *NeighborsNeighborsCertifyScorecard) GetId() string
GetId returns NeighborsNeighborsCertifyScorecard.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyScorecard) GetScorecard ¶
func (v *NeighborsNeighborsCertifyScorecard) GetScorecard() AllCertifyScorecardScorecard
GetScorecard returns NeighborsNeighborsCertifyScorecard.Scorecard, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyScorecard) GetSource ¶
func (v *NeighborsNeighborsCertifyScorecard) GetSource() AllCertifyScorecardSource
GetSource returns NeighborsNeighborsCertifyScorecard.Source, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyScorecard) GetTypename ¶
func (v *NeighborsNeighborsCertifyScorecard) GetTypename() *string
GetTypename returns NeighborsNeighborsCertifyScorecard.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyScorecard) MarshalJSON ¶
func (v *NeighborsNeighborsCertifyScorecard) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsCertifyScorecard) UnmarshalJSON ¶
func (v *NeighborsNeighborsCertifyScorecard) UnmarshalJSON(b []byte) error
type NeighborsNeighborsCertifyVEXStatement ¶
type NeighborsNeighborsCertifyVEXStatement struct { Typename *string `json:"__typename"` AllCertifyVEXStatement `json:"-"` }
NeighborsNeighborsCertifyVEXStatement includes the requested fields of the GraphQL type CertifyVEXStatement. The GraphQL type's documentation follows.
CertifyVEXStatement is an attestation to attach VEX statements to a package or artifact to clarify the impact of a specific vulnerability.
func (*NeighborsNeighborsCertifyVEXStatement) GetCollector ¶
func (v *NeighborsNeighborsCertifyVEXStatement) GetCollector() string
GetCollector returns NeighborsNeighborsCertifyVEXStatement.Collector, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVEXStatement) GetId ¶
func (v *NeighborsNeighborsCertifyVEXStatement) GetId() string
GetId returns NeighborsNeighborsCertifyVEXStatement.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVEXStatement) GetKnownSince ¶
func (v *NeighborsNeighborsCertifyVEXStatement) GetKnownSince() time.Time
GetKnownSince returns NeighborsNeighborsCertifyVEXStatement.KnownSince, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVEXStatement) GetOrigin ¶
func (v *NeighborsNeighborsCertifyVEXStatement) GetOrigin() string
GetOrigin returns NeighborsNeighborsCertifyVEXStatement.Origin, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVEXStatement) GetStatement ¶
func (v *NeighborsNeighborsCertifyVEXStatement) GetStatement() string
GetStatement returns NeighborsNeighborsCertifyVEXStatement.Statement, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVEXStatement) GetStatus ¶
func (v *NeighborsNeighborsCertifyVEXStatement) GetStatus() VexStatus
GetStatus returns NeighborsNeighborsCertifyVEXStatement.Status, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVEXStatement) GetStatusNotes ¶
func (v *NeighborsNeighborsCertifyVEXStatement) GetStatusNotes() string
GetStatusNotes returns NeighborsNeighborsCertifyVEXStatement.StatusNotes, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVEXStatement) GetSubject ¶
func (v *NeighborsNeighborsCertifyVEXStatement) GetSubject() AllCertifyVEXStatementSubjectPackageOrArtifact
GetSubject returns NeighborsNeighborsCertifyVEXStatement.Subject, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVEXStatement) GetTypename ¶
func (v *NeighborsNeighborsCertifyVEXStatement) GetTypename() *string
GetTypename returns NeighborsNeighborsCertifyVEXStatement.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVEXStatement) GetVexJustification ¶
func (v *NeighborsNeighborsCertifyVEXStatement) GetVexJustification() VexJustification
GetVexJustification returns NeighborsNeighborsCertifyVEXStatement.VexJustification, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVEXStatement) GetVulnerability ¶
func (v *NeighborsNeighborsCertifyVEXStatement) GetVulnerability() AllCertifyVEXStatementVulnerability
GetVulnerability returns NeighborsNeighborsCertifyVEXStatement.Vulnerability, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVEXStatement) MarshalJSON ¶
func (v *NeighborsNeighborsCertifyVEXStatement) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsCertifyVEXStatement) UnmarshalJSON ¶
func (v *NeighborsNeighborsCertifyVEXStatement) UnmarshalJSON(b []byte) error
type NeighborsNeighborsCertifyVuln ¶
type NeighborsNeighborsCertifyVuln struct { Typename *string `json:"__typename"` AllCertifyVuln `json:"-"` }
NeighborsNeighborsCertifyVuln includes the requested fields of the GraphQL type CertifyVuln. The GraphQL type's documentation follows.
CertifyVuln is an attestation to attach vulnerability information to a package.
This information is obtained via a scanner. If there is no vulnerability detected, we attach the a vulnerability with "NoVuln" type and an empty string for the vulnerability ID.
func (*NeighborsNeighborsCertifyVuln) GetId ¶
func (v *NeighborsNeighborsCertifyVuln) GetId() string
GetId returns NeighborsNeighborsCertifyVuln.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVuln) GetMetadata ¶
func (v *NeighborsNeighborsCertifyVuln) GetMetadata() AllCertifyVulnMetadataScanMetadata
GetMetadata returns NeighborsNeighborsCertifyVuln.Metadata, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVuln) GetPackage ¶
func (v *NeighborsNeighborsCertifyVuln) GetPackage() AllCertifyVulnPackage
GetPackage returns NeighborsNeighborsCertifyVuln.Package, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVuln) GetTypename ¶
func (v *NeighborsNeighborsCertifyVuln) GetTypename() *string
GetTypename returns NeighborsNeighborsCertifyVuln.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVuln) GetVulnerability ¶
func (v *NeighborsNeighborsCertifyVuln) GetVulnerability() AllCertifyVulnVulnerability
GetVulnerability returns NeighborsNeighborsCertifyVuln.Vulnerability, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsCertifyVuln) MarshalJSON ¶
func (v *NeighborsNeighborsCertifyVuln) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsCertifyVuln) UnmarshalJSON ¶
func (v *NeighborsNeighborsCertifyVuln) UnmarshalJSON(b []byte) error
type NeighborsNeighborsHasMetadata ¶ added in v0.1.1
type NeighborsNeighborsHasMetadata struct { Typename *string `json:"__typename"` AllHasMetadata `json:"-"` }
NeighborsNeighborsHasMetadata includes the requested fields of the GraphQL type HasMetadata. The GraphQL type's documentation follows.
HasMetadata is an attestation that a package, source, or artifact has a certain attested property (key) with value (value). For example, a source may have metadata "SourceRepo2FAEnabled=true".
The intent of this evidence tree predicate is to allow extensibility of metadata expressible within the GUAC ontology. Metadata that is commonly used will then be promoted to a predicate on its own.
Justification indicates how the metadata was determined.
The metadata applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*NeighborsNeighborsHasMetadata) GetCollector ¶ added in v0.2.0
func (v *NeighborsNeighborsHasMetadata) GetCollector() string
GetCollector returns NeighborsNeighborsHasMetadata.Collector, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasMetadata) GetId ¶ added in v0.2.0
func (v *NeighborsNeighborsHasMetadata) GetId() string
GetId returns NeighborsNeighborsHasMetadata.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasMetadata) GetJustification ¶ added in v0.2.0
func (v *NeighborsNeighborsHasMetadata) GetJustification() string
GetJustification returns NeighborsNeighborsHasMetadata.Justification, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasMetadata) GetKey ¶ added in v0.2.0
func (v *NeighborsNeighborsHasMetadata) GetKey() string
GetKey returns NeighborsNeighborsHasMetadata.Key, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasMetadata) GetOrigin ¶ added in v0.2.0
func (v *NeighborsNeighborsHasMetadata) GetOrigin() string
GetOrigin returns NeighborsNeighborsHasMetadata.Origin, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasMetadata) GetSubject ¶ added in v0.2.0
func (v *NeighborsNeighborsHasMetadata) GetSubject() AllHasMetadataSubjectPackageSourceOrArtifact
GetSubject returns NeighborsNeighborsHasMetadata.Subject, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasMetadata) GetTimestamp ¶ added in v0.2.0
func (v *NeighborsNeighborsHasMetadata) GetTimestamp() time.Time
GetTimestamp returns NeighborsNeighborsHasMetadata.Timestamp, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasMetadata) GetTypename ¶ added in v0.1.1
func (v *NeighborsNeighborsHasMetadata) GetTypename() *string
GetTypename returns NeighborsNeighborsHasMetadata.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasMetadata) GetValue ¶ added in v0.2.0
func (v *NeighborsNeighborsHasMetadata) GetValue() string
GetValue returns NeighborsNeighborsHasMetadata.Value, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasMetadata) MarshalJSON ¶ added in v0.2.0
func (v *NeighborsNeighborsHasMetadata) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsHasMetadata) UnmarshalJSON ¶ added in v0.2.0
func (v *NeighborsNeighborsHasMetadata) UnmarshalJSON(b []byte) error
type NeighborsNeighborsHasSBOM ¶
type NeighborsNeighborsHasSBOM struct { Typename *string `json:"__typename"` AllHasSBOMTree `json:"-"` }
NeighborsNeighborsHasSBOM includes the requested fields of the GraphQL type HasSBOM.
func (*NeighborsNeighborsHasSBOM) GetAlgorithm ¶
func (v *NeighborsNeighborsHasSBOM) GetAlgorithm() string
GetAlgorithm returns NeighborsNeighborsHasSBOM.Algorithm, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSBOM) GetCollector ¶
func (v *NeighborsNeighborsHasSBOM) GetCollector() string
GetCollector returns NeighborsNeighborsHasSBOM.Collector, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSBOM) GetDigest ¶
func (v *NeighborsNeighborsHasSBOM) GetDigest() string
GetDigest returns NeighborsNeighborsHasSBOM.Digest, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSBOM) GetDocumentRef ¶ added in v0.8.3
func (v *NeighborsNeighborsHasSBOM) GetDocumentRef() string
GetDocumentRef returns NeighborsNeighborsHasSBOM.DocumentRef, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSBOM) GetDownloadLocation ¶
func (v *NeighborsNeighborsHasSBOM) GetDownloadLocation() string
GetDownloadLocation returns NeighborsNeighborsHasSBOM.DownloadLocation, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSBOM) GetId ¶
func (v *NeighborsNeighborsHasSBOM) GetId() string
GetId returns NeighborsNeighborsHasSBOM.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSBOM) GetIncludedDependencies ¶ added in v0.4.0
func (v *NeighborsNeighborsHasSBOM) GetIncludedDependencies() []AllHasSBOMTreeIncludedDependenciesIsDependency
GetIncludedDependencies returns NeighborsNeighborsHasSBOM.IncludedDependencies, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSBOM) GetIncludedOccurrences ¶ added in v0.4.0
func (v *NeighborsNeighborsHasSBOM) GetIncludedOccurrences() []AllHasSBOMTreeIncludedOccurrencesIsOccurrence
GetIncludedOccurrences returns NeighborsNeighborsHasSBOM.IncludedOccurrences, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSBOM) GetIncludedSoftware ¶ added in v0.4.0
func (v *NeighborsNeighborsHasSBOM) GetIncludedSoftware() []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
GetIncludedSoftware returns NeighborsNeighborsHasSBOM.IncludedSoftware, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSBOM) GetKnownSince ¶ added in v0.2.1
func (v *NeighborsNeighborsHasSBOM) GetKnownSince() time.Time
GetKnownSince returns NeighborsNeighborsHasSBOM.KnownSince, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSBOM) GetOrigin ¶
func (v *NeighborsNeighborsHasSBOM) GetOrigin() string
GetOrigin returns NeighborsNeighborsHasSBOM.Origin, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSBOM) GetSubject ¶
func (v *NeighborsNeighborsHasSBOM) GetSubject() AllHasSBOMTreeSubjectPackageOrArtifact
GetSubject returns NeighborsNeighborsHasSBOM.Subject, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSBOM) GetTypename ¶
func (v *NeighborsNeighborsHasSBOM) GetTypename() *string
GetTypename returns NeighborsNeighborsHasSBOM.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSBOM) GetUri ¶
func (v *NeighborsNeighborsHasSBOM) GetUri() string
GetUri returns NeighborsNeighborsHasSBOM.Uri, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSBOM) MarshalJSON ¶
func (v *NeighborsNeighborsHasSBOM) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsHasSBOM) UnmarshalJSON ¶
func (v *NeighborsNeighborsHasSBOM) UnmarshalJSON(b []byte) error
type NeighborsNeighborsHasSLSA ¶
type NeighborsNeighborsHasSLSA struct { Typename *string `json:"__typename"` AllSLSATree `json:"-"` }
NeighborsNeighborsHasSLSA includes the requested fields of the GraphQL type HasSLSA. The GraphQL type's documentation follows.
HasSLSA records that a subject node has a SLSA attestation.
func (*NeighborsNeighborsHasSLSA) GetId ¶
func (v *NeighborsNeighborsHasSLSA) GetId() string
GetId returns NeighborsNeighborsHasSLSA.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSLSA) GetSlsa ¶
func (v *NeighborsNeighborsHasSLSA) GetSlsa() AllSLSATreeSlsaSLSA
GetSlsa returns NeighborsNeighborsHasSLSA.Slsa, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSLSA) GetSubject ¶
func (v *NeighborsNeighborsHasSLSA) GetSubject() AllSLSATreeSubjectArtifact
GetSubject returns NeighborsNeighborsHasSLSA.Subject, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSLSA) GetTypename ¶
func (v *NeighborsNeighborsHasSLSA) GetTypename() *string
GetTypename returns NeighborsNeighborsHasSLSA.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSLSA) MarshalJSON ¶
func (v *NeighborsNeighborsHasSLSA) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsHasSLSA) UnmarshalJSON ¶
func (v *NeighborsNeighborsHasSLSA) UnmarshalJSON(b []byte) error
type NeighborsNeighborsHasSourceAt ¶
type NeighborsNeighborsHasSourceAt struct { Typename *string `json:"__typename"` AllHasSourceAt `json:"-"` }
NeighborsNeighborsHasSourceAt includes the requested fields of the GraphQL type HasSourceAt. The GraphQL type's documentation follows.
HasSourceAt records that a package's repository is a given source.
func (*NeighborsNeighborsHasSourceAt) GetCollector ¶
func (v *NeighborsNeighborsHasSourceAt) GetCollector() string
GetCollector returns NeighborsNeighborsHasSourceAt.Collector, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSourceAt) GetId ¶
func (v *NeighborsNeighborsHasSourceAt) GetId() string
GetId returns NeighborsNeighborsHasSourceAt.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSourceAt) GetJustification ¶
func (v *NeighborsNeighborsHasSourceAt) GetJustification() string
GetJustification returns NeighborsNeighborsHasSourceAt.Justification, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSourceAt) GetKnownSince ¶
func (v *NeighborsNeighborsHasSourceAt) GetKnownSince() time.Time
GetKnownSince returns NeighborsNeighborsHasSourceAt.KnownSince, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSourceAt) GetOrigin ¶
func (v *NeighborsNeighborsHasSourceAt) GetOrigin() string
GetOrigin returns NeighborsNeighborsHasSourceAt.Origin, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSourceAt) GetPackage ¶
func (v *NeighborsNeighborsHasSourceAt) GetPackage() AllHasSourceAtPackage
GetPackage returns NeighborsNeighborsHasSourceAt.Package, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSourceAt) GetSource ¶
func (v *NeighborsNeighborsHasSourceAt) GetSource() AllHasSourceAtSource
GetSource returns NeighborsNeighborsHasSourceAt.Source, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSourceAt) GetTypename ¶
func (v *NeighborsNeighborsHasSourceAt) GetTypename() *string
GetTypename returns NeighborsNeighborsHasSourceAt.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHasSourceAt) MarshalJSON ¶
func (v *NeighborsNeighborsHasSourceAt) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsHasSourceAt) UnmarshalJSON ¶
func (v *NeighborsNeighborsHasSourceAt) UnmarshalJSON(b []byte) error
type NeighborsNeighborsHashEqual ¶
type NeighborsNeighborsHashEqual struct { Typename *string `json:"__typename"` AllHashEqualTree `json:"-"` }
NeighborsNeighborsHashEqual includes the requested fields of the GraphQL type HashEqual. The GraphQL type's documentation follows.
HashEqual is an attestation that two artifacts are identical.
func (*NeighborsNeighborsHashEqual) GetArtifacts ¶
func (v *NeighborsNeighborsHashEqual) GetArtifacts() []AllHashEqualTreeArtifactsArtifact
GetArtifacts returns NeighborsNeighborsHashEqual.Artifacts, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHashEqual) GetCollector ¶
func (v *NeighborsNeighborsHashEqual) GetCollector() string
GetCollector returns NeighborsNeighborsHashEqual.Collector, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHashEqual) GetId ¶
func (v *NeighborsNeighborsHashEqual) GetId() string
GetId returns NeighborsNeighborsHashEqual.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHashEqual) GetJustification ¶
func (v *NeighborsNeighborsHashEqual) GetJustification() string
GetJustification returns NeighborsNeighborsHashEqual.Justification, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHashEqual) GetOrigin ¶
func (v *NeighborsNeighborsHashEqual) GetOrigin() string
GetOrigin returns NeighborsNeighborsHashEqual.Origin, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHashEqual) GetTypename ¶
func (v *NeighborsNeighborsHashEqual) GetTypename() *string
GetTypename returns NeighborsNeighborsHashEqual.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsHashEqual) MarshalJSON ¶
func (v *NeighborsNeighborsHashEqual) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsHashEqual) UnmarshalJSON ¶
func (v *NeighborsNeighborsHashEqual) UnmarshalJSON(b []byte) error
type NeighborsNeighborsIsDependency ¶
type NeighborsNeighborsIsDependency struct { Typename *string `json:"__typename"` AllIsDependencyTree `json:"-"` }
NeighborsNeighborsIsDependency includes the requested fields of the GraphQL type IsDependency. The GraphQL type's documentation follows.
IsDependency is an attestation to record that a package depends on another.
func (*NeighborsNeighborsIsDependency) GetCollector ¶
func (v *NeighborsNeighborsIsDependency) GetCollector() string
GetCollector returns NeighborsNeighborsIsDependency.Collector, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsDependency) GetDependencyPackage ¶ added in v0.2.0
func (v *NeighborsNeighborsIsDependency) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
GetDependencyPackage returns NeighborsNeighborsIsDependency.DependencyPackage, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsDependency) GetDependencyType ¶
func (v *NeighborsNeighborsIsDependency) GetDependencyType() DependencyType
GetDependencyType returns NeighborsNeighborsIsDependency.DependencyType, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsDependency) GetId ¶
func (v *NeighborsNeighborsIsDependency) GetId() string
GetId returns NeighborsNeighborsIsDependency.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsDependency) GetJustification ¶
func (v *NeighborsNeighborsIsDependency) GetJustification() string
GetJustification returns NeighborsNeighborsIsDependency.Justification, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsDependency) GetOrigin ¶
func (v *NeighborsNeighborsIsDependency) GetOrigin() string
GetOrigin returns NeighborsNeighborsIsDependency.Origin, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsDependency) GetPackage ¶
func (v *NeighborsNeighborsIsDependency) GetPackage() AllIsDependencyTreePackage
GetPackage returns NeighborsNeighborsIsDependency.Package, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsDependency) GetTypename ¶
func (v *NeighborsNeighborsIsDependency) GetTypename() *string
GetTypename returns NeighborsNeighborsIsDependency.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsDependency) MarshalJSON ¶
func (v *NeighborsNeighborsIsDependency) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsIsDependency) UnmarshalJSON ¶
func (v *NeighborsNeighborsIsDependency) UnmarshalJSON(b []byte) error
type NeighborsNeighborsIsOccurrence ¶
type NeighborsNeighborsIsOccurrence struct { Typename *string `json:"__typename"` AllIsOccurrencesTree `json:"-"` }
NeighborsNeighborsIsOccurrence includes the requested fields of the GraphQL type IsOccurrence. The GraphQL type's documentation follows.
IsOccurrence is an attestation to link an artifact to a package or source.
Attestation must occur at the PackageVersion or at the SourceName.
func (*NeighborsNeighborsIsOccurrence) GetArtifact ¶
func (v *NeighborsNeighborsIsOccurrence) GetArtifact() AllIsOccurrencesTreeArtifact
GetArtifact returns NeighborsNeighborsIsOccurrence.Artifact, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsOccurrence) GetCollector ¶
func (v *NeighborsNeighborsIsOccurrence) GetCollector() string
GetCollector returns NeighborsNeighborsIsOccurrence.Collector, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsOccurrence) GetId ¶
func (v *NeighborsNeighborsIsOccurrence) GetId() string
GetId returns NeighborsNeighborsIsOccurrence.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsOccurrence) GetJustification ¶
func (v *NeighborsNeighborsIsOccurrence) GetJustification() string
GetJustification returns NeighborsNeighborsIsOccurrence.Justification, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsOccurrence) GetOrigin ¶
func (v *NeighborsNeighborsIsOccurrence) GetOrigin() string
GetOrigin returns NeighborsNeighborsIsOccurrence.Origin, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsOccurrence) GetSubject ¶
func (v *NeighborsNeighborsIsOccurrence) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
GetSubject returns NeighborsNeighborsIsOccurrence.Subject, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsOccurrence) GetTypename ¶
func (v *NeighborsNeighborsIsOccurrence) GetTypename() *string
GetTypename returns NeighborsNeighborsIsOccurrence.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsIsOccurrence) MarshalJSON ¶
func (v *NeighborsNeighborsIsOccurrence) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsIsOccurrence) UnmarshalJSON ¶
func (v *NeighborsNeighborsIsOccurrence) UnmarshalJSON(b []byte) error
type NeighborsNeighborsLicense ¶ added in v0.2.0
type NeighborsNeighborsLicense struct { Typename *string `json:"__typename"` AllLicenseTree `json:"-"` }
NeighborsNeighborsLicense includes the requested fields of the GraphQL type License. The GraphQL type's documentation follows.
License represents a particular license. If the license is found on the SPDX license list (https://spdx.org/licenses/) then the fields should be:
Name: SPDX license identifier Inline: empty ListVersion: SPDX license list version
example:
Name: AGPL-3.0-or-later Inline: "" ListVersion: 3.21 2023-06-18
If the license is not on the SPDX license list, then a new guid should be created and the license text placed inline:
Name: LicenseRef-<guid> Inline: Full license text ListVersion: empty
example:
Name: LicenseRef-1a2b3c Inline: Permission to use, copy, modify, and/or distribute ... ListVersion: ""
func (*NeighborsNeighborsLicense) GetId ¶ added in v0.2.0
func (v *NeighborsNeighborsLicense) GetId() string
GetId returns NeighborsNeighborsLicense.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsLicense) GetInline ¶ added in v0.2.0
func (v *NeighborsNeighborsLicense) GetInline() *string
GetInline returns NeighborsNeighborsLicense.Inline, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsLicense) GetListVersion ¶ added in v0.2.0
func (v *NeighborsNeighborsLicense) GetListVersion() *string
GetListVersion returns NeighborsNeighborsLicense.ListVersion, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsLicense) GetName ¶ added in v0.2.0
func (v *NeighborsNeighborsLicense) GetName() string
GetName returns NeighborsNeighborsLicense.Name, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsLicense) GetTypename ¶ added in v0.2.0
func (v *NeighborsNeighborsLicense) GetTypename() *string
GetTypename returns NeighborsNeighborsLicense.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsLicense) MarshalJSON ¶ added in v0.2.0
func (v *NeighborsNeighborsLicense) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsLicense) UnmarshalJSON ¶ added in v0.2.0
func (v *NeighborsNeighborsLicense) UnmarshalJSON(b []byte) error
type NeighborsNeighborsNode ¶
type NeighborsNeighborsNode interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() *string // contains filtered or unexported methods }
NeighborsNeighborsNode includes the requested fields of the GraphQL interface Node.
NeighborsNeighborsNode is implemented by the following types: NeighborsNeighborsArtifact NeighborsNeighborsBuilder NeighborsNeighborsCertifyBad NeighborsNeighborsCertifyGood NeighborsNeighborsCertifyLegal NeighborsNeighborsCertifyScorecard NeighborsNeighborsCertifyVEXStatement NeighborsNeighborsCertifyVuln NeighborsNeighborsHasMetadata NeighborsNeighborsHasSBOM NeighborsNeighborsHasSLSA NeighborsNeighborsHasSourceAt NeighborsNeighborsHashEqual NeighborsNeighborsIsDependency NeighborsNeighborsIsOccurrence NeighborsNeighborsLicense NeighborsNeighborsPackage NeighborsNeighborsPkgEqual NeighborsNeighborsPointOfContact NeighborsNeighborsSource NeighborsNeighborsVulnEqual NeighborsNeighborsVulnerability NeighborsNeighborsVulnerabilityMetadata The GraphQL type's documentation follows.
Node is a union type of all the possible nodes.
It encapsulates the software tree nodes along with the evidence nodes. In a path query, all connecting evidence nodes along with their intermediate subject nodes need to be returned in order to create a complete graph.
type NeighborsNeighborsPackage ¶
type NeighborsNeighborsPackage struct { Typename *string `json:"__typename"` AllPkgTree `json:"-"` }
NeighborsNeighborsPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*NeighborsNeighborsPackage) GetId ¶
func (v *NeighborsNeighborsPackage) GetId() string
GetId returns NeighborsNeighborsPackage.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPackage) GetNamespaces ¶
func (v *NeighborsNeighborsPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns NeighborsNeighborsPackage.Namespaces, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPackage) GetType ¶
func (v *NeighborsNeighborsPackage) GetType() string
GetType returns NeighborsNeighborsPackage.Type, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPackage) GetTypename ¶
func (v *NeighborsNeighborsPackage) GetTypename() *string
GetTypename returns NeighborsNeighborsPackage.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPackage) MarshalJSON ¶
func (v *NeighborsNeighborsPackage) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsPackage) UnmarshalJSON ¶
func (v *NeighborsNeighborsPackage) UnmarshalJSON(b []byte) error
type NeighborsNeighborsPkgEqual ¶
type NeighborsNeighborsPkgEqual struct { Typename *string `json:"__typename"` AllPkgEqual `json:"-"` }
NeighborsNeighborsPkgEqual includes the requested fields of the GraphQL type PkgEqual. The GraphQL type's documentation follows.
PkgEqual is an attestation that two packages are similar.
func (*NeighborsNeighborsPkgEqual) GetCollector ¶
func (v *NeighborsNeighborsPkgEqual) GetCollector() string
GetCollector returns NeighborsNeighborsPkgEqual.Collector, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPkgEqual) GetId ¶
func (v *NeighborsNeighborsPkgEqual) GetId() string
GetId returns NeighborsNeighborsPkgEqual.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPkgEqual) GetJustification ¶
func (v *NeighborsNeighborsPkgEqual) GetJustification() string
GetJustification returns NeighborsNeighborsPkgEqual.Justification, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPkgEqual) GetOrigin ¶
func (v *NeighborsNeighborsPkgEqual) GetOrigin() string
GetOrigin returns NeighborsNeighborsPkgEqual.Origin, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPkgEqual) GetPackages ¶
func (v *NeighborsNeighborsPkgEqual) GetPackages() []AllPkgEqualPackagesPackage
GetPackages returns NeighborsNeighborsPkgEqual.Packages, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPkgEqual) GetTypename ¶
func (v *NeighborsNeighborsPkgEqual) GetTypename() *string
GetTypename returns NeighborsNeighborsPkgEqual.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPkgEqual) MarshalJSON ¶
func (v *NeighborsNeighborsPkgEqual) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsPkgEqual) UnmarshalJSON ¶
func (v *NeighborsNeighborsPkgEqual) UnmarshalJSON(b []byte) error
type NeighborsNeighborsPointOfContact ¶ added in v0.1.1
type NeighborsNeighborsPointOfContact struct { Typename *string `json:"__typename"` AllPointOfContact `json:"-"` }
NeighborsNeighborsPointOfContact includes the requested fields of the GraphQL type PointOfContact. The GraphQL type's documentation follows.
PointOfContact is an attestation of how to get in touch with the person(s) responsible for a package, source, or artifact.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The attestation applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
email is the email address (singular) of the point of contact.
info is additional contact information other than email address. This is free form.
NOTE: the identifiers for point of contact should be part of software trees. This will benefit from identifier look up and traversal as well as organization hierarchy. However, until the use case arises, PointOfContact will be a flat reference to the contact details.
func (*NeighborsNeighborsPointOfContact) GetCollector ¶ added in v0.1.2
func (v *NeighborsNeighborsPointOfContact) GetCollector() string
GetCollector returns NeighborsNeighborsPointOfContact.Collector, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPointOfContact) GetEmail ¶ added in v0.1.2
func (v *NeighborsNeighborsPointOfContact) GetEmail() string
GetEmail returns NeighborsNeighborsPointOfContact.Email, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPointOfContact) GetId ¶ added in v0.1.2
func (v *NeighborsNeighborsPointOfContact) GetId() string
GetId returns NeighborsNeighborsPointOfContact.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPointOfContact) GetInfo ¶ added in v0.1.2
func (v *NeighborsNeighborsPointOfContact) GetInfo() string
GetInfo returns NeighborsNeighborsPointOfContact.Info, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPointOfContact) GetJustification ¶ added in v0.1.2
func (v *NeighborsNeighborsPointOfContact) GetJustification() string
GetJustification returns NeighborsNeighborsPointOfContact.Justification, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPointOfContact) GetOrigin ¶ added in v0.1.2
func (v *NeighborsNeighborsPointOfContact) GetOrigin() string
GetOrigin returns NeighborsNeighborsPointOfContact.Origin, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPointOfContact) GetSince ¶ added in v0.1.2
func (v *NeighborsNeighborsPointOfContact) GetSince() time.Time
GetSince returns NeighborsNeighborsPointOfContact.Since, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPointOfContact) GetSubject ¶ added in v0.1.2
func (v *NeighborsNeighborsPointOfContact) GetSubject() AllPointOfContactSubjectPackageSourceOrArtifact
GetSubject returns NeighborsNeighborsPointOfContact.Subject, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPointOfContact) GetTypename ¶ added in v0.1.1
func (v *NeighborsNeighborsPointOfContact) GetTypename() *string
GetTypename returns NeighborsNeighborsPointOfContact.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsPointOfContact) MarshalJSON ¶ added in v0.1.2
func (v *NeighborsNeighborsPointOfContact) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsPointOfContact) UnmarshalJSON ¶ added in v0.1.2
func (v *NeighborsNeighborsPointOfContact) UnmarshalJSON(b []byte) error
type NeighborsNeighborsSource ¶
type NeighborsNeighborsSource struct { Typename *string `json:"__typename"` AllSourceTree `json:"-"` }
NeighborsNeighborsSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*NeighborsNeighborsSource) GetId ¶
func (v *NeighborsNeighborsSource) GetId() string
GetId returns NeighborsNeighborsSource.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsSource) GetNamespaces ¶
func (v *NeighborsNeighborsSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns NeighborsNeighborsSource.Namespaces, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsSource) GetType ¶
func (v *NeighborsNeighborsSource) GetType() string
GetType returns NeighborsNeighborsSource.Type, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsSource) GetTypename ¶
func (v *NeighborsNeighborsSource) GetTypename() *string
GetTypename returns NeighborsNeighborsSource.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsSource) MarshalJSON ¶
func (v *NeighborsNeighborsSource) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsSource) UnmarshalJSON ¶
func (v *NeighborsNeighborsSource) UnmarshalJSON(b []byte) error
type NeighborsNeighborsVulnEqual ¶ added in v0.2.0
type NeighborsNeighborsVulnEqual struct { Typename *string `json:"__typename"` AllVulnEqual `json:"-"` }
NeighborsNeighborsVulnEqual includes the requested fields of the GraphQL type VulnEqual. The GraphQL type's documentation follows.
VulnEqual is an attestation to link two vulnerabilities together as being equal"
Note that setting noVuln vulnerability type is invalid for VulnEqual!
func (*NeighborsNeighborsVulnEqual) GetCollector ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnEqual) GetCollector() string
GetCollector returns NeighborsNeighborsVulnEqual.Collector, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnEqual) GetId ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnEqual) GetId() string
GetId returns NeighborsNeighborsVulnEqual.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnEqual) GetJustification ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnEqual) GetJustification() string
GetJustification returns NeighborsNeighborsVulnEqual.Justification, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnEqual) GetOrigin ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnEqual) GetOrigin() string
GetOrigin returns NeighborsNeighborsVulnEqual.Origin, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnEqual) GetTypename ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnEqual) GetTypename() *string
GetTypename returns NeighborsNeighborsVulnEqual.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnEqual) GetVulnerabilities ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnEqual) GetVulnerabilities() []AllVulnEqualVulnerabilitiesVulnerability
GetVulnerabilities returns NeighborsNeighborsVulnEqual.Vulnerabilities, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnEqual) MarshalJSON ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnEqual) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsVulnEqual) UnmarshalJSON ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnEqual) UnmarshalJSON(b []byte) error
type NeighborsNeighborsVulnerability ¶ added in v0.2.0
type NeighborsNeighborsVulnerability struct { Typename *string `json:"__typename"` AllVulnerabilityTree `json:"-"` }
NeighborsNeighborsVulnerability includes the requested fields of the GraphQL type Vulnerability. The GraphQL type's documentation follows.
Vulnerability represents the root of the vulnerability trie/tree.
We map vulnerability information to a trie, as a derivative of the pURL specification: each path in the trie represents a type and a vulnerability ID. This allows for generic representation of the various vulnerabilities and does not limit to just cve, ghsa or osv. This would be in the general format: vuln://<general-type>/<vuln-id>
Examples:
CVE, using path separator: vuln://cve/cve-2023-20753 OSV, representing its knowledge of a GHSA: vuln://osv/ghsa-205hk Random vendor: vuln://snyk/sn-whatever NoVuln: vuln://novuln/
This node represents the type part of the trie path. It is used to represent the specific type of the vulnerability: cve, ghsa, osv or some other vendor specific
Since this node is at the root of the vulnerability trie, it is named Vulnerability, not VulnerabilityType.
NoVuln is a special vulnerability node to attest that no vulnerability has been found during a vulnerability scan. It will have the type "novuln" and contain an empty string for vulnerabilityID
The resolvers will enforce that both the type and vulnerability IDs are lower case.
func (*NeighborsNeighborsVulnerability) GetId ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerability) GetId() string
GetId returns NeighborsNeighborsVulnerability.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnerability) GetType ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerability) GetType() string
GetType returns NeighborsNeighborsVulnerability.Type, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnerability) GetTypename ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerability) GetTypename() *string
GetTypename returns NeighborsNeighborsVulnerability.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnerability) GetVulnerabilityIDs ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
GetVulnerabilityIDs returns NeighborsNeighborsVulnerability.VulnerabilityIDs, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnerability) MarshalJSON ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerability) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsVulnerability) UnmarshalJSON ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerability) UnmarshalJSON(b []byte) error
type NeighborsNeighborsVulnerabilityMetadata ¶ added in v0.2.0
type NeighborsNeighborsVulnerabilityMetadata struct { Typename *string `json:"__typename"` AllVulnMetadataTree `json:"-"` }
NeighborsNeighborsVulnerabilityMetadata includes the requested fields of the GraphQL type VulnerabilityMetadata. The GraphQL type's documentation follows.
VulnerabilityMetadata is an attestation that a vulnerability has a related score associated with it.
The intent of this evidence tree predicate is to allow extensibility of vulnerability score (one-to-one mapping) with a specific vulnerability ID.
A vulnerability ID can have a one-to-many relationship with the VulnerabilityMetadata node as a vulnerability ID can have multiple scores (in various frameworks).
Examples:
scoreType: EPSSv1 scoreValue: 0.960760000
scoreType: CVSSv2 scoreValue: 5.0
scoreType: CVSSv3 scoreValue: 7.5
The timestamp is used to determine when the score was evaluated for the specific vulnerability.
func (*NeighborsNeighborsVulnerabilityMetadata) GetCollector ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerabilityMetadata) GetCollector() string
GetCollector returns NeighborsNeighborsVulnerabilityMetadata.Collector, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnerabilityMetadata) GetId ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerabilityMetadata) GetId() string
GetId returns NeighborsNeighborsVulnerabilityMetadata.Id, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnerabilityMetadata) GetOrigin ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerabilityMetadata) GetOrigin() string
GetOrigin returns NeighborsNeighborsVulnerabilityMetadata.Origin, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnerabilityMetadata) GetScoreType ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerabilityMetadata) GetScoreType() VulnerabilityScoreType
GetScoreType returns NeighborsNeighborsVulnerabilityMetadata.ScoreType, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnerabilityMetadata) GetScoreValue ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerabilityMetadata) GetScoreValue() float64
GetScoreValue returns NeighborsNeighborsVulnerabilityMetadata.ScoreValue, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnerabilityMetadata) GetTimestamp ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerabilityMetadata) GetTimestamp() time.Time
GetTimestamp returns NeighborsNeighborsVulnerabilityMetadata.Timestamp, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnerabilityMetadata) GetTypename ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerabilityMetadata) GetTypename() *string
GetTypename returns NeighborsNeighborsVulnerabilityMetadata.Typename, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnerabilityMetadata) GetVulnerability ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerabilityMetadata) GetVulnerability() AllVulnMetadataTreeVulnerability
GetVulnerability returns NeighborsNeighborsVulnerabilityMetadata.Vulnerability, and is useful for accessing the field via an interface.
func (*NeighborsNeighborsVulnerabilityMetadata) MarshalJSON ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerabilityMetadata) MarshalJSON() ([]byte, error)
func (*NeighborsNeighborsVulnerabilityMetadata) UnmarshalJSON ¶ added in v0.2.0
func (v *NeighborsNeighborsVulnerabilityMetadata) UnmarshalJSON(b []byte) error
type NeighborsResponse ¶
type NeighborsResponse struct { // neighbors returns all the direct neighbors of a node. // // Similarly, the input is only specified by its ID. // // Specifying any Edge value in `usingOnly` will make the neighbors list only // contain the corresponding GUAC evidence trees (GUAC verbs). Neighbors []NeighborsNeighborsNode `json:"-"` }
NeighborsResponse is returned by Neighbors on success.
func (*NeighborsResponse) GetNeighbors ¶
func (v *NeighborsResponse) GetNeighbors() []NeighborsNeighborsNode
GetNeighbors returns NeighborsResponse.Neighbors, and is useful for accessing the field via an interface.
func (*NeighborsResponse) MarshalJSON ¶
func (v *NeighborsResponse) MarshalJSON() ([]byte, error)
func (*NeighborsResponse) UnmarshalJSON ¶
func (v *NeighborsResponse) UnmarshalJSON(b []byte) error
type NodeNode ¶
type NodeNode interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() *string // contains filtered or unexported methods }
NodeNode includes the requested fields of the GraphQL interface Node.
NodeNode is implemented by the following types: NodeNodeArtifact NodeNodeBuilder NodeNodeCertifyBad NodeNodeCertifyGood NodeNodeCertifyLegal NodeNodeCertifyScorecard NodeNodeCertifyVEXStatement NodeNodeCertifyVuln NodeNodeHasMetadata NodeNodeHasSBOM NodeNodeHasSLSA NodeNodeHasSourceAt NodeNodeHashEqual NodeNodeIsDependency NodeNodeIsOccurrence NodeNodeLicense NodeNodePackage NodeNodePkgEqual NodeNodePointOfContact NodeNodeSource NodeNodeVulnEqual NodeNodeVulnerability NodeNodeVulnerabilityMetadata The GraphQL type's documentation follows.
Node is a union type of all the possible nodes.
It encapsulates the software tree nodes along with the evidence nodes. In a path query, all connecting evidence nodes along with their intermediate subject nodes need to be returned in order to create a complete graph.
type NodeNodeArtifact ¶
type NodeNodeArtifact struct { Typename *string `json:"__typename"` AllArtifactTree `json:"-"` }
NodeNodeArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*NodeNodeArtifact) GetAlgorithm ¶
func (v *NodeNodeArtifact) GetAlgorithm() string
GetAlgorithm returns NodeNodeArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*NodeNodeArtifact) GetDigest ¶
func (v *NodeNodeArtifact) GetDigest() string
GetDigest returns NodeNodeArtifact.Digest, and is useful for accessing the field via an interface.
func (*NodeNodeArtifact) GetId ¶
func (v *NodeNodeArtifact) GetId() string
GetId returns NodeNodeArtifact.Id, and is useful for accessing the field via an interface.
func (*NodeNodeArtifact) GetTypename ¶
func (v *NodeNodeArtifact) GetTypename() *string
GetTypename returns NodeNodeArtifact.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeArtifact) MarshalJSON ¶
func (v *NodeNodeArtifact) MarshalJSON() ([]byte, error)
func (*NodeNodeArtifact) UnmarshalJSON ¶
func (v *NodeNodeArtifact) UnmarshalJSON(b []byte) error
type NodeNodeBuilder ¶
type NodeNodeBuilder struct { Typename *string `json:"__typename"` AllBuilderTree `json:"-"` }
NodeNodeBuilder includes the requested fields of the GraphQL type Builder. The GraphQL type's documentation follows.
Builder represents the builder (e.g., FRSCA or GitHub Actions).
Currently builders are identified by the uri field.
func (*NodeNodeBuilder) GetId ¶
func (v *NodeNodeBuilder) GetId() string
GetId returns NodeNodeBuilder.Id, and is useful for accessing the field via an interface.
func (*NodeNodeBuilder) GetTypename ¶
func (v *NodeNodeBuilder) GetTypename() *string
GetTypename returns NodeNodeBuilder.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeBuilder) GetUri ¶
func (v *NodeNodeBuilder) GetUri() string
GetUri returns NodeNodeBuilder.Uri, and is useful for accessing the field via an interface.
func (*NodeNodeBuilder) MarshalJSON ¶
func (v *NodeNodeBuilder) MarshalJSON() ([]byte, error)
func (*NodeNodeBuilder) UnmarshalJSON ¶
func (v *NodeNodeBuilder) UnmarshalJSON(b []byte) error
type NodeNodeCertifyBad ¶
type NodeNodeCertifyBad struct { Typename *string `json:"__typename"` AllCertifyBad `json:"-"` }
NodeNodeCertifyBad includes the requested fields of the GraphQL type CertifyBad. The GraphQL type's documentation follows.
CertifyBad is an attestation that a package, source, or artifact is considered bad.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The certification applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*NodeNodeCertifyBad) GetCollector ¶
func (v *NodeNodeCertifyBad) GetCollector() string
GetCollector returns NodeNodeCertifyBad.Collector, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyBad) GetId ¶
func (v *NodeNodeCertifyBad) GetId() string
GetId returns NodeNodeCertifyBad.Id, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyBad) GetJustification ¶
func (v *NodeNodeCertifyBad) GetJustification() string
GetJustification returns NodeNodeCertifyBad.Justification, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyBad) GetKnownSince ¶ added in v0.2.1
func (v *NodeNodeCertifyBad) GetKnownSince() time.Time
GetKnownSince returns NodeNodeCertifyBad.KnownSince, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyBad) GetOrigin ¶
func (v *NodeNodeCertifyBad) GetOrigin() string
GetOrigin returns NodeNodeCertifyBad.Origin, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyBad) GetSubject ¶
func (v *NodeNodeCertifyBad) GetSubject() AllCertifyBadSubjectPackageSourceOrArtifact
GetSubject returns NodeNodeCertifyBad.Subject, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyBad) GetTypename ¶
func (v *NodeNodeCertifyBad) GetTypename() *string
GetTypename returns NodeNodeCertifyBad.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyBad) MarshalJSON ¶
func (v *NodeNodeCertifyBad) MarshalJSON() ([]byte, error)
func (*NodeNodeCertifyBad) UnmarshalJSON ¶
func (v *NodeNodeCertifyBad) UnmarshalJSON(b []byte) error
type NodeNodeCertifyGood ¶
type NodeNodeCertifyGood struct { Typename *string `json:"__typename"` AllCertifyGood `json:"-"` }
NodeNodeCertifyGood includes the requested fields of the GraphQL type CertifyGood. The GraphQL type's documentation follows.
CertifyGood is an attestation that a package, source, or artifact is considered good.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The certification applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*NodeNodeCertifyGood) GetCollector ¶
func (v *NodeNodeCertifyGood) GetCollector() string
GetCollector returns NodeNodeCertifyGood.Collector, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyGood) GetId ¶
func (v *NodeNodeCertifyGood) GetId() string
GetId returns NodeNodeCertifyGood.Id, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyGood) GetJustification ¶
func (v *NodeNodeCertifyGood) GetJustification() string
GetJustification returns NodeNodeCertifyGood.Justification, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyGood) GetKnownSince ¶ added in v0.2.1
func (v *NodeNodeCertifyGood) GetKnownSince() time.Time
GetKnownSince returns NodeNodeCertifyGood.KnownSince, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyGood) GetOrigin ¶
func (v *NodeNodeCertifyGood) GetOrigin() string
GetOrigin returns NodeNodeCertifyGood.Origin, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyGood) GetSubject ¶
func (v *NodeNodeCertifyGood) GetSubject() AllCertifyGoodSubjectPackageSourceOrArtifact
GetSubject returns NodeNodeCertifyGood.Subject, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyGood) GetTypename ¶
func (v *NodeNodeCertifyGood) GetTypename() *string
GetTypename returns NodeNodeCertifyGood.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyGood) MarshalJSON ¶
func (v *NodeNodeCertifyGood) MarshalJSON() ([]byte, error)
func (*NodeNodeCertifyGood) UnmarshalJSON ¶
func (v *NodeNodeCertifyGood) UnmarshalJSON(b []byte) error
type NodeNodeCertifyLegal ¶ added in v0.2.0
type NodeNodeCertifyLegal struct { Typename *string `json:"__typename"` AllCertifyLegalTree `json:"-"` }
NodeNodeCertifyLegal includes the requested fields of the GraphQL type CertifyLegal. The GraphQL type's documentation follows.
CertifyLegal is an attestation to attach legal information to a package or source.
The certification information is either copied from an attestation found in an SBOM or created by a collector/scanner.
Discovered license is also known as Concluded. More information: https://docs.clearlydefined.io/docs/curation/curation-guidelines#the-difference-between-declared-and-discovered-licenses
Attribution is also known as Copyright Text. It is what could be displayed to comply with notice requirements. https://www.nexb.com/oss-attribution-best-practices/
License expressions follow this format: https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/
func (*NodeNodeCertifyLegal) GetAttribution ¶ added in v0.2.0
func (v *NodeNodeCertifyLegal) GetAttribution() string
GetAttribution returns NodeNodeCertifyLegal.Attribution, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyLegal) GetCollector ¶ added in v0.2.0
func (v *NodeNodeCertifyLegal) GetCollector() string
GetCollector returns NodeNodeCertifyLegal.Collector, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyLegal) GetDeclaredLicense ¶ added in v0.2.0
func (v *NodeNodeCertifyLegal) GetDeclaredLicense() string
GetDeclaredLicense returns NodeNodeCertifyLegal.DeclaredLicense, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyLegal) GetDeclaredLicenses ¶ added in v0.2.0
func (v *NodeNodeCertifyLegal) GetDeclaredLicenses() []AllCertifyLegalTreeDeclaredLicensesLicense
GetDeclaredLicenses returns NodeNodeCertifyLegal.DeclaredLicenses, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyLegal) GetDiscoveredLicense ¶ added in v0.2.0
func (v *NodeNodeCertifyLegal) GetDiscoveredLicense() string
GetDiscoveredLicense returns NodeNodeCertifyLegal.DiscoveredLicense, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyLegal) GetDiscoveredLicenses ¶ added in v0.2.0
func (v *NodeNodeCertifyLegal) GetDiscoveredLicenses() []AllCertifyLegalTreeDiscoveredLicensesLicense
GetDiscoveredLicenses returns NodeNodeCertifyLegal.DiscoveredLicenses, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyLegal) GetId ¶ added in v0.2.0
func (v *NodeNodeCertifyLegal) GetId() string
GetId returns NodeNodeCertifyLegal.Id, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyLegal) GetJustification ¶ added in v0.2.0
func (v *NodeNodeCertifyLegal) GetJustification() string
GetJustification returns NodeNodeCertifyLegal.Justification, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyLegal) GetOrigin ¶ added in v0.2.0
func (v *NodeNodeCertifyLegal) GetOrigin() string
GetOrigin returns NodeNodeCertifyLegal.Origin, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyLegal) GetSubject ¶ added in v0.2.0
func (v *NodeNodeCertifyLegal) GetSubject() AllCertifyLegalTreeSubjectPackageOrSource
GetSubject returns NodeNodeCertifyLegal.Subject, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyLegal) GetTimeScanned ¶ added in v0.2.0
func (v *NodeNodeCertifyLegal) GetTimeScanned() time.Time
GetTimeScanned returns NodeNodeCertifyLegal.TimeScanned, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyLegal) GetTypename ¶ added in v0.2.0
func (v *NodeNodeCertifyLegal) GetTypename() *string
GetTypename returns NodeNodeCertifyLegal.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyLegal) MarshalJSON ¶ added in v0.2.0
func (v *NodeNodeCertifyLegal) MarshalJSON() ([]byte, error)
func (*NodeNodeCertifyLegal) UnmarshalJSON ¶ added in v0.2.0
func (v *NodeNodeCertifyLegal) UnmarshalJSON(b []byte) error
type NodeNodeCertifyScorecard ¶
type NodeNodeCertifyScorecard struct { Typename *string `json:"__typename"` AllCertifyScorecard `json:"-"` }
NodeNodeCertifyScorecard includes the requested fields of the GraphQL type CertifyScorecard. The GraphQL type's documentation follows.
CertifyScorecard is an attestation to attach a Scorecard analysis to a particular source repository.
func (*NodeNodeCertifyScorecard) GetId ¶
func (v *NodeNodeCertifyScorecard) GetId() string
GetId returns NodeNodeCertifyScorecard.Id, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyScorecard) GetScorecard ¶
func (v *NodeNodeCertifyScorecard) GetScorecard() AllCertifyScorecardScorecard
GetScorecard returns NodeNodeCertifyScorecard.Scorecard, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyScorecard) GetSource ¶
func (v *NodeNodeCertifyScorecard) GetSource() AllCertifyScorecardSource
GetSource returns NodeNodeCertifyScorecard.Source, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyScorecard) GetTypename ¶
func (v *NodeNodeCertifyScorecard) GetTypename() *string
GetTypename returns NodeNodeCertifyScorecard.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyScorecard) MarshalJSON ¶
func (v *NodeNodeCertifyScorecard) MarshalJSON() ([]byte, error)
func (*NodeNodeCertifyScorecard) UnmarshalJSON ¶
func (v *NodeNodeCertifyScorecard) UnmarshalJSON(b []byte) error
type NodeNodeCertifyVEXStatement ¶
type NodeNodeCertifyVEXStatement struct { Typename *string `json:"__typename"` AllCertifyVEXStatement `json:"-"` }
NodeNodeCertifyVEXStatement includes the requested fields of the GraphQL type CertifyVEXStatement. The GraphQL type's documentation follows.
CertifyVEXStatement is an attestation to attach VEX statements to a package or artifact to clarify the impact of a specific vulnerability.
func (*NodeNodeCertifyVEXStatement) GetCollector ¶
func (v *NodeNodeCertifyVEXStatement) GetCollector() string
GetCollector returns NodeNodeCertifyVEXStatement.Collector, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVEXStatement) GetId ¶
func (v *NodeNodeCertifyVEXStatement) GetId() string
GetId returns NodeNodeCertifyVEXStatement.Id, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVEXStatement) GetKnownSince ¶
func (v *NodeNodeCertifyVEXStatement) GetKnownSince() time.Time
GetKnownSince returns NodeNodeCertifyVEXStatement.KnownSince, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVEXStatement) GetOrigin ¶
func (v *NodeNodeCertifyVEXStatement) GetOrigin() string
GetOrigin returns NodeNodeCertifyVEXStatement.Origin, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVEXStatement) GetStatement ¶
func (v *NodeNodeCertifyVEXStatement) GetStatement() string
GetStatement returns NodeNodeCertifyVEXStatement.Statement, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVEXStatement) GetStatus ¶
func (v *NodeNodeCertifyVEXStatement) GetStatus() VexStatus
GetStatus returns NodeNodeCertifyVEXStatement.Status, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVEXStatement) GetStatusNotes ¶
func (v *NodeNodeCertifyVEXStatement) GetStatusNotes() string
GetStatusNotes returns NodeNodeCertifyVEXStatement.StatusNotes, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVEXStatement) GetSubject ¶
func (v *NodeNodeCertifyVEXStatement) GetSubject() AllCertifyVEXStatementSubjectPackageOrArtifact
GetSubject returns NodeNodeCertifyVEXStatement.Subject, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVEXStatement) GetTypename ¶
func (v *NodeNodeCertifyVEXStatement) GetTypename() *string
GetTypename returns NodeNodeCertifyVEXStatement.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVEXStatement) GetVexJustification ¶
func (v *NodeNodeCertifyVEXStatement) GetVexJustification() VexJustification
GetVexJustification returns NodeNodeCertifyVEXStatement.VexJustification, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVEXStatement) GetVulnerability ¶
func (v *NodeNodeCertifyVEXStatement) GetVulnerability() AllCertifyVEXStatementVulnerability
GetVulnerability returns NodeNodeCertifyVEXStatement.Vulnerability, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVEXStatement) MarshalJSON ¶
func (v *NodeNodeCertifyVEXStatement) MarshalJSON() ([]byte, error)
func (*NodeNodeCertifyVEXStatement) UnmarshalJSON ¶
func (v *NodeNodeCertifyVEXStatement) UnmarshalJSON(b []byte) error
type NodeNodeCertifyVuln ¶
type NodeNodeCertifyVuln struct { Typename *string `json:"__typename"` AllCertifyVuln `json:"-"` }
NodeNodeCertifyVuln includes the requested fields of the GraphQL type CertifyVuln. The GraphQL type's documentation follows.
CertifyVuln is an attestation to attach vulnerability information to a package.
This information is obtained via a scanner. If there is no vulnerability detected, we attach the a vulnerability with "NoVuln" type and an empty string for the vulnerability ID.
func (*NodeNodeCertifyVuln) GetId ¶
func (v *NodeNodeCertifyVuln) GetId() string
GetId returns NodeNodeCertifyVuln.Id, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVuln) GetMetadata ¶
func (v *NodeNodeCertifyVuln) GetMetadata() AllCertifyVulnMetadataScanMetadata
GetMetadata returns NodeNodeCertifyVuln.Metadata, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVuln) GetPackage ¶
func (v *NodeNodeCertifyVuln) GetPackage() AllCertifyVulnPackage
GetPackage returns NodeNodeCertifyVuln.Package, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVuln) GetTypename ¶
func (v *NodeNodeCertifyVuln) GetTypename() *string
GetTypename returns NodeNodeCertifyVuln.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVuln) GetVulnerability ¶
func (v *NodeNodeCertifyVuln) GetVulnerability() AllCertifyVulnVulnerability
GetVulnerability returns NodeNodeCertifyVuln.Vulnerability, and is useful for accessing the field via an interface.
func (*NodeNodeCertifyVuln) MarshalJSON ¶
func (v *NodeNodeCertifyVuln) MarshalJSON() ([]byte, error)
func (*NodeNodeCertifyVuln) UnmarshalJSON ¶
func (v *NodeNodeCertifyVuln) UnmarshalJSON(b []byte) error
type NodeNodeHasMetadata ¶ added in v0.1.1
type NodeNodeHasMetadata struct { Typename *string `json:"__typename"` AllHasMetadata `json:"-"` }
NodeNodeHasMetadata includes the requested fields of the GraphQL type HasMetadata. The GraphQL type's documentation follows.
HasMetadata is an attestation that a package, source, or artifact has a certain attested property (key) with value (value). For example, a source may have metadata "SourceRepo2FAEnabled=true".
The intent of this evidence tree predicate is to allow extensibility of metadata expressible within the GUAC ontology. Metadata that is commonly used will then be promoted to a predicate on its own.
Justification indicates how the metadata was determined.
The metadata applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*NodeNodeHasMetadata) GetCollector ¶ added in v0.2.0
func (v *NodeNodeHasMetadata) GetCollector() string
GetCollector returns NodeNodeHasMetadata.Collector, and is useful for accessing the field via an interface.
func (*NodeNodeHasMetadata) GetId ¶ added in v0.2.0
func (v *NodeNodeHasMetadata) GetId() string
GetId returns NodeNodeHasMetadata.Id, and is useful for accessing the field via an interface.
func (*NodeNodeHasMetadata) GetJustification ¶ added in v0.2.0
func (v *NodeNodeHasMetadata) GetJustification() string
GetJustification returns NodeNodeHasMetadata.Justification, and is useful for accessing the field via an interface.
func (*NodeNodeHasMetadata) GetKey ¶ added in v0.2.0
func (v *NodeNodeHasMetadata) GetKey() string
GetKey returns NodeNodeHasMetadata.Key, and is useful for accessing the field via an interface.
func (*NodeNodeHasMetadata) GetOrigin ¶ added in v0.2.0
func (v *NodeNodeHasMetadata) GetOrigin() string
GetOrigin returns NodeNodeHasMetadata.Origin, and is useful for accessing the field via an interface.
func (*NodeNodeHasMetadata) GetSubject ¶ added in v0.2.0
func (v *NodeNodeHasMetadata) GetSubject() AllHasMetadataSubjectPackageSourceOrArtifact
GetSubject returns NodeNodeHasMetadata.Subject, and is useful for accessing the field via an interface.
func (*NodeNodeHasMetadata) GetTimestamp ¶ added in v0.2.0
func (v *NodeNodeHasMetadata) GetTimestamp() time.Time
GetTimestamp returns NodeNodeHasMetadata.Timestamp, and is useful for accessing the field via an interface.
func (*NodeNodeHasMetadata) GetTypename ¶ added in v0.1.1
func (v *NodeNodeHasMetadata) GetTypename() *string
GetTypename returns NodeNodeHasMetadata.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeHasMetadata) GetValue ¶ added in v0.2.0
func (v *NodeNodeHasMetadata) GetValue() string
GetValue returns NodeNodeHasMetadata.Value, and is useful for accessing the field via an interface.
func (*NodeNodeHasMetadata) MarshalJSON ¶ added in v0.2.0
func (v *NodeNodeHasMetadata) MarshalJSON() ([]byte, error)
func (*NodeNodeHasMetadata) UnmarshalJSON ¶ added in v0.2.0
func (v *NodeNodeHasMetadata) UnmarshalJSON(b []byte) error
type NodeNodeHasSBOM ¶
type NodeNodeHasSBOM struct { Typename *string `json:"__typename"` AllHasSBOMTree `json:"-"` }
NodeNodeHasSBOM includes the requested fields of the GraphQL type HasSBOM.
func (*NodeNodeHasSBOM) GetAlgorithm ¶
func (v *NodeNodeHasSBOM) GetAlgorithm() string
GetAlgorithm returns NodeNodeHasSBOM.Algorithm, and is useful for accessing the field via an interface.
func (*NodeNodeHasSBOM) GetCollector ¶
func (v *NodeNodeHasSBOM) GetCollector() string
GetCollector returns NodeNodeHasSBOM.Collector, and is useful for accessing the field via an interface.
func (*NodeNodeHasSBOM) GetDigest ¶
func (v *NodeNodeHasSBOM) GetDigest() string
GetDigest returns NodeNodeHasSBOM.Digest, and is useful for accessing the field via an interface.
func (*NodeNodeHasSBOM) GetDocumentRef ¶ added in v0.8.3
func (v *NodeNodeHasSBOM) GetDocumentRef() string
GetDocumentRef returns NodeNodeHasSBOM.DocumentRef, and is useful for accessing the field via an interface.
func (*NodeNodeHasSBOM) GetDownloadLocation ¶
func (v *NodeNodeHasSBOM) GetDownloadLocation() string
GetDownloadLocation returns NodeNodeHasSBOM.DownloadLocation, and is useful for accessing the field via an interface.
func (*NodeNodeHasSBOM) GetId ¶
func (v *NodeNodeHasSBOM) GetId() string
GetId returns NodeNodeHasSBOM.Id, and is useful for accessing the field via an interface.
func (*NodeNodeHasSBOM) GetIncludedDependencies ¶ added in v0.4.0
func (v *NodeNodeHasSBOM) GetIncludedDependencies() []AllHasSBOMTreeIncludedDependenciesIsDependency
GetIncludedDependencies returns NodeNodeHasSBOM.IncludedDependencies, and is useful for accessing the field via an interface.
func (*NodeNodeHasSBOM) GetIncludedOccurrences ¶ added in v0.4.0
func (v *NodeNodeHasSBOM) GetIncludedOccurrences() []AllHasSBOMTreeIncludedOccurrencesIsOccurrence
GetIncludedOccurrences returns NodeNodeHasSBOM.IncludedOccurrences, and is useful for accessing the field via an interface.
func (*NodeNodeHasSBOM) GetIncludedSoftware ¶ added in v0.4.0
func (v *NodeNodeHasSBOM) GetIncludedSoftware() []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
GetIncludedSoftware returns NodeNodeHasSBOM.IncludedSoftware, and is useful for accessing the field via an interface.
func (*NodeNodeHasSBOM) GetKnownSince ¶ added in v0.2.1
func (v *NodeNodeHasSBOM) GetKnownSince() time.Time
GetKnownSince returns NodeNodeHasSBOM.KnownSince, and is useful for accessing the field via an interface.
func (*NodeNodeHasSBOM) GetOrigin ¶
func (v *NodeNodeHasSBOM) GetOrigin() string
GetOrigin returns NodeNodeHasSBOM.Origin, and is useful for accessing the field via an interface.
func (*NodeNodeHasSBOM) GetSubject ¶
func (v *NodeNodeHasSBOM) GetSubject() AllHasSBOMTreeSubjectPackageOrArtifact
GetSubject returns NodeNodeHasSBOM.Subject, and is useful for accessing the field via an interface.
func (*NodeNodeHasSBOM) GetTypename ¶
func (v *NodeNodeHasSBOM) GetTypename() *string
GetTypename returns NodeNodeHasSBOM.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeHasSBOM) GetUri ¶
func (v *NodeNodeHasSBOM) GetUri() string
GetUri returns NodeNodeHasSBOM.Uri, and is useful for accessing the field via an interface.
func (*NodeNodeHasSBOM) MarshalJSON ¶
func (v *NodeNodeHasSBOM) MarshalJSON() ([]byte, error)
func (*NodeNodeHasSBOM) UnmarshalJSON ¶
func (v *NodeNodeHasSBOM) UnmarshalJSON(b []byte) error
type NodeNodeHasSLSA ¶
type NodeNodeHasSLSA struct { Typename *string `json:"__typename"` AllSLSATree `json:"-"` }
NodeNodeHasSLSA includes the requested fields of the GraphQL type HasSLSA. The GraphQL type's documentation follows.
HasSLSA records that a subject node has a SLSA attestation.
func (*NodeNodeHasSLSA) GetId ¶
func (v *NodeNodeHasSLSA) GetId() string
GetId returns NodeNodeHasSLSA.Id, and is useful for accessing the field via an interface.
func (*NodeNodeHasSLSA) GetSlsa ¶
func (v *NodeNodeHasSLSA) GetSlsa() AllSLSATreeSlsaSLSA
GetSlsa returns NodeNodeHasSLSA.Slsa, and is useful for accessing the field via an interface.
func (*NodeNodeHasSLSA) GetSubject ¶
func (v *NodeNodeHasSLSA) GetSubject() AllSLSATreeSubjectArtifact
GetSubject returns NodeNodeHasSLSA.Subject, and is useful for accessing the field via an interface.
func (*NodeNodeHasSLSA) GetTypename ¶
func (v *NodeNodeHasSLSA) GetTypename() *string
GetTypename returns NodeNodeHasSLSA.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeHasSLSA) MarshalJSON ¶
func (v *NodeNodeHasSLSA) MarshalJSON() ([]byte, error)
func (*NodeNodeHasSLSA) UnmarshalJSON ¶
func (v *NodeNodeHasSLSA) UnmarshalJSON(b []byte) error
type NodeNodeHasSourceAt ¶
type NodeNodeHasSourceAt struct { Typename *string `json:"__typename"` AllHasSourceAt `json:"-"` }
NodeNodeHasSourceAt includes the requested fields of the GraphQL type HasSourceAt. The GraphQL type's documentation follows.
HasSourceAt records that a package's repository is a given source.
func (*NodeNodeHasSourceAt) GetCollector ¶
func (v *NodeNodeHasSourceAt) GetCollector() string
GetCollector returns NodeNodeHasSourceAt.Collector, and is useful for accessing the field via an interface.
func (*NodeNodeHasSourceAt) GetId ¶
func (v *NodeNodeHasSourceAt) GetId() string
GetId returns NodeNodeHasSourceAt.Id, and is useful for accessing the field via an interface.
func (*NodeNodeHasSourceAt) GetJustification ¶
func (v *NodeNodeHasSourceAt) GetJustification() string
GetJustification returns NodeNodeHasSourceAt.Justification, and is useful for accessing the field via an interface.
func (*NodeNodeHasSourceAt) GetKnownSince ¶
func (v *NodeNodeHasSourceAt) GetKnownSince() time.Time
GetKnownSince returns NodeNodeHasSourceAt.KnownSince, and is useful for accessing the field via an interface.
func (*NodeNodeHasSourceAt) GetOrigin ¶
func (v *NodeNodeHasSourceAt) GetOrigin() string
GetOrigin returns NodeNodeHasSourceAt.Origin, and is useful for accessing the field via an interface.
func (*NodeNodeHasSourceAt) GetPackage ¶
func (v *NodeNodeHasSourceAt) GetPackage() AllHasSourceAtPackage
GetPackage returns NodeNodeHasSourceAt.Package, and is useful for accessing the field via an interface.
func (*NodeNodeHasSourceAt) GetSource ¶
func (v *NodeNodeHasSourceAt) GetSource() AllHasSourceAtSource
GetSource returns NodeNodeHasSourceAt.Source, and is useful for accessing the field via an interface.
func (*NodeNodeHasSourceAt) GetTypename ¶
func (v *NodeNodeHasSourceAt) GetTypename() *string
GetTypename returns NodeNodeHasSourceAt.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeHasSourceAt) MarshalJSON ¶
func (v *NodeNodeHasSourceAt) MarshalJSON() ([]byte, error)
func (*NodeNodeHasSourceAt) UnmarshalJSON ¶
func (v *NodeNodeHasSourceAt) UnmarshalJSON(b []byte) error
type NodeNodeHashEqual ¶
type NodeNodeHashEqual struct { Typename *string `json:"__typename"` AllHashEqualTree `json:"-"` }
NodeNodeHashEqual includes the requested fields of the GraphQL type HashEqual. The GraphQL type's documentation follows.
HashEqual is an attestation that two artifacts are identical.
func (*NodeNodeHashEqual) GetArtifacts ¶
func (v *NodeNodeHashEqual) GetArtifacts() []AllHashEqualTreeArtifactsArtifact
GetArtifacts returns NodeNodeHashEqual.Artifacts, and is useful for accessing the field via an interface.
func (*NodeNodeHashEqual) GetCollector ¶
func (v *NodeNodeHashEqual) GetCollector() string
GetCollector returns NodeNodeHashEqual.Collector, and is useful for accessing the field via an interface.
func (*NodeNodeHashEqual) GetId ¶
func (v *NodeNodeHashEqual) GetId() string
GetId returns NodeNodeHashEqual.Id, and is useful for accessing the field via an interface.
func (*NodeNodeHashEqual) GetJustification ¶
func (v *NodeNodeHashEqual) GetJustification() string
GetJustification returns NodeNodeHashEqual.Justification, and is useful for accessing the field via an interface.
func (*NodeNodeHashEqual) GetOrigin ¶
func (v *NodeNodeHashEqual) GetOrigin() string
GetOrigin returns NodeNodeHashEqual.Origin, and is useful for accessing the field via an interface.
func (*NodeNodeHashEqual) GetTypename ¶
func (v *NodeNodeHashEqual) GetTypename() *string
GetTypename returns NodeNodeHashEqual.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeHashEqual) MarshalJSON ¶
func (v *NodeNodeHashEqual) MarshalJSON() ([]byte, error)
func (*NodeNodeHashEqual) UnmarshalJSON ¶
func (v *NodeNodeHashEqual) UnmarshalJSON(b []byte) error
type NodeNodeIsDependency ¶
type NodeNodeIsDependency struct { Typename *string `json:"__typename"` AllIsDependencyTree `json:"-"` }
NodeNodeIsDependency includes the requested fields of the GraphQL type IsDependency. The GraphQL type's documentation follows.
IsDependency is an attestation to record that a package depends on another.
func (*NodeNodeIsDependency) GetCollector ¶
func (v *NodeNodeIsDependency) GetCollector() string
GetCollector returns NodeNodeIsDependency.Collector, and is useful for accessing the field via an interface.
func (*NodeNodeIsDependency) GetDependencyPackage ¶ added in v0.2.0
func (v *NodeNodeIsDependency) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
GetDependencyPackage returns NodeNodeIsDependency.DependencyPackage, and is useful for accessing the field via an interface.
func (*NodeNodeIsDependency) GetDependencyType ¶
func (v *NodeNodeIsDependency) GetDependencyType() DependencyType
GetDependencyType returns NodeNodeIsDependency.DependencyType, and is useful for accessing the field via an interface.
func (*NodeNodeIsDependency) GetId ¶
func (v *NodeNodeIsDependency) GetId() string
GetId returns NodeNodeIsDependency.Id, and is useful for accessing the field via an interface.
func (*NodeNodeIsDependency) GetJustification ¶
func (v *NodeNodeIsDependency) GetJustification() string
GetJustification returns NodeNodeIsDependency.Justification, and is useful for accessing the field via an interface.
func (*NodeNodeIsDependency) GetOrigin ¶
func (v *NodeNodeIsDependency) GetOrigin() string
GetOrigin returns NodeNodeIsDependency.Origin, and is useful for accessing the field via an interface.
func (*NodeNodeIsDependency) GetPackage ¶
func (v *NodeNodeIsDependency) GetPackage() AllIsDependencyTreePackage
GetPackage returns NodeNodeIsDependency.Package, and is useful for accessing the field via an interface.
func (*NodeNodeIsDependency) GetTypename ¶
func (v *NodeNodeIsDependency) GetTypename() *string
GetTypename returns NodeNodeIsDependency.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeIsDependency) MarshalJSON ¶
func (v *NodeNodeIsDependency) MarshalJSON() ([]byte, error)
func (*NodeNodeIsDependency) UnmarshalJSON ¶
func (v *NodeNodeIsDependency) UnmarshalJSON(b []byte) error
type NodeNodeIsOccurrence ¶
type NodeNodeIsOccurrence struct { Typename *string `json:"__typename"` AllIsOccurrencesTree `json:"-"` }
NodeNodeIsOccurrence includes the requested fields of the GraphQL type IsOccurrence. The GraphQL type's documentation follows.
IsOccurrence is an attestation to link an artifact to a package or source.
Attestation must occur at the PackageVersion or at the SourceName.
func (*NodeNodeIsOccurrence) GetArtifact ¶
func (v *NodeNodeIsOccurrence) GetArtifact() AllIsOccurrencesTreeArtifact
GetArtifact returns NodeNodeIsOccurrence.Artifact, and is useful for accessing the field via an interface.
func (*NodeNodeIsOccurrence) GetCollector ¶
func (v *NodeNodeIsOccurrence) GetCollector() string
GetCollector returns NodeNodeIsOccurrence.Collector, and is useful for accessing the field via an interface.
func (*NodeNodeIsOccurrence) GetId ¶
func (v *NodeNodeIsOccurrence) GetId() string
GetId returns NodeNodeIsOccurrence.Id, and is useful for accessing the field via an interface.
func (*NodeNodeIsOccurrence) GetJustification ¶
func (v *NodeNodeIsOccurrence) GetJustification() string
GetJustification returns NodeNodeIsOccurrence.Justification, and is useful for accessing the field via an interface.
func (*NodeNodeIsOccurrence) GetOrigin ¶
func (v *NodeNodeIsOccurrence) GetOrigin() string
GetOrigin returns NodeNodeIsOccurrence.Origin, and is useful for accessing the field via an interface.
func (*NodeNodeIsOccurrence) GetSubject ¶
func (v *NodeNodeIsOccurrence) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
GetSubject returns NodeNodeIsOccurrence.Subject, and is useful for accessing the field via an interface.
func (*NodeNodeIsOccurrence) GetTypename ¶
func (v *NodeNodeIsOccurrence) GetTypename() *string
GetTypename returns NodeNodeIsOccurrence.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeIsOccurrence) MarshalJSON ¶
func (v *NodeNodeIsOccurrence) MarshalJSON() ([]byte, error)
func (*NodeNodeIsOccurrence) UnmarshalJSON ¶
func (v *NodeNodeIsOccurrence) UnmarshalJSON(b []byte) error
type NodeNodeLicense ¶ added in v0.2.0
type NodeNodeLicense struct { Typename *string `json:"__typename"` AllLicenseTree `json:"-"` }
NodeNodeLicense includes the requested fields of the GraphQL type License. The GraphQL type's documentation follows.
License represents a particular license. If the license is found on the SPDX license list (https://spdx.org/licenses/) then the fields should be:
Name: SPDX license identifier Inline: empty ListVersion: SPDX license list version
example:
Name: AGPL-3.0-or-later Inline: "" ListVersion: 3.21 2023-06-18
If the license is not on the SPDX license list, then a new guid should be created and the license text placed inline:
Name: LicenseRef-<guid> Inline: Full license text ListVersion: empty
example:
Name: LicenseRef-1a2b3c Inline: Permission to use, copy, modify, and/or distribute ... ListVersion: ""
func (*NodeNodeLicense) GetId ¶ added in v0.2.0
func (v *NodeNodeLicense) GetId() string
GetId returns NodeNodeLicense.Id, and is useful for accessing the field via an interface.
func (*NodeNodeLicense) GetInline ¶ added in v0.2.0
func (v *NodeNodeLicense) GetInline() *string
GetInline returns NodeNodeLicense.Inline, and is useful for accessing the field via an interface.
func (*NodeNodeLicense) GetListVersion ¶ added in v0.2.0
func (v *NodeNodeLicense) GetListVersion() *string
GetListVersion returns NodeNodeLicense.ListVersion, and is useful for accessing the field via an interface.
func (*NodeNodeLicense) GetName ¶ added in v0.2.0
func (v *NodeNodeLicense) GetName() string
GetName returns NodeNodeLicense.Name, and is useful for accessing the field via an interface.
func (*NodeNodeLicense) GetTypename ¶ added in v0.2.0
func (v *NodeNodeLicense) GetTypename() *string
GetTypename returns NodeNodeLicense.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeLicense) MarshalJSON ¶ added in v0.2.0
func (v *NodeNodeLicense) MarshalJSON() ([]byte, error)
func (*NodeNodeLicense) UnmarshalJSON ¶ added in v0.2.0
func (v *NodeNodeLicense) UnmarshalJSON(b []byte) error
type NodeNodePackage ¶
type NodeNodePackage struct { Typename *string `json:"__typename"` AllPkgTree `json:"-"` }
NodeNodePackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*NodeNodePackage) GetId ¶
func (v *NodeNodePackage) GetId() string
GetId returns NodeNodePackage.Id, and is useful for accessing the field via an interface.
func (*NodeNodePackage) GetNamespaces ¶
func (v *NodeNodePackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns NodeNodePackage.Namespaces, and is useful for accessing the field via an interface.
func (*NodeNodePackage) GetType ¶
func (v *NodeNodePackage) GetType() string
GetType returns NodeNodePackage.Type, and is useful for accessing the field via an interface.
func (*NodeNodePackage) GetTypename ¶
func (v *NodeNodePackage) GetTypename() *string
GetTypename returns NodeNodePackage.Typename, and is useful for accessing the field via an interface.
func (*NodeNodePackage) MarshalJSON ¶
func (v *NodeNodePackage) MarshalJSON() ([]byte, error)
func (*NodeNodePackage) UnmarshalJSON ¶
func (v *NodeNodePackage) UnmarshalJSON(b []byte) error
type NodeNodePkgEqual ¶
type NodeNodePkgEqual struct { Typename *string `json:"__typename"` AllPkgEqual `json:"-"` }
NodeNodePkgEqual includes the requested fields of the GraphQL type PkgEqual. The GraphQL type's documentation follows.
PkgEqual is an attestation that two packages are similar.
func (*NodeNodePkgEqual) GetCollector ¶
func (v *NodeNodePkgEqual) GetCollector() string
GetCollector returns NodeNodePkgEqual.Collector, and is useful for accessing the field via an interface.
func (*NodeNodePkgEqual) GetId ¶
func (v *NodeNodePkgEqual) GetId() string
GetId returns NodeNodePkgEqual.Id, and is useful for accessing the field via an interface.
func (*NodeNodePkgEqual) GetJustification ¶
func (v *NodeNodePkgEqual) GetJustification() string
GetJustification returns NodeNodePkgEqual.Justification, and is useful for accessing the field via an interface.
func (*NodeNodePkgEqual) GetOrigin ¶
func (v *NodeNodePkgEqual) GetOrigin() string
GetOrigin returns NodeNodePkgEqual.Origin, and is useful for accessing the field via an interface.
func (*NodeNodePkgEqual) GetPackages ¶
func (v *NodeNodePkgEqual) GetPackages() []AllPkgEqualPackagesPackage
GetPackages returns NodeNodePkgEqual.Packages, and is useful for accessing the field via an interface.
func (*NodeNodePkgEqual) GetTypename ¶
func (v *NodeNodePkgEqual) GetTypename() *string
GetTypename returns NodeNodePkgEqual.Typename, and is useful for accessing the field via an interface.
func (*NodeNodePkgEqual) MarshalJSON ¶
func (v *NodeNodePkgEqual) MarshalJSON() ([]byte, error)
func (*NodeNodePkgEqual) UnmarshalJSON ¶
func (v *NodeNodePkgEqual) UnmarshalJSON(b []byte) error
type NodeNodePointOfContact ¶ added in v0.1.1
type NodeNodePointOfContact struct { Typename *string `json:"__typename"` AllPointOfContact `json:"-"` }
NodeNodePointOfContact includes the requested fields of the GraphQL type PointOfContact. The GraphQL type's documentation follows.
PointOfContact is an attestation of how to get in touch with the person(s) responsible for a package, source, or artifact.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The attestation applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
email is the email address (singular) of the point of contact.
info is additional contact information other than email address. This is free form.
NOTE: the identifiers for point of contact should be part of software trees. This will benefit from identifier look up and traversal as well as organization hierarchy. However, until the use case arises, PointOfContact will be a flat reference to the contact details.
func (*NodeNodePointOfContact) GetCollector ¶ added in v0.1.2
func (v *NodeNodePointOfContact) GetCollector() string
GetCollector returns NodeNodePointOfContact.Collector, and is useful for accessing the field via an interface.
func (*NodeNodePointOfContact) GetEmail ¶ added in v0.1.2
func (v *NodeNodePointOfContact) GetEmail() string
GetEmail returns NodeNodePointOfContact.Email, and is useful for accessing the field via an interface.
func (*NodeNodePointOfContact) GetId ¶ added in v0.1.2
func (v *NodeNodePointOfContact) GetId() string
GetId returns NodeNodePointOfContact.Id, and is useful for accessing the field via an interface.
func (*NodeNodePointOfContact) GetInfo ¶ added in v0.1.2
func (v *NodeNodePointOfContact) GetInfo() string
GetInfo returns NodeNodePointOfContact.Info, and is useful for accessing the field via an interface.
func (*NodeNodePointOfContact) GetJustification ¶ added in v0.1.2
func (v *NodeNodePointOfContact) GetJustification() string
GetJustification returns NodeNodePointOfContact.Justification, and is useful for accessing the field via an interface.
func (*NodeNodePointOfContact) GetOrigin ¶ added in v0.1.2
func (v *NodeNodePointOfContact) GetOrigin() string
GetOrigin returns NodeNodePointOfContact.Origin, and is useful for accessing the field via an interface.
func (*NodeNodePointOfContact) GetSince ¶ added in v0.1.2
func (v *NodeNodePointOfContact) GetSince() time.Time
GetSince returns NodeNodePointOfContact.Since, and is useful for accessing the field via an interface.
func (*NodeNodePointOfContact) GetSubject ¶ added in v0.1.2
func (v *NodeNodePointOfContact) GetSubject() AllPointOfContactSubjectPackageSourceOrArtifact
GetSubject returns NodeNodePointOfContact.Subject, and is useful for accessing the field via an interface.
func (*NodeNodePointOfContact) GetTypename ¶ added in v0.1.1
func (v *NodeNodePointOfContact) GetTypename() *string
GetTypename returns NodeNodePointOfContact.Typename, and is useful for accessing the field via an interface.
func (*NodeNodePointOfContact) MarshalJSON ¶ added in v0.1.2
func (v *NodeNodePointOfContact) MarshalJSON() ([]byte, error)
func (*NodeNodePointOfContact) UnmarshalJSON ¶ added in v0.1.2
func (v *NodeNodePointOfContact) UnmarshalJSON(b []byte) error
type NodeNodeSource ¶
type NodeNodeSource struct { Typename *string `json:"__typename"` AllSourceTree `json:"-"` }
NodeNodeSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*NodeNodeSource) GetId ¶
func (v *NodeNodeSource) GetId() string
GetId returns NodeNodeSource.Id, and is useful for accessing the field via an interface.
func (*NodeNodeSource) GetNamespaces ¶
func (v *NodeNodeSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns NodeNodeSource.Namespaces, and is useful for accessing the field via an interface.
func (*NodeNodeSource) GetType ¶
func (v *NodeNodeSource) GetType() string
GetType returns NodeNodeSource.Type, and is useful for accessing the field via an interface.
func (*NodeNodeSource) GetTypename ¶
func (v *NodeNodeSource) GetTypename() *string
GetTypename returns NodeNodeSource.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeSource) MarshalJSON ¶
func (v *NodeNodeSource) MarshalJSON() ([]byte, error)
func (*NodeNodeSource) UnmarshalJSON ¶
func (v *NodeNodeSource) UnmarshalJSON(b []byte) error
type NodeNodeVulnEqual ¶ added in v0.2.0
type NodeNodeVulnEqual struct { Typename *string `json:"__typename"` AllVulnEqual `json:"-"` }
NodeNodeVulnEqual includes the requested fields of the GraphQL type VulnEqual. The GraphQL type's documentation follows.
VulnEqual is an attestation to link two vulnerabilities together as being equal"
Note that setting noVuln vulnerability type is invalid for VulnEqual!
func (*NodeNodeVulnEqual) GetCollector ¶ added in v0.2.0
func (v *NodeNodeVulnEqual) GetCollector() string
GetCollector returns NodeNodeVulnEqual.Collector, and is useful for accessing the field via an interface.
func (*NodeNodeVulnEqual) GetId ¶ added in v0.2.0
func (v *NodeNodeVulnEqual) GetId() string
GetId returns NodeNodeVulnEqual.Id, and is useful for accessing the field via an interface.
func (*NodeNodeVulnEqual) GetJustification ¶ added in v0.2.0
func (v *NodeNodeVulnEqual) GetJustification() string
GetJustification returns NodeNodeVulnEqual.Justification, and is useful for accessing the field via an interface.
func (*NodeNodeVulnEqual) GetOrigin ¶ added in v0.2.0
func (v *NodeNodeVulnEqual) GetOrigin() string
GetOrigin returns NodeNodeVulnEqual.Origin, and is useful for accessing the field via an interface.
func (*NodeNodeVulnEqual) GetTypename ¶ added in v0.2.0
func (v *NodeNodeVulnEqual) GetTypename() *string
GetTypename returns NodeNodeVulnEqual.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeVulnEqual) GetVulnerabilities ¶ added in v0.2.0
func (v *NodeNodeVulnEqual) GetVulnerabilities() []AllVulnEqualVulnerabilitiesVulnerability
GetVulnerabilities returns NodeNodeVulnEqual.Vulnerabilities, and is useful for accessing the field via an interface.
func (*NodeNodeVulnEqual) MarshalJSON ¶ added in v0.2.0
func (v *NodeNodeVulnEqual) MarshalJSON() ([]byte, error)
func (*NodeNodeVulnEqual) UnmarshalJSON ¶ added in v0.2.0
func (v *NodeNodeVulnEqual) UnmarshalJSON(b []byte) error
type NodeNodeVulnerability ¶ added in v0.2.0
type NodeNodeVulnerability struct { Typename *string `json:"__typename"` AllVulnerabilityTree `json:"-"` }
NodeNodeVulnerability includes the requested fields of the GraphQL type Vulnerability. The GraphQL type's documentation follows.
Vulnerability represents the root of the vulnerability trie/tree.
We map vulnerability information to a trie, as a derivative of the pURL specification: each path in the trie represents a type and a vulnerability ID. This allows for generic representation of the various vulnerabilities and does not limit to just cve, ghsa or osv. This would be in the general format: vuln://<general-type>/<vuln-id>
Examples:
CVE, using path separator: vuln://cve/cve-2023-20753 OSV, representing its knowledge of a GHSA: vuln://osv/ghsa-205hk Random vendor: vuln://snyk/sn-whatever NoVuln: vuln://novuln/
This node represents the type part of the trie path. It is used to represent the specific type of the vulnerability: cve, ghsa, osv or some other vendor specific
Since this node is at the root of the vulnerability trie, it is named Vulnerability, not VulnerabilityType.
NoVuln is a special vulnerability node to attest that no vulnerability has been found during a vulnerability scan. It will have the type "novuln" and contain an empty string for vulnerabilityID
The resolvers will enforce that both the type and vulnerability IDs are lower case.
func (*NodeNodeVulnerability) GetId ¶ added in v0.2.0
func (v *NodeNodeVulnerability) GetId() string
GetId returns NodeNodeVulnerability.Id, and is useful for accessing the field via an interface.
func (*NodeNodeVulnerability) GetType ¶ added in v0.2.0
func (v *NodeNodeVulnerability) GetType() string
GetType returns NodeNodeVulnerability.Type, and is useful for accessing the field via an interface.
func (*NodeNodeVulnerability) GetTypename ¶ added in v0.2.0
func (v *NodeNodeVulnerability) GetTypename() *string
GetTypename returns NodeNodeVulnerability.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeVulnerability) GetVulnerabilityIDs ¶ added in v0.2.0
func (v *NodeNodeVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
GetVulnerabilityIDs returns NodeNodeVulnerability.VulnerabilityIDs, and is useful for accessing the field via an interface.
func (*NodeNodeVulnerability) MarshalJSON ¶ added in v0.2.0
func (v *NodeNodeVulnerability) MarshalJSON() ([]byte, error)
func (*NodeNodeVulnerability) UnmarshalJSON ¶ added in v0.2.0
func (v *NodeNodeVulnerability) UnmarshalJSON(b []byte) error
type NodeNodeVulnerabilityMetadata ¶ added in v0.2.0
type NodeNodeVulnerabilityMetadata struct { Typename *string `json:"__typename"` AllVulnMetadataTree `json:"-"` }
NodeNodeVulnerabilityMetadata includes the requested fields of the GraphQL type VulnerabilityMetadata. The GraphQL type's documentation follows.
VulnerabilityMetadata is an attestation that a vulnerability has a related score associated with it.
The intent of this evidence tree predicate is to allow extensibility of vulnerability score (one-to-one mapping) with a specific vulnerability ID.
A vulnerability ID can have a one-to-many relationship with the VulnerabilityMetadata node as a vulnerability ID can have multiple scores (in various frameworks).
Examples:
scoreType: EPSSv1 scoreValue: 0.960760000
scoreType: CVSSv2 scoreValue: 5.0
scoreType: CVSSv3 scoreValue: 7.5
The timestamp is used to determine when the score was evaluated for the specific vulnerability.
func (*NodeNodeVulnerabilityMetadata) GetCollector ¶ added in v0.2.0
func (v *NodeNodeVulnerabilityMetadata) GetCollector() string
GetCollector returns NodeNodeVulnerabilityMetadata.Collector, and is useful for accessing the field via an interface.
func (*NodeNodeVulnerabilityMetadata) GetId ¶ added in v0.2.0
func (v *NodeNodeVulnerabilityMetadata) GetId() string
GetId returns NodeNodeVulnerabilityMetadata.Id, and is useful for accessing the field via an interface.
func (*NodeNodeVulnerabilityMetadata) GetOrigin ¶ added in v0.2.0
func (v *NodeNodeVulnerabilityMetadata) GetOrigin() string
GetOrigin returns NodeNodeVulnerabilityMetadata.Origin, and is useful for accessing the field via an interface.
func (*NodeNodeVulnerabilityMetadata) GetScoreType ¶ added in v0.2.0
func (v *NodeNodeVulnerabilityMetadata) GetScoreType() VulnerabilityScoreType
GetScoreType returns NodeNodeVulnerabilityMetadata.ScoreType, and is useful for accessing the field via an interface.
func (*NodeNodeVulnerabilityMetadata) GetScoreValue ¶ added in v0.2.0
func (v *NodeNodeVulnerabilityMetadata) GetScoreValue() float64
GetScoreValue returns NodeNodeVulnerabilityMetadata.ScoreValue, and is useful for accessing the field via an interface.
func (*NodeNodeVulnerabilityMetadata) GetTimestamp ¶ added in v0.2.0
func (v *NodeNodeVulnerabilityMetadata) GetTimestamp() time.Time
GetTimestamp returns NodeNodeVulnerabilityMetadata.Timestamp, and is useful for accessing the field via an interface.
func (*NodeNodeVulnerabilityMetadata) GetTypename ¶ added in v0.2.0
func (v *NodeNodeVulnerabilityMetadata) GetTypename() *string
GetTypename returns NodeNodeVulnerabilityMetadata.Typename, and is useful for accessing the field via an interface.
func (*NodeNodeVulnerabilityMetadata) GetVulnerability ¶ added in v0.2.0
func (v *NodeNodeVulnerabilityMetadata) GetVulnerability() AllVulnMetadataTreeVulnerability
GetVulnerability returns NodeNodeVulnerabilityMetadata.Vulnerability, and is useful for accessing the field via an interface.
func (*NodeNodeVulnerabilityMetadata) MarshalJSON ¶ added in v0.2.0
func (v *NodeNodeVulnerabilityMetadata) MarshalJSON() ([]byte, error)
func (*NodeNodeVulnerabilityMetadata) UnmarshalJSON ¶ added in v0.2.0
func (v *NodeNodeVulnerabilityMetadata) UnmarshalJSON(b []byte) error
type NodeResponse ¶
type NodeResponse struct { // node returns a single node, regardless of type. // // The input is only specified by its ID. Node NodeNode `json:"-"` }
NodeResponse is returned by Node on success.
func (*NodeResponse) GetNode ¶
func (v *NodeResponse) GetNode() NodeNode
GetNode returns NodeResponse.Node, and is useful for accessing the field via an interface.
func (*NodeResponse) MarshalJSON ¶
func (v *NodeResponse) MarshalJSON() ([]byte, error)
func (*NodeResponse) UnmarshalJSON ¶
func (v *NodeResponse) UnmarshalJSON(b []byte) error
type NodesNodesArtifact ¶
type NodesNodesArtifact struct { Typename *string `json:"__typename"` AllArtifactTree `json:"-"` }
NodesNodesArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*NodesNodesArtifact) GetAlgorithm ¶
func (v *NodesNodesArtifact) GetAlgorithm() string
GetAlgorithm returns NodesNodesArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*NodesNodesArtifact) GetDigest ¶
func (v *NodesNodesArtifact) GetDigest() string
GetDigest returns NodesNodesArtifact.Digest, and is useful for accessing the field via an interface.
func (*NodesNodesArtifact) GetId ¶
func (v *NodesNodesArtifact) GetId() string
GetId returns NodesNodesArtifact.Id, and is useful for accessing the field via an interface.
func (*NodesNodesArtifact) GetTypename ¶
func (v *NodesNodesArtifact) GetTypename() *string
GetTypename returns NodesNodesArtifact.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesArtifact) MarshalJSON ¶
func (v *NodesNodesArtifact) MarshalJSON() ([]byte, error)
func (*NodesNodesArtifact) UnmarshalJSON ¶
func (v *NodesNodesArtifact) UnmarshalJSON(b []byte) error
type NodesNodesBuilder ¶
type NodesNodesBuilder struct { Typename *string `json:"__typename"` AllBuilderTree `json:"-"` }
NodesNodesBuilder includes the requested fields of the GraphQL type Builder. The GraphQL type's documentation follows.
Builder represents the builder (e.g., FRSCA or GitHub Actions).
Currently builders are identified by the uri field.
func (*NodesNodesBuilder) GetId ¶
func (v *NodesNodesBuilder) GetId() string
GetId returns NodesNodesBuilder.Id, and is useful for accessing the field via an interface.
func (*NodesNodesBuilder) GetTypename ¶
func (v *NodesNodesBuilder) GetTypename() *string
GetTypename returns NodesNodesBuilder.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesBuilder) GetUri ¶
func (v *NodesNodesBuilder) GetUri() string
GetUri returns NodesNodesBuilder.Uri, and is useful for accessing the field via an interface.
func (*NodesNodesBuilder) MarshalJSON ¶
func (v *NodesNodesBuilder) MarshalJSON() ([]byte, error)
func (*NodesNodesBuilder) UnmarshalJSON ¶
func (v *NodesNodesBuilder) UnmarshalJSON(b []byte) error
type NodesNodesCertifyBad ¶
type NodesNodesCertifyBad struct { Typename *string `json:"__typename"` AllCertifyBad `json:"-"` }
NodesNodesCertifyBad includes the requested fields of the GraphQL type CertifyBad. The GraphQL type's documentation follows.
CertifyBad is an attestation that a package, source, or artifact is considered bad.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The certification applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*NodesNodesCertifyBad) GetCollector ¶
func (v *NodesNodesCertifyBad) GetCollector() string
GetCollector returns NodesNodesCertifyBad.Collector, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyBad) GetId ¶
func (v *NodesNodesCertifyBad) GetId() string
GetId returns NodesNodesCertifyBad.Id, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyBad) GetJustification ¶
func (v *NodesNodesCertifyBad) GetJustification() string
GetJustification returns NodesNodesCertifyBad.Justification, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyBad) GetKnownSince ¶ added in v0.2.1
func (v *NodesNodesCertifyBad) GetKnownSince() time.Time
GetKnownSince returns NodesNodesCertifyBad.KnownSince, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyBad) GetOrigin ¶
func (v *NodesNodesCertifyBad) GetOrigin() string
GetOrigin returns NodesNodesCertifyBad.Origin, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyBad) GetSubject ¶
func (v *NodesNodesCertifyBad) GetSubject() AllCertifyBadSubjectPackageSourceOrArtifact
GetSubject returns NodesNodesCertifyBad.Subject, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyBad) GetTypename ¶
func (v *NodesNodesCertifyBad) GetTypename() *string
GetTypename returns NodesNodesCertifyBad.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyBad) MarshalJSON ¶
func (v *NodesNodesCertifyBad) MarshalJSON() ([]byte, error)
func (*NodesNodesCertifyBad) UnmarshalJSON ¶
func (v *NodesNodesCertifyBad) UnmarshalJSON(b []byte) error
type NodesNodesCertifyGood ¶
type NodesNodesCertifyGood struct { Typename *string `json:"__typename"` AllCertifyGood `json:"-"` }
NodesNodesCertifyGood includes the requested fields of the GraphQL type CertifyGood. The GraphQL type's documentation follows.
CertifyGood is an attestation that a package, source, or artifact is considered good.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The certification applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*NodesNodesCertifyGood) GetCollector ¶
func (v *NodesNodesCertifyGood) GetCollector() string
GetCollector returns NodesNodesCertifyGood.Collector, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyGood) GetId ¶
func (v *NodesNodesCertifyGood) GetId() string
GetId returns NodesNodesCertifyGood.Id, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyGood) GetJustification ¶
func (v *NodesNodesCertifyGood) GetJustification() string
GetJustification returns NodesNodesCertifyGood.Justification, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyGood) GetKnownSince ¶ added in v0.2.1
func (v *NodesNodesCertifyGood) GetKnownSince() time.Time
GetKnownSince returns NodesNodesCertifyGood.KnownSince, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyGood) GetOrigin ¶
func (v *NodesNodesCertifyGood) GetOrigin() string
GetOrigin returns NodesNodesCertifyGood.Origin, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyGood) GetSubject ¶
func (v *NodesNodesCertifyGood) GetSubject() AllCertifyGoodSubjectPackageSourceOrArtifact
GetSubject returns NodesNodesCertifyGood.Subject, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyGood) GetTypename ¶
func (v *NodesNodesCertifyGood) GetTypename() *string
GetTypename returns NodesNodesCertifyGood.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyGood) MarshalJSON ¶
func (v *NodesNodesCertifyGood) MarshalJSON() ([]byte, error)
func (*NodesNodesCertifyGood) UnmarshalJSON ¶
func (v *NodesNodesCertifyGood) UnmarshalJSON(b []byte) error
type NodesNodesCertifyLegal ¶ added in v0.2.0
type NodesNodesCertifyLegal struct { Typename *string `json:"__typename"` AllCertifyLegalTree `json:"-"` }
NodesNodesCertifyLegal includes the requested fields of the GraphQL type CertifyLegal. The GraphQL type's documentation follows.
CertifyLegal is an attestation to attach legal information to a package or source.
The certification information is either copied from an attestation found in an SBOM or created by a collector/scanner.
Discovered license is also known as Concluded. More information: https://docs.clearlydefined.io/docs/curation/curation-guidelines#the-difference-between-declared-and-discovered-licenses
Attribution is also known as Copyright Text. It is what could be displayed to comply with notice requirements. https://www.nexb.com/oss-attribution-best-practices/
License expressions follow this format: https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/
func (*NodesNodesCertifyLegal) GetAttribution ¶ added in v0.2.0
func (v *NodesNodesCertifyLegal) GetAttribution() string
GetAttribution returns NodesNodesCertifyLegal.Attribution, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyLegal) GetCollector ¶ added in v0.2.0
func (v *NodesNodesCertifyLegal) GetCollector() string
GetCollector returns NodesNodesCertifyLegal.Collector, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyLegal) GetDeclaredLicense ¶ added in v0.2.0
func (v *NodesNodesCertifyLegal) GetDeclaredLicense() string
GetDeclaredLicense returns NodesNodesCertifyLegal.DeclaredLicense, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyLegal) GetDeclaredLicenses ¶ added in v0.2.0
func (v *NodesNodesCertifyLegal) GetDeclaredLicenses() []AllCertifyLegalTreeDeclaredLicensesLicense
GetDeclaredLicenses returns NodesNodesCertifyLegal.DeclaredLicenses, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyLegal) GetDiscoveredLicense ¶ added in v0.2.0
func (v *NodesNodesCertifyLegal) GetDiscoveredLicense() string
GetDiscoveredLicense returns NodesNodesCertifyLegal.DiscoveredLicense, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyLegal) GetDiscoveredLicenses ¶ added in v0.2.0
func (v *NodesNodesCertifyLegal) GetDiscoveredLicenses() []AllCertifyLegalTreeDiscoveredLicensesLicense
GetDiscoveredLicenses returns NodesNodesCertifyLegal.DiscoveredLicenses, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyLegal) GetId ¶ added in v0.2.0
func (v *NodesNodesCertifyLegal) GetId() string
GetId returns NodesNodesCertifyLegal.Id, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyLegal) GetJustification ¶ added in v0.2.0
func (v *NodesNodesCertifyLegal) GetJustification() string
GetJustification returns NodesNodesCertifyLegal.Justification, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyLegal) GetOrigin ¶ added in v0.2.0
func (v *NodesNodesCertifyLegal) GetOrigin() string
GetOrigin returns NodesNodesCertifyLegal.Origin, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyLegal) GetSubject ¶ added in v0.2.0
func (v *NodesNodesCertifyLegal) GetSubject() AllCertifyLegalTreeSubjectPackageOrSource
GetSubject returns NodesNodesCertifyLegal.Subject, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyLegal) GetTimeScanned ¶ added in v0.2.0
func (v *NodesNodesCertifyLegal) GetTimeScanned() time.Time
GetTimeScanned returns NodesNodesCertifyLegal.TimeScanned, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyLegal) GetTypename ¶ added in v0.2.0
func (v *NodesNodesCertifyLegal) GetTypename() *string
GetTypename returns NodesNodesCertifyLegal.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyLegal) MarshalJSON ¶ added in v0.2.0
func (v *NodesNodesCertifyLegal) MarshalJSON() ([]byte, error)
func (*NodesNodesCertifyLegal) UnmarshalJSON ¶ added in v0.2.0
func (v *NodesNodesCertifyLegal) UnmarshalJSON(b []byte) error
type NodesNodesCertifyScorecard ¶
type NodesNodesCertifyScorecard struct { Typename *string `json:"__typename"` AllCertifyScorecard `json:"-"` }
NodesNodesCertifyScorecard includes the requested fields of the GraphQL type CertifyScorecard. The GraphQL type's documentation follows.
CertifyScorecard is an attestation to attach a Scorecard analysis to a particular source repository.
func (*NodesNodesCertifyScorecard) GetId ¶
func (v *NodesNodesCertifyScorecard) GetId() string
GetId returns NodesNodesCertifyScorecard.Id, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyScorecard) GetScorecard ¶
func (v *NodesNodesCertifyScorecard) GetScorecard() AllCertifyScorecardScorecard
GetScorecard returns NodesNodesCertifyScorecard.Scorecard, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyScorecard) GetSource ¶
func (v *NodesNodesCertifyScorecard) GetSource() AllCertifyScorecardSource
GetSource returns NodesNodesCertifyScorecard.Source, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyScorecard) GetTypename ¶
func (v *NodesNodesCertifyScorecard) GetTypename() *string
GetTypename returns NodesNodesCertifyScorecard.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyScorecard) MarshalJSON ¶
func (v *NodesNodesCertifyScorecard) MarshalJSON() ([]byte, error)
func (*NodesNodesCertifyScorecard) UnmarshalJSON ¶
func (v *NodesNodesCertifyScorecard) UnmarshalJSON(b []byte) error
type NodesNodesCertifyVEXStatement ¶
type NodesNodesCertifyVEXStatement struct { Typename *string `json:"__typename"` AllCertifyVEXStatement `json:"-"` }
NodesNodesCertifyVEXStatement includes the requested fields of the GraphQL type CertifyVEXStatement. The GraphQL type's documentation follows.
CertifyVEXStatement is an attestation to attach VEX statements to a package or artifact to clarify the impact of a specific vulnerability.
func (*NodesNodesCertifyVEXStatement) GetCollector ¶
func (v *NodesNodesCertifyVEXStatement) GetCollector() string
GetCollector returns NodesNodesCertifyVEXStatement.Collector, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVEXStatement) GetId ¶
func (v *NodesNodesCertifyVEXStatement) GetId() string
GetId returns NodesNodesCertifyVEXStatement.Id, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVEXStatement) GetKnownSince ¶
func (v *NodesNodesCertifyVEXStatement) GetKnownSince() time.Time
GetKnownSince returns NodesNodesCertifyVEXStatement.KnownSince, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVEXStatement) GetOrigin ¶
func (v *NodesNodesCertifyVEXStatement) GetOrigin() string
GetOrigin returns NodesNodesCertifyVEXStatement.Origin, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVEXStatement) GetStatement ¶
func (v *NodesNodesCertifyVEXStatement) GetStatement() string
GetStatement returns NodesNodesCertifyVEXStatement.Statement, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVEXStatement) GetStatus ¶
func (v *NodesNodesCertifyVEXStatement) GetStatus() VexStatus
GetStatus returns NodesNodesCertifyVEXStatement.Status, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVEXStatement) GetStatusNotes ¶
func (v *NodesNodesCertifyVEXStatement) GetStatusNotes() string
GetStatusNotes returns NodesNodesCertifyVEXStatement.StatusNotes, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVEXStatement) GetSubject ¶
func (v *NodesNodesCertifyVEXStatement) GetSubject() AllCertifyVEXStatementSubjectPackageOrArtifact
GetSubject returns NodesNodesCertifyVEXStatement.Subject, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVEXStatement) GetTypename ¶
func (v *NodesNodesCertifyVEXStatement) GetTypename() *string
GetTypename returns NodesNodesCertifyVEXStatement.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVEXStatement) GetVexJustification ¶
func (v *NodesNodesCertifyVEXStatement) GetVexJustification() VexJustification
GetVexJustification returns NodesNodesCertifyVEXStatement.VexJustification, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVEXStatement) GetVulnerability ¶
func (v *NodesNodesCertifyVEXStatement) GetVulnerability() AllCertifyVEXStatementVulnerability
GetVulnerability returns NodesNodesCertifyVEXStatement.Vulnerability, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVEXStatement) MarshalJSON ¶
func (v *NodesNodesCertifyVEXStatement) MarshalJSON() ([]byte, error)
func (*NodesNodesCertifyVEXStatement) UnmarshalJSON ¶
func (v *NodesNodesCertifyVEXStatement) UnmarshalJSON(b []byte) error
type NodesNodesCertifyVuln ¶
type NodesNodesCertifyVuln struct { Typename *string `json:"__typename"` AllCertifyVuln `json:"-"` }
NodesNodesCertifyVuln includes the requested fields of the GraphQL type CertifyVuln. The GraphQL type's documentation follows.
CertifyVuln is an attestation to attach vulnerability information to a package.
This information is obtained via a scanner. If there is no vulnerability detected, we attach the a vulnerability with "NoVuln" type and an empty string for the vulnerability ID.
func (*NodesNodesCertifyVuln) GetId ¶
func (v *NodesNodesCertifyVuln) GetId() string
GetId returns NodesNodesCertifyVuln.Id, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVuln) GetMetadata ¶
func (v *NodesNodesCertifyVuln) GetMetadata() AllCertifyVulnMetadataScanMetadata
GetMetadata returns NodesNodesCertifyVuln.Metadata, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVuln) GetPackage ¶
func (v *NodesNodesCertifyVuln) GetPackage() AllCertifyVulnPackage
GetPackage returns NodesNodesCertifyVuln.Package, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVuln) GetTypename ¶
func (v *NodesNodesCertifyVuln) GetTypename() *string
GetTypename returns NodesNodesCertifyVuln.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVuln) GetVulnerability ¶
func (v *NodesNodesCertifyVuln) GetVulnerability() AllCertifyVulnVulnerability
GetVulnerability returns NodesNodesCertifyVuln.Vulnerability, and is useful for accessing the field via an interface.
func (*NodesNodesCertifyVuln) MarshalJSON ¶
func (v *NodesNodesCertifyVuln) MarshalJSON() ([]byte, error)
func (*NodesNodesCertifyVuln) UnmarshalJSON ¶
func (v *NodesNodesCertifyVuln) UnmarshalJSON(b []byte) error
type NodesNodesHasMetadata ¶ added in v0.1.1
type NodesNodesHasMetadata struct { Typename *string `json:"__typename"` AllHasMetadata `json:"-"` }
NodesNodesHasMetadata includes the requested fields of the GraphQL type HasMetadata. The GraphQL type's documentation follows.
HasMetadata is an attestation that a package, source, or artifact has a certain attested property (key) with value (value). For example, a source may have metadata "SourceRepo2FAEnabled=true".
The intent of this evidence tree predicate is to allow extensibility of metadata expressible within the GUAC ontology. Metadata that is commonly used will then be promoted to a predicate on its own.
Justification indicates how the metadata was determined.
The metadata applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*NodesNodesHasMetadata) GetCollector ¶ added in v0.2.0
func (v *NodesNodesHasMetadata) GetCollector() string
GetCollector returns NodesNodesHasMetadata.Collector, and is useful for accessing the field via an interface.
func (*NodesNodesHasMetadata) GetId ¶ added in v0.2.0
func (v *NodesNodesHasMetadata) GetId() string
GetId returns NodesNodesHasMetadata.Id, and is useful for accessing the field via an interface.
func (*NodesNodesHasMetadata) GetJustification ¶ added in v0.2.0
func (v *NodesNodesHasMetadata) GetJustification() string
GetJustification returns NodesNodesHasMetadata.Justification, and is useful for accessing the field via an interface.
func (*NodesNodesHasMetadata) GetKey ¶ added in v0.2.0
func (v *NodesNodesHasMetadata) GetKey() string
GetKey returns NodesNodesHasMetadata.Key, and is useful for accessing the field via an interface.
func (*NodesNodesHasMetadata) GetOrigin ¶ added in v0.2.0
func (v *NodesNodesHasMetadata) GetOrigin() string
GetOrigin returns NodesNodesHasMetadata.Origin, and is useful for accessing the field via an interface.
func (*NodesNodesHasMetadata) GetSubject ¶ added in v0.2.0
func (v *NodesNodesHasMetadata) GetSubject() AllHasMetadataSubjectPackageSourceOrArtifact
GetSubject returns NodesNodesHasMetadata.Subject, and is useful for accessing the field via an interface.
func (*NodesNodesHasMetadata) GetTimestamp ¶ added in v0.2.0
func (v *NodesNodesHasMetadata) GetTimestamp() time.Time
GetTimestamp returns NodesNodesHasMetadata.Timestamp, and is useful for accessing the field via an interface.
func (*NodesNodesHasMetadata) GetTypename ¶ added in v0.1.1
func (v *NodesNodesHasMetadata) GetTypename() *string
GetTypename returns NodesNodesHasMetadata.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesHasMetadata) GetValue ¶ added in v0.2.0
func (v *NodesNodesHasMetadata) GetValue() string
GetValue returns NodesNodesHasMetadata.Value, and is useful for accessing the field via an interface.
func (*NodesNodesHasMetadata) MarshalJSON ¶ added in v0.2.0
func (v *NodesNodesHasMetadata) MarshalJSON() ([]byte, error)
func (*NodesNodesHasMetadata) UnmarshalJSON ¶ added in v0.2.0
func (v *NodesNodesHasMetadata) UnmarshalJSON(b []byte) error
type NodesNodesHasSBOM ¶
type NodesNodesHasSBOM struct { Typename *string `json:"__typename"` AllHasSBOMTree `json:"-"` }
NodesNodesHasSBOM includes the requested fields of the GraphQL type HasSBOM.
func (*NodesNodesHasSBOM) GetAlgorithm ¶
func (v *NodesNodesHasSBOM) GetAlgorithm() string
GetAlgorithm returns NodesNodesHasSBOM.Algorithm, and is useful for accessing the field via an interface.
func (*NodesNodesHasSBOM) GetCollector ¶
func (v *NodesNodesHasSBOM) GetCollector() string
GetCollector returns NodesNodesHasSBOM.Collector, and is useful for accessing the field via an interface.
func (*NodesNodesHasSBOM) GetDigest ¶
func (v *NodesNodesHasSBOM) GetDigest() string
GetDigest returns NodesNodesHasSBOM.Digest, and is useful for accessing the field via an interface.
func (*NodesNodesHasSBOM) GetDocumentRef ¶ added in v0.8.3
func (v *NodesNodesHasSBOM) GetDocumentRef() string
GetDocumentRef returns NodesNodesHasSBOM.DocumentRef, and is useful for accessing the field via an interface.
func (*NodesNodesHasSBOM) GetDownloadLocation ¶
func (v *NodesNodesHasSBOM) GetDownloadLocation() string
GetDownloadLocation returns NodesNodesHasSBOM.DownloadLocation, and is useful for accessing the field via an interface.
func (*NodesNodesHasSBOM) GetId ¶
func (v *NodesNodesHasSBOM) GetId() string
GetId returns NodesNodesHasSBOM.Id, and is useful for accessing the field via an interface.
func (*NodesNodesHasSBOM) GetIncludedDependencies ¶ added in v0.4.0
func (v *NodesNodesHasSBOM) GetIncludedDependencies() []AllHasSBOMTreeIncludedDependenciesIsDependency
GetIncludedDependencies returns NodesNodesHasSBOM.IncludedDependencies, and is useful for accessing the field via an interface.
func (*NodesNodesHasSBOM) GetIncludedOccurrences ¶ added in v0.4.0
func (v *NodesNodesHasSBOM) GetIncludedOccurrences() []AllHasSBOMTreeIncludedOccurrencesIsOccurrence
GetIncludedOccurrences returns NodesNodesHasSBOM.IncludedOccurrences, and is useful for accessing the field via an interface.
func (*NodesNodesHasSBOM) GetIncludedSoftware ¶ added in v0.4.0
func (v *NodesNodesHasSBOM) GetIncludedSoftware() []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
GetIncludedSoftware returns NodesNodesHasSBOM.IncludedSoftware, and is useful for accessing the field via an interface.
func (*NodesNodesHasSBOM) GetKnownSince ¶ added in v0.2.1
func (v *NodesNodesHasSBOM) GetKnownSince() time.Time
GetKnownSince returns NodesNodesHasSBOM.KnownSince, and is useful for accessing the field via an interface.
func (*NodesNodesHasSBOM) GetOrigin ¶
func (v *NodesNodesHasSBOM) GetOrigin() string
GetOrigin returns NodesNodesHasSBOM.Origin, and is useful for accessing the field via an interface.
func (*NodesNodesHasSBOM) GetSubject ¶
func (v *NodesNodesHasSBOM) GetSubject() AllHasSBOMTreeSubjectPackageOrArtifact
GetSubject returns NodesNodesHasSBOM.Subject, and is useful for accessing the field via an interface.
func (*NodesNodesHasSBOM) GetTypename ¶
func (v *NodesNodesHasSBOM) GetTypename() *string
GetTypename returns NodesNodesHasSBOM.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesHasSBOM) GetUri ¶
func (v *NodesNodesHasSBOM) GetUri() string
GetUri returns NodesNodesHasSBOM.Uri, and is useful for accessing the field via an interface.
func (*NodesNodesHasSBOM) MarshalJSON ¶
func (v *NodesNodesHasSBOM) MarshalJSON() ([]byte, error)
func (*NodesNodesHasSBOM) UnmarshalJSON ¶
func (v *NodesNodesHasSBOM) UnmarshalJSON(b []byte) error
type NodesNodesHasSLSA ¶
type NodesNodesHasSLSA struct { Typename *string `json:"__typename"` AllSLSATree `json:"-"` }
NodesNodesHasSLSA includes the requested fields of the GraphQL type HasSLSA. The GraphQL type's documentation follows.
HasSLSA records that a subject node has a SLSA attestation.
func (*NodesNodesHasSLSA) GetId ¶
func (v *NodesNodesHasSLSA) GetId() string
GetId returns NodesNodesHasSLSA.Id, and is useful for accessing the field via an interface.
func (*NodesNodesHasSLSA) GetSlsa ¶
func (v *NodesNodesHasSLSA) GetSlsa() AllSLSATreeSlsaSLSA
GetSlsa returns NodesNodesHasSLSA.Slsa, and is useful for accessing the field via an interface.
func (*NodesNodesHasSLSA) GetSubject ¶
func (v *NodesNodesHasSLSA) GetSubject() AllSLSATreeSubjectArtifact
GetSubject returns NodesNodesHasSLSA.Subject, and is useful for accessing the field via an interface.
func (*NodesNodesHasSLSA) GetTypename ¶
func (v *NodesNodesHasSLSA) GetTypename() *string
GetTypename returns NodesNodesHasSLSA.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesHasSLSA) MarshalJSON ¶
func (v *NodesNodesHasSLSA) MarshalJSON() ([]byte, error)
func (*NodesNodesHasSLSA) UnmarshalJSON ¶
func (v *NodesNodesHasSLSA) UnmarshalJSON(b []byte) error
type NodesNodesHasSourceAt ¶
type NodesNodesHasSourceAt struct { Typename *string `json:"__typename"` AllHasSourceAt `json:"-"` }
NodesNodesHasSourceAt includes the requested fields of the GraphQL type HasSourceAt. The GraphQL type's documentation follows.
HasSourceAt records that a package's repository is a given source.
func (*NodesNodesHasSourceAt) GetCollector ¶
func (v *NodesNodesHasSourceAt) GetCollector() string
GetCollector returns NodesNodesHasSourceAt.Collector, and is useful for accessing the field via an interface.
func (*NodesNodesHasSourceAt) GetId ¶
func (v *NodesNodesHasSourceAt) GetId() string
GetId returns NodesNodesHasSourceAt.Id, and is useful for accessing the field via an interface.
func (*NodesNodesHasSourceAt) GetJustification ¶
func (v *NodesNodesHasSourceAt) GetJustification() string
GetJustification returns NodesNodesHasSourceAt.Justification, and is useful for accessing the field via an interface.
func (*NodesNodesHasSourceAt) GetKnownSince ¶
func (v *NodesNodesHasSourceAt) GetKnownSince() time.Time
GetKnownSince returns NodesNodesHasSourceAt.KnownSince, and is useful for accessing the field via an interface.
func (*NodesNodesHasSourceAt) GetOrigin ¶
func (v *NodesNodesHasSourceAt) GetOrigin() string
GetOrigin returns NodesNodesHasSourceAt.Origin, and is useful for accessing the field via an interface.
func (*NodesNodesHasSourceAt) GetPackage ¶
func (v *NodesNodesHasSourceAt) GetPackage() AllHasSourceAtPackage
GetPackage returns NodesNodesHasSourceAt.Package, and is useful for accessing the field via an interface.
func (*NodesNodesHasSourceAt) GetSource ¶
func (v *NodesNodesHasSourceAt) GetSource() AllHasSourceAtSource
GetSource returns NodesNodesHasSourceAt.Source, and is useful for accessing the field via an interface.
func (*NodesNodesHasSourceAt) GetTypename ¶
func (v *NodesNodesHasSourceAt) GetTypename() *string
GetTypename returns NodesNodesHasSourceAt.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesHasSourceAt) MarshalJSON ¶
func (v *NodesNodesHasSourceAt) MarshalJSON() ([]byte, error)
func (*NodesNodesHasSourceAt) UnmarshalJSON ¶
func (v *NodesNodesHasSourceAt) UnmarshalJSON(b []byte) error
type NodesNodesHashEqual ¶
type NodesNodesHashEqual struct { Typename *string `json:"__typename"` AllHashEqualTree `json:"-"` }
NodesNodesHashEqual includes the requested fields of the GraphQL type HashEqual. The GraphQL type's documentation follows.
HashEqual is an attestation that two artifacts are identical.
func (*NodesNodesHashEqual) GetArtifacts ¶
func (v *NodesNodesHashEqual) GetArtifacts() []AllHashEqualTreeArtifactsArtifact
GetArtifacts returns NodesNodesHashEqual.Artifacts, and is useful for accessing the field via an interface.
func (*NodesNodesHashEqual) GetCollector ¶
func (v *NodesNodesHashEqual) GetCollector() string
GetCollector returns NodesNodesHashEqual.Collector, and is useful for accessing the field via an interface.
func (*NodesNodesHashEqual) GetId ¶
func (v *NodesNodesHashEqual) GetId() string
GetId returns NodesNodesHashEqual.Id, and is useful for accessing the field via an interface.
func (*NodesNodesHashEqual) GetJustification ¶
func (v *NodesNodesHashEqual) GetJustification() string
GetJustification returns NodesNodesHashEqual.Justification, and is useful for accessing the field via an interface.
func (*NodesNodesHashEqual) GetOrigin ¶
func (v *NodesNodesHashEqual) GetOrigin() string
GetOrigin returns NodesNodesHashEqual.Origin, and is useful for accessing the field via an interface.
func (*NodesNodesHashEqual) GetTypename ¶
func (v *NodesNodesHashEqual) GetTypename() *string
GetTypename returns NodesNodesHashEqual.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesHashEqual) MarshalJSON ¶
func (v *NodesNodesHashEqual) MarshalJSON() ([]byte, error)
func (*NodesNodesHashEqual) UnmarshalJSON ¶
func (v *NodesNodesHashEqual) UnmarshalJSON(b []byte) error
type NodesNodesIsDependency ¶
type NodesNodesIsDependency struct { Typename *string `json:"__typename"` AllIsDependencyTree `json:"-"` }
NodesNodesIsDependency includes the requested fields of the GraphQL type IsDependency. The GraphQL type's documentation follows.
IsDependency is an attestation to record that a package depends on another.
func (*NodesNodesIsDependency) GetCollector ¶
func (v *NodesNodesIsDependency) GetCollector() string
GetCollector returns NodesNodesIsDependency.Collector, and is useful for accessing the field via an interface.
func (*NodesNodesIsDependency) GetDependencyPackage ¶ added in v0.2.0
func (v *NodesNodesIsDependency) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
GetDependencyPackage returns NodesNodesIsDependency.DependencyPackage, and is useful for accessing the field via an interface.
func (*NodesNodesIsDependency) GetDependencyType ¶
func (v *NodesNodesIsDependency) GetDependencyType() DependencyType
GetDependencyType returns NodesNodesIsDependency.DependencyType, and is useful for accessing the field via an interface.
func (*NodesNodesIsDependency) GetId ¶
func (v *NodesNodesIsDependency) GetId() string
GetId returns NodesNodesIsDependency.Id, and is useful for accessing the field via an interface.
func (*NodesNodesIsDependency) GetJustification ¶
func (v *NodesNodesIsDependency) GetJustification() string
GetJustification returns NodesNodesIsDependency.Justification, and is useful for accessing the field via an interface.
func (*NodesNodesIsDependency) GetOrigin ¶
func (v *NodesNodesIsDependency) GetOrigin() string
GetOrigin returns NodesNodesIsDependency.Origin, and is useful for accessing the field via an interface.
func (*NodesNodesIsDependency) GetPackage ¶
func (v *NodesNodesIsDependency) GetPackage() AllIsDependencyTreePackage
GetPackage returns NodesNodesIsDependency.Package, and is useful for accessing the field via an interface.
func (*NodesNodesIsDependency) GetTypename ¶
func (v *NodesNodesIsDependency) GetTypename() *string
GetTypename returns NodesNodesIsDependency.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesIsDependency) MarshalJSON ¶
func (v *NodesNodesIsDependency) MarshalJSON() ([]byte, error)
func (*NodesNodesIsDependency) UnmarshalJSON ¶
func (v *NodesNodesIsDependency) UnmarshalJSON(b []byte) error
type NodesNodesIsOccurrence ¶
type NodesNodesIsOccurrence struct { Typename *string `json:"__typename"` AllIsOccurrencesTree `json:"-"` }
NodesNodesIsOccurrence includes the requested fields of the GraphQL type IsOccurrence. The GraphQL type's documentation follows.
IsOccurrence is an attestation to link an artifact to a package or source.
Attestation must occur at the PackageVersion or at the SourceName.
func (*NodesNodesIsOccurrence) GetArtifact ¶
func (v *NodesNodesIsOccurrence) GetArtifact() AllIsOccurrencesTreeArtifact
GetArtifact returns NodesNodesIsOccurrence.Artifact, and is useful for accessing the field via an interface.
func (*NodesNodesIsOccurrence) GetCollector ¶
func (v *NodesNodesIsOccurrence) GetCollector() string
GetCollector returns NodesNodesIsOccurrence.Collector, and is useful for accessing the field via an interface.
func (*NodesNodesIsOccurrence) GetId ¶
func (v *NodesNodesIsOccurrence) GetId() string
GetId returns NodesNodesIsOccurrence.Id, and is useful for accessing the field via an interface.
func (*NodesNodesIsOccurrence) GetJustification ¶
func (v *NodesNodesIsOccurrence) GetJustification() string
GetJustification returns NodesNodesIsOccurrence.Justification, and is useful for accessing the field via an interface.
func (*NodesNodesIsOccurrence) GetOrigin ¶
func (v *NodesNodesIsOccurrence) GetOrigin() string
GetOrigin returns NodesNodesIsOccurrence.Origin, and is useful for accessing the field via an interface.
func (*NodesNodesIsOccurrence) GetSubject ¶
func (v *NodesNodesIsOccurrence) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
GetSubject returns NodesNodesIsOccurrence.Subject, and is useful for accessing the field via an interface.
func (*NodesNodesIsOccurrence) GetTypename ¶
func (v *NodesNodesIsOccurrence) GetTypename() *string
GetTypename returns NodesNodesIsOccurrence.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesIsOccurrence) MarshalJSON ¶
func (v *NodesNodesIsOccurrence) MarshalJSON() ([]byte, error)
func (*NodesNodesIsOccurrence) UnmarshalJSON ¶
func (v *NodesNodesIsOccurrence) UnmarshalJSON(b []byte) error
type NodesNodesLicense ¶ added in v0.2.0
type NodesNodesLicense struct { Typename *string `json:"__typename"` AllLicenseTree `json:"-"` }
NodesNodesLicense includes the requested fields of the GraphQL type License. The GraphQL type's documentation follows.
License represents a particular license. If the license is found on the SPDX license list (https://spdx.org/licenses/) then the fields should be:
Name: SPDX license identifier Inline: empty ListVersion: SPDX license list version
example:
Name: AGPL-3.0-or-later Inline: "" ListVersion: 3.21 2023-06-18
If the license is not on the SPDX license list, then a new guid should be created and the license text placed inline:
Name: LicenseRef-<guid> Inline: Full license text ListVersion: empty
example:
Name: LicenseRef-1a2b3c Inline: Permission to use, copy, modify, and/or distribute ... ListVersion: ""
func (*NodesNodesLicense) GetId ¶ added in v0.2.0
func (v *NodesNodesLicense) GetId() string
GetId returns NodesNodesLicense.Id, and is useful for accessing the field via an interface.
func (*NodesNodesLicense) GetInline ¶ added in v0.2.0
func (v *NodesNodesLicense) GetInline() *string
GetInline returns NodesNodesLicense.Inline, and is useful for accessing the field via an interface.
func (*NodesNodesLicense) GetListVersion ¶ added in v0.2.0
func (v *NodesNodesLicense) GetListVersion() *string
GetListVersion returns NodesNodesLicense.ListVersion, and is useful for accessing the field via an interface.
func (*NodesNodesLicense) GetName ¶ added in v0.2.0
func (v *NodesNodesLicense) GetName() string
GetName returns NodesNodesLicense.Name, and is useful for accessing the field via an interface.
func (*NodesNodesLicense) GetTypename ¶ added in v0.2.0
func (v *NodesNodesLicense) GetTypename() *string
GetTypename returns NodesNodesLicense.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesLicense) MarshalJSON ¶ added in v0.2.0
func (v *NodesNodesLicense) MarshalJSON() ([]byte, error)
func (*NodesNodesLicense) UnmarshalJSON ¶ added in v0.2.0
func (v *NodesNodesLicense) UnmarshalJSON(b []byte) error
type NodesNodesNode ¶
type NodesNodesNode interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() *string // contains filtered or unexported methods }
NodesNodesNode includes the requested fields of the GraphQL interface Node.
NodesNodesNode is implemented by the following types: NodesNodesArtifact NodesNodesBuilder NodesNodesCertifyBad NodesNodesCertifyGood NodesNodesCertifyLegal NodesNodesCertifyScorecard NodesNodesCertifyVEXStatement NodesNodesCertifyVuln NodesNodesHasMetadata NodesNodesHasSBOM NodesNodesHasSLSA NodesNodesHasSourceAt NodesNodesHashEqual NodesNodesIsDependency NodesNodesIsOccurrence NodesNodesLicense NodesNodesPackage NodesNodesPkgEqual NodesNodesPointOfContact NodesNodesSource NodesNodesVulnEqual NodesNodesVulnerability NodesNodesVulnerabilityMetadata The GraphQL type's documentation follows.
Node is a union type of all the possible nodes.
It encapsulates the software tree nodes along with the evidence nodes. In a path query, all connecting evidence nodes along with their intermediate subject nodes need to be returned in order to create a complete graph.
type NodesNodesPackage ¶
type NodesNodesPackage struct { Typename *string `json:"__typename"` AllPkgTree `json:"-"` }
NodesNodesPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*NodesNodesPackage) GetId ¶
func (v *NodesNodesPackage) GetId() string
GetId returns NodesNodesPackage.Id, and is useful for accessing the field via an interface.
func (*NodesNodesPackage) GetNamespaces ¶
func (v *NodesNodesPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns NodesNodesPackage.Namespaces, and is useful for accessing the field via an interface.
func (*NodesNodesPackage) GetType ¶
func (v *NodesNodesPackage) GetType() string
GetType returns NodesNodesPackage.Type, and is useful for accessing the field via an interface.
func (*NodesNodesPackage) GetTypename ¶
func (v *NodesNodesPackage) GetTypename() *string
GetTypename returns NodesNodesPackage.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesPackage) MarshalJSON ¶
func (v *NodesNodesPackage) MarshalJSON() ([]byte, error)
func (*NodesNodesPackage) UnmarshalJSON ¶
func (v *NodesNodesPackage) UnmarshalJSON(b []byte) error
type NodesNodesPkgEqual ¶
type NodesNodesPkgEqual struct { Typename *string `json:"__typename"` AllPkgEqual `json:"-"` }
NodesNodesPkgEqual includes the requested fields of the GraphQL type PkgEqual. The GraphQL type's documentation follows.
PkgEqual is an attestation that two packages are similar.
func (*NodesNodesPkgEqual) GetCollector ¶
func (v *NodesNodesPkgEqual) GetCollector() string
GetCollector returns NodesNodesPkgEqual.Collector, and is useful for accessing the field via an interface.
func (*NodesNodesPkgEqual) GetId ¶
func (v *NodesNodesPkgEqual) GetId() string
GetId returns NodesNodesPkgEqual.Id, and is useful for accessing the field via an interface.
func (*NodesNodesPkgEqual) GetJustification ¶
func (v *NodesNodesPkgEqual) GetJustification() string
GetJustification returns NodesNodesPkgEqual.Justification, and is useful for accessing the field via an interface.
func (*NodesNodesPkgEqual) GetOrigin ¶
func (v *NodesNodesPkgEqual) GetOrigin() string
GetOrigin returns NodesNodesPkgEqual.Origin, and is useful for accessing the field via an interface.
func (*NodesNodesPkgEqual) GetPackages ¶
func (v *NodesNodesPkgEqual) GetPackages() []AllPkgEqualPackagesPackage
GetPackages returns NodesNodesPkgEqual.Packages, and is useful for accessing the field via an interface.
func (*NodesNodesPkgEqual) GetTypename ¶
func (v *NodesNodesPkgEqual) GetTypename() *string
GetTypename returns NodesNodesPkgEqual.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesPkgEqual) MarshalJSON ¶
func (v *NodesNodesPkgEqual) MarshalJSON() ([]byte, error)
func (*NodesNodesPkgEqual) UnmarshalJSON ¶
func (v *NodesNodesPkgEqual) UnmarshalJSON(b []byte) error
type NodesNodesPointOfContact ¶ added in v0.1.1
type NodesNodesPointOfContact struct { Typename *string `json:"__typename"` AllPointOfContact `json:"-"` }
NodesNodesPointOfContact includes the requested fields of the GraphQL type PointOfContact. The GraphQL type's documentation follows.
PointOfContact is an attestation of how to get in touch with the person(s) responsible for a package, source, or artifact.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The attestation applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
email is the email address (singular) of the point of contact.
info is additional contact information other than email address. This is free form.
NOTE: the identifiers for point of contact should be part of software trees. This will benefit from identifier look up and traversal as well as organization hierarchy. However, until the use case arises, PointOfContact will be a flat reference to the contact details.
func (*NodesNodesPointOfContact) GetCollector ¶ added in v0.1.2
func (v *NodesNodesPointOfContact) GetCollector() string
GetCollector returns NodesNodesPointOfContact.Collector, and is useful for accessing the field via an interface.
func (*NodesNodesPointOfContact) GetEmail ¶ added in v0.1.2
func (v *NodesNodesPointOfContact) GetEmail() string
GetEmail returns NodesNodesPointOfContact.Email, and is useful for accessing the field via an interface.
func (*NodesNodesPointOfContact) GetId ¶ added in v0.1.2
func (v *NodesNodesPointOfContact) GetId() string
GetId returns NodesNodesPointOfContact.Id, and is useful for accessing the field via an interface.
func (*NodesNodesPointOfContact) GetInfo ¶ added in v0.1.2
func (v *NodesNodesPointOfContact) GetInfo() string
GetInfo returns NodesNodesPointOfContact.Info, and is useful for accessing the field via an interface.
func (*NodesNodesPointOfContact) GetJustification ¶ added in v0.1.2
func (v *NodesNodesPointOfContact) GetJustification() string
GetJustification returns NodesNodesPointOfContact.Justification, and is useful for accessing the field via an interface.
func (*NodesNodesPointOfContact) GetOrigin ¶ added in v0.1.2
func (v *NodesNodesPointOfContact) GetOrigin() string
GetOrigin returns NodesNodesPointOfContact.Origin, and is useful for accessing the field via an interface.
func (*NodesNodesPointOfContact) GetSince ¶ added in v0.1.2
func (v *NodesNodesPointOfContact) GetSince() time.Time
GetSince returns NodesNodesPointOfContact.Since, and is useful for accessing the field via an interface.
func (*NodesNodesPointOfContact) GetSubject ¶ added in v0.1.2
func (v *NodesNodesPointOfContact) GetSubject() AllPointOfContactSubjectPackageSourceOrArtifact
GetSubject returns NodesNodesPointOfContact.Subject, and is useful for accessing the field via an interface.
func (*NodesNodesPointOfContact) GetTypename ¶ added in v0.1.1
func (v *NodesNodesPointOfContact) GetTypename() *string
GetTypename returns NodesNodesPointOfContact.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesPointOfContact) MarshalJSON ¶ added in v0.1.2
func (v *NodesNodesPointOfContact) MarshalJSON() ([]byte, error)
func (*NodesNodesPointOfContact) UnmarshalJSON ¶ added in v0.1.2
func (v *NodesNodesPointOfContact) UnmarshalJSON(b []byte) error
type NodesNodesSource ¶
type NodesNodesSource struct { Typename *string `json:"__typename"` AllSourceTree `json:"-"` }
NodesNodesSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*NodesNodesSource) GetId ¶
func (v *NodesNodesSource) GetId() string
GetId returns NodesNodesSource.Id, and is useful for accessing the field via an interface.
func (*NodesNodesSource) GetNamespaces ¶
func (v *NodesNodesSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns NodesNodesSource.Namespaces, and is useful for accessing the field via an interface.
func (*NodesNodesSource) GetType ¶
func (v *NodesNodesSource) GetType() string
GetType returns NodesNodesSource.Type, and is useful for accessing the field via an interface.
func (*NodesNodesSource) GetTypename ¶
func (v *NodesNodesSource) GetTypename() *string
GetTypename returns NodesNodesSource.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesSource) MarshalJSON ¶
func (v *NodesNodesSource) MarshalJSON() ([]byte, error)
func (*NodesNodesSource) UnmarshalJSON ¶
func (v *NodesNodesSource) UnmarshalJSON(b []byte) error
type NodesNodesVulnEqual ¶ added in v0.2.0
type NodesNodesVulnEqual struct { Typename *string `json:"__typename"` AllVulnEqual `json:"-"` }
NodesNodesVulnEqual includes the requested fields of the GraphQL type VulnEqual. The GraphQL type's documentation follows.
VulnEqual is an attestation to link two vulnerabilities together as being equal"
Note that setting noVuln vulnerability type is invalid for VulnEqual!
func (*NodesNodesVulnEqual) GetCollector ¶ added in v0.2.0
func (v *NodesNodesVulnEqual) GetCollector() string
GetCollector returns NodesNodesVulnEqual.Collector, and is useful for accessing the field via an interface.
func (*NodesNodesVulnEqual) GetId ¶ added in v0.2.0
func (v *NodesNodesVulnEqual) GetId() string
GetId returns NodesNodesVulnEqual.Id, and is useful for accessing the field via an interface.
func (*NodesNodesVulnEqual) GetJustification ¶ added in v0.2.0
func (v *NodesNodesVulnEqual) GetJustification() string
GetJustification returns NodesNodesVulnEqual.Justification, and is useful for accessing the field via an interface.
func (*NodesNodesVulnEqual) GetOrigin ¶ added in v0.2.0
func (v *NodesNodesVulnEqual) GetOrigin() string
GetOrigin returns NodesNodesVulnEqual.Origin, and is useful for accessing the field via an interface.
func (*NodesNodesVulnEqual) GetTypename ¶ added in v0.2.0
func (v *NodesNodesVulnEqual) GetTypename() *string
GetTypename returns NodesNodesVulnEqual.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesVulnEqual) GetVulnerabilities ¶ added in v0.2.0
func (v *NodesNodesVulnEqual) GetVulnerabilities() []AllVulnEqualVulnerabilitiesVulnerability
GetVulnerabilities returns NodesNodesVulnEqual.Vulnerabilities, and is useful for accessing the field via an interface.
func (*NodesNodesVulnEqual) MarshalJSON ¶ added in v0.2.0
func (v *NodesNodesVulnEqual) MarshalJSON() ([]byte, error)
func (*NodesNodesVulnEqual) UnmarshalJSON ¶ added in v0.2.0
func (v *NodesNodesVulnEqual) UnmarshalJSON(b []byte) error
type NodesNodesVulnerability ¶ added in v0.2.0
type NodesNodesVulnerability struct { Typename *string `json:"__typename"` AllVulnerabilityTree `json:"-"` }
NodesNodesVulnerability includes the requested fields of the GraphQL type Vulnerability. The GraphQL type's documentation follows.
Vulnerability represents the root of the vulnerability trie/tree.
We map vulnerability information to a trie, as a derivative of the pURL specification: each path in the trie represents a type and a vulnerability ID. This allows for generic representation of the various vulnerabilities and does not limit to just cve, ghsa or osv. This would be in the general format: vuln://<general-type>/<vuln-id>
Examples:
CVE, using path separator: vuln://cve/cve-2023-20753 OSV, representing its knowledge of a GHSA: vuln://osv/ghsa-205hk Random vendor: vuln://snyk/sn-whatever NoVuln: vuln://novuln/
This node represents the type part of the trie path. It is used to represent the specific type of the vulnerability: cve, ghsa, osv or some other vendor specific
Since this node is at the root of the vulnerability trie, it is named Vulnerability, not VulnerabilityType.
NoVuln is a special vulnerability node to attest that no vulnerability has been found during a vulnerability scan. It will have the type "novuln" and contain an empty string for vulnerabilityID
The resolvers will enforce that both the type and vulnerability IDs are lower case.
func (*NodesNodesVulnerability) GetId ¶ added in v0.2.0
func (v *NodesNodesVulnerability) GetId() string
GetId returns NodesNodesVulnerability.Id, and is useful for accessing the field via an interface.
func (*NodesNodesVulnerability) GetType ¶ added in v0.2.0
func (v *NodesNodesVulnerability) GetType() string
GetType returns NodesNodesVulnerability.Type, and is useful for accessing the field via an interface.
func (*NodesNodesVulnerability) GetTypename ¶ added in v0.2.0
func (v *NodesNodesVulnerability) GetTypename() *string
GetTypename returns NodesNodesVulnerability.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesVulnerability) GetVulnerabilityIDs ¶ added in v0.2.0
func (v *NodesNodesVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
GetVulnerabilityIDs returns NodesNodesVulnerability.VulnerabilityIDs, and is useful for accessing the field via an interface.
func (*NodesNodesVulnerability) MarshalJSON ¶ added in v0.2.0
func (v *NodesNodesVulnerability) MarshalJSON() ([]byte, error)
func (*NodesNodesVulnerability) UnmarshalJSON ¶ added in v0.2.0
func (v *NodesNodesVulnerability) UnmarshalJSON(b []byte) error
type NodesNodesVulnerabilityMetadata ¶ added in v0.2.0
type NodesNodesVulnerabilityMetadata struct { Typename *string `json:"__typename"` AllVulnMetadataTree `json:"-"` }
NodesNodesVulnerabilityMetadata includes the requested fields of the GraphQL type VulnerabilityMetadata. The GraphQL type's documentation follows.
VulnerabilityMetadata is an attestation that a vulnerability has a related score associated with it.
The intent of this evidence tree predicate is to allow extensibility of vulnerability score (one-to-one mapping) with a specific vulnerability ID.
A vulnerability ID can have a one-to-many relationship with the VulnerabilityMetadata node as a vulnerability ID can have multiple scores (in various frameworks).
Examples:
scoreType: EPSSv1 scoreValue: 0.960760000
scoreType: CVSSv2 scoreValue: 5.0
scoreType: CVSSv3 scoreValue: 7.5
The timestamp is used to determine when the score was evaluated for the specific vulnerability.
func (*NodesNodesVulnerabilityMetadata) GetCollector ¶ added in v0.2.0
func (v *NodesNodesVulnerabilityMetadata) GetCollector() string
GetCollector returns NodesNodesVulnerabilityMetadata.Collector, and is useful for accessing the field via an interface.
func (*NodesNodesVulnerabilityMetadata) GetId ¶ added in v0.2.0
func (v *NodesNodesVulnerabilityMetadata) GetId() string
GetId returns NodesNodesVulnerabilityMetadata.Id, and is useful for accessing the field via an interface.
func (*NodesNodesVulnerabilityMetadata) GetOrigin ¶ added in v0.2.0
func (v *NodesNodesVulnerabilityMetadata) GetOrigin() string
GetOrigin returns NodesNodesVulnerabilityMetadata.Origin, and is useful for accessing the field via an interface.
func (*NodesNodesVulnerabilityMetadata) GetScoreType ¶ added in v0.2.0
func (v *NodesNodesVulnerabilityMetadata) GetScoreType() VulnerabilityScoreType
GetScoreType returns NodesNodesVulnerabilityMetadata.ScoreType, and is useful for accessing the field via an interface.
func (*NodesNodesVulnerabilityMetadata) GetScoreValue ¶ added in v0.2.0
func (v *NodesNodesVulnerabilityMetadata) GetScoreValue() float64
GetScoreValue returns NodesNodesVulnerabilityMetadata.ScoreValue, and is useful for accessing the field via an interface.
func (*NodesNodesVulnerabilityMetadata) GetTimestamp ¶ added in v0.2.0
func (v *NodesNodesVulnerabilityMetadata) GetTimestamp() time.Time
GetTimestamp returns NodesNodesVulnerabilityMetadata.Timestamp, and is useful for accessing the field via an interface.
func (*NodesNodesVulnerabilityMetadata) GetTypename ¶ added in v0.2.0
func (v *NodesNodesVulnerabilityMetadata) GetTypename() *string
GetTypename returns NodesNodesVulnerabilityMetadata.Typename, and is useful for accessing the field via an interface.
func (*NodesNodesVulnerabilityMetadata) GetVulnerability ¶ added in v0.2.0
func (v *NodesNodesVulnerabilityMetadata) GetVulnerability() AllVulnMetadataTreeVulnerability
GetVulnerability returns NodesNodesVulnerabilityMetadata.Vulnerability, and is useful for accessing the field via an interface.
func (*NodesNodesVulnerabilityMetadata) MarshalJSON ¶ added in v0.2.0
func (v *NodesNodesVulnerabilityMetadata) MarshalJSON() ([]byte, error)
func (*NodesNodesVulnerabilityMetadata) UnmarshalJSON ¶ added in v0.2.0
func (v *NodesNodesVulnerabilityMetadata) UnmarshalJSON(b []byte) error
type NodesResponse ¶
type NodesResponse struct { // nodes returns an array of nodes, regardless of type. // // The input is an array of IDs to retrieve. Nodes []NodesNodesNode `json:"-"` }
NodesResponse is returned by Nodes on success.
func (*NodesResponse) GetNodes ¶
func (v *NodesResponse) GetNodes() []NodesNodesNode
GetNodes returns NodesResponse.Nodes, and is useful for accessing the field via an interface.
func (*NodesResponse) MarshalJSON ¶
func (v *NodesResponse) MarshalJSON() ([]byte, error)
func (*NodesResponse) UnmarshalJSON ¶
func (v *NodesResponse) UnmarshalJSON(b []byte) error
type OccurrenceListIsOccurrenceListIsOccurrenceConnection ¶ added in v0.7.0
type OccurrenceListIsOccurrenceListIsOccurrenceConnection struct { TotalCount int `json:"totalCount"` Edges []OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdge `json:"edges"` PageInfo OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo `json:"pageInfo"` }
OccurrenceListIsOccurrenceListIsOccurrenceConnection includes the requested fields of the GraphQL type IsOccurrenceConnection. The GraphQL type's documentation follows.
IsOccurrenceConnection returns the paginated results for IsOccurrence.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the IsOccurrenceEdge which contains the current cursor and the IsOccurrence node itself
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnection) GetEdges ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnection) GetEdges() []OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdge
GetEdges returns OccurrenceListIsOccurrenceListIsOccurrenceConnection.Edges, and is useful for accessing the field via an interface.
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnection) GetPageInfo ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnection) GetPageInfo() OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo
GetPageInfo returns OccurrenceListIsOccurrenceListIsOccurrenceConnection.PageInfo, and is useful for accessing the field via an interface.
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnection) GetTotalCount ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnection) GetTotalCount() int
GetTotalCount returns OccurrenceListIsOccurrenceListIsOccurrenceConnection.TotalCount, and is useful for accessing the field via an interface.
type OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdge ¶ added in v0.7.0
type OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdge struct { Cursor string `json:"cursor"` Node OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence `json:"node"` }
OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdge includes the requested fields of the GraphQL type IsOccurrenceEdge. The GraphQL type's documentation follows.
IsOccurrenceEdge contains the cursor for the resulting node and the IsOccurrence node itself.
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdge) GetCursor ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdge) GetCursor() string
GetCursor returns OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdge.Cursor, and is useful for accessing the field via an interface.
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdge) GetNode ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdge) GetNode() OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence
GetNode returns OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdge.Node, and is useful for accessing the field via an interface.
type OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence ¶ added in v0.7.0
type OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence struct {
AllIsOccurrencesTree `json:"-"`
}
OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence includes the requested fields of the GraphQL type IsOccurrence. The GraphQL type's documentation follows.
IsOccurrence is an attestation to link an artifact to a package or source.
Attestation must occur at the PackageVersion or at the SourceName.
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetArtifact ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetArtifact() AllIsOccurrencesTreeArtifact
GetArtifact returns OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence.Artifact, and is useful for accessing the field via an interface.
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetCollector ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetCollector() string
GetCollector returns OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence.Collector, and is useful for accessing the field via an interface.
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetId ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetId() string
GetId returns OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence.Id, and is useful for accessing the field via an interface.
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetJustification ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetJustification() string
GetJustification returns OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence.Justification, and is useful for accessing the field via an interface.
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetOrigin ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetOrigin() string
GetOrigin returns OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence.Origin, and is useful for accessing the field via an interface.
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetSubject ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
GetSubject returns OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence.Subject, and is useful for accessing the field via an interface.
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) MarshalJSON ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) MarshalJSON() ([]byte, error)
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) UnmarshalJSON ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionEdgesIsOccurrenceEdgeNodeIsOccurrence) UnmarshalJSON(b []byte) error
type OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo ¶ added in v0.7.0
type OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns OccurrenceListIsOccurrenceListIsOccurrenceConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type OccurrenceListResponse ¶ added in v0.7.0
type OccurrenceListResponse struct { // Returns a paginated results via IsOccurrenceConnection IsOccurrenceList *OccurrenceListIsOccurrenceListIsOccurrenceConnection `json:"IsOccurrenceList"` }
OccurrenceListResponse is returned by OccurrenceList on success.
func OccurrenceList ¶ added in v0.7.0
func OccurrenceList( ctx_ context.Context, client_ graphql.Client, filter IsOccurrenceSpec, after *string, first *int, ) (*OccurrenceListResponse, error)
func (*OccurrenceListResponse) GetIsOccurrenceList ¶ added in v0.7.0
func (v *OccurrenceListResponse) GetIsOccurrenceList() *OccurrenceListIsOccurrenceListIsOccurrenceConnection
GetIsOccurrenceList returns OccurrenceListResponse.IsOccurrenceList, and is useful for accessing the field via an interface.
type OccurrencesIsOccurrence ¶ added in v0.7.0
type OccurrencesIsOccurrence struct {
AllIsOccurrencesTree `json:"-"`
}
OccurrencesIsOccurrence includes the requested fields of the GraphQL type IsOccurrence. The GraphQL type's documentation follows.
IsOccurrence is an attestation to link an artifact to a package or source.
Attestation must occur at the PackageVersion or at the SourceName.
func (*OccurrencesIsOccurrence) GetArtifact ¶ added in v0.7.0
func (v *OccurrencesIsOccurrence) GetArtifact() AllIsOccurrencesTreeArtifact
GetArtifact returns OccurrencesIsOccurrence.Artifact, and is useful for accessing the field via an interface.
func (*OccurrencesIsOccurrence) GetCollector ¶ added in v0.7.0
func (v *OccurrencesIsOccurrence) GetCollector() string
GetCollector returns OccurrencesIsOccurrence.Collector, and is useful for accessing the field via an interface.
func (*OccurrencesIsOccurrence) GetId ¶ added in v0.7.0
func (v *OccurrencesIsOccurrence) GetId() string
GetId returns OccurrencesIsOccurrence.Id, and is useful for accessing the field via an interface.
func (*OccurrencesIsOccurrence) GetJustification ¶ added in v0.7.0
func (v *OccurrencesIsOccurrence) GetJustification() string
GetJustification returns OccurrencesIsOccurrence.Justification, and is useful for accessing the field via an interface.
func (*OccurrencesIsOccurrence) GetOrigin ¶ added in v0.7.0
func (v *OccurrencesIsOccurrence) GetOrigin() string
GetOrigin returns OccurrencesIsOccurrence.Origin, and is useful for accessing the field via an interface.
func (*OccurrencesIsOccurrence) GetSubject ¶ added in v0.7.0
func (v *OccurrencesIsOccurrence) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
GetSubject returns OccurrencesIsOccurrence.Subject, and is useful for accessing the field via an interface.
func (*OccurrencesIsOccurrence) MarshalJSON ¶ added in v0.7.0
func (v *OccurrencesIsOccurrence) MarshalJSON() ([]byte, error)
func (*OccurrencesIsOccurrence) UnmarshalJSON ¶ added in v0.7.0
func (v *OccurrencesIsOccurrence) UnmarshalJSON(b []byte) error
type OccurrencesResponse ¶ added in v0.7.0
type OccurrencesResponse struct { // Returns all artifacts-source/package mappings that match a filter. IsOccurrence []OccurrencesIsOccurrence `json:"IsOccurrence"` }
OccurrencesResponse is returned by Occurrences on success.
func Occurrences ¶ added in v0.7.0
func Occurrences( ctx_ context.Context, client_ graphql.Client, filter IsOccurrenceSpec, ) (*OccurrencesResponse, error)
func (*OccurrencesResponse) GetIsOccurrence ¶ added in v0.7.0
func (v *OccurrencesResponse) GetIsOccurrence() []OccurrencesIsOccurrence
GetIsOccurrence returns OccurrencesResponse.IsOccurrence, and is useful for accessing the field via an interface.
type PackageNamesPackagesPackage ¶ added in v0.1.2
type PackageNamesPackagesPackage struct { Id string `json:"id"` Type string `json:"type"` Namespaces []PackageNamesPackagesPackageNamespacesPackageNamespace `json:"namespaces"` }
PackageNamesPackagesPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*PackageNamesPackagesPackage) GetId ¶ added in v0.1.2
func (v *PackageNamesPackagesPackage) GetId() string
GetId returns PackageNamesPackagesPackage.Id, and is useful for accessing the field via an interface.
func (*PackageNamesPackagesPackage) GetNamespaces ¶ added in v0.1.2
func (v *PackageNamesPackagesPackage) GetNamespaces() []PackageNamesPackagesPackageNamespacesPackageNamespace
GetNamespaces returns PackageNamesPackagesPackage.Namespaces, and is useful for accessing the field via an interface.
func (*PackageNamesPackagesPackage) GetType ¶ added in v0.1.2
func (v *PackageNamesPackagesPackage) GetType() string
GetType returns PackageNamesPackagesPackage.Type, and is useful for accessing the field via an interface.
type PackageNamesPackagesPackageNamespacesPackageNamespace ¶ added in v0.1.2
type PackageNamesPackagesPackageNamespacesPackageNamespace struct { Id string `json:"id"` Namespace string `json:"namespace"` Names []PackageNamesPackagesPackageNamespacesPackageNamespaceNamesPackageName `json:"names"` }
PackageNamesPackagesPackageNamespacesPackageNamespace includes the requested fields of the GraphQL type PackageNamespace. The GraphQL type's documentation follows.
PackageNamespace is a namespace for packages.
In the pURL representation, each PackageNamespace matches the pkg:<type>/<namespace>/ partial pURL.
Namespaces are optional and type specific. Because they are optional, we use empty string to denote missing namespaces.
func (*PackageNamesPackagesPackageNamespacesPackageNamespace) GetId ¶ added in v0.1.2
func (v *PackageNamesPackagesPackageNamespacesPackageNamespace) GetId() string
GetId returns PackageNamesPackagesPackageNamespacesPackageNamespace.Id, and is useful for accessing the field via an interface.
func (*PackageNamesPackagesPackageNamespacesPackageNamespace) GetNames ¶ added in v0.1.2
func (v *PackageNamesPackagesPackageNamespacesPackageNamespace) GetNames() []PackageNamesPackagesPackageNamespacesPackageNamespaceNamesPackageName
GetNames returns PackageNamesPackagesPackageNamespacesPackageNamespace.Names, and is useful for accessing the field via an interface.
func (*PackageNamesPackagesPackageNamespacesPackageNamespace) GetNamespace ¶ added in v0.1.2
func (v *PackageNamesPackagesPackageNamespacesPackageNamespace) GetNamespace() string
GetNamespace returns PackageNamesPackagesPackageNamespacesPackageNamespace.Namespace, and is useful for accessing the field via an interface.
type PackageNamesPackagesPackageNamespacesPackageNamespaceNamesPackageName ¶ added in v0.1.2
type PackageNamesPackagesPackageNamespacesPackageNamespaceNamesPackageName struct { Id string `json:"id"` Name string `json:"name"` }
PackageNamesPackagesPackageNamespacesPackageNamespaceNamesPackageName includes the requested fields of the GraphQL type PackageName. The GraphQL type's documentation follows.
PackageName is a name for packages.
In the pURL representation, each PackageName matches the pkg:<type>/<namespace>/<name> pURL.
Names are always mandatory.
This is the first node in the trie that can be referred to by other parts of GUAC.
func (*PackageNamesPackagesPackageNamespacesPackageNamespaceNamesPackageName) GetId ¶ added in v0.1.2
func (v *PackageNamesPackagesPackageNamespacesPackageNamespaceNamesPackageName) GetId() string
GetId returns PackageNamesPackagesPackageNamespacesPackageNamespaceNamesPackageName.Id, and is useful for accessing the field via an interface.
func (*PackageNamesPackagesPackageNamespacesPackageNamespaceNamesPackageName) GetName ¶ added in v0.1.2
func (v *PackageNamesPackagesPackageNamespacesPackageNamespaceNamesPackageName) GetName() string
GetName returns PackageNamesPackagesPackageNamespacesPackageNamespaceNamesPackageName.Name, and is useful for accessing the field via an interface.
type PackageNamesResponse ¶ added in v0.1.2
type PackageNamesResponse struct { // Returns all packages matching a filter. Packages []PackageNamesPackagesPackage `json:"packages"` }
PackageNamesResponse is returned by PackageNames on success.
func PackageNames ¶ added in v0.1.2
func (*PackageNamesResponse) GetPackages ¶ added in v0.1.2
func (v *PackageNamesResponse) GetPackages() []PackageNamesPackagesPackage
GetPackages returns PackageNamesResponse.Packages, and is useful for accessing the field via an interface.
type PackageNamespacesPackagesPackage ¶ added in v0.1.2
type PackageNamespacesPackagesPackage struct { Id string `json:"id"` Type string `json:"type"` Namespaces []PackageNamespacesPackagesPackageNamespacesPackageNamespace `json:"namespaces"` }
PackageNamespacesPackagesPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*PackageNamespacesPackagesPackage) GetId ¶ added in v0.1.2
func (v *PackageNamespacesPackagesPackage) GetId() string
GetId returns PackageNamespacesPackagesPackage.Id, and is useful for accessing the field via an interface.
func (*PackageNamespacesPackagesPackage) GetNamespaces ¶ added in v0.1.2
func (v *PackageNamespacesPackagesPackage) GetNamespaces() []PackageNamespacesPackagesPackageNamespacesPackageNamespace
GetNamespaces returns PackageNamespacesPackagesPackage.Namespaces, and is useful for accessing the field via an interface.
func (*PackageNamespacesPackagesPackage) GetType ¶ added in v0.1.2
func (v *PackageNamespacesPackagesPackage) GetType() string
GetType returns PackageNamespacesPackagesPackage.Type, and is useful for accessing the field via an interface.
type PackageNamespacesPackagesPackageNamespacesPackageNamespace ¶ added in v0.1.2
type PackageNamespacesPackagesPackageNamespacesPackageNamespace struct { Id string `json:"id"` Namespace string `json:"namespace"` }
PackageNamespacesPackagesPackageNamespacesPackageNamespace includes the requested fields of the GraphQL type PackageNamespace. The GraphQL type's documentation follows.
PackageNamespace is a namespace for packages.
In the pURL representation, each PackageNamespace matches the pkg:<type>/<namespace>/ partial pURL.
Namespaces are optional and type specific. Because they are optional, we use empty string to denote missing namespaces.
func (*PackageNamespacesPackagesPackageNamespacesPackageNamespace) GetId ¶ added in v0.1.2
func (v *PackageNamespacesPackagesPackageNamespacesPackageNamespace) GetId() string
GetId returns PackageNamespacesPackagesPackageNamespacesPackageNamespace.Id, and is useful for accessing the field via an interface.
func (*PackageNamespacesPackagesPackageNamespacesPackageNamespace) GetNamespace ¶ added in v0.1.2
func (v *PackageNamespacesPackagesPackageNamespacesPackageNamespace) GetNamespace() string
GetNamespace returns PackageNamespacesPackagesPackageNamespacesPackageNamespace.Namespace, and is useful for accessing the field via an interface.
type PackageNamespacesResponse ¶ added in v0.1.2
type PackageNamespacesResponse struct { // Returns all packages matching a filter. Packages []PackageNamespacesPackagesPackage `json:"packages"` }
PackageNamespacesResponse is returned by PackageNamespaces on success.
func PackageNamespaces ¶ added in v0.1.2
func (*PackageNamespacesResponse) GetPackages ¶ added in v0.1.2
func (v *PackageNamespacesResponse) GetPackages() []PackageNamespacesPackagesPackage
GetPackages returns PackageNamespacesResponse.Packages, and is useful for accessing the field via an interface.
type PackageOrArtifactSpec ¶ added in v0.4.0
type PackageOrArtifactSpec struct { Package *PkgSpec `json:"package"` Artifact *ArtifactSpec `json:"artifact"` }
PackageOrArtifactSpec allows using PackageOrArtifact union as input type to be used in read queries.
Exactly one of the value must be set to non-nil.
func (*PackageOrArtifactSpec) GetArtifact ¶ added in v0.4.0
func (v *PackageOrArtifactSpec) GetArtifact() *ArtifactSpec
GetArtifact returns PackageOrArtifactSpec.Artifact, and is useful for accessing the field via an interface.
func (*PackageOrArtifactSpec) GetPackage ¶ added in v0.4.0
func (v *PackageOrArtifactSpec) GetPackage() *PkgSpec
GetPackage returns PackageOrArtifactSpec.Package, and is useful for accessing the field via an interface.
type PackageOrSourceSpec ¶ added in v0.2.0
type PackageOrSourceSpec struct { Package *PkgSpec `json:"package"` Source *SourceSpec `json:"source"` }
PackageOrSourceSpec allows using PackageOrSource union as input for queries.
Exactly one field must be specified.
func (*PackageOrSourceSpec) GetPackage ¶ added in v0.2.0
func (v *PackageOrSourceSpec) GetPackage() *PkgSpec
GetPackage returns PackageOrSourceSpec.Package, and is useful for accessing the field via an interface.
func (*PackageOrSourceSpec) GetSource ¶ added in v0.2.0
func (v *PackageOrSourceSpec) GetSource() *SourceSpec
GetSource returns PackageOrSourceSpec.Source, and is useful for accessing the field via an interface.
type PackageQualifierInputSpec ¶
PackageQualifierInputSpec allows specifying package qualifiers in mutations.
func (*PackageQualifierInputSpec) GetKey ¶
func (v *PackageQualifierInputSpec) GetKey() string
GetKey returns PackageQualifierInputSpec.Key, and is useful for accessing the field via an interface.
func (*PackageQualifierInputSpec) GetValue ¶
func (v *PackageQualifierInputSpec) GetValue() string
GetValue returns PackageQualifierInputSpec.Value, and is useful for accessing the field via an interface.
type PackageQualifierSpec ¶
PackageQualifierSpec allows filtering package qualifiers in a query.
Keys are mandatory, but values could also be null if we want to match all values for a specific key.
NOTE: Before the schema becomes stable, we might change the nulability requirements of these fields.
func (*PackageQualifierSpec) GetKey ¶
func (v *PackageQualifierSpec) GetKey() string
GetKey returns PackageQualifierSpec.Key, and is useful for accessing the field via an interface.
func (*PackageQualifierSpec) GetValue ¶
func (v *PackageQualifierSpec) GetValue() *string
GetValue returns PackageQualifierSpec.Value, and is useful for accessing the field via an interface.
type PackageSourceOrArtifactSpec ¶
type PackageSourceOrArtifactSpec struct { Package *PkgSpec `json:"package"` Source *SourceSpec `json:"source"` Artifact *ArtifactSpec `json:"artifact"` }
PackageSourceOrArtifactSpec allows using PackageSourceOrArtifact union as input type to be used in read queries.
Exactly one of the value must be set to non-nil.
func (*PackageSourceOrArtifactSpec) GetArtifact ¶
func (v *PackageSourceOrArtifactSpec) GetArtifact() *ArtifactSpec
GetArtifact returns PackageSourceOrArtifactSpec.Artifact, and is useful for accessing the field via an interface.
func (*PackageSourceOrArtifactSpec) GetPackage ¶
func (v *PackageSourceOrArtifactSpec) GetPackage() *PkgSpec
GetPackage returns PackageSourceOrArtifactSpec.Package, and is useful for accessing the field via an interface.
func (*PackageSourceOrArtifactSpec) GetSource ¶
func (v *PackageSourceOrArtifactSpec) GetSource() *SourceSpec
GetSource returns PackageSourceOrArtifactSpec.Source, and is useful for accessing the field via an interface.
type PackageTypesPackagesPackage ¶ added in v0.1.2
PackageTypesPackagesPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*PackageTypesPackagesPackage) GetId ¶ added in v0.1.2
func (v *PackageTypesPackagesPackage) GetId() string
GetId returns PackageTypesPackagesPackage.Id, and is useful for accessing the field via an interface.
func (*PackageTypesPackagesPackage) GetType ¶ added in v0.1.2
func (v *PackageTypesPackagesPackage) GetType() string
GetType returns PackageTypesPackagesPackage.Type, and is useful for accessing the field via an interface.
type PackageTypesResponse ¶ added in v0.1.2
type PackageTypesResponse struct { // Returns all packages matching a filter. Packages []PackageTypesPackagesPackage `json:"packages"` }
PackageTypesResponse is returned by PackageTypes on success.
func PackageTypes ¶ added in v0.1.2
func (*PackageTypesResponse) GetPackages ¶ added in v0.1.2
func (v *PackageTypesResponse) GetPackages() []PackageTypesPackagesPackage
GetPackages returns PackageTypesResponse.Packages, and is useful for accessing the field via an interface.
type PackageVersionsPackagesPackage ¶ added in v0.1.2
type PackageVersionsPackagesPackage struct { Id string `json:"id"` Type string `json:"type"` Namespaces []PackageVersionsPackagesPackageNamespacesPackageNamespace `json:"namespaces"` }
PackageVersionsPackagesPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*PackageVersionsPackagesPackage) GetId ¶ added in v0.1.2
func (v *PackageVersionsPackagesPackage) GetId() string
GetId returns PackageVersionsPackagesPackage.Id, and is useful for accessing the field via an interface.
func (*PackageVersionsPackagesPackage) GetNamespaces ¶ added in v0.1.2
func (v *PackageVersionsPackagesPackage) GetNamespaces() []PackageVersionsPackagesPackageNamespacesPackageNamespace
GetNamespaces returns PackageVersionsPackagesPackage.Namespaces, and is useful for accessing the field via an interface.
func (*PackageVersionsPackagesPackage) GetType ¶ added in v0.1.2
func (v *PackageVersionsPackagesPackage) GetType() string
GetType returns PackageVersionsPackagesPackage.Type, and is useful for accessing the field via an interface.
type PackageVersionsPackagesPackageNamespacesPackageNamespace ¶ added in v0.1.2
type PackageVersionsPackagesPackageNamespacesPackageNamespace struct { Id string `json:"id"` Namespace string `json:"namespace"` Names []PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName `json:"names"` }
PackageVersionsPackagesPackageNamespacesPackageNamespace includes the requested fields of the GraphQL type PackageNamespace. The GraphQL type's documentation follows.
PackageNamespace is a namespace for packages.
In the pURL representation, each PackageNamespace matches the pkg:<type>/<namespace>/ partial pURL.
Namespaces are optional and type specific. Because they are optional, we use empty string to denote missing namespaces.
func (*PackageVersionsPackagesPackageNamespacesPackageNamespace) GetId ¶ added in v0.1.2
func (v *PackageVersionsPackagesPackageNamespacesPackageNamespace) GetId() string
GetId returns PackageVersionsPackagesPackageNamespacesPackageNamespace.Id, and is useful for accessing the field via an interface.
func (*PackageVersionsPackagesPackageNamespacesPackageNamespace) GetNames ¶ added in v0.1.2
func (v *PackageVersionsPackagesPackageNamespacesPackageNamespace) GetNames() []PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName
GetNames returns PackageVersionsPackagesPackageNamespacesPackageNamespace.Names, and is useful for accessing the field via an interface.
func (*PackageVersionsPackagesPackageNamespacesPackageNamespace) GetNamespace ¶ added in v0.1.2
func (v *PackageVersionsPackagesPackageNamespacesPackageNamespace) GetNamespace() string
GetNamespace returns PackageVersionsPackagesPackageNamespacesPackageNamespace.Namespace, and is useful for accessing the field via an interface.
type PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName ¶ added in v0.1.2
type PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName struct { Id string `json:"id"` Name string `json:"name"` Versions []PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion `json:"versions"` }
PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName includes the requested fields of the GraphQL type PackageName. The GraphQL type's documentation follows.
PackageName is a name for packages.
In the pURL representation, each PackageName matches the pkg:<type>/<namespace>/<name> pURL.
Names are always mandatory.
This is the first node in the trie that can be referred to by other parts of GUAC.
func (*PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName) GetId ¶ added in v0.1.2
GetId returns PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName.Id, and is useful for accessing the field via an interface.
func (*PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName) GetName ¶ added in v0.1.2
func (v *PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName) GetName() string
GetName returns PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName.Name, and is useful for accessing the field via an interface.
func (*PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName) GetVersions ¶ added in v0.1.2
func (v *PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName) GetVersions() []PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion
GetVersions returns PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageName.Versions, and is useful for accessing the field via an interface.
type PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion ¶ added in v0.1.2
type PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion struct { Id string `json:"id"` Version string `json:"version"` Qualifiers []PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier `json:"qualifiers"` Subpath string `json:"subpath"` }
PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion includes the requested fields of the GraphQL type PackageVersion. The GraphQL type's documentation follows.
PackageVersion is a package version.
In the pURL representation, each PackageName matches the pkg:<type>/<namespace>/<name>@<version> pURL.
Versions are optional and each Package type defines own rules for handling them. For this level of GUAC, these are just opaque strings.
NOTE: The handling of versions might change before this schema becomes stable.
This node can be referred to by other parts of GUAC.
Subpath and qualifiers are optional. Lack of qualifiers is represented by an empty list and lack of subpath by empty string (to be consistent with optionality of namespace and version). Two nodes that have different qualifiers and/or subpath but the same version mean two different packages in the trie (they are different). Two nodes that have same version but qualifiers of one are a subset of the qualifier of the other also mean two different packages in the trie.
func (*PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetId ¶ added in v0.1.2
func (v *PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetId() string
GetId returns PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion.Id, and is useful for accessing the field via an interface.
func (*PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetQualifiers ¶ added in v0.1.2
func (v *PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetQualifiers() []PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier
GetQualifiers returns PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion.Qualifiers, and is useful for accessing the field via an interface.
func (*PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetSubpath ¶ added in v0.1.2
func (v *PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetSubpath() string
GetSubpath returns PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion.Subpath, and is useful for accessing the field via an interface.
func (*PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetVersion ¶ added in v0.1.2
func (v *PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion) GetVersion() string
GetVersion returns PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersion.Version, and is useful for accessing the field via an interface.
type PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier ¶ added in v0.1.2
type PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier struct { Key string `json:"key"` Value string `json:"value"` }
PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier includes the requested fields of the GraphQL type PackageQualifier. The GraphQL type's documentation follows.
PackageQualifier is a qualifier for a package, a key-value pair.
In the pURL representation, it is a part of the <qualifiers> part of the pkg:<type>/<namespace>/<name>@<version>?<qualifiers> pURL.
Qualifiers are optional, each Package type defines own rules for handling them, and multiple qualifiers could be attached to the same package.
This node cannot be directly referred by other parts of GUAC.
func (*PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier) GetKey ¶ added in v0.1.2
func (v *PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier) GetKey() string
GetKey returns PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier.Key, and is useful for accessing the field via an interface.
func (*PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier) GetValue ¶ added in v0.1.2
func (v *PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier) GetValue() string
GetValue returns PackageVersionsPackagesPackageNamespacesPackageNamespaceNamesPackageNameVersionsPackageVersionQualifiersPackageQualifier.Value, and is useful for accessing the field via an interface.
type PackageVersionsResponse ¶ added in v0.1.2
type PackageVersionsResponse struct { // Returns all packages matching a filter. Packages []PackageVersionsPackagesPackage `json:"packages"` }
PackageVersionsResponse is returned by PackageVersions on success.
func PackageVersions ¶ added in v0.1.2
func (*PackageVersionsResponse) GetPackages ¶ added in v0.1.2
func (v *PackageVersionsResponse) GetPackages() []PackageVersionsPackagesPackage
GetPackages returns PackageVersionsResponse.Packages, and is useful for accessing the field via an interface.
type PackagesListPackagesListPackageConnection ¶ added in v0.7.0
type PackagesListPackagesListPackageConnection struct { TotalCount int `json:"totalCount"` Edges []PackagesListPackagesListPackageConnectionEdgesPackageEdge `json:"edges"` PageInfo PackagesListPackagesListPackageConnectionPageInfo `json:"pageInfo"` }
PackagesListPackagesListPackageConnection includes the requested fields of the GraphQL type PackageConnection. The GraphQL type's documentation follows.
PackageConnection returns the paginated results for Package.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the PackageEdge which contains the current cursor and the Package node itself
func (*PackagesListPackagesListPackageConnection) GetEdges ¶ added in v0.7.0
func (v *PackagesListPackagesListPackageConnection) GetEdges() []PackagesListPackagesListPackageConnectionEdgesPackageEdge
GetEdges returns PackagesListPackagesListPackageConnection.Edges, and is useful for accessing the field via an interface.
func (*PackagesListPackagesListPackageConnection) GetPageInfo ¶ added in v0.7.0
func (v *PackagesListPackagesListPackageConnection) GetPageInfo() PackagesListPackagesListPackageConnectionPageInfo
GetPageInfo returns PackagesListPackagesListPackageConnection.PageInfo, and is useful for accessing the field via an interface.
func (*PackagesListPackagesListPackageConnection) GetTotalCount ¶ added in v0.7.0
func (v *PackagesListPackagesListPackageConnection) GetTotalCount() int
GetTotalCount returns PackagesListPackagesListPackageConnection.TotalCount, and is useful for accessing the field via an interface.
type PackagesListPackagesListPackageConnectionEdgesPackageEdge ¶ added in v0.7.0
type PackagesListPackagesListPackageConnectionEdgesPackageEdge struct { Cursor string `json:"cursor"` Node PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage `json:"node"` }
PackagesListPackagesListPackageConnectionEdgesPackageEdge includes the requested fields of the GraphQL type PackageEdge. The GraphQL type's documentation follows.
PackageEdge contains the cursor for the resulting node and the Package node itself.
func (*PackagesListPackagesListPackageConnectionEdgesPackageEdge) GetCursor ¶ added in v0.7.0
func (v *PackagesListPackagesListPackageConnectionEdgesPackageEdge) GetCursor() string
GetCursor returns PackagesListPackagesListPackageConnectionEdgesPackageEdge.Cursor, and is useful for accessing the field via an interface.
func (*PackagesListPackagesListPackageConnectionEdgesPackageEdge) GetNode ¶ added in v0.7.0
func (v *PackagesListPackagesListPackageConnectionEdgesPackageEdge) GetNode() PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage
GetNode returns PackagesListPackagesListPackageConnectionEdgesPackageEdge.Node, and is useful for accessing the field via an interface.
type PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage ¶ added in v0.7.0
type PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage struct {
AllPkgTree `json:"-"`
}
PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) GetId ¶ added in v0.7.0
func (v *PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) GetId() string
GetId returns PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage.Id, and is useful for accessing the field via an interface.
func (*PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) GetNamespaces ¶ added in v0.7.0
func (v *PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage.Namespaces, and is useful for accessing the field via an interface.
func (*PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) GetType ¶ added in v0.7.0
func (v *PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) GetType() string
GetType returns PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage.Type, and is useful for accessing the field via an interface.
func (*PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) MarshalJSON ¶ added in v0.7.0
func (v *PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) MarshalJSON() ([]byte, error)
func (*PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) UnmarshalJSON ¶ added in v0.7.0
func (v *PackagesListPackagesListPackageConnectionEdgesPackageEdgeNodePackage) UnmarshalJSON(b []byte) error
type PackagesListPackagesListPackageConnectionPageInfo ¶ added in v0.7.0
type PackagesListPackagesListPackageConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
PackagesListPackagesListPackageConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*PackagesListPackagesListPackageConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *PackagesListPackagesListPackageConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns PackagesListPackagesListPackageConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*PackagesListPackagesListPackageConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *PackagesListPackagesListPackageConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns PackagesListPackagesListPackageConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*PackagesListPackagesListPackageConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *PackagesListPackagesListPackageConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns PackagesListPackagesListPackageConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type PackagesListResponse ¶ added in v0.7.0
type PackagesListResponse struct { // Returns a paginated results via PackageConnection PackagesList *PackagesListPackagesListPackageConnection `json:"packagesList"` }
PackagesListResponse is returned by PackagesList on success.
func PackagesList ¶ added in v0.7.0
func (*PackagesListResponse) GetPackagesList ¶ added in v0.7.0
func (v *PackagesListResponse) GetPackagesList() *PackagesListPackagesListPackageConnection
GetPackagesList returns PackagesListResponse.PackagesList, and is useful for accessing the field via an interface.
type PackagesPackagesPackage ¶
type PackagesPackagesPackage struct {
AllPkgTree `json:"-"`
}
PackagesPackagesPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*PackagesPackagesPackage) GetId ¶
func (v *PackagesPackagesPackage) GetId() string
GetId returns PackagesPackagesPackage.Id, and is useful for accessing the field via an interface.
func (*PackagesPackagesPackage) GetNamespaces ¶
func (v *PackagesPackagesPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns PackagesPackagesPackage.Namespaces, and is useful for accessing the field via an interface.
func (*PackagesPackagesPackage) GetType ¶
func (v *PackagesPackagesPackage) GetType() string
GetType returns PackagesPackagesPackage.Type, and is useful for accessing the field via an interface.
func (*PackagesPackagesPackage) MarshalJSON ¶
func (v *PackagesPackagesPackage) MarshalJSON() ([]byte, error)
func (*PackagesPackagesPackage) UnmarshalJSON ¶
func (v *PackagesPackagesPackage) UnmarshalJSON(b []byte) error
type PackagesResponse ¶
type PackagesResponse struct { // Returns all packages matching a filter. Packages []PackagesPackagesPackage `json:"packages"` }
PackagesResponse is returned by Packages on success.
func (*PackagesResponse) GetPackages ¶
func (v *PackagesResponse) GetPackages() []PackagesPackagesPackage
GetPackages returns PackagesResponse.Packages, and is useful for accessing the field via an interface.
type PathPathArtifact ¶
type PathPathArtifact struct { Typename *string `json:"__typename"` AllArtifactTree `json:"-"` }
PathPathArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
Artifact represents an artifact identified by a checksum hash.
The checksum is split into the digest value and the algorithm used to generate it. Both fields are mandatory and canonicalized to be lowercase.
If having a checksum Go object, algorithm can be strings.ToLower(string(checksum.Algorithm)) and digest can be checksum.Value.
func (*PathPathArtifact) GetAlgorithm ¶
func (v *PathPathArtifact) GetAlgorithm() string
GetAlgorithm returns PathPathArtifact.Algorithm, and is useful for accessing the field via an interface.
func (*PathPathArtifact) GetDigest ¶
func (v *PathPathArtifact) GetDigest() string
GetDigest returns PathPathArtifact.Digest, and is useful for accessing the field via an interface.
func (*PathPathArtifact) GetId ¶
func (v *PathPathArtifact) GetId() string
GetId returns PathPathArtifact.Id, and is useful for accessing the field via an interface.
func (*PathPathArtifact) GetTypename ¶
func (v *PathPathArtifact) GetTypename() *string
GetTypename returns PathPathArtifact.Typename, and is useful for accessing the field via an interface.
func (*PathPathArtifact) MarshalJSON ¶
func (v *PathPathArtifact) MarshalJSON() ([]byte, error)
func (*PathPathArtifact) UnmarshalJSON ¶
func (v *PathPathArtifact) UnmarshalJSON(b []byte) error
type PathPathBuilder ¶
type PathPathBuilder struct { Typename *string `json:"__typename"` AllBuilderTree `json:"-"` }
PathPathBuilder includes the requested fields of the GraphQL type Builder. The GraphQL type's documentation follows.
Builder represents the builder (e.g., FRSCA or GitHub Actions).
Currently builders are identified by the uri field.
func (*PathPathBuilder) GetId ¶
func (v *PathPathBuilder) GetId() string
GetId returns PathPathBuilder.Id, and is useful for accessing the field via an interface.
func (*PathPathBuilder) GetTypename ¶
func (v *PathPathBuilder) GetTypename() *string
GetTypename returns PathPathBuilder.Typename, and is useful for accessing the field via an interface.
func (*PathPathBuilder) GetUri ¶
func (v *PathPathBuilder) GetUri() string
GetUri returns PathPathBuilder.Uri, and is useful for accessing the field via an interface.
func (*PathPathBuilder) MarshalJSON ¶
func (v *PathPathBuilder) MarshalJSON() ([]byte, error)
func (*PathPathBuilder) UnmarshalJSON ¶
func (v *PathPathBuilder) UnmarshalJSON(b []byte) error
type PathPathCertifyBad ¶
type PathPathCertifyBad struct { Typename *string `json:"__typename"` AllCertifyBad `json:"-"` }
PathPathCertifyBad includes the requested fields of the GraphQL type CertifyBad. The GraphQL type's documentation follows.
CertifyBad is an attestation that a package, source, or artifact is considered bad.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The certification applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*PathPathCertifyBad) GetCollector ¶
func (v *PathPathCertifyBad) GetCollector() string
GetCollector returns PathPathCertifyBad.Collector, and is useful for accessing the field via an interface.
func (*PathPathCertifyBad) GetId ¶
func (v *PathPathCertifyBad) GetId() string
GetId returns PathPathCertifyBad.Id, and is useful for accessing the field via an interface.
func (*PathPathCertifyBad) GetJustification ¶
func (v *PathPathCertifyBad) GetJustification() string
GetJustification returns PathPathCertifyBad.Justification, and is useful for accessing the field via an interface.
func (*PathPathCertifyBad) GetKnownSince ¶ added in v0.2.1
func (v *PathPathCertifyBad) GetKnownSince() time.Time
GetKnownSince returns PathPathCertifyBad.KnownSince, and is useful for accessing the field via an interface.
func (*PathPathCertifyBad) GetOrigin ¶
func (v *PathPathCertifyBad) GetOrigin() string
GetOrigin returns PathPathCertifyBad.Origin, and is useful for accessing the field via an interface.
func (*PathPathCertifyBad) GetSubject ¶
func (v *PathPathCertifyBad) GetSubject() AllCertifyBadSubjectPackageSourceOrArtifact
GetSubject returns PathPathCertifyBad.Subject, and is useful for accessing the field via an interface.
func (*PathPathCertifyBad) GetTypename ¶
func (v *PathPathCertifyBad) GetTypename() *string
GetTypename returns PathPathCertifyBad.Typename, and is useful for accessing the field via an interface.
func (*PathPathCertifyBad) MarshalJSON ¶
func (v *PathPathCertifyBad) MarshalJSON() ([]byte, error)
func (*PathPathCertifyBad) UnmarshalJSON ¶
func (v *PathPathCertifyBad) UnmarshalJSON(b []byte) error
type PathPathCertifyGood ¶
type PathPathCertifyGood struct { Typename *string `json:"__typename"` AllCertifyGood `json:"-"` }
PathPathCertifyGood includes the requested fields of the GraphQL type CertifyGood. The GraphQL type's documentation follows.
CertifyGood is an attestation that a package, source, or artifact is considered good.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The certification applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*PathPathCertifyGood) GetCollector ¶
func (v *PathPathCertifyGood) GetCollector() string
GetCollector returns PathPathCertifyGood.Collector, and is useful for accessing the field via an interface.
func (*PathPathCertifyGood) GetId ¶
func (v *PathPathCertifyGood) GetId() string
GetId returns PathPathCertifyGood.Id, and is useful for accessing the field via an interface.
func (*PathPathCertifyGood) GetJustification ¶
func (v *PathPathCertifyGood) GetJustification() string
GetJustification returns PathPathCertifyGood.Justification, and is useful for accessing the field via an interface.
func (*PathPathCertifyGood) GetKnownSince ¶ added in v0.2.1
func (v *PathPathCertifyGood) GetKnownSince() time.Time
GetKnownSince returns PathPathCertifyGood.KnownSince, and is useful for accessing the field via an interface.
func (*PathPathCertifyGood) GetOrigin ¶
func (v *PathPathCertifyGood) GetOrigin() string
GetOrigin returns PathPathCertifyGood.Origin, and is useful for accessing the field via an interface.
func (*PathPathCertifyGood) GetSubject ¶
func (v *PathPathCertifyGood) GetSubject() AllCertifyGoodSubjectPackageSourceOrArtifact
GetSubject returns PathPathCertifyGood.Subject, and is useful for accessing the field via an interface.
func (*PathPathCertifyGood) GetTypename ¶
func (v *PathPathCertifyGood) GetTypename() *string
GetTypename returns PathPathCertifyGood.Typename, and is useful for accessing the field via an interface.
func (*PathPathCertifyGood) MarshalJSON ¶
func (v *PathPathCertifyGood) MarshalJSON() ([]byte, error)
func (*PathPathCertifyGood) UnmarshalJSON ¶
func (v *PathPathCertifyGood) UnmarshalJSON(b []byte) error
type PathPathCertifyLegal ¶ added in v0.2.0
type PathPathCertifyLegal struct { Typename *string `json:"__typename"` AllCertifyLegalTree `json:"-"` }
PathPathCertifyLegal includes the requested fields of the GraphQL type CertifyLegal. The GraphQL type's documentation follows.
CertifyLegal is an attestation to attach legal information to a package or source.
The certification information is either copied from an attestation found in an SBOM or created by a collector/scanner.
Discovered license is also known as Concluded. More information: https://docs.clearlydefined.io/docs/curation/curation-guidelines#the-difference-between-declared-and-discovered-licenses
Attribution is also known as Copyright Text. It is what could be displayed to comply with notice requirements. https://www.nexb.com/oss-attribution-best-practices/
License expressions follow this format: https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/
func (*PathPathCertifyLegal) GetAttribution ¶ added in v0.2.0
func (v *PathPathCertifyLegal) GetAttribution() string
GetAttribution returns PathPathCertifyLegal.Attribution, and is useful for accessing the field via an interface.
func (*PathPathCertifyLegal) GetCollector ¶ added in v0.2.0
func (v *PathPathCertifyLegal) GetCollector() string
GetCollector returns PathPathCertifyLegal.Collector, and is useful for accessing the field via an interface.
func (*PathPathCertifyLegal) GetDeclaredLicense ¶ added in v0.2.0
func (v *PathPathCertifyLegal) GetDeclaredLicense() string
GetDeclaredLicense returns PathPathCertifyLegal.DeclaredLicense, and is useful for accessing the field via an interface.
func (*PathPathCertifyLegal) GetDeclaredLicenses ¶ added in v0.2.0
func (v *PathPathCertifyLegal) GetDeclaredLicenses() []AllCertifyLegalTreeDeclaredLicensesLicense
GetDeclaredLicenses returns PathPathCertifyLegal.DeclaredLicenses, and is useful for accessing the field via an interface.
func (*PathPathCertifyLegal) GetDiscoveredLicense ¶ added in v0.2.0
func (v *PathPathCertifyLegal) GetDiscoveredLicense() string
GetDiscoveredLicense returns PathPathCertifyLegal.DiscoveredLicense, and is useful for accessing the field via an interface.
func (*PathPathCertifyLegal) GetDiscoveredLicenses ¶ added in v0.2.0
func (v *PathPathCertifyLegal) GetDiscoveredLicenses() []AllCertifyLegalTreeDiscoveredLicensesLicense
GetDiscoveredLicenses returns PathPathCertifyLegal.DiscoveredLicenses, and is useful for accessing the field via an interface.
func (*PathPathCertifyLegal) GetId ¶ added in v0.2.0
func (v *PathPathCertifyLegal) GetId() string
GetId returns PathPathCertifyLegal.Id, and is useful for accessing the field via an interface.
func (*PathPathCertifyLegal) GetJustification ¶ added in v0.2.0
func (v *PathPathCertifyLegal) GetJustification() string
GetJustification returns PathPathCertifyLegal.Justification, and is useful for accessing the field via an interface.
func (*PathPathCertifyLegal) GetOrigin ¶ added in v0.2.0
func (v *PathPathCertifyLegal) GetOrigin() string
GetOrigin returns PathPathCertifyLegal.Origin, and is useful for accessing the field via an interface.
func (*PathPathCertifyLegal) GetSubject ¶ added in v0.2.0
func (v *PathPathCertifyLegal) GetSubject() AllCertifyLegalTreeSubjectPackageOrSource
GetSubject returns PathPathCertifyLegal.Subject, and is useful for accessing the field via an interface.
func (*PathPathCertifyLegal) GetTimeScanned ¶ added in v0.2.0
func (v *PathPathCertifyLegal) GetTimeScanned() time.Time
GetTimeScanned returns PathPathCertifyLegal.TimeScanned, and is useful for accessing the field via an interface.
func (*PathPathCertifyLegal) GetTypename ¶ added in v0.2.0
func (v *PathPathCertifyLegal) GetTypename() *string
GetTypename returns PathPathCertifyLegal.Typename, and is useful for accessing the field via an interface.
func (*PathPathCertifyLegal) MarshalJSON ¶ added in v0.2.0
func (v *PathPathCertifyLegal) MarshalJSON() ([]byte, error)
func (*PathPathCertifyLegal) UnmarshalJSON ¶ added in v0.2.0
func (v *PathPathCertifyLegal) UnmarshalJSON(b []byte) error
type PathPathCertifyScorecard ¶
type PathPathCertifyScorecard struct { Typename *string `json:"__typename"` AllCertifyScorecard `json:"-"` }
PathPathCertifyScorecard includes the requested fields of the GraphQL type CertifyScorecard. The GraphQL type's documentation follows.
CertifyScorecard is an attestation to attach a Scorecard analysis to a particular source repository.
func (*PathPathCertifyScorecard) GetId ¶
func (v *PathPathCertifyScorecard) GetId() string
GetId returns PathPathCertifyScorecard.Id, and is useful for accessing the field via an interface.
func (*PathPathCertifyScorecard) GetScorecard ¶
func (v *PathPathCertifyScorecard) GetScorecard() AllCertifyScorecardScorecard
GetScorecard returns PathPathCertifyScorecard.Scorecard, and is useful for accessing the field via an interface.
func (*PathPathCertifyScorecard) GetSource ¶
func (v *PathPathCertifyScorecard) GetSource() AllCertifyScorecardSource
GetSource returns PathPathCertifyScorecard.Source, and is useful for accessing the field via an interface.
func (*PathPathCertifyScorecard) GetTypename ¶
func (v *PathPathCertifyScorecard) GetTypename() *string
GetTypename returns PathPathCertifyScorecard.Typename, and is useful for accessing the field via an interface.
func (*PathPathCertifyScorecard) MarshalJSON ¶
func (v *PathPathCertifyScorecard) MarshalJSON() ([]byte, error)
func (*PathPathCertifyScorecard) UnmarshalJSON ¶
func (v *PathPathCertifyScorecard) UnmarshalJSON(b []byte) error
type PathPathCertifyVEXStatement ¶
type PathPathCertifyVEXStatement struct { Typename *string `json:"__typename"` AllCertifyVEXStatement `json:"-"` }
PathPathCertifyVEXStatement includes the requested fields of the GraphQL type CertifyVEXStatement. The GraphQL type's documentation follows.
CertifyVEXStatement is an attestation to attach VEX statements to a package or artifact to clarify the impact of a specific vulnerability.
func (*PathPathCertifyVEXStatement) GetCollector ¶
func (v *PathPathCertifyVEXStatement) GetCollector() string
GetCollector returns PathPathCertifyVEXStatement.Collector, and is useful for accessing the field via an interface.
func (*PathPathCertifyVEXStatement) GetId ¶
func (v *PathPathCertifyVEXStatement) GetId() string
GetId returns PathPathCertifyVEXStatement.Id, and is useful for accessing the field via an interface.
func (*PathPathCertifyVEXStatement) GetKnownSince ¶
func (v *PathPathCertifyVEXStatement) GetKnownSince() time.Time
GetKnownSince returns PathPathCertifyVEXStatement.KnownSince, and is useful for accessing the field via an interface.
func (*PathPathCertifyVEXStatement) GetOrigin ¶
func (v *PathPathCertifyVEXStatement) GetOrigin() string
GetOrigin returns PathPathCertifyVEXStatement.Origin, and is useful for accessing the field via an interface.
func (*PathPathCertifyVEXStatement) GetStatement ¶
func (v *PathPathCertifyVEXStatement) GetStatement() string
GetStatement returns PathPathCertifyVEXStatement.Statement, and is useful for accessing the field via an interface.
func (*PathPathCertifyVEXStatement) GetStatus ¶
func (v *PathPathCertifyVEXStatement) GetStatus() VexStatus
GetStatus returns PathPathCertifyVEXStatement.Status, and is useful for accessing the field via an interface.
func (*PathPathCertifyVEXStatement) GetStatusNotes ¶
func (v *PathPathCertifyVEXStatement) GetStatusNotes() string
GetStatusNotes returns PathPathCertifyVEXStatement.StatusNotes, and is useful for accessing the field via an interface.
func (*PathPathCertifyVEXStatement) GetSubject ¶
func (v *PathPathCertifyVEXStatement) GetSubject() AllCertifyVEXStatementSubjectPackageOrArtifact
GetSubject returns PathPathCertifyVEXStatement.Subject, and is useful for accessing the field via an interface.
func (*PathPathCertifyVEXStatement) GetTypename ¶
func (v *PathPathCertifyVEXStatement) GetTypename() *string
GetTypename returns PathPathCertifyVEXStatement.Typename, and is useful for accessing the field via an interface.
func (*PathPathCertifyVEXStatement) GetVexJustification ¶
func (v *PathPathCertifyVEXStatement) GetVexJustification() VexJustification
GetVexJustification returns PathPathCertifyVEXStatement.VexJustification, and is useful for accessing the field via an interface.
func (*PathPathCertifyVEXStatement) GetVulnerability ¶
func (v *PathPathCertifyVEXStatement) GetVulnerability() AllCertifyVEXStatementVulnerability
GetVulnerability returns PathPathCertifyVEXStatement.Vulnerability, and is useful for accessing the field via an interface.
func (*PathPathCertifyVEXStatement) MarshalJSON ¶
func (v *PathPathCertifyVEXStatement) MarshalJSON() ([]byte, error)
func (*PathPathCertifyVEXStatement) UnmarshalJSON ¶
func (v *PathPathCertifyVEXStatement) UnmarshalJSON(b []byte) error
type PathPathCertifyVuln ¶
type PathPathCertifyVuln struct { Typename *string `json:"__typename"` AllCertifyVuln `json:"-"` }
PathPathCertifyVuln includes the requested fields of the GraphQL type CertifyVuln. The GraphQL type's documentation follows.
CertifyVuln is an attestation to attach vulnerability information to a package.
This information is obtained via a scanner. If there is no vulnerability detected, we attach the a vulnerability with "NoVuln" type and an empty string for the vulnerability ID.
func (*PathPathCertifyVuln) GetId ¶
func (v *PathPathCertifyVuln) GetId() string
GetId returns PathPathCertifyVuln.Id, and is useful for accessing the field via an interface.
func (*PathPathCertifyVuln) GetMetadata ¶
func (v *PathPathCertifyVuln) GetMetadata() AllCertifyVulnMetadataScanMetadata
GetMetadata returns PathPathCertifyVuln.Metadata, and is useful for accessing the field via an interface.
func (*PathPathCertifyVuln) GetPackage ¶
func (v *PathPathCertifyVuln) GetPackage() AllCertifyVulnPackage
GetPackage returns PathPathCertifyVuln.Package, and is useful for accessing the field via an interface.
func (*PathPathCertifyVuln) GetTypename ¶
func (v *PathPathCertifyVuln) GetTypename() *string
GetTypename returns PathPathCertifyVuln.Typename, and is useful for accessing the field via an interface.
func (*PathPathCertifyVuln) GetVulnerability ¶
func (v *PathPathCertifyVuln) GetVulnerability() AllCertifyVulnVulnerability
GetVulnerability returns PathPathCertifyVuln.Vulnerability, and is useful for accessing the field via an interface.
func (*PathPathCertifyVuln) MarshalJSON ¶
func (v *PathPathCertifyVuln) MarshalJSON() ([]byte, error)
func (*PathPathCertifyVuln) UnmarshalJSON ¶
func (v *PathPathCertifyVuln) UnmarshalJSON(b []byte) error
type PathPathHasMetadata ¶ added in v0.1.1
type PathPathHasMetadata struct { Typename *string `json:"__typename"` AllHasMetadata `json:"-"` }
PathPathHasMetadata includes the requested fields of the GraphQL type HasMetadata. The GraphQL type's documentation follows.
HasMetadata is an attestation that a package, source, or artifact has a certain attested property (key) with value (value). For example, a source may have metadata "SourceRepo2FAEnabled=true".
The intent of this evidence tree predicate is to allow extensibility of metadata expressible within the GUAC ontology. Metadata that is commonly used will then be promoted to a predicate on its own.
Justification indicates how the metadata was determined.
The metadata applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
func (*PathPathHasMetadata) GetCollector ¶ added in v0.2.0
func (v *PathPathHasMetadata) GetCollector() string
GetCollector returns PathPathHasMetadata.Collector, and is useful for accessing the field via an interface.
func (*PathPathHasMetadata) GetId ¶ added in v0.2.0
func (v *PathPathHasMetadata) GetId() string
GetId returns PathPathHasMetadata.Id, and is useful for accessing the field via an interface.
func (*PathPathHasMetadata) GetJustification ¶ added in v0.2.0
func (v *PathPathHasMetadata) GetJustification() string
GetJustification returns PathPathHasMetadata.Justification, and is useful for accessing the field via an interface.
func (*PathPathHasMetadata) GetKey ¶ added in v0.2.0
func (v *PathPathHasMetadata) GetKey() string
GetKey returns PathPathHasMetadata.Key, and is useful for accessing the field via an interface.
func (*PathPathHasMetadata) GetOrigin ¶ added in v0.2.0
func (v *PathPathHasMetadata) GetOrigin() string
GetOrigin returns PathPathHasMetadata.Origin, and is useful for accessing the field via an interface.
func (*PathPathHasMetadata) GetSubject ¶ added in v0.2.0
func (v *PathPathHasMetadata) GetSubject() AllHasMetadataSubjectPackageSourceOrArtifact
GetSubject returns PathPathHasMetadata.Subject, and is useful for accessing the field via an interface.
func (*PathPathHasMetadata) GetTimestamp ¶ added in v0.2.0
func (v *PathPathHasMetadata) GetTimestamp() time.Time
GetTimestamp returns PathPathHasMetadata.Timestamp, and is useful for accessing the field via an interface.
func (*PathPathHasMetadata) GetTypename ¶ added in v0.1.1
func (v *PathPathHasMetadata) GetTypename() *string
GetTypename returns PathPathHasMetadata.Typename, and is useful for accessing the field via an interface.
func (*PathPathHasMetadata) GetValue ¶ added in v0.2.0
func (v *PathPathHasMetadata) GetValue() string
GetValue returns PathPathHasMetadata.Value, and is useful for accessing the field via an interface.
func (*PathPathHasMetadata) MarshalJSON ¶ added in v0.2.0
func (v *PathPathHasMetadata) MarshalJSON() ([]byte, error)
func (*PathPathHasMetadata) UnmarshalJSON ¶ added in v0.2.0
func (v *PathPathHasMetadata) UnmarshalJSON(b []byte) error
type PathPathHasSBOM ¶
type PathPathHasSBOM struct { Typename *string `json:"__typename"` AllHasSBOMTree `json:"-"` }
PathPathHasSBOM includes the requested fields of the GraphQL type HasSBOM.
func (*PathPathHasSBOM) GetAlgorithm ¶
func (v *PathPathHasSBOM) GetAlgorithm() string
GetAlgorithm returns PathPathHasSBOM.Algorithm, and is useful for accessing the field via an interface.
func (*PathPathHasSBOM) GetCollector ¶
func (v *PathPathHasSBOM) GetCollector() string
GetCollector returns PathPathHasSBOM.Collector, and is useful for accessing the field via an interface.
func (*PathPathHasSBOM) GetDigest ¶
func (v *PathPathHasSBOM) GetDigest() string
GetDigest returns PathPathHasSBOM.Digest, and is useful for accessing the field via an interface.
func (*PathPathHasSBOM) GetDocumentRef ¶ added in v0.8.3
func (v *PathPathHasSBOM) GetDocumentRef() string
GetDocumentRef returns PathPathHasSBOM.DocumentRef, and is useful for accessing the field via an interface.
func (*PathPathHasSBOM) GetDownloadLocation ¶
func (v *PathPathHasSBOM) GetDownloadLocation() string
GetDownloadLocation returns PathPathHasSBOM.DownloadLocation, and is useful for accessing the field via an interface.
func (*PathPathHasSBOM) GetId ¶
func (v *PathPathHasSBOM) GetId() string
GetId returns PathPathHasSBOM.Id, and is useful for accessing the field via an interface.
func (*PathPathHasSBOM) GetIncludedDependencies ¶ added in v0.4.0
func (v *PathPathHasSBOM) GetIncludedDependencies() []AllHasSBOMTreeIncludedDependenciesIsDependency
GetIncludedDependencies returns PathPathHasSBOM.IncludedDependencies, and is useful for accessing the field via an interface.
func (*PathPathHasSBOM) GetIncludedOccurrences ¶ added in v0.4.0
func (v *PathPathHasSBOM) GetIncludedOccurrences() []AllHasSBOMTreeIncludedOccurrencesIsOccurrence
GetIncludedOccurrences returns PathPathHasSBOM.IncludedOccurrences, and is useful for accessing the field via an interface.
func (*PathPathHasSBOM) GetIncludedSoftware ¶ added in v0.4.0
func (v *PathPathHasSBOM) GetIncludedSoftware() []AllHasSBOMTreeIncludedSoftwarePackageOrArtifact
GetIncludedSoftware returns PathPathHasSBOM.IncludedSoftware, and is useful for accessing the field via an interface.
func (*PathPathHasSBOM) GetKnownSince ¶ added in v0.2.1
func (v *PathPathHasSBOM) GetKnownSince() time.Time
GetKnownSince returns PathPathHasSBOM.KnownSince, and is useful for accessing the field via an interface.
func (*PathPathHasSBOM) GetOrigin ¶
func (v *PathPathHasSBOM) GetOrigin() string
GetOrigin returns PathPathHasSBOM.Origin, and is useful for accessing the field via an interface.
func (*PathPathHasSBOM) GetSubject ¶
func (v *PathPathHasSBOM) GetSubject() AllHasSBOMTreeSubjectPackageOrArtifact
GetSubject returns PathPathHasSBOM.Subject, and is useful for accessing the field via an interface.
func (*PathPathHasSBOM) GetTypename ¶
func (v *PathPathHasSBOM) GetTypename() *string
GetTypename returns PathPathHasSBOM.Typename, and is useful for accessing the field via an interface.
func (*PathPathHasSBOM) GetUri ¶
func (v *PathPathHasSBOM) GetUri() string
GetUri returns PathPathHasSBOM.Uri, and is useful for accessing the field via an interface.
func (*PathPathHasSBOM) MarshalJSON ¶
func (v *PathPathHasSBOM) MarshalJSON() ([]byte, error)
func (*PathPathHasSBOM) UnmarshalJSON ¶
func (v *PathPathHasSBOM) UnmarshalJSON(b []byte) error
type PathPathHasSLSA ¶
type PathPathHasSLSA struct { Typename *string `json:"__typename"` AllSLSATree `json:"-"` }
PathPathHasSLSA includes the requested fields of the GraphQL type HasSLSA. The GraphQL type's documentation follows.
HasSLSA records that a subject node has a SLSA attestation.
func (*PathPathHasSLSA) GetId ¶
func (v *PathPathHasSLSA) GetId() string
GetId returns PathPathHasSLSA.Id, and is useful for accessing the field via an interface.
func (*PathPathHasSLSA) GetSlsa ¶
func (v *PathPathHasSLSA) GetSlsa() AllSLSATreeSlsaSLSA
GetSlsa returns PathPathHasSLSA.Slsa, and is useful for accessing the field via an interface.
func (*PathPathHasSLSA) GetSubject ¶
func (v *PathPathHasSLSA) GetSubject() AllSLSATreeSubjectArtifact
GetSubject returns PathPathHasSLSA.Subject, and is useful for accessing the field via an interface.
func (*PathPathHasSLSA) GetTypename ¶
func (v *PathPathHasSLSA) GetTypename() *string
GetTypename returns PathPathHasSLSA.Typename, and is useful for accessing the field via an interface.
func (*PathPathHasSLSA) MarshalJSON ¶
func (v *PathPathHasSLSA) MarshalJSON() ([]byte, error)
func (*PathPathHasSLSA) UnmarshalJSON ¶
func (v *PathPathHasSLSA) UnmarshalJSON(b []byte) error
type PathPathHasSourceAt ¶
type PathPathHasSourceAt struct { Typename *string `json:"__typename"` AllHasSourceAt `json:"-"` }
PathPathHasSourceAt includes the requested fields of the GraphQL type HasSourceAt. The GraphQL type's documentation follows.
HasSourceAt records that a package's repository is a given source.
func (*PathPathHasSourceAt) GetCollector ¶
func (v *PathPathHasSourceAt) GetCollector() string
GetCollector returns PathPathHasSourceAt.Collector, and is useful for accessing the field via an interface.
func (*PathPathHasSourceAt) GetId ¶
func (v *PathPathHasSourceAt) GetId() string
GetId returns PathPathHasSourceAt.Id, and is useful for accessing the field via an interface.
func (*PathPathHasSourceAt) GetJustification ¶
func (v *PathPathHasSourceAt) GetJustification() string
GetJustification returns PathPathHasSourceAt.Justification, and is useful for accessing the field via an interface.
func (*PathPathHasSourceAt) GetKnownSince ¶
func (v *PathPathHasSourceAt) GetKnownSince() time.Time
GetKnownSince returns PathPathHasSourceAt.KnownSince, and is useful for accessing the field via an interface.
func (*PathPathHasSourceAt) GetOrigin ¶
func (v *PathPathHasSourceAt) GetOrigin() string
GetOrigin returns PathPathHasSourceAt.Origin, and is useful for accessing the field via an interface.
func (*PathPathHasSourceAt) GetPackage ¶
func (v *PathPathHasSourceAt) GetPackage() AllHasSourceAtPackage
GetPackage returns PathPathHasSourceAt.Package, and is useful for accessing the field via an interface.
func (*PathPathHasSourceAt) GetSource ¶
func (v *PathPathHasSourceAt) GetSource() AllHasSourceAtSource
GetSource returns PathPathHasSourceAt.Source, and is useful for accessing the field via an interface.
func (*PathPathHasSourceAt) GetTypename ¶
func (v *PathPathHasSourceAt) GetTypename() *string
GetTypename returns PathPathHasSourceAt.Typename, and is useful for accessing the field via an interface.
func (*PathPathHasSourceAt) MarshalJSON ¶
func (v *PathPathHasSourceAt) MarshalJSON() ([]byte, error)
func (*PathPathHasSourceAt) UnmarshalJSON ¶
func (v *PathPathHasSourceAt) UnmarshalJSON(b []byte) error
type PathPathHashEqual ¶
type PathPathHashEqual struct { Typename *string `json:"__typename"` AllHashEqualTree `json:"-"` }
PathPathHashEqual includes the requested fields of the GraphQL type HashEqual. The GraphQL type's documentation follows.
HashEqual is an attestation that two artifacts are identical.
func (*PathPathHashEqual) GetArtifacts ¶
func (v *PathPathHashEqual) GetArtifacts() []AllHashEqualTreeArtifactsArtifact
GetArtifacts returns PathPathHashEqual.Artifacts, and is useful for accessing the field via an interface.
func (*PathPathHashEqual) GetCollector ¶
func (v *PathPathHashEqual) GetCollector() string
GetCollector returns PathPathHashEqual.Collector, and is useful for accessing the field via an interface.
func (*PathPathHashEqual) GetId ¶
func (v *PathPathHashEqual) GetId() string
GetId returns PathPathHashEqual.Id, and is useful for accessing the field via an interface.
func (*PathPathHashEqual) GetJustification ¶
func (v *PathPathHashEqual) GetJustification() string
GetJustification returns PathPathHashEqual.Justification, and is useful for accessing the field via an interface.
func (*PathPathHashEqual) GetOrigin ¶
func (v *PathPathHashEqual) GetOrigin() string
GetOrigin returns PathPathHashEqual.Origin, and is useful for accessing the field via an interface.
func (*PathPathHashEqual) GetTypename ¶
func (v *PathPathHashEqual) GetTypename() *string
GetTypename returns PathPathHashEqual.Typename, and is useful for accessing the field via an interface.
func (*PathPathHashEqual) MarshalJSON ¶
func (v *PathPathHashEqual) MarshalJSON() ([]byte, error)
func (*PathPathHashEqual) UnmarshalJSON ¶
func (v *PathPathHashEqual) UnmarshalJSON(b []byte) error
type PathPathIsDependency ¶
type PathPathIsDependency struct { Typename *string `json:"__typename"` AllIsDependencyTree `json:"-"` }
PathPathIsDependency includes the requested fields of the GraphQL type IsDependency. The GraphQL type's documentation follows.
IsDependency is an attestation to record that a package depends on another.
func (*PathPathIsDependency) GetCollector ¶
func (v *PathPathIsDependency) GetCollector() string
GetCollector returns PathPathIsDependency.Collector, and is useful for accessing the field via an interface.
func (*PathPathIsDependency) GetDependencyPackage ¶ added in v0.2.0
func (v *PathPathIsDependency) GetDependencyPackage() AllIsDependencyTreeDependencyPackage
GetDependencyPackage returns PathPathIsDependency.DependencyPackage, and is useful for accessing the field via an interface.
func (*PathPathIsDependency) GetDependencyType ¶
func (v *PathPathIsDependency) GetDependencyType() DependencyType
GetDependencyType returns PathPathIsDependency.DependencyType, and is useful for accessing the field via an interface.
func (*PathPathIsDependency) GetId ¶
func (v *PathPathIsDependency) GetId() string
GetId returns PathPathIsDependency.Id, and is useful for accessing the field via an interface.
func (*PathPathIsDependency) GetJustification ¶
func (v *PathPathIsDependency) GetJustification() string
GetJustification returns PathPathIsDependency.Justification, and is useful for accessing the field via an interface.
func (*PathPathIsDependency) GetOrigin ¶
func (v *PathPathIsDependency) GetOrigin() string
GetOrigin returns PathPathIsDependency.Origin, and is useful for accessing the field via an interface.
func (*PathPathIsDependency) GetPackage ¶
func (v *PathPathIsDependency) GetPackage() AllIsDependencyTreePackage
GetPackage returns PathPathIsDependency.Package, and is useful for accessing the field via an interface.
func (*PathPathIsDependency) GetTypename ¶
func (v *PathPathIsDependency) GetTypename() *string
GetTypename returns PathPathIsDependency.Typename, and is useful for accessing the field via an interface.
func (*PathPathIsDependency) MarshalJSON ¶
func (v *PathPathIsDependency) MarshalJSON() ([]byte, error)
func (*PathPathIsDependency) UnmarshalJSON ¶
func (v *PathPathIsDependency) UnmarshalJSON(b []byte) error
type PathPathIsOccurrence ¶
type PathPathIsOccurrence struct { Typename *string `json:"__typename"` AllIsOccurrencesTree `json:"-"` }
PathPathIsOccurrence includes the requested fields of the GraphQL type IsOccurrence. The GraphQL type's documentation follows.
IsOccurrence is an attestation to link an artifact to a package or source.
Attestation must occur at the PackageVersion or at the SourceName.
func (*PathPathIsOccurrence) GetArtifact ¶
func (v *PathPathIsOccurrence) GetArtifact() AllIsOccurrencesTreeArtifact
GetArtifact returns PathPathIsOccurrence.Artifact, and is useful for accessing the field via an interface.
func (*PathPathIsOccurrence) GetCollector ¶
func (v *PathPathIsOccurrence) GetCollector() string
GetCollector returns PathPathIsOccurrence.Collector, and is useful for accessing the field via an interface.
func (*PathPathIsOccurrence) GetId ¶
func (v *PathPathIsOccurrence) GetId() string
GetId returns PathPathIsOccurrence.Id, and is useful for accessing the field via an interface.
func (*PathPathIsOccurrence) GetJustification ¶
func (v *PathPathIsOccurrence) GetJustification() string
GetJustification returns PathPathIsOccurrence.Justification, and is useful for accessing the field via an interface.
func (*PathPathIsOccurrence) GetOrigin ¶
func (v *PathPathIsOccurrence) GetOrigin() string
GetOrigin returns PathPathIsOccurrence.Origin, and is useful for accessing the field via an interface.
func (*PathPathIsOccurrence) GetSubject ¶
func (v *PathPathIsOccurrence) GetSubject() AllIsOccurrencesTreeSubjectPackageOrSource
GetSubject returns PathPathIsOccurrence.Subject, and is useful for accessing the field via an interface.
func (*PathPathIsOccurrence) GetTypename ¶
func (v *PathPathIsOccurrence) GetTypename() *string
GetTypename returns PathPathIsOccurrence.Typename, and is useful for accessing the field via an interface.
func (*PathPathIsOccurrence) MarshalJSON ¶
func (v *PathPathIsOccurrence) MarshalJSON() ([]byte, error)
func (*PathPathIsOccurrence) UnmarshalJSON ¶
func (v *PathPathIsOccurrence) UnmarshalJSON(b []byte) error
type PathPathLicense ¶ added in v0.2.0
type PathPathLicense struct { Typename *string `json:"__typename"` AllLicenseTree `json:"-"` }
PathPathLicense includes the requested fields of the GraphQL type License. The GraphQL type's documentation follows.
License represents a particular license. If the license is found on the SPDX license list (https://spdx.org/licenses/) then the fields should be:
Name: SPDX license identifier Inline: empty ListVersion: SPDX license list version
example:
Name: AGPL-3.0-or-later Inline: "" ListVersion: 3.21 2023-06-18
If the license is not on the SPDX license list, then a new guid should be created and the license text placed inline:
Name: LicenseRef-<guid> Inline: Full license text ListVersion: empty
example:
Name: LicenseRef-1a2b3c Inline: Permission to use, copy, modify, and/or distribute ... ListVersion: ""
func (*PathPathLicense) GetId ¶ added in v0.2.0
func (v *PathPathLicense) GetId() string
GetId returns PathPathLicense.Id, and is useful for accessing the field via an interface.
func (*PathPathLicense) GetInline ¶ added in v0.2.0
func (v *PathPathLicense) GetInline() *string
GetInline returns PathPathLicense.Inline, and is useful for accessing the field via an interface.
func (*PathPathLicense) GetListVersion ¶ added in v0.2.0
func (v *PathPathLicense) GetListVersion() *string
GetListVersion returns PathPathLicense.ListVersion, and is useful for accessing the field via an interface.
func (*PathPathLicense) GetName ¶ added in v0.2.0
func (v *PathPathLicense) GetName() string
GetName returns PathPathLicense.Name, and is useful for accessing the field via an interface.
func (*PathPathLicense) GetTypename ¶ added in v0.2.0
func (v *PathPathLicense) GetTypename() *string
GetTypename returns PathPathLicense.Typename, and is useful for accessing the field via an interface.
func (*PathPathLicense) MarshalJSON ¶ added in v0.2.0
func (v *PathPathLicense) MarshalJSON() ([]byte, error)
func (*PathPathLicense) UnmarshalJSON ¶ added in v0.2.0
func (v *PathPathLicense) UnmarshalJSON(b []byte) error
type PathPathNode ¶
type PathPathNode interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() *string // contains filtered or unexported methods }
PathPathNode includes the requested fields of the GraphQL interface Node.
PathPathNode is implemented by the following types: PathPathArtifact PathPathBuilder PathPathCertifyBad PathPathCertifyGood PathPathCertifyLegal PathPathCertifyScorecard PathPathCertifyVEXStatement PathPathCertifyVuln PathPathHasMetadata PathPathHasSBOM PathPathHasSLSA PathPathHasSourceAt PathPathHashEqual PathPathIsDependency PathPathIsOccurrence PathPathLicense PathPathPackage PathPathPkgEqual PathPathPointOfContact PathPathSource PathPathVulnEqual PathPathVulnerability PathPathVulnerabilityMetadata The GraphQL type's documentation follows.
Node is a union type of all the possible nodes.
It encapsulates the software tree nodes along with the evidence nodes. In a path query, all connecting evidence nodes along with their intermediate subject nodes need to be returned in order to create a complete graph.
type PathPathPackage ¶
type PathPathPackage struct { Typename *string `json:"__typename"` AllPkgTree `json:"-"` }
PathPathPackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*PathPathPackage) GetId ¶
func (v *PathPathPackage) GetId() string
GetId returns PathPathPackage.Id, and is useful for accessing the field via an interface.
func (*PathPathPackage) GetNamespaces ¶
func (v *PathPathPackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns PathPathPackage.Namespaces, and is useful for accessing the field via an interface.
func (*PathPathPackage) GetType ¶
func (v *PathPathPackage) GetType() string
GetType returns PathPathPackage.Type, and is useful for accessing the field via an interface.
func (*PathPathPackage) GetTypename ¶
func (v *PathPathPackage) GetTypename() *string
GetTypename returns PathPathPackage.Typename, and is useful for accessing the field via an interface.
func (*PathPathPackage) MarshalJSON ¶
func (v *PathPathPackage) MarshalJSON() ([]byte, error)
func (*PathPathPackage) UnmarshalJSON ¶
func (v *PathPathPackage) UnmarshalJSON(b []byte) error
type PathPathPkgEqual ¶
type PathPathPkgEqual struct { Typename *string `json:"__typename"` AllPkgEqual `json:"-"` }
PathPathPkgEqual includes the requested fields of the GraphQL type PkgEqual. The GraphQL type's documentation follows.
PkgEqual is an attestation that two packages are similar.
func (*PathPathPkgEqual) GetCollector ¶
func (v *PathPathPkgEqual) GetCollector() string
GetCollector returns PathPathPkgEqual.Collector, and is useful for accessing the field via an interface.
func (*PathPathPkgEqual) GetId ¶
func (v *PathPathPkgEqual) GetId() string
GetId returns PathPathPkgEqual.Id, and is useful for accessing the field via an interface.
func (*PathPathPkgEqual) GetJustification ¶
func (v *PathPathPkgEqual) GetJustification() string
GetJustification returns PathPathPkgEqual.Justification, and is useful for accessing the field via an interface.
func (*PathPathPkgEqual) GetOrigin ¶
func (v *PathPathPkgEqual) GetOrigin() string
GetOrigin returns PathPathPkgEqual.Origin, and is useful for accessing the field via an interface.
func (*PathPathPkgEqual) GetPackages ¶
func (v *PathPathPkgEqual) GetPackages() []AllPkgEqualPackagesPackage
GetPackages returns PathPathPkgEqual.Packages, and is useful for accessing the field via an interface.
func (*PathPathPkgEqual) GetTypename ¶
func (v *PathPathPkgEqual) GetTypename() *string
GetTypename returns PathPathPkgEqual.Typename, and is useful for accessing the field via an interface.
func (*PathPathPkgEqual) MarshalJSON ¶
func (v *PathPathPkgEqual) MarshalJSON() ([]byte, error)
func (*PathPathPkgEqual) UnmarshalJSON ¶
func (v *PathPathPkgEqual) UnmarshalJSON(b []byte) error
type PathPathPointOfContact ¶ added in v0.1.1
type PathPathPointOfContact struct { Typename *string `json:"__typename"` AllPointOfContact `json:"-"` }
PathPathPointOfContact includes the requested fields of the GraphQL type PointOfContact. The GraphQL type's documentation follows.
PointOfContact is an attestation of how to get in touch with the person(s) responsible for a package, source, or artifact.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The attestation applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
email is the email address (singular) of the point of contact.
info is additional contact information other than email address. This is free form.
NOTE: the identifiers for point of contact should be part of software trees. This will benefit from identifier look up and traversal as well as organization hierarchy. However, until the use case arises, PointOfContact will be a flat reference to the contact details.
func (*PathPathPointOfContact) GetCollector ¶ added in v0.1.2
func (v *PathPathPointOfContact) GetCollector() string
GetCollector returns PathPathPointOfContact.Collector, and is useful for accessing the field via an interface.
func (*PathPathPointOfContact) GetEmail ¶ added in v0.1.2
func (v *PathPathPointOfContact) GetEmail() string
GetEmail returns PathPathPointOfContact.Email, and is useful for accessing the field via an interface.
func (*PathPathPointOfContact) GetId ¶ added in v0.1.2
func (v *PathPathPointOfContact) GetId() string
GetId returns PathPathPointOfContact.Id, and is useful for accessing the field via an interface.
func (*PathPathPointOfContact) GetInfo ¶ added in v0.1.2
func (v *PathPathPointOfContact) GetInfo() string
GetInfo returns PathPathPointOfContact.Info, and is useful for accessing the field via an interface.
func (*PathPathPointOfContact) GetJustification ¶ added in v0.1.2
func (v *PathPathPointOfContact) GetJustification() string
GetJustification returns PathPathPointOfContact.Justification, and is useful for accessing the field via an interface.
func (*PathPathPointOfContact) GetOrigin ¶ added in v0.1.2
func (v *PathPathPointOfContact) GetOrigin() string
GetOrigin returns PathPathPointOfContact.Origin, and is useful for accessing the field via an interface.
func (*PathPathPointOfContact) GetSince ¶ added in v0.1.2
func (v *PathPathPointOfContact) GetSince() time.Time
GetSince returns PathPathPointOfContact.Since, and is useful for accessing the field via an interface.
func (*PathPathPointOfContact) GetSubject ¶ added in v0.1.2
func (v *PathPathPointOfContact) GetSubject() AllPointOfContactSubjectPackageSourceOrArtifact
GetSubject returns PathPathPointOfContact.Subject, and is useful for accessing the field via an interface.
func (*PathPathPointOfContact) GetTypename ¶ added in v0.1.1
func (v *PathPathPointOfContact) GetTypename() *string
GetTypename returns PathPathPointOfContact.Typename, and is useful for accessing the field via an interface.
func (*PathPathPointOfContact) MarshalJSON ¶ added in v0.1.2
func (v *PathPathPointOfContact) MarshalJSON() ([]byte, error)
func (*PathPathPointOfContact) UnmarshalJSON ¶ added in v0.1.2
func (v *PathPathPointOfContact) UnmarshalJSON(b []byte) error
type PathPathSource ¶
type PathPathSource struct { Typename *string `json:"__typename"` AllSourceTree `json:"-"` }
PathPathSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*PathPathSource) GetId ¶
func (v *PathPathSource) GetId() string
GetId returns PathPathSource.Id, and is useful for accessing the field via an interface.
func (*PathPathSource) GetNamespaces ¶
func (v *PathPathSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns PathPathSource.Namespaces, and is useful for accessing the field via an interface.
func (*PathPathSource) GetType ¶
func (v *PathPathSource) GetType() string
GetType returns PathPathSource.Type, and is useful for accessing the field via an interface.
func (*PathPathSource) GetTypename ¶
func (v *PathPathSource) GetTypename() *string
GetTypename returns PathPathSource.Typename, and is useful for accessing the field via an interface.
func (*PathPathSource) MarshalJSON ¶
func (v *PathPathSource) MarshalJSON() ([]byte, error)
func (*PathPathSource) UnmarshalJSON ¶
func (v *PathPathSource) UnmarshalJSON(b []byte) error
type PathPathVulnEqual ¶ added in v0.2.0
type PathPathVulnEqual struct { Typename *string `json:"__typename"` AllVulnEqual `json:"-"` }
PathPathVulnEqual includes the requested fields of the GraphQL type VulnEqual. The GraphQL type's documentation follows.
VulnEqual is an attestation to link two vulnerabilities together as being equal"
Note that setting noVuln vulnerability type is invalid for VulnEqual!
func (*PathPathVulnEqual) GetCollector ¶ added in v0.2.0
func (v *PathPathVulnEqual) GetCollector() string
GetCollector returns PathPathVulnEqual.Collector, and is useful for accessing the field via an interface.
func (*PathPathVulnEqual) GetId ¶ added in v0.2.0
func (v *PathPathVulnEqual) GetId() string
GetId returns PathPathVulnEqual.Id, and is useful for accessing the field via an interface.
func (*PathPathVulnEqual) GetJustification ¶ added in v0.2.0
func (v *PathPathVulnEqual) GetJustification() string
GetJustification returns PathPathVulnEqual.Justification, and is useful for accessing the field via an interface.
func (*PathPathVulnEqual) GetOrigin ¶ added in v0.2.0
func (v *PathPathVulnEqual) GetOrigin() string
GetOrigin returns PathPathVulnEqual.Origin, and is useful for accessing the field via an interface.
func (*PathPathVulnEqual) GetTypename ¶ added in v0.2.0
func (v *PathPathVulnEqual) GetTypename() *string
GetTypename returns PathPathVulnEqual.Typename, and is useful for accessing the field via an interface.
func (*PathPathVulnEqual) GetVulnerabilities ¶ added in v0.2.0
func (v *PathPathVulnEqual) GetVulnerabilities() []AllVulnEqualVulnerabilitiesVulnerability
GetVulnerabilities returns PathPathVulnEqual.Vulnerabilities, and is useful for accessing the field via an interface.
func (*PathPathVulnEqual) MarshalJSON ¶ added in v0.2.0
func (v *PathPathVulnEqual) MarshalJSON() ([]byte, error)
func (*PathPathVulnEqual) UnmarshalJSON ¶ added in v0.2.0
func (v *PathPathVulnEqual) UnmarshalJSON(b []byte) error
type PathPathVulnerability ¶ added in v0.2.0
type PathPathVulnerability struct { Typename *string `json:"__typename"` AllVulnerabilityTree `json:"-"` }
PathPathVulnerability includes the requested fields of the GraphQL type Vulnerability. The GraphQL type's documentation follows.
Vulnerability represents the root of the vulnerability trie/tree.
We map vulnerability information to a trie, as a derivative of the pURL specification: each path in the trie represents a type and a vulnerability ID. This allows for generic representation of the various vulnerabilities and does not limit to just cve, ghsa or osv. This would be in the general format: vuln://<general-type>/<vuln-id>
Examples:
CVE, using path separator: vuln://cve/cve-2023-20753 OSV, representing its knowledge of a GHSA: vuln://osv/ghsa-205hk Random vendor: vuln://snyk/sn-whatever NoVuln: vuln://novuln/
This node represents the type part of the trie path. It is used to represent the specific type of the vulnerability: cve, ghsa, osv or some other vendor specific
Since this node is at the root of the vulnerability trie, it is named Vulnerability, not VulnerabilityType.
NoVuln is a special vulnerability node to attest that no vulnerability has been found during a vulnerability scan. It will have the type "novuln" and contain an empty string for vulnerabilityID
The resolvers will enforce that both the type and vulnerability IDs are lower case.
func (*PathPathVulnerability) GetId ¶ added in v0.2.0
func (v *PathPathVulnerability) GetId() string
GetId returns PathPathVulnerability.Id, and is useful for accessing the field via an interface.
func (*PathPathVulnerability) GetType ¶ added in v0.2.0
func (v *PathPathVulnerability) GetType() string
GetType returns PathPathVulnerability.Type, and is useful for accessing the field via an interface.
func (*PathPathVulnerability) GetTypename ¶ added in v0.2.0
func (v *PathPathVulnerability) GetTypename() *string
GetTypename returns PathPathVulnerability.Typename, and is useful for accessing the field via an interface.
func (*PathPathVulnerability) GetVulnerabilityIDs ¶ added in v0.2.0
func (v *PathPathVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
GetVulnerabilityIDs returns PathPathVulnerability.VulnerabilityIDs, and is useful for accessing the field via an interface.
func (*PathPathVulnerability) MarshalJSON ¶ added in v0.2.0
func (v *PathPathVulnerability) MarshalJSON() ([]byte, error)
func (*PathPathVulnerability) UnmarshalJSON ¶ added in v0.2.0
func (v *PathPathVulnerability) UnmarshalJSON(b []byte) error
type PathPathVulnerabilityMetadata ¶ added in v0.2.0
type PathPathVulnerabilityMetadata struct { Typename *string `json:"__typename"` AllVulnMetadataTree `json:"-"` }
PathPathVulnerabilityMetadata includes the requested fields of the GraphQL type VulnerabilityMetadata. The GraphQL type's documentation follows.
VulnerabilityMetadata is an attestation that a vulnerability has a related score associated with it.
The intent of this evidence tree predicate is to allow extensibility of vulnerability score (one-to-one mapping) with a specific vulnerability ID.
A vulnerability ID can have a one-to-many relationship with the VulnerabilityMetadata node as a vulnerability ID can have multiple scores (in various frameworks).
Examples:
scoreType: EPSSv1 scoreValue: 0.960760000
scoreType: CVSSv2 scoreValue: 5.0
scoreType: CVSSv3 scoreValue: 7.5
The timestamp is used to determine when the score was evaluated for the specific vulnerability.
func (*PathPathVulnerabilityMetadata) GetCollector ¶ added in v0.2.0
func (v *PathPathVulnerabilityMetadata) GetCollector() string
GetCollector returns PathPathVulnerabilityMetadata.Collector, and is useful for accessing the field via an interface.
func (*PathPathVulnerabilityMetadata) GetId ¶ added in v0.2.0
func (v *PathPathVulnerabilityMetadata) GetId() string
GetId returns PathPathVulnerabilityMetadata.Id, and is useful for accessing the field via an interface.
func (*PathPathVulnerabilityMetadata) GetOrigin ¶ added in v0.2.0
func (v *PathPathVulnerabilityMetadata) GetOrigin() string
GetOrigin returns PathPathVulnerabilityMetadata.Origin, and is useful for accessing the field via an interface.
func (*PathPathVulnerabilityMetadata) GetScoreType ¶ added in v0.2.0
func (v *PathPathVulnerabilityMetadata) GetScoreType() VulnerabilityScoreType
GetScoreType returns PathPathVulnerabilityMetadata.ScoreType, and is useful for accessing the field via an interface.
func (*PathPathVulnerabilityMetadata) GetScoreValue ¶ added in v0.2.0
func (v *PathPathVulnerabilityMetadata) GetScoreValue() float64
GetScoreValue returns PathPathVulnerabilityMetadata.ScoreValue, and is useful for accessing the field via an interface.
func (*PathPathVulnerabilityMetadata) GetTimestamp ¶ added in v0.2.0
func (v *PathPathVulnerabilityMetadata) GetTimestamp() time.Time
GetTimestamp returns PathPathVulnerabilityMetadata.Timestamp, and is useful for accessing the field via an interface.
func (*PathPathVulnerabilityMetadata) GetTypename ¶ added in v0.2.0
func (v *PathPathVulnerabilityMetadata) GetTypename() *string
GetTypename returns PathPathVulnerabilityMetadata.Typename, and is useful for accessing the field via an interface.
func (*PathPathVulnerabilityMetadata) GetVulnerability ¶ added in v0.2.0
func (v *PathPathVulnerabilityMetadata) GetVulnerability() AllVulnMetadataTreeVulnerability
GetVulnerability returns PathPathVulnerabilityMetadata.Vulnerability, and is useful for accessing the field via an interface.
func (*PathPathVulnerabilityMetadata) MarshalJSON ¶ added in v0.2.0
func (v *PathPathVulnerabilityMetadata) MarshalJSON() ([]byte, error)
func (*PathPathVulnerabilityMetadata) UnmarshalJSON ¶ added in v0.2.0
func (v *PathPathVulnerabilityMetadata) UnmarshalJSON(b []byte) error
type PathResponse ¶
type PathResponse struct { // path query returns a path between subject and target, of a maximum length. // // Since we want to uniquely identify endpoints, nodes must be specified by // valid IDs only (instead of using filters/input spec structs). // // Specifying any Edge value in `usingOnly` will make the path only contain the // corresponding GUAC evidence trees (GUAC verbs). Path []PathPathNode `json:"-"` }
PathResponse is returned by Path on success.
func (*PathResponse) GetPath ¶
func (v *PathResponse) GetPath() []PathPathNode
GetPath returns PathResponse.Path, and is useful for accessing the field via an interface.
func (*PathResponse) MarshalJSON ¶
func (v *PathResponse) MarshalJSON() ([]byte, error)
func (*PathResponse) UnmarshalJSON ¶
func (v *PathResponse) UnmarshalJSON(b []byte) error
type PkgEqualInputSpec ¶
type PkgEqualInputSpec struct { Justification string `json:"justification"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
PkgEqualInputSpec represents the input to certify that packages are similar.
func (*PkgEqualInputSpec) GetCollector ¶
func (v *PkgEqualInputSpec) GetCollector() string
GetCollector returns PkgEqualInputSpec.Collector, and is useful for accessing the field via an interface.
func (*PkgEqualInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *PkgEqualInputSpec) GetDocumentRef() string
GetDocumentRef returns PkgEqualInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*PkgEqualInputSpec) GetJustification ¶
func (v *PkgEqualInputSpec) GetJustification() string
GetJustification returns PkgEqualInputSpec.Justification, and is useful for accessing the field via an interface.
func (*PkgEqualInputSpec) GetOrigin ¶
func (v *PkgEqualInputSpec) GetOrigin() string
GetOrigin returns PkgEqualInputSpec.Origin, and is useful for accessing the field via an interface.
type PkgEqualListPkgEqualListPkgEqualConnection ¶ added in v0.7.0
type PkgEqualListPkgEqualListPkgEqualConnection struct { TotalCount int `json:"totalCount"` Edges []PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdge `json:"edges"` PageInfo PkgEqualListPkgEqualListPkgEqualConnectionPageInfo `json:"pageInfo"` }
PkgEqualListPkgEqualListPkgEqualConnection includes the requested fields of the GraphQL type PkgEqualConnection. The GraphQL type's documentation follows.
PkgEqualConnection returns the paginated results for PkgEqual.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the PkgEqualEdge which contains the current cursor and the PkgEqual node itself
func (*PkgEqualListPkgEqualListPkgEqualConnection) GetEdges ¶ added in v0.7.0
func (v *PkgEqualListPkgEqualListPkgEqualConnection) GetEdges() []PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdge
GetEdges returns PkgEqualListPkgEqualListPkgEqualConnection.Edges, and is useful for accessing the field via an interface.
func (*PkgEqualListPkgEqualListPkgEqualConnection) GetPageInfo ¶ added in v0.7.0
func (v *PkgEqualListPkgEqualListPkgEqualConnection) GetPageInfo() PkgEqualListPkgEqualListPkgEqualConnectionPageInfo
GetPageInfo returns PkgEqualListPkgEqualListPkgEqualConnection.PageInfo, and is useful for accessing the field via an interface.
func (*PkgEqualListPkgEqualListPkgEqualConnection) GetTotalCount ¶ added in v0.7.0
func (v *PkgEqualListPkgEqualListPkgEqualConnection) GetTotalCount() int
GetTotalCount returns PkgEqualListPkgEqualListPkgEqualConnection.TotalCount, and is useful for accessing the field via an interface.
type PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdge ¶ added in v0.7.0
type PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdge struct { Cursor string `json:"cursor"` Node PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual `json:"node"` }
PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdge includes the requested fields of the GraphQL type PkgEqualEdge. The GraphQL type's documentation follows.
PkgEqualEdge contains the cursor for the resulting node and the PkgEqual node itself.
func (*PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdge) GetCursor ¶ added in v0.7.0
func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdge) GetCursor() string
GetCursor returns PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdge.Cursor, and is useful for accessing the field via an interface.
func (*PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdge) GetNode ¶ added in v0.7.0
func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdge) GetNode() PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual
GetNode returns PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdge.Node, and is useful for accessing the field via an interface.
type PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual ¶ added in v0.7.0
type PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual struct {
AllPkgEqual `json:"-"`
}
PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual includes the requested fields of the GraphQL type PkgEqual. The GraphQL type's documentation follows.
PkgEqual is an attestation that two packages are similar.
func (*PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) GetCollector ¶ added in v0.7.0
func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) GetCollector() string
GetCollector returns PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual.Collector, and is useful for accessing the field via an interface.
func (*PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) GetId ¶ added in v0.7.0
GetId returns PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual.Id, and is useful for accessing the field via an interface.
func (*PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) GetJustification ¶ added in v0.7.0
func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) GetJustification() string
GetJustification returns PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual.Justification, and is useful for accessing the field via an interface.
func (*PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) GetOrigin ¶ added in v0.7.0
func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) GetOrigin() string
GetOrigin returns PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual.Origin, and is useful for accessing the field via an interface.
func (*PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) GetPackages ¶ added in v0.7.0
func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) GetPackages() []AllPkgEqualPackagesPackage
GetPackages returns PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual.Packages, and is useful for accessing the field via an interface.
func (*PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) MarshalJSON ¶ added in v0.7.0
func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) MarshalJSON() ([]byte, error)
func (*PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) UnmarshalJSON ¶ added in v0.7.0
func (v *PkgEqualListPkgEqualListPkgEqualConnectionEdgesPkgEqualEdgeNodePkgEqual) UnmarshalJSON(b []byte) error
type PkgEqualListPkgEqualListPkgEqualConnectionPageInfo ¶ added in v0.7.0
type PkgEqualListPkgEqualListPkgEqualConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
PkgEqualListPkgEqualListPkgEqualConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*PkgEqualListPkgEqualListPkgEqualConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *PkgEqualListPkgEqualListPkgEqualConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns PkgEqualListPkgEqualListPkgEqualConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*PkgEqualListPkgEqualListPkgEqualConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *PkgEqualListPkgEqualListPkgEqualConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns PkgEqualListPkgEqualListPkgEqualConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*PkgEqualListPkgEqualListPkgEqualConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *PkgEqualListPkgEqualListPkgEqualConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns PkgEqualListPkgEqualListPkgEqualConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type PkgEqualListResponse ¶ added in v0.7.0
type PkgEqualListResponse struct { // Returns a paginated results via PkgEqualConnection PkgEqualList *PkgEqualListPkgEqualListPkgEqualConnection `json:"PkgEqualList"` }
PkgEqualListResponse is returned by PkgEqualList on success.
func PkgEqualList ¶ added in v0.7.0
func PkgEqualList( ctx_ context.Context, client_ graphql.Client, filter PkgEqualSpec, after *string, first *int, ) (*PkgEqualListResponse, error)
func (*PkgEqualListResponse) GetPkgEqualList ¶ added in v0.7.0
func (v *PkgEqualListResponse) GetPkgEqualList() *PkgEqualListPkgEqualListPkgEqualConnection
GetPkgEqualList returns PkgEqualListResponse.PkgEqualList, and is useful for accessing the field via an interface.
type PkgEqualSpec ¶ added in v0.7.0
type PkgEqualSpec struct { Id *string `json:"id"` Packages []*PkgSpec `json:"packages"` Justification *string `json:"justification"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
PkgEqualSpec allows filtering the list of package equality statements to return in a query.
Specifying just one package allows to query for all similar packages (if any exists).
func (*PkgEqualSpec) GetCollector ¶ added in v0.7.0
func (v *PkgEqualSpec) GetCollector() *string
GetCollector returns PkgEqualSpec.Collector, and is useful for accessing the field via an interface.
func (*PkgEqualSpec) GetDocumentRef ¶ added in v0.7.0
func (v *PkgEqualSpec) GetDocumentRef() *string
GetDocumentRef returns PkgEqualSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*PkgEqualSpec) GetId ¶ added in v0.7.0
func (v *PkgEqualSpec) GetId() *string
GetId returns PkgEqualSpec.Id, and is useful for accessing the field via an interface.
func (*PkgEqualSpec) GetJustification ¶ added in v0.7.0
func (v *PkgEqualSpec) GetJustification() *string
GetJustification returns PkgEqualSpec.Justification, and is useful for accessing the field via an interface.
func (*PkgEqualSpec) GetOrigin ¶ added in v0.7.0
func (v *PkgEqualSpec) GetOrigin() *string
GetOrigin returns PkgEqualSpec.Origin, and is useful for accessing the field via an interface.
func (*PkgEqualSpec) GetPackages ¶ added in v0.7.0
func (v *PkgEqualSpec) GetPackages() []*PkgSpec
GetPackages returns PkgEqualSpec.Packages, and is useful for accessing the field via an interface.
type PkgEqualsPkgEqual ¶ added in v0.7.0
type PkgEqualsPkgEqual struct {
AllPkgEqual `json:"-"`
}
PkgEqualsPkgEqual includes the requested fields of the GraphQL type PkgEqual. The GraphQL type's documentation follows.
PkgEqual is an attestation that two packages are similar.
func (*PkgEqualsPkgEqual) GetCollector ¶ added in v0.7.0
func (v *PkgEqualsPkgEqual) GetCollector() string
GetCollector returns PkgEqualsPkgEqual.Collector, and is useful for accessing the field via an interface.
func (*PkgEqualsPkgEqual) GetId ¶ added in v0.7.0
func (v *PkgEqualsPkgEqual) GetId() string
GetId returns PkgEqualsPkgEqual.Id, and is useful for accessing the field via an interface.
func (*PkgEqualsPkgEqual) GetJustification ¶ added in v0.7.0
func (v *PkgEqualsPkgEqual) GetJustification() string
GetJustification returns PkgEqualsPkgEqual.Justification, and is useful for accessing the field via an interface.
func (*PkgEqualsPkgEqual) GetOrigin ¶ added in v0.7.0
func (v *PkgEqualsPkgEqual) GetOrigin() string
GetOrigin returns PkgEqualsPkgEqual.Origin, and is useful for accessing the field via an interface.
func (*PkgEqualsPkgEqual) GetPackages ¶ added in v0.7.0
func (v *PkgEqualsPkgEqual) GetPackages() []AllPkgEqualPackagesPackage
GetPackages returns PkgEqualsPkgEqual.Packages, and is useful for accessing the field via an interface.
func (*PkgEqualsPkgEqual) MarshalJSON ¶ added in v0.7.0
func (v *PkgEqualsPkgEqual) MarshalJSON() ([]byte, error)
func (*PkgEqualsPkgEqual) UnmarshalJSON ¶ added in v0.7.0
func (v *PkgEqualsPkgEqual) UnmarshalJSON(b []byte) error
type PkgEqualsResponse ¶ added in v0.7.0
type PkgEqualsResponse struct { // Returns all package equality statements matching a filter. PkgEqual []PkgEqualsPkgEqual `json:"PkgEqual"` }
PkgEqualsResponse is returned by PkgEquals on success.
func PkgEquals ¶ added in v0.7.0
func PkgEquals( ctx_ context.Context, client_ graphql.Client, filter PkgEqualSpec, ) (*PkgEqualsResponse, error)
func (*PkgEqualsResponse) GetPkgEqual ¶ added in v0.7.0
func (v *PkgEqualsResponse) GetPkgEqual() []PkgEqualsPkgEqual
GetPkgEqual returns PkgEqualsResponse.PkgEqual, and is useful for accessing the field via an interface.
type PkgInputSpec ¶
type PkgInputSpec struct { Type string `json:"type"` Namespace *string `json:"namespace"` Name string `json:"name"` Version *string `json:"version"` Qualifiers []PackageQualifierInputSpec `json:"qualifiers"` Subpath *string `json:"subpath"` }
PkgInputSpec specifies a package for mutations.
This is different than PkgSpec because we want to encode mandatory fields: type and name. All optional fields are given empty default values.
func (*PkgInputSpec) GetName ¶
func (v *PkgInputSpec) GetName() string
GetName returns PkgInputSpec.Name, and is useful for accessing the field via an interface.
func (*PkgInputSpec) GetNamespace ¶
func (v *PkgInputSpec) GetNamespace() *string
GetNamespace returns PkgInputSpec.Namespace, and is useful for accessing the field via an interface.
func (*PkgInputSpec) GetQualifiers ¶
func (v *PkgInputSpec) GetQualifiers() []PackageQualifierInputSpec
GetQualifiers returns PkgInputSpec.Qualifiers, and is useful for accessing the field via an interface.
func (*PkgInputSpec) GetSubpath ¶
func (v *PkgInputSpec) GetSubpath() *string
GetSubpath returns PkgInputSpec.Subpath, and is useful for accessing the field via an interface.
func (*PkgInputSpec) GetType ¶
func (v *PkgInputSpec) GetType() string
GetType returns PkgInputSpec.Type, and is useful for accessing the field via an interface.
func (*PkgInputSpec) GetVersion ¶
func (v *PkgInputSpec) GetVersion() *string
GetVersion returns PkgInputSpec.Version, and is useful for accessing the field via an interface.
type PkgMatchType ¶
type PkgMatchType string
PkgMatchType is an enum to determine if the attestation should be done at the specific version or package name.
const ( PkgMatchTypeAllVersions PkgMatchType = "ALL_VERSIONS" PkgMatchTypeSpecificVersion PkgMatchType = "SPECIFIC_VERSION" )
type PkgSpec ¶
type PkgSpec struct { Id *string `json:"id"` Type *string `json:"type"` Namespace *string `json:"namespace"` Name *string `json:"name"` Version *string `json:"version"` Qualifiers []PackageQualifierSpec `json:"qualifiers"` MatchOnlyEmptyQualifiers *bool `json:"matchOnlyEmptyQualifiers"` Subpath *string `json:"subpath"` }
PkgSpec allows filtering the list of sources to return in a query.
Each field matches a qualifier from pURL. Use null to match on all values at that level. For example, to get all packages in GUAC backend, use a PkgSpec where every field is null.
The id field can be used to match on a specific node in the trie to match packageTypeID, packageNamespaceID, packageNameID, or packageVersionID.
Empty string at a field means matching with the empty string. If passing in qualifiers, all of the values in the list must match. Since we want to return nodes with any number of qualifiers if no qualifiers are passed in the input, we must also return the same set of nodes it the qualifiers list is empty. To match on nodes that don't contain any qualifier, set matchOnlyEmptyQualifiers to true. If this field is true, then the qualifiers argument is ignored.
func (*PkgSpec) GetId ¶
GetId returns PkgSpec.Id, and is useful for accessing the field via an interface.
func (*PkgSpec) GetMatchOnlyEmptyQualifiers ¶
GetMatchOnlyEmptyQualifiers returns PkgSpec.MatchOnlyEmptyQualifiers, and is useful for accessing the field via an interface.
func (*PkgSpec) GetName ¶
GetName returns PkgSpec.Name, and is useful for accessing the field via an interface.
func (*PkgSpec) GetNamespace ¶
GetNamespace returns PkgSpec.Namespace, and is useful for accessing the field via an interface.
func (*PkgSpec) GetQualifiers ¶
func (v *PkgSpec) GetQualifiers() []PackageQualifierSpec
GetQualifiers returns PkgSpec.Qualifiers, and is useful for accessing the field via an interface.
func (*PkgSpec) GetSubpath ¶
GetSubpath returns PkgSpec.Subpath, and is useful for accessing the field via an interface.
func (*PkgSpec) GetType ¶
GetType returns PkgSpec.Type, and is useful for accessing the field via an interface.
func (*PkgSpec) GetVersion ¶
GetVersion returns PkgSpec.Version, and is useful for accessing the field via an interface.
type PointOfContactInputSpec ¶ added in v0.1.1
type PointOfContactInputSpec struct { Email string `json:"email"` Info string `json:"info"` Since time.Time `json:"since"` Justification string `json:"justification"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
PointOfContactInputSpec represents the mutation input to ingest a PointOfContact evidence.
func (*PointOfContactInputSpec) GetCollector ¶ added in v0.1.1
func (v *PointOfContactInputSpec) GetCollector() string
GetCollector returns PointOfContactInputSpec.Collector, and is useful for accessing the field via an interface.
func (*PointOfContactInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *PointOfContactInputSpec) GetDocumentRef() string
GetDocumentRef returns PointOfContactInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*PointOfContactInputSpec) GetEmail ¶ added in v0.1.1
func (v *PointOfContactInputSpec) GetEmail() string
GetEmail returns PointOfContactInputSpec.Email, and is useful for accessing the field via an interface.
func (*PointOfContactInputSpec) GetInfo ¶ added in v0.1.1
func (v *PointOfContactInputSpec) GetInfo() string
GetInfo returns PointOfContactInputSpec.Info, and is useful for accessing the field via an interface.
func (*PointOfContactInputSpec) GetJustification ¶ added in v0.1.1
func (v *PointOfContactInputSpec) GetJustification() string
GetJustification returns PointOfContactInputSpec.Justification, and is useful for accessing the field via an interface.
func (*PointOfContactInputSpec) GetOrigin ¶ added in v0.1.1
func (v *PointOfContactInputSpec) GetOrigin() string
GetOrigin returns PointOfContactInputSpec.Origin, and is useful for accessing the field via an interface.
func (*PointOfContactInputSpec) GetSince ¶ added in v0.1.1
func (v *PointOfContactInputSpec) GetSince() time.Time
GetSince returns PointOfContactInputSpec.Since, and is useful for accessing the field via an interface.
type PointOfContactListPointOfContactListPointOfContactConnection ¶ added in v0.7.0
type PointOfContactListPointOfContactListPointOfContactConnection struct { TotalCount int `json:"totalCount"` Edges []PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdge `json:"edges"` PageInfo PointOfContactListPointOfContactListPointOfContactConnectionPageInfo `json:"pageInfo"` }
PointOfContactListPointOfContactListPointOfContactConnection includes the requested fields of the GraphQL type PointOfContactConnection. The GraphQL type's documentation follows.
PointOfContactConnection returns the paginated results for PointOfContact.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the PointOfContactEdge which contains the current cursor and the PointOfContact node itself
func (*PointOfContactListPointOfContactListPointOfContactConnection) GetEdges ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnection) GetEdges() []PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdge
GetEdges returns PointOfContactListPointOfContactListPointOfContactConnection.Edges, and is useful for accessing the field via an interface.
func (*PointOfContactListPointOfContactListPointOfContactConnection) GetPageInfo ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnection) GetPageInfo() PointOfContactListPointOfContactListPointOfContactConnectionPageInfo
GetPageInfo returns PointOfContactListPointOfContactListPointOfContactConnection.PageInfo, and is useful for accessing the field via an interface.
func (*PointOfContactListPointOfContactListPointOfContactConnection) GetTotalCount ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnection) GetTotalCount() int
GetTotalCount returns PointOfContactListPointOfContactListPointOfContactConnection.TotalCount, and is useful for accessing the field via an interface.
type PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdge ¶ added in v0.7.0
type PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdge struct { Cursor string `json:"cursor"` Node PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact `json:"node"` }
PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdge includes the requested fields of the GraphQL type PointOfContactEdge. The GraphQL type's documentation follows.
PointOfContactEdge contains the cursor for the resulting node and the PointOfContact node itself.
func (*PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdge) GetCursor ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdge) GetCursor() string
GetCursor returns PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdge.Cursor, and is useful for accessing the field via an interface.
func (*PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdge) GetNode ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdge) GetNode() PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact
GetNode returns PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdge.Node, and is useful for accessing the field via an interface.
type PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact ¶ added in v0.7.0
type PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact struct {
AllPointOfContact `json:"-"`
}
PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact includes the requested fields of the GraphQL type PointOfContact. The GraphQL type's documentation follows.
PointOfContact is an attestation of how to get in touch with the person(s) responsible for a package, source, or artifact.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The attestation applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
email is the email address (singular) of the point of contact.
info is additional contact information other than email address. This is free form.
NOTE: the identifiers for point of contact should be part of software trees. This will benefit from identifier look up and traversal as well as organization hierarchy. However, until the use case arises, PointOfContact will be a flat reference to the contact details.
func (*PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetCollector ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetCollector() string
GetCollector returns PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact.Collector, and is useful for accessing the field via an interface.
func (*PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetEmail ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetEmail() string
GetEmail returns PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact.Email, and is useful for accessing the field via an interface.
func (*PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetId ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetId() string
GetId returns PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact.Id, and is useful for accessing the field via an interface.
func (*PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetInfo ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetInfo() string
GetInfo returns PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact.Info, and is useful for accessing the field via an interface.
func (*PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetJustification ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetJustification() string
GetJustification returns PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact.Justification, and is useful for accessing the field via an interface.
func (*PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetOrigin ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetOrigin() string
GetOrigin returns PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact.Origin, and is useful for accessing the field via an interface.
func (*PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetSince ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetSince() time.Time
GetSince returns PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact.Since, and is useful for accessing the field via an interface.
func (*PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetSubject ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) GetSubject() AllPointOfContactSubjectPackageSourceOrArtifact
GetSubject returns PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact.Subject, and is useful for accessing the field via an interface.
func (*PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) MarshalJSON ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) MarshalJSON() ([]byte, error)
func (*PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) UnmarshalJSON ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionEdgesPointOfContactEdgeNodePointOfContact) UnmarshalJSON(b []byte) error
type PointOfContactListPointOfContactListPointOfContactConnectionPageInfo ¶ added in v0.7.0
type PointOfContactListPointOfContactListPointOfContactConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
PointOfContactListPointOfContactListPointOfContactConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*PointOfContactListPointOfContactListPointOfContactConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns PointOfContactListPointOfContactListPointOfContactConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*PointOfContactListPointOfContactListPointOfContactConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns PointOfContactListPointOfContactListPointOfContactConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*PointOfContactListPointOfContactListPointOfContactConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *PointOfContactListPointOfContactListPointOfContactConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns PointOfContactListPointOfContactListPointOfContactConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type PointOfContactListResponse ¶ added in v0.7.0
type PointOfContactListResponse struct { // Returns a paginated results via PointOfContactConnection PointOfContactList *PointOfContactListPointOfContactListPointOfContactConnection `json:"PointOfContactList"` }
PointOfContactListResponse is returned by PointOfContactList on success.
func PointOfContactList ¶ added in v0.7.0
func PointOfContactList( ctx_ context.Context, client_ graphql.Client, filter PointOfContactSpec, after *string, first *int, ) (*PointOfContactListResponse, error)
func (*PointOfContactListResponse) GetPointOfContactList ¶ added in v0.7.0
func (v *PointOfContactListResponse) GetPointOfContactList() *PointOfContactListPointOfContactListPointOfContactConnection
GetPointOfContactList returns PointOfContactListResponse.PointOfContactList, and is useful for accessing the field via an interface.
type PointOfContactSpec ¶ added in v0.7.0
type PointOfContactSpec struct { Id *string `json:"id"` Subject *PackageSourceOrArtifactSpec `json:"subject"` Email *string `json:"email"` Info *string `json:"info"` Since *time.Time `json:"since"` Justification *string `json:"justification"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
PointOfContactSpec allows filtering the list of PointOfContact evidence to return in a query.
If a package is specified in the subject filter, then it must be specified up to PackageName or PackageVersion. That is, user must specify package name, or name and one of version, qualifiers, or subpath.
If a source is specified in the subject filter, then it must specify a name, and optionally a tag and a commit.
since filters attestations with a value of since later or equal to the provided filter.
func (*PointOfContactSpec) GetCollector ¶ added in v0.7.0
func (v *PointOfContactSpec) GetCollector() *string
GetCollector returns PointOfContactSpec.Collector, and is useful for accessing the field via an interface.
func (*PointOfContactSpec) GetDocumentRef ¶ added in v0.7.0
func (v *PointOfContactSpec) GetDocumentRef() *string
GetDocumentRef returns PointOfContactSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*PointOfContactSpec) GetEmail ¶ added in v0.7.0
func (v *PointOfContactSpec) GetEmail() *string
GetEmail returns PointOfContactSpec.Email, and is useful for accessing the field via an interface.
func (*PointOfContactSpec) GetId ¶ added in v0.7.0
func (v *PointOfContactSpec) GetId() *string
GetId returns PointOfContactSpec.Id, and is useful for accessing the field via an interface.
func (*PointOfContactSpec) GetInfo ¶ added in v0.7.0
func (v *PointOfContactSpec) GetInfo() *string
GetInfo returns PointOfContactSpec.Info, and is useful for accessing the field via an interface.
func (*PointOfContactSpec) GetJustification ¶ added in v0.7.0
func (v *PointOfContactSpec) GetJustification() *string
GetJustification returns PointOfContactSpec.Justification, and is useful for accessing the field via an interface.
func (*PointOfContactSpec) GetOrigin ¶ added in v0.7.0
func (v *PointOfContactSpec) GetOrigin() *string
GetOrigin returns PointOfContactSpec.Origin, and is useful for accessing the field via an interface.
func (*PointOfContactSpec) GetSince ¶ added in v0.7.0
func (v *PointOfContactSpec) GetSince() *time.Time
GetSince returns PointOfContactSpec.Since, and is useful for accessing the field via an interface.
func (*PointOfContactSpec) GetSubject ¶ added in v0.7.0
func (v *PointOfContactSpec) GetSubject() *PackageSourceOrArtifactSpec
GetSubject returns PointOfContactSpec.Subject, and is useful for accessing the field via an interface.
type PointOfContactsPointOfContact ¶ added in v0.7.0
type PointOfContactsPointOfContact struct {
AllPointOfContact `json:"-"`
}
PointOfContactsPointOfContact includes the requested fields of the GraphQL type PointOfContact. The GraphQL type's documentation follows.
PointOfContact is an attestation of how to get in touch with the person(s) responsible for a package, source, or artifact.
All evidence trees record a justification for the property they represent as well as the document that contains the attestation (origin) and the collector that collected the document (collector).
The attestation applies to a subject which is a package, source, or artifact. If the attestation targets a package, it must target a PackageName or a PackageVersion. If the attestation targets a source, it must target a SourceName.
email is the email address (singular) of the point of contact.
info is additional contact information other than email address. This is free form.
NOTE: the identifiers for point of contact should be part of software trees. This will benefit from identifier look up and traversal as well as organization hierarchy. However, until the use case arises, PointOfContact will be a flat reference to the contact details.
func (*PointOfContactsPointOfContact) GetCollector ¶ added in v0.7.0
func (v *PointOfContactsPointOfContact) GetCollector() string
GetCollector returns PointOfContactsPointOfContact.Collector, and is useful for accessing the field via an interface.
func (*PointOfContactsPointOfContact) GetEmail ¶ added in v0.7.0
func (v *PointOfContactsPointOfContact) GetEmail() string
GetEmail returns PointOfContactsPointOfContact.Email, and is useful for accessing the field via an interface.
func (*PointOfContactsPointOfContact) GetId ¶ added in v0.7.0
func (v *PointOfContactsPointOfContact) GetId() string
GetId returns PointOfContactsPointOfContact.Id, and is useful for accessing the field via an interface.
func (*PointOfContactsPointOfContact) GetInfo ¶ added in v0.7.0
func (v *PointOfContactsPointOfContact) GetInfo() string
GetInfo returns PointOfContactsPointOfContact.Info, and is useful for accessing the field via an interface.
func (*PointOfContactsPointOfContact) GetJustification ¶ added in v0.7.0
func (v *PointOfContactsPointOfContact) GetJustification() string
GetJustification returns PointOfContactsPointOfContact.Justification, and is useful for accessing the field via an interface.
func (*PointOfContactsPointOfContact) GetOrigin ¶ added in v0.7.0
func (v *PointOfContactsPointOfContact) GetOrigin() string
GetOrigin returns PointOfContactsPointOfContact.Origin, and is useful for accessing the field via an interface.
func (*PointOfContactsPointOfContact) GetSince ¶ added in v0.7.0
func (v *PointOfContactsPointOfContact) GetSince() time.Time
GetSince returns PointOfContactsPointOfContact.Since, and is useful for accessing the field via an interface.
func (*PointOfContactsPointOfContact) GetSubject ¶ added in v0.7.0
func (v *PointOfContactsPointOfContact) GetSubject() AllPointOfContactSubjectPackageSourceOrArtifact
GetSubject returns PointOfContactsPointOfContact.Subject, and is useful for accessing the field via an interface.
func (*PointOfContactsPointOfContact) MarshalJSON ¶ added in v0.7.0
func (v *PointOfContactsPointOfContact) MarshalJSON() ([]byte, error)
func (*PointOfContactsPointOfContact) UnmarshalJSON ¶ added in v0.7.0
func (v *PointOfContactsPointOfContact) UnmarshalJSON(b []byte) error
type PointOfContactsResponse ¶ added in v0.7.0
type PointOfContactsResponse struct { // Returns all PointOfContact attestations matching a filter. PointOfContact []PointOfContactsPointOfContact `json:"PointOfContact"` }
PointOfContactsResponse is returned by PointOfContacts on success.
func PointOfContacts ¶ added in v0.7.0
func PointOfContacts( ctx_ context.Context, client_ graphql.Client, filter PointOfContactSpec, ) (*PointOfContactsResponse, error)
func (*PointOfContactsResponse) GetPointOfContact ¶ added in v0.7.0
func (v *PointOfContactsResponse) GetPointOfContact() []PointOfContactsPointOfContact
GetPointOfContact returns PointOfContactsResponse.PointOfContact, and is useful for accessing the field via an interface.
type QueryPackagesListForScanQueryPackagesListForScanPackageConnection ¶ added in v0.9.0
type QueryPackagesListForScanQueryPackagesListForScanPackageConnection struct { TotalCount int `json:"totalCount"` Edges []QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdge `json:"edges"` PageInfo QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo `json:"pageInfo"` }
QueryPackagesListForScanQueryPackagesListForScanPackageConnection includes the requested fields of the GraphQL type PackageConnection. The GraphQL type's documentation follows.
PackageConnection returns the paginated results for Package.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the PackageEdge which contains the current cursor and the Package node itself
func (*QueryPackagesListForScanQueryPackagesListForScanPackageConnection) GetEdges ¶ added in v0.9.0
func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnection) GetEdges() []QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdge
GetEdges returns QueryPackagesListForScanQueryPackagesListForScanPackageConnection.Edges, and is useful for accessing the field via an interface.
func (*QueryPackagesListForScanQueryPackagesListForScanPackageConnection) GetPageInfo ¶ added in v0.9.0
func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnection) GetPageInfo() QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo
GetPageInfo returns QueryPackagesListForScanQueryPackagesListForScanPackageConnection.PageInfo, and is useful for accessing the field via an interface.
func (*QueryPackagesListForScanQueryPackagesListForScanPackageConnection) GetTotalCount ¶ added in v0.9.0
func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnection) GetTotalCount() int
GetTotalCount returns QueryPackagesListForScanQueryPackagesListForScanPackageConnection.TotalCount, and is useful for accessing the field via an interface.
type QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdge ¶ added in v0.9.0
type QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdge struct { Cursor string `json:"cursor"` Node QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage `json:"node"` }
QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdge includes the requested fields of the GraphQL type PackageEdge. The GraphQL type's documentation follows.
PackageEdge contains the cursor for the resulting node and the Package node itself.
func (*QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdge) GetCursor ¶ added in v0.9.0
func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdge) GetCursor() string
GetCursor returns QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdge.Cursor, and is useful for accessing the field via an interface.
func (*QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdge) GetNode ¶ added in v0.9.0
func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdge) GetNode() QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage
GetNode returns QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdge.Node, and is useful for accessing the field via an interface.
type QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage ¶ added in v0.9.0
type QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage struct {
AllPkgTree `json:"-"`
}
QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage includes the requested fields of the GraphQL type Package. The GraphQL type's documentation follows.
Package represents the root of the package trie/tree.
We map package information to a trie, closely matching the pURL specification (https://github.com/package-url/purl-spec/blob/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/README.rst), but deviating from it where GUAC heuristics allow for better representation of package information. Each path in the trie fully represents a package; we split the trie based on the pURL components.
This node matches a pkg:<type> partial pURL. The type field matches the pURL types but we might also use "guac" for the cases where the pURL representation is not complete or when we have custom rules.
Since this node is at the root of the package trie, it is named Package, not PackageType.
func (*QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) GetId ¶ added in v0.9.0
func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) GetId() string
GetId returns QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage.Id, and is useful for accessing the field via an interface.
func (*QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) GetNamespaces ¶ added in v0.9.0
func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) GetNamespaces() []AllPkgTreeNamespacesPackageNamespace
GetNamespaces returns QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage.Namespaces, and is useful for accessing the field via an interface.
func (*QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) GetType ¶ added in v0.9.0
func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) GetType() string
GetType returns QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage.Type, and is useful for accessing the field via an interface.
func (*QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) MarshalJSON ¶ added in v0.9.0
func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) MarshalJSON() ([]byte, error)
func (*QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) UnmarshalJSON ¶ added in v0.9.0
func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionEdgesPackageEdgeNodePackage) UnmarshalJSON(b []byte) error
type QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo ¶ added in v0.9.0
type QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo) GetEndCursor ¶ added in v0.9.0
func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo) GetHasNextPage ¶ added in v0.9.0
func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo) GetStartCursor ¶ added in v0.9.0
func (v *QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns QueryPackagesListForScanQueryPackagesListForScanPackageConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type QueryPackagesListForScanResponse ¶ added in v0.9.0
type QueryPackagesListForScanResponse struct { // queryPackagesListForScan returns a paginated results via PackageConnection // for all packages that need to be re-scanned (based on the last scan in hours) // or have never been scanned. // // queryType is used to specify if the last time scanned is checked for either // certifyVuln or certifyLegal. QueryPackagesListForScan *QueryPackagesListForScanQueryPackagesListForScanPackageConnection `json:"queryPackagesListForScan"` }
QueryPackagesListForScanResponse is returned by QueryPackagesListForScan on success.
func QueryPackagesListForScan ¶ added in v0.9.0
func (*QueryPackagesListForScanResponse) GetQueryPackagesListForScan ¶ added in v0.9.0
func (v *QueryPackagesListForScanResponse) GetQueryPackagesListForScan() *QueryPackagesListForScanQueryPackagesListForScanPackageConnection
GetQueryPackagesListForScan returns QueryPackagesListForScanResponse.QueryPackagesListForScan, and is useful for accessing the field via an interface.
type QueryType ¶ added in v0.9.0
type QueryType string
QueryType is used in conjunction with queryPackagesListForScan to specify if the last time scanned is checked for either certifyVuln or certifyLegal.
type SLSAInputSpec ¶
type SLSAInputSpec struct { BuildType string `json:"buildType"` SlsaPredicate []SLSAPredicateInputSpec `json:"slsaPredicate"` SlsaVersion string `json:"slsaVersion"` StartedOn *time.Time `json:"startedOn"` FinishedOn *time.Time `json:"finishedOn"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
SLSAInputSpec is the same as SLSA but for mutation input.
func (*SLSAInputSpec) GetBuildType ¶
func (v *SLSAInputSpec) GetBuildType() string
GetBuildType returns SLSAInputSpec.BuildType, and is useful for accessing the field via an interface.
func (*SLSAInputSpec) GetCollector ¶
func (v *SLSAInputSpec) GetCollector() string
GetCollector returns SLSAInputSpec.Collector, and is useful for accessing the field via an interface.
func (*SLSAInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *SLSAInputSpec) GetDocumentRef() string
GetDocumentRef returns SLSAInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*SLSAInputSpec) GetFinishedOn ¶
func (v *SLSAInputSpec) GetFinishedOn() *time.Time
GetFinishedOn returns SLSAInputSpec.FinishedOn, and is useful for accessing the field via an interface.
func (*SLSAInputSpec) GetOrigin ¶
func (v *SLSAInputSpec) GetOrigin() string
GetOrigin returns SLSAInputSpec.Origin, and is useful for accessing the field via an interface.
func (*SLSAInputSpec) GetSlsaPredicate ¶
func (v *SLSAInputSpec) GetSlsaPredicate() []SLSAPredicateInputSpec
GetSlsaPredicate returns SLSAInputSpec.SlsaPredicate, and is useful for accessing the field via an interface.
func (*SLSAInputSpec) GetSlsaVersion ¶
func (v *SLSAInputSpec) GetSlsaVersion() string
GetSlsaVersion returns SLSAInputSpec.SlsaVersion, and is useful for accessing the field via an interface.
func (*SLSAInputSpec) GetStartedOn ¶
func (v *SLSAInputSpec) GetStartedOn() *time.Time
GetStartedOn returns SLSAInputSpec.StartedOn, and is useful for accessing the field via an interface.
type SLSAPredicateInputSpec ¶
SLSAPredicateInputSpec allows ingesting SLSAPredicateSpec.
func (*SLSAPredicateInputSpec) GetKey ¶
func (v *SLSAPredicateInputSpec) GetKey() string
GetKey returns SLSAPredicateInputSpec.Key, and is useful for accessing the field via an interface.
func (*SLSAPredicateInputSpec) GetValue ¶
func (v *SLSAPredicateInputSpec) GetValue() string
GetValue returns SLSAPredicateInputSpec.Value, and is useful for accessing the field via an interface.
type SLSAPredicateSpec ¶ added in v0.7.0
SLSAPredicateSpec is the same as SLSAPredicate, but usable as query input.
func (*SLSAPredicateSpec) GetKey ¶ added in v0.7.0
func (v *SLSAPredicateSpec) GetKey() string
GetKey returns SLSAPredicateSpec.Key, and is useful for accessing the field via an interface.
func (*SLSAPredicateSpec) GetValue ¶ added in v0.7.0
func (v *SLSAPredicateSpec) GetValue() string
GetValue returns SLSAPredicateSpec.Value, and is useful for accessing the field via an interface.
type ScanMetadataInput ¶ added in v0.2.0
type ScanMetadataInput struct { TimeScanned time.Time `json:"timeScanned"` DbUri string `json:"dbUri"` DbVersion string `json:"dbVersion"` ScannerUri string `json:"scannerUri"` ScannerVersion string `json:"scannerVersion"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
ScanMetadataInput represents the input for certifying vulnerability scans in mutations.
func (*ScanMetadataInput) GetCollector ¶ added in v0.2.0
func (v *ScanMetadataInput) GetCollector() string
GetCollector returns ScanMetadataInput.Collector, and is useful for accessing the field via an interface.
func (*ScanMetadataInput) GetDbUri ¶ added in v0.2.0
func (v *ScanMetadataInput) GetDbUri() string
GetDbUri returns ScanMetadataInput.DbUri, and is useful for accessing the field via an interface.
func (*ScanMetadataInput) GetDbVersion ¶ added in v0.2.0
func (v *ScanMetadataInput) GetDbVersion() string
GetDbVersion returns ScanMetadataInput.DbVersion, and is useful for accessing the field via an interface.
func (*ScanMetadataInput) GetDocumentRef ¶ added in v0.6.0
func (v *ScanMetadataInput) GetDocumentRef() string
GetDocumentRef returns ScanMetadataInput.DocumentRef, and is useful for accessing the field via an interface.
func (*ScanMetadataInput) GetOrigin ¶ added in v0.2.0
func (v *ScanMetadataInput) GetOrigin() string
GetOrigin returns ScanMetadataInput.Origin, and is useful for accessing the field via an interface.
func (*ScanMetadataInput) GetScannerUri ¶ added in v0.2.0
func (v *ScanMetadataInput) GetScannerUri() string
GetScannerUri returns ScanMetadataInput.ScannerUri, and is useful for accessing the field via an interface.
func (*ScanMetadataInput) GetScannerVersion ¶ added in v0.2.0
func (v *ScanMetadataInput) GetScannerVersion() string
GetScannerVersion returns ScanMetadataInput.ScannerVersion, and is useful for accessing the field via an interface.
func (*ScanMetadataInput) GetTimeScanned ¶ added in v0.2.0
func (v *ScanMetadataInput) GetTimeScanned() time.Time
GetTimeScanned returns ScanMetadataInput.TimeScanned, and is useful for accessing the field via an interface.
type ScorecardCheckInputSpec ¶
ScorecardCheckInputSpec represents the mutation input for a Scorecard check.
func (*ScorecardCheckInputSpec) GetCheck ¶
func (v *ScorecardCheckInputSpec) GetCheck() string
GetCheck returns ScorecardCheckInputSpec.Check, and is useful for accessing the field via an interface.
func (*ScorecardCheckInputSpec) GetScore ¶
func (v *ScorecardCheckInputSpec) GetScore() int
GetScore returns ScorecardCheckInputSpec.Score, and is useful for accessing the field via an interface.
type ScorecardCheckSpec ¶ added in v0.5.2
ScorecardCheckSpec is the same as ScorecardCheck, but usable as query input.
func (*ScorecardCheckSpec) GetCheck ¶ added in v0.5.2
func (v *ScorecardCheckSpec) GetCheck() string
GetCheck returns ScorecardCheckSpec.Check, and is useful for accessing the field via an interface.
func (*ScorecardCheckSpec) GetScore ¶ added in v0.5.2
func (v *ScorecardCheckSpec) GetScore() int
GetScore returns ScorecardCheckSpec.Score, and is useful for accessing the field via an interface.
type ScorecardInputSpec ¶
type ScorecardInputSpec struct { Checks []ScorecardCheckInputSpec `json:"checks"` AggregateScore float64 `json:"aggregateScore"` TimeScanned time.Time `json:"timeScanned"` ScorecardVersion string `json:"scorecardVersion"` ScorecardCommit string `json:"scorecardCommit"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
ScorecardInputSpec represents the mutation input to ingest a Scorecard.
func (*ScorecardInputSpec) GetAggregateScore ¶
func (v *ScorecardInputSpec) GetAggregateScore() float64
GetAggregateScore returns ScorecardInputSpec.AggregateScore, and is useful for accessing the field via an interface.
func (*ScorecardInputSpec) GetChecks ¶
func (v *ScorecardInputSpec) GetChecks() []ScorecardCheckInputSpec
GetChecks returns ScorecardInputSpec.Checks, and is useful for accessing the field via an interface.
func (*ScorecardInputSpec) GetCollector ¶
func (v *ScorecardInputSpec) GetCollector() string
GetCollector returns ScorecardInputSpec.Collector, and is useful for accessing the field via an interface.
func (*ScorecardInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *ScorecardInputSpec) GetDocumentRef() string
GetDocumentRef returns ScorecardInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*ScorecardInputSpec) GetOrigin ¶
func (v *ScorecardInputSpec) GetOrigin() string
GetOrigin returns ScorecardInputSpec.Origin, and is useful for accessing the field via an interface.
func (*ScorecardInputSpec) GetScorecardCommit ¶
func (v *ScorecardInputSpec) GetScorecardCommit() string
GetScorecardCommit returns ScorecardInputSpec.ScorecardCommit, and is useful for accessing the field via an interface.
func (*ScorecardInputSpec) GetScorecardVersion ¶
func (v *ScorecardInputSpec) GetScorecardVersion() string
GetScorecardVersion returns ScorecardInputSpec.ScorecardVersion, and is useful for accessing the field via an interface.
func (*ScorecardInputSpec) GetTimeScanned ¶
func (v *ScorecardInputSpec) GetTimeScanned() time.Time
GetTimeScanned returns ScorecardInputSpec.TimeScanned, and is useful for accessing the field via an interface.
type ScorecardsListResponse ¶ added in v0.7.0
type ScorecardsListResponse struct { // Returns a paginated results via CertifyScorecardConnection ScorecardsList *ScorecardsListScorecardsListCertifyScorecardConnection `json:"scorecardsList"` }
ScorecardsListResponse is returned by ScorecardsList on success.
func ScorecardsList ¶ added in v0.7.0
func ScorecardsList( ctx_ context.Context, client_ graphql.Client, filter CertifyScorecardSpec, after *string, first *int, ) (*ScorecardsListResponse, error)
func (*ScorecardsListResponse) GetScorecardsList ¶ added in v0.7.0
func (v *ScorecardsListResponse) GetScorecardsList() *ScorecardsListScorecardsListCertifyScorecardConnection
GetScorecardsList returns ScorecardsListResponse.ScorecardsList, and is useful for accessing the field via an interface.
type ScorecardsListScorecardsListCertifyScorecardConnection ¶ added in v0.7.0
type ScorecardsListScorecardsListCertifyScorecardConnection struct { TotalCount int `json:"totalCount"` Edges []ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdge `json:"edges"` PageInfo ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo `json:"pageInfo"` }
ScorecardsListScorecardsListCertifyScorecardConnection includes the requested fields of the GraphQL type CertifyScorecardConnection. The GraphQL type's documentation follows.
CertifyScorecardConnection returns the paginated results for CertifyScorecard.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the CertifyScorecardEdge which contains the current cursor and the CertifyScorecard node itself
func (*ScorecardsListScorecardsListCertifyScorecardConnection) GetEdges ¶ added in v0.7.0
func (v *ScorecardsListScorecardsListCertifyScorecardConnection) GetEdges() []ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdge
GetEdges returns ScorecardsListScorecardsListCertifyScorecardConnection.Edges, and is useful for accessing the field via an interface.
func (*ScorecardsListScorecardsListCertifyScorecardConnection) GetPageInfo ¶ added in v0.7.0
func (v *ScorecardsListScorecardsListCertifyScorecardConnection) GetPageInfo() ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo
GetPageInfo returns ScorecardsListScorecardsListCertifyScorecardConnection.PageInfo, and is useful for accessing the field via an interface.
func (*ScorecardsListScorecardsListCertifyScorecardConnection) GetTotalCount ¶ added in v0.7.0
func (v *ScorecardsListScorecardsListCertifyScorecardConnection) GetTotalCount() int
GetTotalCount returns ScorecardsListScorecardsListCertifyScorecardConnection.TotalCount, and is useful for accessing the field via an interface.
type ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdge ¶ added in v0.7.0
type ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdge struct { Cursor string `json:"cursor"` Node ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard `json:"node"` }
ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdge includes the requested fields of the GraphQL type CertifyScorecardEdge. The GraphQL type's documentation follows.
CertifyScorecardEdge contains the cursor for the resulting node and the CertifyScorecard node itself.
func (*ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdge) GetCursor ¶ added in v0.7.0
func (v *ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdge) GetCursor() string
GetCursor returns ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdge.Cursor, and is useful for accessing the field via an interface.
func (*ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdge) GetNode ¶ added in v0.7.0
func (v *ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdge) GetNode() ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard
GetNode returns ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdge.Node, and is useful for accessing the field via an interface.
type ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard ¶ added in v0.7.0
type ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard struct {
AllCertifyScorecard `json:"-"`
}
ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard includes the requested fields of the GraphQL type CertifyScorecard. The GraphQL type's documentation follows.
CertifyScorecard is an attestation to attach a Scorecard analysis to a particular source repository.
func (*ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) GetId ¶ added in v0.7.0
func (v *ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) GetId() string
GetId returns ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard.Id, and is useful for accessing the field via an interface.
func (*ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) GetScorecard ¶ added in v0.7.0
func (v *ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) GetScorecard() AllCertifyScorecardScorecard
GetScorecard returns ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard.Scorecard, and is useful for accessing the field via an interface.
func (*ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) GetSource ¶ added in v0.7.0
func (v *ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) GetSource() AllCertifyScorecardSource
GetSource returns ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard.Source, and is useful for accessing the field via an interface.
func (*ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) MarshalJSON ¶ added in v0.7.0
func (v *ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) MarshalJSON() ([]byte, error)
func (*ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) UnmarshalJSON ¶ added in v0.7.0
func (v *ScorecardsListScorecardsListCertifyScorecardConnectionEdgesCertifyScorecardEdgeNodeCertifyScorecard) UnmarshalJSON(b []byte) error
type ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo ¶ added in v0.7.0
type ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns ScorecardsListScorecardsListCertifyScorecardConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type ScorecardsResponse ¶ added in v0.5.2
type ScorecardsResponse struct { // Returns all Scorecard certifications matching the filter. Scorecards []ScorecardsScorecardsCertifyScorecard `json:"scorecards"` }
ScorecardsResponse is returned by Scorecards on success.
func Scorecards ¶ added in v0.5.2
func Scorecards( ctx_ context.Context, client_ graphql.Client, filter CertifyScorecardSpec, ) (*ScorecardsResponse, error)
func (*ScorecardsResponse) GetScorecards ¶ added in v0.5.2
func (v *ScorecardsResponse) GetScorecards() []ScorecardsScorecardsCertifyScorecard
GetScorecards returns ScorecardsResponse.Scorecards, and is useful for accessing the field via an interface.
type ScorecardsScorecardsCertifyScorecard ¶ added in v0.5.2
type ScorecardsScorecardsCertifyScorecard struct {
AllCertifyScorecard `json:"-"`
}
ScorecardsScorecardsCertifyScorecard includes the requested fields of the GraphQL type CertifyScorecard. The GraphQL type's documentation follows.
CertifyScorecard is an attestation to attach a Scorecard analysis to a particular source repository.
func (*ScorecardsScorecardsCertifyScorecard) GetId ¶ added in v0.5.2
func (v *ScorecardsScorecardsCertifyScorecard) GetId() string
GetId returns ScorecardsScorecardsCertifyScorecard.Id, and is useful for accessing the field via an interface.
func (*ScorecardsScorecardsCertifyScorecard) GetScorecard ¶ added in v0.5.2
func (v *ScorecardsScorecardsCertifyScorecard) GetScorecard() AllCertifyScorecardScorecard
GetScorecard returns ScorecardsScorecardsCertifyScorecard.Scorecard, and is useful for accessing the field via an interface.
func (*ScorecardsScorecardsCertifyScorecard) GetSource ¶ added in v0.5.2
func (v *ScorecardsScorecardsCertifyScorecard) GetSource() AllCertifyScorecardSource
GetSource returns ScorecardsScorecardsCertifyScorecard.Source, and is useful for accessing the field via an interface.
func (*ScorecardsScorecardsCertifyScorecard) MarshalJSON ¶ added in v0.5.2
func (v *ScorecardsScorecardsCertifyScorecard) MarshalJSON() ([]byte, error)
func (*ScorecardsScorecardsCertifyScorecard) UnmarshalJSON ¶ added in v0.5.2
func (v *ScorecardsScorecardsCertifyScorecard) UnmarshalJSON(b []byte) error
type SourceInputSpec ¶
type SourceInputSpec struct { Type string `json:"type"` Namespace string `json:"namespace"` Name string `json:"name"` Tag *string `json:"tag"` Commit *string `json:"commit"` }
SourceInputSpec specifies a source for mutations.
This is different than SourceSpec because we want to encode that all fields except tag and commit are mandatory fields. All optional fields are given empty default values.
It is an error to set both tag and commit fields to values different than the default.
func (*SourceInputSpec) GetCommit ¶
func (v *SourceInputSpec) GetCommit() *string
GetCommit returns SourceInputSpec.Commit, and is useful for accessing the field via an interface.
func (*SourceInputSpec) GetName ¶
func (v *SourceInputSpec) GetName() string
GetName returns SourceInputSpec.Name, and is useful for accessing the field via an interface.
func (*SourceInputSpec) GetNamespace ¶
func (v *SourceInputSpec) GetNamespace() string
GetNamespace returns SourceInputSpec.Namespace, and is useful for accessing the field via an interface.
func (*SourceInputSpec) GetTag ¶
func (v *SourceInputSpec) GetTag() *string
GetTag returns SourceInputSpec.Tag, and is useful for accessing the field via an interface.
func (*SourceInputSpec) GetType ¶
func (v *SourceInputSpec) GetType() string
GetType returns SourceInputSpec.Type, and is useful for accessing the field via an interface.
type SourceSpec ¶
type SourceSpec struct { Id *string `json:"id"` Type *string `json:"type"` Namespace *string `json:"namespace"` Name *string `json:"name"` Tag *string `json:"tag"` Commit *string `json:"commit"` }
SourceSpec allows filtering the list of sources to return in a query.
Empty string at a field means matching with the empty string. Missing field means retrieving all possible matches.
It is an error to specify both tag and commit fields, except it both are set as empty string (in which case the returned sources are only those for which there is no tag/commit information).
func (*SourceSpec) GetCommit ¶
func (v *SourceSpec) GetCommit() *string
GetCommit returns SourceSpec.Commit, and is useful for accessing the field via an interface.
func (*SourceSpec) GetId ¶
func (v *SourceSpec) GetId() *string
GetId returns SourceSpec.Id, and is useful for accessing the field via an interface.
func (*SourceSpec) GetName ¶
func (v *SourceSpec) GetName() *string
GetName returns SourceSpec.Name, and is useful for accessing the field via an interface.
func (*SourceSpec) GetNamespace ¶
func (v *SourceSpec) GetNamespace() *string
GetNamespace returns SourceSpec.Namespace, and is useful for accessing the field via an interface.
func (*SourceSpec) GetTag ¶
func (v *SourceSpec) GetTag() *string
GetTag returns SourceSpec.Tag, and is useful for accessing the field via an interface.
func (*SourceSpec) GetType ¶
func (v *SourceSpec) GetType() *string
GetType returns SourceSpec.Type, and is useful for accessing the field via an interface.
type SourcesListResponse ¶ added in v0.7.0
type SourcesListResponse struct { // Returns a paginated results via SourceConnection SourcesList *SourcesListSourcesListSourceConnection `json:"sourcesList"` }
SourcesListResponse is returned by SourcesList on success.
func SourcesList ¶ added in v0.7.0
func SourcesList( ctx_ context.Context, client_ graphql.Client, filter SourceSpec, after *string, first *int, ) (*SourcesListResponse, error)
func (*SourcesListResponse) GetSourcesList ¶ added in v0.7.0
func (v *SourcesListResponse) GetSourcesList() *SourcesListSourcesListSourceConnection
GetSourcesList returns SourcesListResponse.SourcesList, and is useful for accessing the field via an interface.
type SourcesListSourcesListSourceConnection ¶ added in v0.7.0
type SourcesListSourcesListSourceConnection struct { TotalCount int `json:"totalCount"` Edges []SourcesListSourcesListSourceConnectionEdgesSourceEdge `json:"edges"` PageInfo SourcesListSourcesListSourceConnectionPageInfo `json:"pageInfo"` }
SourcesListSourcesListSourceConnection includes the requested fields of the GraphQL type SourceConnection. The GraphQL type's documentation follows.
SourceConnection returns the paginated results for Source.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the SourceEdge which contains the current cursor and the Source node itself
func (*SourcesListSourcesListSourceConnection) GetEdges ¶ added in v0.7.0
func (v *SourcesListSourcesListSourceConnection) GetEdges() []SourcesListSourcesListSourceConnectionEdgesSourceEdge
GetEdges returns SourcesListSourcesListSourceConnection.Edges, and is useful for accessing the field via an interface.
func (*SourcesListSourcesListSourceConnection) GetPageInfo ¶ added in v0.7.0
func (v *SourcesListSourcesListSourceConnection) GetPageInfo() SourcesListSourcesListSourceConnectionPageInfo
GetPageInfo returns SourcesListSourcesListSourceConnection.PageInfo, and is useful for accessing the field via an interface.
func (*SourcesListSourcesListSourceConnection) GetTotalCount ¶ added in v0.7.0
func (v *SourcesListSourcesListSourceConnection) GetTotalCount() int
GetTotalCount returns SourcesListSourcesListSourceConnection.TotalCount, and is useful for accessing the field via an interface.
type SourcesListSourcesListSourceConnectionEdgesSourceEdge ¶ added in v0.7.0
type SourcesListSourcesListSourceConnectionEdgesSourceEdge struct { Cursor string `json:"cursor"` Node SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource `json:"node"` }
SourcesListSourcesListSourceConnectionEdgesSourceEdge includes the requested fields of the GraphQL type SourceEdge. The GraphQL type's documentation follows.
SourceEdge contains the cursor for the resulting node and the Source node itself.
func (*SourcesListSourcesListSourceConnectionEdgesSourceEdge) GetCursor ¶ added in v0.7.0
func (v *SourcesListSourcesListSourceConnectionEdgesSourceEdge) GetCursor() string
GetCursor returns SourcesListSourcesListSourceConnectionEdgesSourceEdge.Cursor, and is useful for accessing the field via an interface.
func (*SourcesListSourcesListSourceConnectionEdgesSourceEdge) GetNode ¶ added in v0.7.0
func (v *SourcesListSourcesListSourceConnectionEdgesSourceEdge) GetNode() SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource
GetNode returns SourcesListSourcesListSourceConnectionEdgesSourceEdge.Node, and is useful for accessing the field via an interface.
type SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource ¶ added in v0.7.0
type SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource struct {
AllSourceTree `json:"-"`
}
SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) GetId ¶ added in v0.7.0
func (v *SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) GetId() string
GetId returns SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource.Id, and is useful for accessing the field via an interface.
func (*SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) GetNamespaces ¶ added in v0.7.0
func (v *SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource.Namespaces, and is useful for accessing the field via an interface.
func (*SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) GetType ¶ added in v0.7.0
func (v *SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) GetType() string
GetType returns SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource.Type, and is useful for accessing the field via an interface.
func (*SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) MarshalJSON ¶ added in v0.7.0
func (v *SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) MarshalJSON() ([]byte, error)
func (*SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) UnmarshalJSON ¶ added in v0.7.0
func (v *SourcesListSourcesListSourceConnectionEdgesSourceEdgeNodeSource) UnmarshalJSON(b []byte) error
type SourcesListSourcesListSourceConnectionPageInfo ¶ added in v0.7.0
type SourcesListSourcesListSourceConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
SourcesListSourcesListSourceConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*SourcesListSourcesListSourceConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *SourcesListSourcesListSourceConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns SourcesListSourcesListSourceConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*SourcesListSourcesListSourceConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *SourcesListSourcesListSourceConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns SourcesListSourcesListSourceConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*SourcesListSourcesListSourceConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *SourcesListSourcesListSourceConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns SourcesListSourcesListSourceConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type SourcesResponse ¶
type SourcesResponse struct { // Returns all sources matching a filter. Sources []SourcesSourcesSource `json:"sources"` }
SourcesResponse is returned by Sources on success.
func Sources ¶
func Sources( ctx_ context.Context, client_ graphql.Client, filter SourceSpec, ) (*SourcesResponse, error)
func (*SourcesResponse) GetSources ¶
func (v *SourcesResponse) GetSources() []SourcesSourcesSource
GetSources returns SourcesResponse.Sources, and is useful for accessing the field via an interface.
type SourcesSourcesSource ¶
type SourcesSourcesSource struct {
AllSourceTree `json:"-"`
}
SourcesSourcesSource includes the requested fields of the GraphQL type Source. The GraphQL type's documentation follows.
Source represents the root of the source trie/tree.
We map source information to a trie, as a derivative of the pURL specification: each path in the trie represents a type, namespace, name and an optional qualifier that stands for tag/commit information.
This node represents the type part of the trie path. It is used to represent the version control system that is being used.
Since this node is at the root of the source trie, it is named Source, not SourceType.
func (*SourcesSourcesSource) GetId ¶
func (v *SourcesSourcesSource) GetId() string
GetId returns SourcesSourcesSource.Id, and is useful for accessing the field via an interface.
func (*SourcesSourcesSource) GetNamespaces ¶
func (v *SourcesSourcesSource) GetNamespaces() []AllSourceTreeNamespacesSourceNamespace
GetNamespaces returns SourcesSourcesSource.Namespaces, and is useful for accessing the field via an interface.
func (*SourcesSourcesSource) GetType ¶
func (v *SourcesSourcesSource) GetType() string
GetType returns SourcesSourcesSource.Type, and is useful for accessing the field via an interface.
func (*SourcesSourcesSource) MarshalJSON ¶
func (v *SourcesSourcesSource) MarshalJSON() ([]byte, error)
func (*SourcesSourcesSource) UnmarshalJSON ¶
func (v *SourcesSourcesSource) UnmarshalJSON(b []byte) error
type VEXStatementListCertifyVEXStatementListVEXConnection ¶ added in v0.7.0
type VEXStatementListCertifyVEXStatementListVEXConnection struct { TotalCount int `json:"totalCount"` Edges []VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdge `json:"edges"` PageInfo VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo `json:"pageInfo"` }
VEXStatementListCertifyVEXStatementListVEXConnection includes the requested fields of the GraphQL type VEXConnection. The GraphQL type's documentation follows.
VEXConnection returns the paginated results for CertifyVEXStatement.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the VEXEdge which contains the current cursor and the CertifyVEXStatement node itself
func (*VEXStatementListCertifyVEXStatementListVEXConnection) GetEdges ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnection) GetEdges() []VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdge
GetEdges returns VEXStatementListCertifyVEXStatementListVEXConnection.Edges, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnection) GetPageInfo ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnection) GetPageInfo() VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo
GetPageInfo returns VEXStatementListCertifyVEXStatementListVEXConnection.PageInfo, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnection) GetTotalCount ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnection) GetTotalCount() int
GetTotalCount returns VEXStatementListCertifyVEXStatementListVEXConnection.TotalCount, and is useful for accessing the field via an interface.
type VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdge ¶ added in v0.7.0
type VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdge struct { Cursor string `json:"cursor"` Node VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement `json:"node"` }
VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdge includes the requested fields of the GraphQL type VEXEdge. The GraphQL type's documentation follows.
VEXEdge contains the cursor for the resulting node and the CertifyVEXStatement node itself.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdge) GetCursor ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdge) GetCursor() string
GetCursor returns VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdge.Cursor, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdge) GetNode ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdge) GetNode() VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement
GetNode returns VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdge.Node, and is useful for accessing the field via an interface.
type VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement ¶ added in v0.7.0
type VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement struct {
AllCertifyVEXStatement `json:"-"`
}
VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement includes the requested fields of the GraphQL type CertifyVEXStatement. The GraphQL type's documentation follows.
CertifyVEXStatement is an attestation to attach VEX statements to a package or artifact to clarify the impact of a specific vulnerability.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetCollector ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetCollector() string
GetCollector returns VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement.Collector, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetId ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetId() string
GetId returns VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement.Id, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetKnownSince ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetKnownSince() time.Time
GetKnownSince returns VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement.KnownSince, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetOrigin ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetOrigin() string
GetOrigin returns VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement.Origin, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetStatement ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetStatement() string
GetStatement returns VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement.Statement, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetStatus ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetStatus() VexStatus
GetStatus returns VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement.Status, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetStatusNotes ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetStatusNotes() string
GetStatusNotes returns VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement.StatusNotes, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetSubject ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetSubject() AllCertifyVEXStatementSubjectPackageOrArtifact
GetSubject returns VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement.Subject, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetVexJustification ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetVexJustification() VexJustification
GetVexJustification returns VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement.VexJustification, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetVulnerability ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) GetVulnerability() AllCertifyVEXStatementVulnerability
GetVulnerability returns VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement.Vulnerability, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) MarshalJSON ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) MarshalJSON() ([]byte, error)
func (*VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) UnmarshalJSON ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionEdgesVEXEdgeNodeCertifyVEXStatement) UnmarshalJSON(b []byte) error
type VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo ¶ added in v0.7.0
type VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns VEXStatementListCertifyVEXStatementListVEXConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type VEXStatementListResponse ¶ added in v0.7.0
type VEXStatementListResponse struct { // Returns a paginated results via CertifyVexConnection CertifyVEXStatementList *VEXStatementListCertifyVEXStatementListVEXConnection `json:"CertifyVEXStatementList"` }
VEXStatementListResponse is returned by VEXStatementList on success.
func VEXStatementList ¶ added in v0.7.0
func VEXStatementList( ctx_ context.Context, client_ graphql.Client, filter CertifyVEXStatementSpec, after *string, first *int, ) (*VEXStatementListResponse, error)
func (*VEXStatementListResponse) GetCertifyVEXStatementList ¶ added in v0.7.0
func (v *VEXStatementListResponse) GetCertifyVEXStatementList() *VEXStatementListCertifyVEXStatementListVEXConnection
GetCertifyVEXStatementList returns VEXStatementListResponse.CertifyVEXStatementList, and is useful for accessing the field via an interface.
type VEXStatementsCertifyVEXStatement ¶ added in v0.7.0
type VEXStatementsCertifyVEXStatement struct {
AllCertifyVEXStatement `json:"-"`
}
VEXStatementsCertifyVEXStatement includes the requested fields of the GraphQL type CertifyVEXStatement. The GraphQL type's documentation follows.
CertifyVEXStatement is an attestation to attach VEX statements to a package or artifact to clarify the impact of a specific vulnerability.
func (*VEXStatementsCertifyVEXStatement) GetCollector ¶ added in v0.7.0
func (v *VEXStatementsCertifyVEXStatement) GetCollector() string
GetCollector returns VEXStatementsCertifyVEXStatement.Collector, and is useful for accessing the field via an interface.
func (*VEXStatementsCertifyVEXStatement) GetId ¶ added in v0.7.0
func (v *VEXStatementsCertifyVEXStatement) GetId() string
GetId returns VEXStatementsCertifyVEXStatement.Id, and is useful for accessing the field via an interface.
func (*VEXStatementsCertifyVEXStatement) GetKnownSince ¶ added in v0.7.0
func (v *VEXStatementsCertifyVEXStatement) GetKnownSince() time.Time
GetKnownSince returns VEXStatementsCertifyVEXStatement.KnownSince, and is useful for accessing the field via an interface.
func (*VEXStatementsCertifyVEXStatement) GetOrigin ¶ added in v0.7.0
func (v *VEXStatementsCertifyVEXStatement) GetOrigin() string
GetOrigin returns VEXStatementsCertifyVEXStatement.Origin, and is useful for accessing the field via an interface.
func (*VEXStatementsCertifyVEXStatement) GetStatement ¶ added in v0.7.0
func (v *VEXStatementsCertifyVEXStatement) GetStatement() string
GetStatement returns VEXStatementsCertifyVEXStatement.Statement, and is useful for accessing the field via an interface.
func (*VEXStatementsCertifyVEXStatement) GetStatus ¶ added in v0.7.0
func (v *VEXStatementsCertifyVEXStatement) GetStatus() VexStatus
GetStatus returns VEXStatementsCertifyVEXStatement.Status, and is useful for accessing the field via an interface.
func (*VEXStatementsCertifyVEXStatement) GetStatusNotes ¶ added in v0.7.0
func (v *VEXStatementsCertifyVEXStatement) GetStatusNotes() string
GetStatusNotes returns VEXStatementsCertifyVEXStatement.StatusNotes, and is useful for accessing the field via an interface.
func (*VEXStatementsCertifyVEXStatement) GetSubject ¶ added in v0.7.0
func (v *VEXStatementsCertifyVEXStatement) GetSubject() AllCertifyVEXStatementSubjectPackageOrArtifact
GetSubject returns VEXStatementsCertifyVEXStatement.Subject, and is useful for accessing the field via an interface.
func (*VEXStatementsCertifyVEXStatement) GetVexJustification ¶ added in v0.7.0
func (v *VEXStatementsCertifyVEXStatement) GetVexJustification() VexJustification
GetVexJustification returns VEXStatementsCertifyVEXStatement.VexJustification, and is useful for accessing the field via an interface.
func (*VEXStatementsCertifyVEXStatement) GetVulnerability ¶ added in v0.7.0
func (v *VEXStatementsCertifyVEXStatement) GetVulnerability() AllCertifyVEXStatementVulnerability
GetVulnerability returns VEXStatementsCertifyVEXStatement.Vulnerability, and is useful for accessing the field via an interface.
func (*VEXStatementsCertifyVEXStatement) MarshalJSON ¶ added in v0.7.0
func (v *VEXStatementsCertifyVEXStatement) MarshalJSON() ([]byte, error)
func (*VEXStatementsCertifyVEXStatement) UnmarshalJSON ¶ added in v0.7.0
func (v *VEXStatementsCertifyVEXStatement) UnmarshalJSON(b []byte) error
type VEXStatementsResponse ¶ added in v0.7.0
type VEXStatementsResponse struct { // Returns all VEX certifications matching the input filter. CertifyVEXStatement []VEXStatementsCertifyVEXStatement `json:"CertifyVEXStatement"` }
VEXStatementsResponse is returned by VEXStatements on success.
func VEXStatements ¶ added in v0.7.0
func VEXStatements( ctx_ context.Context, client_ graphql.Client, filter CertifyVEXStatementSpec, ) (*VEXStatementsResponse, error)
func (*VEXStatementsResponse) GetCertifyVEXStatement ¶ added in v0.7.0
func (v *VEXStatementsResponse) GetCertifyVEXStatement() []VEXStatementsCertifyVEXStatement
GetCertifyVEXStatement returns VEXStatementsResponse.CertifyVEXStatement, and is useful for accessing the field via an interface.
type VexJustification ¶
type VexJustification string
Records the justification included in the VEX statement.
const ( VexJustificationComponentNotPresent VexJustification = "COMPONENT_NOT_PRESENT" VexJustificationVulnerableCodeNotPresent VexJustification = "VULNERABLE_CODE_NOT_PRESENT" VexJustificationVulnerableCodeNotInExecutePath VexJustification = "VULNERABLE_CODE_NOT_IN_EXECUTE_PATH" VexJustificationVulnerableCodeCannotBeControlledByAdversary VexJustification = "VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY" VexJustificationInlineMitigationsAlreadyExist VexJustification = "INLINE_MITIGATIONS_ALREADY_EXIST" VexJustificationNotProvided VexJustification = "NOT_PROVIDED" )
type VexStatementInputSpec ¶
type VexStatementInputSpec struct { Status VexStatus `json:"status"` VexJustification VexJustification `json:"vexJustification"` Statement string `json:"statement"` StatusNotes string `json:"statusNotes"` KnownSince time.Time `json:"knownSince"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
VexStatementInputSpec represents the input to ingest VEX statements.
func (*VexStatementInputSpec) GetCollector ¶
func (v *VexStatementInputSpec) GetCollector() string
GetCollector returns VexStatementInputSpec.Collector, and is useful for accessing the field via an interface.
func (*VexStatementInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *VexStatementInputSpec) GetDocumentRef() string
GetDocumentRef returns VexStatementInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*VexStatementInputSpec) GetKnownSince ¶
func (v *VexStatementInputSpec) GetKnownSince() time.Time
GetKnownSince returns VexStatementInputSpec.KnownSince, and is useful for accessing the field via an interface.
func (*VexStatementInputSpec) GetOrigin ¶
func (v *VexStatementInputSpec) GetOrigin() string
GetOrigin returns VexStatementInputSpec.Origin, and is useful for accessing the field via an interface.
func (*VexStatementInputSpec) GetStatement ¶
func (v *VexStatementInputSpec) GetStatement() string
GetStatement returns VexStatementInputSpec.Statement, and is useful for accessing the field via an interface.
func (*VexStatementInputSpec) GetStatus ¶
func (v *VexStatementInputSpec) GetStatus() VexStatus
GetStatus returns VexStatementInputSpec.Status, and is useful for accessing the field via an interface.
func (*VexStatementInputSpec) GetStatusNotes ¶
func (v *VexStatementInputSpec) GetStatusNotes() string
GetStatusNotes returns VexStatementInputSpec.StatusNotes, and is useful for accessing the field via an interface.
func (*VexStatementInputSpec) GetVexJustification ¶
func (v *VexStatementInputSpec) GetVexJustification() VexJustification
GetVexJustification returns VexStatementInputSpec.VexJustification, and is useful for accessing the field via an interface.
type VulnEqualInputSpec ¶ added in v0.2.0
type VulnEqualInputSpec struct { Justification string `json:"justification"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
VulnEqualInputSpec represents the input to link vulnerabilities to each other.
func (*VulnEqualInputSpec) GetCollector ¶ added in v0.2.0
func (v *VulnEqualInputSpec) GetCollector() string
GetCollector returns VulnEqualInputSpec.Collector, and is useful for accessing the field via an interface.
func (*VulnEqualInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *VulnEqualInputSpec) GetDocumentRef() string
GetDocumentRef returns VulnEqualInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*VulnEqualInputSpec) GetJustification ¶ added in v0.2.0
func (v *VulnEqualInputSpec) GetJustification() string
GetJustification returns VulnEqualInputSpec.Justification, and is useful for accessing the field via an interface.
func (*VulnEqualInputSpec) GetOrigin ¶ added in v0.2.0
func (v *VulnEqualInputSpec) GetOrigin() string
GetOrigin returns VulnEqualInputSpec.Origin, and is useful for accessing the field via an interface.
type VulnEqualListResponse ¶ added in v0.7.0
type VulnEqualListResponse struct { // Returns a paginated results via VulnEqualConnection VulnEqualList *VulnEqualListVulnEqualListVulnEqualConnection `json:"vulnEqualList"` }
VulnEqualListResponse is returned by VulnEqualList on success.
func VulnEqualList ¶ added in v0.7.0
func VulnEqualList( ctx_ context.Context, client_ graphql.Client, filter VulnEqualSpec, after *string, first *int, ) (*VulnEqualListResponse, error)
func (*VulnEqualListResponse) GetVulnEqualList ¶ added in v0.7.0
func (v *VulnEqualListResponse) GetVulnEqualList() *VulnEqualListVulnEqualListVulnEqualConnection
GetVulnEqualList returns VulnEqualListResponse.VulnEqualList, and is useful for accessing the field via an interface.
type VulnEqualListVulnEqualListVulnEqualConnection ¶ added in v0.7.0
type VulnEqualListVulnEqualListVulnEqualConnection struct { TotalCount int `json:"totalCount"` Edges []VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdge `json:"edges"` PageInfo VulnEqualListVulnEqualListVulnEqualConnectionPageInfo `json:"pageInfo"` }
VulnEqualListVulnEqualListVulnEqualConnection includes the requested fields of the GraphQL type VulnEqualConnection. The GraphQL type's documentation follows.
VulnEqualConnection returns the paginated results for VulnEqual.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the VulnEqualEdge which contains the current cursor and the VulnEqual node itself
func (*VulnEqualListVulnEqualListVulnEqualConnection) GetEdges ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnection) GetEdges() []VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdge
GetEdges returns VulnEqualListVulnEqualListVulnEqualConnection.Edges, and is useful for accessing the field via an interface.
func (*VulnEqualListVulnEqualListVulnEqualConnection) GetPageInfo ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnection) GetPageInfo() VulnEqualListVulnEqualListVulnEqualConnectionPageInfo
GetPageInfo returns VulnEqualListVulnEqualListVulnEqualConnection.PageInfo, and is useful for accessing the field via an interface.
func (*VulnEqualListVulnEqualListVulnEqualConnection) GetTotalCount ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnection) GetTotalCount() int
GetTotalCount returns VulnEqualListVulnEqualListVulnEqualConnection.TotalCount, and is useful for accessing the field via an interface.
type VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdge ¶ added in v0.7.0
type VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdge struct { Cursor string `json:"cursor"` Node VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual `json:"node"` }
VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdge includes the requested fields of the GraphQL type VulnEqualEdge. The GraphQL type's documentation follows.
VulnEqualEdge contains the cursor for the resulting node and the VulnEqual node itself.
func (*VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdge) GetCursor ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdge) GetCursor() string
GetCursor returns VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdge.Cursor, and is useful for accessing the field via an interface.
func (*VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdge) GetNode ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdge) GetNode() VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual
GetNode returns VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdge.Node, and is useful for accessing the field via an interface.
type VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual ¶ added in v0.7.0
type VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual struct {
AllVulnEqual `json:"-"`
}
VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual includes the requested fields of the GraphQL type VulnEqual. The GraphQL type's documentation follows.
VulnEqual is an attestation to link two vulnerabilities together as being equal"
Note that setting noVuln vulnerability type is invalid for VulnEqual!
func (*VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetCollector ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetCollector() string
GetCollector returns VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual.Collector, and is useful for accessing the field via an interface.
func (*VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetId ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetId() string
GetId returns VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual.Id, and is useful for accessing the field via an interface.
func (*VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetJustification ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetJustification() string
GetJustification returns VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual.Justification, and is useful for accessing the field via an interface.
func (*VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetOrigin ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetOrigin() string
GetOrigin returns VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual.Origin, and is useful for accessing the field via an interface.
func (*VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetVulnerabilities ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) GetVulnerabilities() []AllVulnEqualVulnerabilitiesVulnerability
GetVulnerabilities returns VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual.Vulnerabilities, and is useful for accessing the field via an interface.
func (*VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) MarshalJSON ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) MarshalJSON() ([]byte, error)
func (*VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) UnmarshalJSON ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnectionEdgesVulnEqualEdgeNodeVulnEqual) UnmarshalJSON(b []byte) error
type VulnEqualListVulnEqualListVulnEqualConnectionPageInfo ¶ added in v0.7.0
type VulnEqualListVulnEqualListVulnEqualConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
VulnEqualListVulnEqualListVulnEqualConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*VulnEqualListVulnEqualListVulnEqualConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns VulnEqualListVulnEqualListVulnEqualConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*VulnEqualListVulnEqualListVulnEqualConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns VulnEqualListVulnEqualListVulnEqualConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*VulnEqualListVulnEqualListVulnEqualConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *VulnEqualListVulnEqualListVulnEqualConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns VulnEqualListVulnEqualListVulnEqualConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type VulnEqualSpec ¶ added in v0.7.0
type VulnEqualSpec struct { Id *string `json:"id"` Vulnerabilities []*VulnerabilitySpec `json:"vulnerabilities"` Justification *string `json:"justification"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
VulnEqualSpec allows filtering the list of vulnerability links to return in a query.
func (*VulnEqualSpec) GetCollector ¶ added in v0.7.0
func (v *VulnEqualSpec) GetCollector() *string
GetCollector returns VulnEqualSpec.Collector, and is useful for accessing the field via an interface.
func (*VulnEqualSpec) GetDocumentRef ¶ added in v0.7.0
func (v *VulnEqualSpec) GetDocumentRef() *string
GetDocumentRef returns VulnEqualSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*VulnEqualSpec) GetId ¶ added in v0.7.0
func (v *VulnEqualSpec) GetId() *string
GetId returns VulnEqualSpec.Id, and is useful for accessing the field via an interface.
func (*VulnEqualSpec) GetJustification ¶ added in v0.7.0
func (v *VulnEqualSpec) GetJustification() *string
GetJustification returns VulnEqualSpec.Justification, and is useful for accessing the field via an interface.
func (*VulnEqualSpec) GetOrigin ¶ added in v0.7.0
func (v *VulnEqualSpec) GetOrigin() *string
GetOrigin returns VulnEqualSpec.Origin, and is useful for accessing the field via an interface.
func (*VulnEqualSpec) GetVulnerabilities ¶ added in v0.7.0
func (v *VulnEqualSpec) GetVulnerabilities() []*VulnerabilitySpec
GetVulnerabilities returns VulnEqualSpec.Vulnerabilities, and is useful for accessing the field via an interface.
type VulnEqualsResponse ¶ added in v0.7.0
type VulnEqualsResponse struct { // Returns all equal vulnerability mappings that match a filter. VulnEqual []VulnEqualsVulnEqual `json:"vulnEqual"` }
VulnEqualsResponse is returned by VulnEquals on success.
func VulnEquals ¶ added in v0.7.0
func VulnEquals( ctx_ context.Context, client_ graphql.Client, filter VulnEqualSpec, ) (*VulnEqualsResponse, error)
func (*VulnEqualsResponse) GetVulnEqual ¶ added in v0.7.0
func (v *VulnEqualsResponse) GetVulnEqual() []VulnEqualsVulnEqual
GetVulnEqual returns VulnEqualsResponse.VulnEqual, and is useful for accessing the field via an interface.
type VulnEqualsVulnEqual ¶ added in v0.7.0
type VulnEqualsVulnEqual struct {
AllVulnEqual `json:"-"`
}
VulnEqualsVulnEqual includes the requested fields of the GraphQL type VulnEqual. The GraphQL type's documentation follows.
VulnEqual is an attestation to link two vulnerabilities together as being equal"
Note that setting noVuln vulnerability type is invalid for VulnEqual!
func (*VulnEqualsVulnEqual) GetCollector ¶ added in v0.7.0
func (v *VulnEqualsVulnEqual) GetCollector() string
GetCollector returns VulnEqualsVulnEqual.Collector, and is useful for accessing the field via an interface.
func (*VulnEqualsVulnEqual) GetId ¶ added in v0.7.0
func (v *VulnEqualsVulnEqual) GetId() string
GetId returns VulnEqualsVulnEqual.Id, and is useful for accessing the field via an interface.
func (*VulnEqualsVulnEqual) GetJustification ¶ added in v0.7.0
func (v *VulnEqualsVulnEqual) GetJustification() string
GetJustification returns VulnEqualsVulnEqual.Justification, and is useful for accessing the field via an interface.
func (*VulnEqualsVulnEqual) GetOrigin ¶ added in v0.7.0
func (v *VulnEqualsVulnEqual) GetOrigin() string
GetOrigin returns VulnEqualsVulnEqual.Origin, and is useful for accessing the field via an interface.
func (*VulnEqualsVulnEqual) GetVulnerabilities ¶ added in v0.7.0
func (v *VulnEqualsVulnEqual) GetVulnerabilities() []AllVulnEqualVulnerabilitiesVulnerability
GetVulnerabilities returns VulnEqualsVulnEqual.Vulnerabilities, and is useful for accessing the field via an interface.
func (*VulnEqualsVulnEqual) MarshalJSON ¶ added in v0.7.0
func (v *VulnEqualsVulnEqual) MarshalJSON() ([]byte, error)
func (*VulnEqualsVulnEqual) UnmarshalJSON ¶ added in v0.7.0
func (v *VulnEqualsVulnEqual) UnmarshalJSON(b []byte) error
type VulnerabilitiesResponse ¶ added in v0.2.0
type VulnerabilitiesResponse struct { // Returns all vulnerabilities matching a filter. Vulnerabilities []VulnerabilitiesVulnerabilitiesVulnerability `json:"vulnerabilities"` }
VulnerabilitiesResponse is returned by Vulnerabilities on success.
func Vulnerabilities ¶ added in v0.2.0
func Vulnerabilities( ctx_ context.Context, client_ graphql.Client, filter VulnerabilitySpec, ) (*VulnerabilitiesResponse, error)
func (*VulnerabilitiesResponse) GetVulnerabilities ¶ added in v0.2.0
func (v *VulnerabilitiesResponse) GetVulnerabilities() []VulnerabilitiesVulnerabilitiesVulnerability
GetVulnerabilities returns VulnerabilitiesResponse.Vulnerabilities, and is useful for accessing the field via an interface.
type VulnerabilitiesVulnerabilitiesVulnerability ¶ added in v0.2.0
type VulnerabilitiesVulnerabilitiesVulnerability struct {
AllVulnerabilityTree `json:"-"`
}
VulnerabilitiesVulnerabilitiesVulnerability includes the requested fields of the GraphQL type Vulnerability. The GraphQL type's documentation follows.
Vulnerability represents the root of the vulnerability trie/tree.
We map vulnerability information to a trie, as a derivative of the pURL specification: each path in the trie represents a type and a vulnerability ID. This allows for generic representation of the various vulnerabilities and does not limit to just cve, ghsa or osv. This would be in the general format: vuln://<general-type>/<vuln-id>
Examples:
CVE, using path separator: vuln://cve/cve-2023-20753 OSV, representing its knowledge of a GHSA: vuln://osv/ghsa-205hk Random vendor: vuln://snyk/sn-whatever NoVuln: vuln://novuln/
This node represents the type part of the trie path. It is used to represent the specific type of the vulnerability: cve, ghsa, osv or some other vendor specific
Since this node is at the root of the vulnerability trie, it is named Vulnerability, not VulnerabilityType.
NoVuln is a special vulnerability node to attest that no vulnerability has been found during a vulnerability scan. It will have the type "novuln" and contain an empty string for vulnerabilityID
The resolvers will enforce that both the type and vulnerability IDs are lower case.
func (*VulnerabilitiesVulnerabilitiesVulnerability) GetId ¶ added in v0.2.0
func (v *VulnerabilitiesVulnerabilitiesVulnerability) GetId() string
GetId returns VulnerabilitiesVulnerabilitiesVulnerability.Id, and is useful for accessing the field via an interface.
func (*VulnerabilitiesVulnerabilitiesVulnerability) GetType ¶ added in v0.2.0
func (v *VulnerabilitiesVulnerabilitiesVulnerability) GetType() string
GetType returns VulnerabilitiesVulnerabilitiesVulnerability.Type, and is useful for accessing the field via an interface.
func (*VulnerabilitiesVulnerabilitiesVulnerability) GetVulnerabilityIDs ¶ added in v0.2.0
func (v *VulnerabilitiesVulnerabilitiesVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
GetVulnerabilityIDs returns VulnerabilitiesVulnerabilitiesVulnerability.VulnerabilityIDs, and is useful for accessing the field via an interface.
func (*VulnerabilitiesVulnerabilitiesVulnerability) MarshalJSON ¶ added in v0.2.0
func (v *VulnerabilitiesVulnerabilitiesVulnerability) MarshalJSON() ([]byte, error)
func (*VulnerabilitiesVulnerabilitiesVulnerability) UnmarshalJSON ¶ added in v0.2.0
func (v *VulnerabilitiesVulnerabilitiesVulnerability) UnmarshalJSON(b []byte) error
type VulnerabilityInputSpec ¶ added in v0.2.0
type VulnerabilityInputSpec struct { Type string `json:"type"` VulnerabilityID string `json:"vulnerabilityID"` }
VulnInputSpec specifies a vulnerability for mutations.
This is different than VulnSpec because we want to encode mandatory fields: type and vulnerabilityID.
func (*VulnerabilityInputSpec) GetType ¶ added in v0.2.0
func (v *VulnerabilityInputSpec) GetType() string
GetType returns VulnerabilityInputSpec.Type, and is useful for accessing the field via an interface.
func (*VulnerabilityInputSpec) GetVulnerabilityID ¶ added in v0.2.0
func (v *VulnerabilityInputSpec) GetVulnerabilityID() string
GetVulnerabilityID returns VulnerabilityInputSpec.VulnerabilityID, and is useful for accessing the field via an interface.
type VulnerabilityListResponse ¶ added in v0.7.0
type VulnerabilityListResponse struct { // Returns a paginated results via VulnerabilityConnection VulnerabilityList *VulnerabilityListVulnerabilityListVulnerabilityConnection `json:"vulnerabilityList"` }
VulnerabilityListResponse is returned by VulnerabilityList on success.
func VulnerabilityList ¶ added in v0.7.0
func VulnerabilityList( ctx_ context.Context, client_ graphql.Client, filter VulnerabilitySpec, after *string, first *int, ) (*VulnerabilityListResponse, error)
func (*VulnerabilityListResponse) GetVulnerabilityList ¶ added in v0.7.0
func (v *VulnerabilityListResponse) GetVulnerabilityList() *VulnerabilityListVulnerabilityListVulnerabilityConnection
GetVulnerabilityList returns VulnerabilityListResponse.VulnerabilityList, and is useful for accessing the field via an interface.
type VulnerabilityListVulnerabilityListVulnerabilityConnection ¶ added in v0.7.0
type VulnerabilityListVulnerabilityListVulnerabilityConnection struct { TotalCount int `json:"totalCount"` Edges []VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdge `json:"edges"` PageInfo VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo `json:"pageInfo"` }
VulnerabilityListVulnerabilityListVulnerabilityConnection includes the requested fields of the GraphQL type VulnerabilityConnection. The GraphQL type's documentation follows.
VulnerabilityConnection returns the paginated results for Vulnerability.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the VulnerabilityEdge which contains the current cursor and the Vulnerability node itself
func (*VulnerabilityListVulnerabilityListVulnerabilityConnection) GetEdges ¶ added in v0.7.0
func (v *VulnerabilityListVulnerabilityListVulnerabilityConnection) GetEdges() []VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdge
GetEdges returns VulnerabilityListVulnerabilityListVulnerabilityConnection.Edges, and is useful for accessing the field via an interface.
func (*VulnerabilityListVulnerabilityListVulnerabilityConnection) GetPageInfo ¶ added in v0.7.0
func (v *VulnerabilityListVulnerabilityListVulnerabilityConnection) GetPageInfo() VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo
GetPageInfo returns VulnerabilityListVulnerabilityListVulnerabilityConnection.PageInfo, and is useful for accessing the field via an interface.
func (*VulnerabilityListVulnerabilityListVulnerabilityConnection) GetTotalCount ¶ added in v0.7.0
func (v *VulnerabilityListVulnerabilityListVulnerabilityConnection) GetTotalCount() int
GetTotalCount returns VulnerabilityListVulnerabilityListVulnerabilityConnection.TotalCount, and is useful for accessing the field via an interface.
type VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdge ¶ added in v0.7.0
type VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdge struct { Cursor string `json:"cursor"` Node VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability `json:"node"` }
VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdge includes the requested fields of the GraphQL type VulnerabilityEdge. The GraphQL type's documentation follows.
VulnerabilityEdge contains the cursor for the resulting node and the Vulnerability node itself.
func (*VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdge) GetCursor ¶ added in v0.7.0
func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdge) GetCursor() string
GetCursor returns VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdge.Cursor, and is useful for accessing the field via an interface.
func (*VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdge) GetNode ¶ added in v0.7.0
func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdge) GetNode() VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability
GetNode returns VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdge.Node, and is useful for accessing the field via an interface.
type VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability ¶ added in v0.7.0
type VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability struct {
AllVulnerabilityTree `json:"-"`
}
VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability includes the requested fields of the GraphQL type Vulnerability. The GraphQL type's documentation follows.
Vulnerability represents the root of the vulnerability trie/tree.
We map vulnerability information to a trie, as a derivative of the pURL specification: each path in the trie represents a type and a vulnerability ID. This allows for generic representation of the various vulnerabilities and does not limit to just cve, ghsa or osv. This would be in the general format: vuln://<general-type>/<vuln-id>
Examples:
CVE, using path separator: vuln://cve/cve-2023-20753 OSV, representing its knowledge of a GHSA: vuln://osv/ghsa-205hk Random vendor: vuln://snyk/sn-whatever NoVuln: vuln://novuln/
This node represents the type part of the trie path. It is used to represent the specific type of the vulnerability: cve, ghsa, osv or some other vendor specific
Since this node is at the root of the vulnerability trie, it is named Vulnerability, not VulnerabilityType.
NoVuln is a special vulnerability node to attest that no vulnerability has been found during a vulnerability scan. It will have the type "novuln" and contain an empty string for vulnerabilityID
The resolvers will enforce that both the type and vulnerability IDs are lower case.
func (*VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) GetId ¶ added in v0.7.0
func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) GetId() string
GetId returns VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability.Id, and is useful for accessing the field via an interface.
func (*VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) GetType ¶ added in v0.7.0
func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) GetType() string
GetType returns VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability.Type, and is useful for accessing the field via an interface.
func (*VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) GetVulnerabilityIDs ¶ added in v0.7.0
func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) GetVulnerabilityIDs() []AllVulnerabilityTreeVulnerabilityIDsVulnerabilityID
GetVulnerabilityIDs returns VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability.VulnerabilityIDs, and is useful for accessing the field via an interface.
func (*VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) MarshalJSON ¶ added in v0.7.0
func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) MarshalJSON() ([]byte, error)
func (*VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) UnmarshalJSON ¶ added in v0.7.0
func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionEdgesVulnerabilityEdgeNodeVulnerability) UnmarshalJSON(b []byte) error
type VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo ¶ added in v0.7.0
type VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns VulnerabilityListVulnerabilityListVulnerabilityConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type VulnerabilityMetadataInputSpec ¶ added in v0.2.0
type VulnerabilityMetadataInputSpec struct { ScoreType VulnerabilityScoreType `json:"scoreType"` ScoreValue float64 `json:"scoreValue"` Timestamp time.Time `json:"timestamp"` Origin string `json:"origin"` Collector string `json:"collector"` DocumentRef string `json:"documentRef"` }
VulnerabilityMetadataInputSpec represents the mutation input to ingest a vulnerability metadata.
func (*VulnerabilityMetadataInputSpec) GetCollector ¶ added in v0.2.0
func (v *VulnerabilityMetadataInputSpec) GetCollector() string
GetCollector returns VulnerabilityMetadataInputSpec.Collector, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataInputSpec) GetDocumentRef ¶ added in v0.6.0
func (v *VulnerabilityMetadataInputSpec) GetDocumentRef() string
GetDocumentRef returns VulnerabilityMetadataInputSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataInputSpec) GetOrigin ¶ added in v0.2.0
func (v *VulnerabilityMetadataInputSpec) GetOrigin() string
GetOrigin returns VulnerabilityMetadataInputSpec.Origin, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataInputSpec) GetScoreType ¶ added in v0.2.0
func (v *VulnerabilityMetadataInputSpec) GetScoreType() VulnerabilityScoreType
GetScoreType returns VulnerabilityMetadataInputSpec.ScoreType, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataInputSpec) GetScoreValue ¶ added in v0.2.0
func (v *VulnerabilityMetadataInputSpec) GetScoreValue() float64
GetScoreValue returns VulnerabilityMetadataInputSpec.ScoreValue, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataInputSpec) GetTimestamp ¶ added in v0.2.0
func (v *VulnerabilityMetadataInputSpec) GetTimestamp() time.Time
GetTimestamp returns VulnerabilityMetadataInputSpec.Timestamp, and is useful for accessing the field via an interface.
type VulnerabilityMetadataListResponse ¶ added in v0.7.0
type VulnerabilityMetadataListResponse struct { // Returns a paginated results via VulnerabilityMetadataConnection VulnerabilityMetadataList *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection `json:"vulnerabilityMetadataList"` }
VulnerabilityMetadataListResponse is returned by VulnerabilityMetadataList on success.
func VulnerabilityMetadataList ¶ added in v0.7.0
func VulnerabilityMetadataList( ctx_ context.Context, client_ graphql.Client, filter VulnerabilityMetadataSpec, after *string, first *int, ) (*VulnerabilityMetadataListResponse, error)
func (*VulnerabilityMetadataListResponse) GetVulnerabilityMetadataList ¶ added in v0.7.0
func (v *VulnerabilityMetadataListResponse) GetVulnerabilityMetadataList() *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection
GetVulnerabilityMetadataList returns VulnerabilityMetadataListResponse.VulnerabilityMetadataList, and is useful for accessing the field via an interface.
type VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection ¶ added in v0.7.0
type VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection struct { TotalCount int `json:"totalCount"` Edges []VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdge `json:"edges"` PageInfo VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo `json:"pageInfo"` }
VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection includes the requested fields of the GraphQL type VulnerabilityMetadataConnection. The GraphQL type's documentation follows.
VulnerabilityMetadataConnection returns the paginated results for VulnerabilityMetadata.
totalCount is the total number of results returned.
pageInfo provides information to the client if there is a next page of results and the starting and ending cursor for the current set.
edges contains the VulnerabilityMetadataEdge which contains the current cursor and the VulnerabilityMetadata node itself
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection) GetEdges ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection) GetEdges() []VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdge
GetEdges returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection.Edges, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection) GetPageInfo ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection) GetPageInfo() VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo
GetPageInfo returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection.PageInfo, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection) GetTotalCount ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection) GetTotalCount() int
GetTotalCount returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnection.TotalCount, and is useful for accessing the field via an interface.
type VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdge ¶ added in v0.7.0
type VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdge struct { Cursor string `json:"cursor"` Node VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata `json:"node"` }
VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdge includes the requested fields of the GraphQL type VulnerabilityMetadataEdge. The GraphQL type's documentation follows.
VulnerabilityMetadataEdge contains the cursor for the resulting node and the VulnerabilityMetadata node itself.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdge) GetCursor ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdge) GetCursor() string
GetCursor returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdge.Cursor, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdge) GetNode ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdge) GetNode() VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata
GetNode returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdge.Node, and is useful for accessing the field via an interface.
type VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata ¶ added in v0.7.0
type VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata struct {
AllVulnMetadataTree `json:"-"`
}
VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata includes the requested fields of the GraphQL type VulnerabilityMetadata. The GraphQL type's documentation follows.
VulnerabilityMetadata is an attestation that a vulnerability has a related score associated with it.
The intent of this evidence tree predicate is to allow extensibility of vulnerability score (one-to-one mapping) with a specific vulnerability ID.
A vulnerability ID can have a one-to-many relationship with the VulnerabilityMetadata node as a vulnerability ID can have multiple scores (in various frameworks).
Examples:
scoreType: EPSSv1 scoreValue: 0.960760000
scoreType: CVSSv2 scoreValue: 5.0
scoreType: CVSSv3 scoreValue: 7.5
The timestamp is used to determine when the score was evaluated for the specific vulnerability.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetCollector ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetCollector() string
GetCollector returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata.Collector, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetId ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetId() string
GetId returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata.Id, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetOrigin ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetOrigin() string
GetOrigin returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata.Origin, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetScoreType ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetScoreType() VulnerabilityScoreType
GetScoreType returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata.ScoreType, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetScoreValue ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetScoreValue() float64
GetScoreValue returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata.ScoreValue, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetTimestamp ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetTimestamp() time.Time
GetTimestamp returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata.Timestamp, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetVulnerability ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) GetVulnerability() AllVulnMetadataTreeVulnerability
GetVulnerability returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata.Vulnerability, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) MarshalJSON ¶ added in v0.7.0
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionEdgesVulnerabilityMetadataEdgeNodeVulnerabilityMetadata) UnmarshalJSON ¶ added in v0.7.0
type VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo ¶ added in v0.7.0
type VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo struct { StartCursor *string `json:"startCursor"` EndCursor *string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` }
VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
PageInfo serves the client information about the paginated query results.
hasNextPage is true when there are results to be returned.
hasPreviousPage is true when there is a previous page to return to.
startCursor is the ID where the query started from.
endCursor is where the query ended.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo) GetEndCursor ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo) GetHasNextPage ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo) GetStartCursor ¶ added in v0.7.0
func (v *VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo) GetStartCursor() *string
GetStartCursor returns VulnerabilityMetadataListVulnerabilityMetadataListVulnerabilityMetadataConnectionPageInfo.StartCursor, and is useful for accessing the field via an interface.
type VulnerabilityMetadataResponse ¶ added in v0.7.0
type VulnerabilityMetadataResponse struct { // Returns all vulnerabilityMetadata attestations matching a filter. VulnerabilityMetadata []VulnerabilityMetadataVulnerabilityMetadata `json:"vulnerabilityMetadata"` }
VulnerabilityMetadataResponse is returned by VulnerabilityMetadata on success.
func VulnerabilityMetadata ¶ added in v0.7.0
func VulnerabilityMetadata( ctx_ context.Context, client_ graphql.Client, filter VulnerabilityMetadataSpec, ) (*VulnerabilityMetadataResponse, error)
func (*VulnerabilityMetadataResponse) GetVulnerabilityMetadata ¶ added in v0.7.0
func (v *VulnerabilityMetadataResponse) GetVulnerabilityMetadata() []VulnerabilityMetadataVulnerabilityMetadata
GetVulnerabilityMetadata returns VulnerabilityMetadataResponse.VulnerabilityMetadata, and is useful for accessing the field via an interface.
type VulnerabilityMetadataSpec ¶ added in v0.7.0
type VulnerabilityMetadataSpec struct { Id *string `json:"id"` Vulnerability *VulnerabilitySpec `json:"vulnerability"` ScoreType *VulnerabilityScoreType `json:"scoreType"` ScoreValue *float64 `json:"scoreValue"` Comparator *Comparator `json:"comparator"` Timestamp *time.Time `json:"timestamp"` Origin *string `json:"origin"` Collector *string `json:"collector"` DocumentRef *string `json:"documentRef"` }
VulnerabilityMetadataSpec allows filtering the list of VulnerabilityMetadata evidence to return in a query.
Comparator field is an enum that be set to filter the score and return a range that matches. If the comparator is not specified, it will default to equal operation.
Timestamp specified indicates filtering timestamps after the specified time
func (*VulnerabilityMetadataSpec) GetCollector ¶ added in v0.7.0
func (v *VulnerabilityMetadataSpec) GetCollector() *string
GetCollector returns VulnerabilityMetadataSpec.Collector, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataSpec) GetComparator ¶ added in v0.7.0
func (v *VulnerabilityMetadataSpec) GetComparator() *Comparator
GetComparator returns VulnerabilityMetadataSpec.Comparator, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataSpec) GetDocumentRef ¶ added in v0.7.0
func (v *VulnerabilityMetadataSpec) GetDocumentRef() *string
GetDocumentRef returns VulnerabilityMetadataSpec.DocumentRef, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataSpec) GetId ¶ added in v0.7.0
func (v *VulnerabilityMetadataSpec) GetId() *string
GetId returns VulnerabilityMetadataSpec.Id, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataSpec) GetOrigin ¶ added in v0.7.0
func (v *VulnerabilityMetadataSpec) GetOrigin() *string
GetOrigin returns VulnerabilityMetadataSpec.Origin, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataSpec) GetScoreType ¶ added in v0.7.0
func (v *VulnerabilityMetadataSpec) GetScoreType() *VulnerabilityScoreType
GetScoreType returns VulnerabilityMetadataSpec.ScoreType, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataSpec) GetScoreValue ¶ added in v0.7.0
func (v *VulnerabilityMetadataSpec) GetScoreValue() *float64
GetScoreValue returns VulnerabilityMetadataSpec.ScoreValue, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataSpec) GetTimestamp ¶ added in v0.7.0
func (v *VulnerabilityMetadataSpec) GetTimestamp() *time.Time
GetTimestamp returns VulnerabilityMetadataSpec.Timestamp, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataSpec) GetVulnerability ¶ added in v0.7.0
func (v *VulnerabilityMetadataSpec) GetVulnerability() *VulnerabilitySpec
GetVulnerability returns VulnerabilityMetadataSpec.Vulnerability, and is useful for accessing the field via an interface.
type VulnerabilityMetadataVulnerabilityMetadata ¶ added in v0.7.0
type VulnerabilityMetadataVulnerabilityMetadata struct {
AllVulnMetadataTree `json:"-"`
}
VulnerabilityMetadataVulnerabilityMetadata includes the requested fields of the GraphQL type VulnerabilityMetadata. The GraphQL type's documentation follows.
VulnerabilityMetadata is an attestation that a vulnerability has a related score associated with it.
The intent of this evidence tree predicate is to allow extensibility of vulnerability score (one-to-one mapping) with a specific vulnerability ID.
A vulnerability ID can have a one-to-many relationship with the VulnerabilityMetadata node as a vulnerability ID can have multiple scores (in various frameworks).
Examples:
scoreType: EPSSv1 scoreValue: 0.960760000
scoreType: CVSSv2 scoreValue: 5.0
scoreType: CVSSv3 scoreValue: 7.5
The timestamp is used to determine when the score was evaluated for the specific vulnerability.
func (*VulnerabilityMetadataVulnerabilityMetadata) GetCollector ¶ added in v0.7.0
func (v *VulnerabilityMetadataVulnerabilityMetadata) GetCollector() string
GetCollector returns VulnerabilityMetadataVulnerabilityMetadata.Collector, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataVulnerabilityMetadata) GetId ¶ added in v0.7.0
func (v *VulnerabilityMetadataVulnerabilityMetadata) GetId() string
GetId returns VulnerabilityMetadataVulnerabilityMetadata.Id, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataVulnerabilityMetadata) GetOrigin ¶ added in v0.7.0
func (v *VulnerabilityMetadataVulnerabilityMetadata) GetOrigin() string
GetOrigin returns VulnerabilityMetadataVulnerabilityMetadata.Origin, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataVulnerabilityMetadata) GetScoreType ¶ added in v0.7.0
func (v *VulnerabilityMetadataVulnerabilityMetadata) GetScoreType() VulnerabilityScoreType
GetScoreType returns VulnerabilityMetadataVulnerabilityMetadata.ScoreType, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataVulnerabilityMetadata) GetScoreValue ¶ added in v0.7.0
func (v *VulnerabilityMetadataVulnerabilityMetadata) GetScoreValue() float64
GetScoreValue returns VulnerabilityMetadataVulnerabilityMetadata.ScoreValue, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataVulnerabilityMetadata) GetTimestamp ¶ added in v0.7.0
func (v *VulnerabilityMetadataVulnerabilityMetadata) GetTimestamp() time.Time
GetTimestamp returns VulnerabilityMetadataVulnerabilityMetadata.Timestamp, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataVulnerabilityMetadata) GetVulnerability ¶ added in v0.7.0
func (v *VulnerabilityMetadataVulnerabilityMetadata) GetVulnerability() AllVulnMetadataTreeVulnerability
GetVulnerability returns VulnerabilityMetadataVulnerabilityMetadata.Vulnerability, and is useful for accessing the field via an interface.
func (*VulnerabilityMetadataVulnerabilityMetadata) MarshalJSON ¶ added in v0.7.0
func (v *VulnerabilityMetadataVulnerabilityMetadata) MarshalJSON() ([]byte, error)
func (*VulnerabilityMetadataVulnerabilityMetadata) UnmarshalJSON ¶ added in v0.7.0
func (v *VulnerabilityMetadataVulnerabilityMetadata) UnmarshalJSON(b []byte) error
type VulnerabilityScoreType ¶ added in v0.2.0
type VulnerabilityScoreType string
Records the type of the score being captured by the score node
const ( VulnerabilityScoreTypeCvssv2 VulnerabilityScoreType = "CVSSv2" VulnerabilityScoreTypeCvssv3 VulnerabilityScoreType = "CVSSv3" VulnerabilityScoreTypeEpssv1 VulnerabilityScoreType = "EPSSv1" VulnerabilityScoreTypeEpssv2 VulnerabilityScoreType = "EPSSv2" VulnerabilityScoreTypeCvssv31 VulnerabilityScoreType = "CVSSv31" VulnerabilityScoreTypeCvssv4 VulnerabilityScoreType = "CVSSv4" VulnerabilityScoreTypeOwasp VulnerabilityScoreType = "OWASP" VulnerabilityScoreTypeSsvc VulnerabilityScoreType = "SSVC" )
type VulnerabilitySpec ¶ added in v0.2.0
type VulnerabilitySpec struct { Id *string `json:"id"` Type *string `json:"type"` VulnerabilityID *string `json:"vulnerabilityID"` NoVuln *bool `json:"noVuln"` }
VulnerabilitySpec allows filtering the list of vulnerabilities to return in a query.
Use null to match on all values at that level. For example, to get all vulnerabilities in GUAC backend, use a VulnSpec where every field is null.
Setting the noVuln boolean true will ignore the other inputs for type and vulnerabilityID. Setting noVuln to true means retrieving only nodes where the type of the vulnerability is "novuln" and the it has an empty string for vulnerabilityID. Setting it to false filters out all results that are "novuln". Setting one of the other fields and omitting the noVuln means retrieving vulnerabilities for the corresponding type and vulnerabilityID. Omission of noVuln field will return all vulnerabilities and novuln.
func (*VulnerabilitySpec) GetId ¶ added in v0.2.0
func (v *VulnerabilitySpec) GetId() *string
GetId returns VulnerabilitySpec.Id, and is useful for accessing the field via an interface.
func (*VulnerabilitySpec) GetNoVuln ¶ added in v0.2.0
func (v *VulnerabilitySpec) GetNoVuln() *bool
GetNoVuln returns VulnerabilitySpec.NoVuln, and is useful for accessing the field via an interface.
func (*VulnerabilitySpec) GetType ¶ added in v0.2.0
func (v *VulnerabilitySpec) GetType() *string
GetType returns VulnerabilitySpec.Type, and is useful for accessing the field via an interface.
func (*VulnerabilitySpec) GetVulnerabilityID ¶ added in v0.2.0
func (v *VulnerabilitySpec) GetVulnerabilityID() *string
GetVulnerabilityID returns VulnerabilitySpec.VulnerabilityID, and is useful for accessing the field via an interface.