Versions in this module Expand all Collapse all v0 v0.0.3 May 31, 2024 Changes in this version + const Ansible + const ArtifactJSONSchemaVersion + const AzureARM + const BlobJSONSchemaVersion + const Bundler + const Cargo + const CargoLock + const CargoToml + const Cloud + const CloudFormation + const CocoaPodsLock + const Cocoapods + const Composer + const ComposerJson + const ComposerLock + const Conan + const ConanLock + const CondaPkg + const Dockerfile + const DotNetCore + const GemSpec + const GemfileLock + const GoBinary + const GoMod + const GoModule + const GoSum + const Gradle + const Helm + const Hex + const JSON + const Jar + const JavaScript + const Kubernetes + const License + const MavenPom + const MixLock + const NodePkg + const Npm + const NpmPkg + const NpmPkgLock + const NuGet + const NuGetPkgsConfig + const NuGetPkgsLock + const Pip + const PipRequirements + const Pipenv + const PipfileLock + const Pnpm + const PnpmLock + const Poetry + const PoetryLock + const Pom + const Pub + const PubSpecLock + const PyProject + const PythonPkg + const RustBinary + const SystemFileFilteringPostHandler + const SystemFileFilteringPostHandlerPriority + const Terraform + const TerraformPlan + const UnpackagedPostHandler + const UnpackagedPostHandlerPriority + const YAML + const Yarn + const YarnLock + var AllImageSources = ImageSources + var ErrNoRpmCmd = xerrors.New("no rpm command") + var InvalidURLPattern = xerrors.New("invalid url pattern") + type Application struct + FilePath string + Libraries []Package + Type string + 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 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 ArtifactRemoteRepository + const ArtifactSPDX + const ArtifactVM + 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 + Provider string + Resource string + Service string + StartLine int + type Code struct + Lines []Line + type Component struct + BOMRef string + MIMEType string + Name string + PackageURL string + Type ComponentType + Version string + type ComponentType string + type ContainerdOptions struct + type Credential struct + Password string + Username string + type CustomResource struct + Data interface{} + FilePath string + Layer Layer + Type string + type CycloneDX struct + BOMFormat string + Components []Component + Metadata Metadata + SerialNumber string + SpecVersion SpecVersion + Version int + type DockerOptions struct + Host 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 ImageMetadata struct + ConfigFile v1.ConfigFile + DiffIDs []string + ID string + RepoDigests []string + RepoTags []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 + func (runtimes ImageSources) StringSlice() []string + 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) 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 Metadata struct + Component Component + Timestamp string + 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 + Exceptions MisconfResults + Failures MisconfResults + FilePath string + FileType string + Layer Layer + Successes MisconfResults + Warnings MisconfResults + func ToMisconfigurations(misconfs map[string]Misconfiguration) []Misconfiguration + type OS struct + Eosl bool + Extended bool + Family string + Name string + func (o *OS) Detected() bool + func (o *OS) Merge(new OS) + type Package struct + Arch string + BuildInfo *BuildInfo + DependsOn []string + Digest digest.Digest + Epoch int + FilePath string + ID string + Indirect bool + Layer Layer + Licenses []string + Locations []Location + Maintainer string + Modularitylabel string + Name string + Ref string + 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 Platform struct + Force bool + type PodmanOptions struct + 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 RegistryOptions struct + AWSAccessKey string + AWSRegion string + AWSSecretKey string + AWSSessionToken string + Credentials []Credential + GCPCredPath string + Insecure bool + Platform Platform + RegistryToken string + type Repository struct + Family string + 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 SpecVersion int + type SrcPackage struct + BinaryNames []string + Name string + Version string