Versions in this module Expand all Collapse all v0 v0.4.19 Nov 22, 2023 Changes in this version type Application + Libraries Packages + type ArtifactReference struct + BlobIDs []string + CycloneDX *CycloneDX + ID string + ImageMetadata ImageMetadata + Name string + Type ArtifactType + type ArtifactType string + const ArtifactAWSAccount + const ArtifactContainerImage + const ArtifactCycloneDX + const ArtifactFilesystem + const ArtifactRepository + const ArtifactSPDX + const ArtifactVM + type Component struct + BOMRef string + MIMEType string + Name string + PackageURL string + Type ComponentType + Version string + type ComponentType string type ConfigType + const TerraformPlan + type CycloneDX struct + BOMFormat string + Components []Component + Metadata Metadata + SerialNumber string + SpecVersion SpecVersion + Version int + type ImageMetadata struct + ConfigFile v1.ConfigFile + DiffIDs []string + ID string + RepoDigests []string + RepoTags []string + type Metadata struct + Component Component + Timestamp string type Misconfiguration + Exceptions MisconfResults type Package + Ref string + type SpecVersion int + type SrcPackage struct + BinaryNames []string + Name string + Version string v0.4.18 Nov 16, 2023 v0.4.17 Nov 16, 2023 v0.0.3 Dec 4, 2024 v0.0.2 Dec 4, 2024 v0.0.1 Dec 4, 2024 Changes in this version + const ArtifactJSONSchemaVersion + const BlobJSONSchemaVersion + const CargoLock + const CargoToml + const CocoaPodsLock + const ComposerInstalledJson + const ComposerJson + const ComposerLock + const ConanLock + const CondaEnvYaml + const CondaEnvYml + const GemfileLock + const GoMod + const GoSum + const JuliaManifest + const JuliaProject + const MavenPom + const MixLock + const NpmPkg + const NpmPkgLock + const NuGetPkgsConfig + const NuGetPkgsLock + const PipRequirements + const PipfileLock + const PnpmLock + const PoetryLock + const PubSpecLock + const PyProject + const SbtLock + const SwiftResolved + const SystemFileFilteringPostHandler + const SystemFileFilteringPostHandlerPriority + const UnpackagedPostHandler + const UnpackagedPostHandlerPriority + const YarnLock + var AggregatingTypes = []LangType + var AllImageSources = ImageSources + var ErrNoRpmCmd = xerrors.New("no rpm command") + var InvalidURLPattern = xerrors.New("invalid url pattern") + var Relationships = []Relationship + type Application struct + FilePath string + Packages Packages + Type LangType + type ArtifactDetail struct + Applications []Application + CustomResources []CustomResource + ImageConfig ImageConfigDetail + Licenses []LicenseFile + Misconfigurations []Misconfiguration + OS OS + Packages Packages + Repository *Repository + Secrets []Secret + func (a *ArtifactDetail) ToBlobInfo() BlobInfo + type ArtifactInfo struct + Architecture string + Created time.Time + DockerVersion string + HistoryPackages Packages + Misconfiguration *Misconfiguration + OS string + SchemaVersion int + Secret *Secret + type BlobInfo struct + Applications []Application + BuildInfo *BuildInfo + CreatedBy string + CustomResources []CustomResource + DiffID string + Digest string + Licenses []LicenseFile + Misconfigurations []Misconfiguration + OS OS + OpaqueDirs []string + PackageInfos []PackageInfo + Repository *Repository + SchemaVersion int + Secrets []Secret + WhiteoutFiles []string + type BuildInfo struct + Arch string + ContentSets []string + Nvr string + type CauseMetadata struct + Code Code + EndLine int + Occurrences []Occurrence + Provider string + Resource string + Service string + StartLine int + type Code struct + Lines []Line + type ConfigType = TargetType + const AzureARM + const Cloud + const CloudFormation + const Dockerfile + const Helm + const JSON + const Kubernetes + const Terraform + const TerraformPlanJSON + const TerraformPlanSnapshot + const YAML + type ContainerdOptions struct + type Credential struct + Password string + Username string + type CustomResource struct + Data any + FilePath string + Layer Layer + Type string + type Dependencies []Dependency + func (deps Dependencies) Len() int + func (deps Dependencies) Less(i, j int) bool + func (deps Dependencies) Swap(i, j int) + type Dependency struct + DependsOn []string + ID string + type DetectionPriority string + const PriorityComprehensive + const PriorityPrecise + type DockerOptions struct + Host string + type ExternalRef struct + Type RefType + URL string + type File struct + Content []byte + Path string + Type string + type HandlerType string + type Image interface + type ImageConfigDetail struct + Misconfiguration *Misconfiguration + Packages []Package + Secret *Secret + type ImageExtension interface + ID func() (string, error) + Name func() string + RepoDigests func() []string + RepoTags func() []string + type ImageOptions struct + ContainerdOptions ContainerdOptions + DockerOptions DockerOptions + ImageSources ImageSources + PodmanOptions PodmanOptions + RegistryOptions RegistryOptions + type ImageSource string + const ContainerdImageSource + const DockerImageSource + const PodmanImageSource + const RemoteImageSource + type ImageSources []ImageSource + type LangType = TargetType + const AKS + const Bitnami + const Bundler + const Cargo + const Cocoapods + const Composer + const ComposerVendor + const Conan + const CondaEnv + const CondaPkg + const DotNetCore + const EKS + const GKE + const GemSpec + const GoBinary + const GoModule + const Gradle + const Hex + const Jar + const JavaScript + const Julia + const K8sUpstream + const NodePkg + const Npm + const NuGet + const OCP + const PackagesProps + const Pip + const Pipenv + const Pnpm + const Poetry + const Pom + const Pub + const PythonPkg + const RKE + const RustBinary + const Sbt + const Swift + const Yarn + type Layer struct + CreatedBy string + DiffID string + Digest string + type LicenseCategory string + const CategoryForbidden + const CategoryNotice + const CategoryPermissive + const CategoryReciprocal + const CategoryRestricted + const CategoryUnencumbered + const CategoryUnknown + type LicenseFile struct + FilePath string + Findings LicenseFindings + Layer Layer + PkgName string + Type LicenseType + type LicenseFinding struct + Category LicenseCategory + Confidence float64 + Link string + Name string + type LicenseFindings []LicenseFinding + func (findings LicenseFindings) Len() int + func (findings LicenseFindings) Less(i, j int) bool + func (findings LicenseFindings) Names() []string + func (findings LicenseFindings) Swap(i, j int) + type LicenseType string + const LicenseTypeDpkg + const LicenseTypeFile + const LicenseTypeHeader + type Line struct + Annotation string + Content string + FirstCause bool + Highlighted string + IsCause bool + LastCause bool + Number int + Truncated bool + type Location struct + EndLine int + StartLine int + type Locations []Location + func (locs Locations) Len() int + func (locs Locations) Less(i, j int) bool + func (locs Locations) Swap(i, j int) + type MisconfResult struct + Message string + Namespace string + Query string + Traces []string + type MisconfResults []MisconfResult + func (r MisconfResults) Len() int + func (r MisconfResults) Less(i, j int) bool + func (r MisconfResults) Swap(i, j int) + type Misconfiguration struct + Failures MisconfResults + FilePath string + FileType ConfigType + Layer Layer + Successes MisconfResults + Warnings MisconfResults + func ToMisconfigurations(misconfs map[string]Misconfiguration) []Misconfiguration + type OS struct + Eosl bool + Extended bool + Family OSType + Name string + func (o *OS) Detected() bool + func (o *OS) Merge(newOS OS) + type OSType = TargetType + const Alma + const Alpine + const Amazon + const Azure + const CBLMariner + const CentOS + const Chainguard + const Debian + const Fedora + const OpenSUSE + const OpenSUSELeap + const OpenSUSETumbleweed + const Oracle + const Photon + const RedHat + const Rocky + const SLEMicro + const SLES + const Ubuntu + const Wolfi + type Occurrence struct + Filename string + Location Location + Resource string + type Package struct + Arch string + BuildInfo *BuildInfo + DependsOn []string + Dev bool + Digest digest.Digest + Epoch int + ExternalReferences []ExternalRef + FilePath string + ID string + Identifier PkgIdentifier + Indirect bool + InstalledFiles []string + Layer Layer + Licenses []string + Locations Locations + Maintainer string + Modularitylabel string + Name string + Relationship Relationship + Release string + SrcEpoch int + SrcName string + SrcRelease string + SrcVersion string + Version string + func (pkg *Package) Empty() bool + type PackageInfo struct + FilePath string + Packages Packages + type Packages []Package + func (pkgs Packages) Len() int + func (pkgs Packages) Less(i, j int) bool + func (pkgs Packages) ParentDeps() map[string]Packages + func (pkgs Packages) Swap(i, j int) + type PkgIdentifier struct + BOMRef string + PURL *packageurl.PackageURL + UID string + func (id *PkgIdentifier) Empty() bool + func (id *PkgIdentifier) Match(s string) bool + func (id *PkgIdentifier) UnmarshalJSON(data []byte) error + func (id PkgIdentifier) MarshalJSON() ([]byte, error) + type Platform struct + Force bool + type PodmanOptions struct + Host string + type PolicyInputOption struct + Combine bool + Selectors []PolicyInputSelector + type PolicyInputSelector struct + Type string + type PolicyMetadata struct + AVDID string + Description string + ID string + RecommendedActions string + References []string + Severity string + Title string + Type string + type RefType string + const RefOther + const RefVCS + type RegistryOptions struct + AWSAccessKey string + AWSRegion string + AWSSecretKey string + AWSSessionToken string + ClientCert []byte + ClientKey []byte + Credentials []Credential + GCPCredPath string + Insecure bool + Platform Platform + RegistryToken string + type Relationship int + const RelationshipDirect + const RelationshipIndirect + const RelationshipRoot + const RelationshipUnknown + const RelationshipWorkspace + func NewRelationship(s string) (Relationship, error) + func (r *Relationship) UnmarshalJSON(data []byte) error + func (r Relationship) MarshalJSON() ([]byte, error) + func (r Relationship) String() string + type Repository struct + Family OSType + Release string + type Secret struct + FilePath string + Findings []SecretFinding + type SecretFinding struct + Category SecretRuleCategory + Code Code + EndLine int + Layer Layer + Match string + RuleID string + Severity string + StartLine int + Title string + type SecretRuleCategory string + type TargetType string