Syft can generate a SBOM from a variety of sources:
118
116
skipped 22 lines
141
139
registry:yourrepo/yourimage:tag pull image directly from a registry (no container runtime required)
142
140
```
143
141
144
-
#### Default Cataloger Configuration by scan type
142
+
If an image source is not provided and cannot be detected from the given reference it is assumed the image should be pulled from the Docker daemon.
143
+
If docker is not present, then the Podman daemon is attempted next, followed by reaching out directly to the image registry last.
144
+
145
+
146
+
This default behavior can be overridden with the `default-image-pull-source` configuration option (See [Configuration](https://github.com/anchore/syft#configuration) for more details).
Outputs []string `yaml:"output" json:"output" mapstructure:"output"` // -o, the format to use for output
45
-
OutputTemplatePath string `yaml:"output-template-path" json:"output-template-path" mapstructure:"output-template-path"` // -t template file to use for output
46
-
File string `yaml:"file" json:"file" mapstructure:"file"` // --file, the file to write report output to
47
-
CheckForAppUpdate bool `yaml:"check-for-app-update" json:"check-for-app-update" mapstructure:"check-for-app-update"` // whether to check for an application update on start up or not
48
-
Dev development `yaml:"dev" json:"dev" mapstructure:"dev"`
49
-
Log logging `yaml:"log" json:"log" mapstructure:"log"` // all logging-related options
Outputs []string `yaml:"output" json:"output" mapstructure:"output"` // -o, the format to use for output
45
+
OutputTemplatePath string `yaml:"output-template-path" json:"output-template-path" mapstructure:"output-template-path"` // -t template file to use for output
46
+
File string `yaml:"file" json:"file" mapstructure:"file"` // --file, the file to write report output to
47
+
CheckForAppUpdate bool `yaml:"check-for-app-update" json:"check-for-app-update" mapstructure:"check-for-app-update"` // whether to check for an application update on start up or not
48
+
Dev development `yaml:"dev" json:"dev" mapstructure:"dev"`
49
+
Log logging `yaml:"log" json:"log" mapstructure:"log"` // all logging-related options