Alex Goodman
4a2d1d7225
Port cyclonedx presenter to format object ( #589 )
...
* add new cyclonedx format object
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove cyclonedx presenter
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove cyclonedx presenter call
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove dependence on golden images for format tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* wire up new formt + rename all-presenters ref
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add CLI test to ensure that all formats can be expressed as report output
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add cyclonedx version and encoding format to package name
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* optionally preserve format snapshot images
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix linting + text unit tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-29 10:17:03 -04:00
Christopher Angelo Phillips
3286a4d4cc
update docker manifest tagging ( #600 )
...
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
v0.28.0
2021-10-28 15:41:39 -04:00
Christopher Angelo Phillips
0ff7013382
update manifest to use Tag over Version
...
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-10-28 15:05:34 -04:00
Christopher Angelo Phillips
71708e5bf8
update goreleaser with correct tag information ( #598 )
...
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-10-28 13:37:22 -04:00
Jonas Galvão Xavier
dd024298eb
stop hidding command from help doc ( #596 )
...
Signed-off-by: Jonas Galvão Xavier <jonas.agx@gmail.com >
2021-10-27 13:49:04 -07:00
Christopher Angelo Phillips
1c63943055
Add arm64 image support and Darwin M1 support to .goreleaser.yaml ( #591 )
...
* update support arm64
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* small update syntax
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* restore release command
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* add docker manifests
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-10-26 09:42:35 -04:00
Alex Goodman
ff5fa2dc1d
pull in space suffix fix ( #587 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-25 10:14:17 -04:00
Alex Goodman
fb588ff500
replace table presenter with format object ( #586 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-24 08:09:27 -04:00
Alex Goodman
d5b425e1b5
force exiting the etui upon worker error ( #583 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-22 13:44:50 -04:00
Dan Luhring
7b319e32bb
Remove webinar announcement ( #582 )
...
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
2021-10-22 07:48:36 -04:00
Alex Goodman
89242e6ed3
bump chronicle to v0.2.0-beta ( #581 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
v0.27.0
2021-10-21 18:34:17 +00:00
Alex Goodman
4bf08e6b6d
swap out the changelog generator for chronicle tool ( #580 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-21 13:37:13 -04:00
Alex Goodman
87ce9fff06
swap go binary parsing warning logging entry ( #579 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-21 17:03:07 +00:00
Christopher Angelo Phillips
10fa8dc7c9
Add windows support ( #548 )
...
* update build tags, ui support, and stereoscope, and release for windows support
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-10-21 12:49:36 -04:00
Alex Goodman
560b05c2c9
Introduce new format pattern + port json processing ( #550 )
...
* add new format pattern
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add syftjson format
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add internal formats helper
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add SBOM encode/decode to lib API
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove json presenter + update presenter tests to use common utils
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove presenter format enum type + add formats shim in presenter helper
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add MustCPE helper for tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update usage of format enum
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add test fixtures for encode/decode tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix integration test
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* migrate format detection to use reader
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* address review comments
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-20 21:36:34 +00:00
Alex Goodman
5e315c0f17
Disable ETUI for piped input ( #571 )
...
* fixed piped input
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* allow pipedinput helper to raise an error
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* factor out verbosity check to function
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-20 12:40:52 -04:00
Alex Goodman
6f3fa494d7
Show help text when no args are given ( #573 )
...
* show help text when no args are given
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* repurpose the input args validation function
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* ensure app does not check for update in cli tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-20 09:51:05 -04:00
Alex Goodman and Christopher Angelo Phillips
a82463574b
Rollback goreleaser version ( #570 )
...
* rollback goreleaser version
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update go sum
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
Co-authored-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-10-19 12:01:51 -04:00
Alex Goodman
cbdb72ea22
remove unnecessary codeql checkout from second parent commit ( #567 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-18 13:31:19 -04:00
Christopher Angelo Phillips
7a005fec06
update to point at new script for new release ( #551 )
...
* update to point at local script release
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
v0.26.0
2021-10-15 13:26:34 -04:00
Dan Luhring
c0f55866ec
Announce upcoming webinar ( #553 )
...
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
2021-10-15 12:13:28 -04:00
Christopher Angelo Phillips
9ea6330ebc
update split in py package_cataloger to cap at 2 ( #549 )
...
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-10-14 12:32:06 -04:00
Christopher Angelo Phillips
7d13fbf0d4
540 add additional go package metadata ( #546 )
...
* update with distinct golang metadata types
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-10-13 11:00:28 -04:00
Dan Luhring
10368f6fe8
Add Syft logo ( #545 )
...
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
2021-10-11 21:06:27 +00:00
Josh Bressers
f2840029d1
Allow Syft to build with podman ( #537 )
...
* Don't check the Built-By flag
Signed-off-by: Josh Bressers <josh@bress.net >
* Remove alpine pinning to resolve conflict with main
Signed-off-by: Josh Bressers <josh@bress.net >
2021-10-11 12:39:34 -04:00
Christopher Angelo Phillips
b25f5b664b
(464) - remove mod and cargo from image cataloger ( #539 )
...
* remove mod and cargo from image cataloger
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* update test error messages for clear failures
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
v0.25.0
2021-10-07 15:18:20 -04:00
Christopher Angelo Phillips and Alex Goodman
3462e18af3
478 identify go binaries and extract mod information ( #534 )
...
* add query by MIME type to source.FileResolver
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* import stereoscope lib changes to find mime type
- add bin cataloger
- add bin parser
- add mime type go utils
- import new resolver
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* add go std library code to unpack bin
- keep them in their own (original) files
- add note for "this code was copied from"
- comment the lines the required changing
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
Co-authored-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-07 12:16:38 -04:00
Alex Goodman
05ac3f1eff
split application configuration parsing to multiple methods ( #532 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-06 09:48:53 -04:00
Alex Goodman
a000a2926b
update linter + fix whitespace ( #536 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-06 13:46:55 +00:00
Alex Goodman
9189ed68df
Add query by MIME type to source.FileResolver ( #529 )
...
* add query by MIME type to source.FileResolver
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* pull in stereoscope MIME type feature
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-05 20:50:53 -04:00
Alex Goodman
ba1cd8d753
specify optional file.Digests instances to abbreviate json output ( #531 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-05 15:35:28 -04:00
Alex Goodman
dd2c178085
add --file option to readme ( #533 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-05 15:34:32 -04:00
Alex Goodman
1b23a94015
Add option to output SBOM report to a file ( #530 )
...
* add output to file option
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* log errors on close of the report destination
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove file option from persistent args
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update file option comments and logging
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* allow for multiple UI fallback options
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update UI select signatures + tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-05 14:47:24 -04:00
Christopher Angelo Phillips
f47a6a88b1
( #495 ) Update documentNamespace uniqueness for spdx-json output ( #528 )
...
* add unique namespace identifier
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-10-05 13:10:49 -04:00
Dan Luhring
4b7217f052
Improve documentation ( #525 )
...
* Make installation methods more obvious
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
* Create linkable section headers
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
* Add badge for joining Slack
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
* Document requirement for signed commits
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
2021-10-04 09:29:27 -04:00
Christopher Angelo Phillips
5e4b668e5a
497 stable sorted CPE array (JSON and SPDX) ( #522 )
...
* add small sorting change to our specificity
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-10-01 15:31:17 -04:00
Dan Luhring
6480f06173
Update description for Slack link ( #523 )
...
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
2021-09-30 21:43:43 +00:00
Christopher Angelo Phillips
75aed5f3ec
( #460 ) Extend license mapping for common SPDX license names ( #509 )
...
Fixes #460
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-09-30 16:54:36 -04:00
Jamie Magee
270fbb7665
Add mariner to distro types ( #520 )
...
Signed-off-by: Jamie Magee <jamie.magee@gmail.com >
2021-09-30 13:20:15 -04:00
Alex Goodman and Christopher Angelo Phillips
0395c47445
Add vendor + product known good CPE field values ( #517 )
...
* add better infrastructure around CPE candidate additions
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add test cases for CPE candidate additions
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* small ergonomic updates
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* clean java OSGI directives from group ID
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* unquote CPE candidate field values (double quotes only)
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add remaining CPE vendor & product additions (+ tests)
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
Co-authored-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
v0.24.1
2021-09-27 18:31:59 -04:00
Keith Zantow
e5caba043d
Add SBOM to releases ( #500 )
...
Signed-off-by: Keith Zantow <kzantow@gmail.com >
2021-09-24 20:21:23 -04:00
Dan Luhring
d1ac476986
Add announcement for KubeCon meetup ( #515 )
...
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
2021-09-24 11:42:06 -04:00
Dan Luhring
dd23d49986
Prevent invalid CPE field values ( #514 )
...
* Fix CPE set comparison mismatch
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
* Add failing test to assert CPE generation excludes URLs
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
* Add removeByCondition method to fieldCandidateSet
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
* Prevent invalid CPE values for products and vendors
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
* Introduce removeWhere and rename filter to condition
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
* Refactor fieldCandidateSet and condition logic
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
* Move CPE parsing filter to end of CPE generation
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
2021-09-24 09:23:58 -04:00
Alex Goodman
6d4d083acc
Filter out CPE product candidates that are asterisks ( #513 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
v0.24.0
2021-09-22 20:55:03 -04:00
Dan Luhring
316d4341c8
Use Anchore fork of packageurl lib without replace directive ( #512 )
...
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
2021-09-22 15:04:09 -04:00
Christopher Angelo Phillips
3e8afc5274
update log file permissions to 0644 ( #511 )
...
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-09-21 10:34:10 -04:00
Christopher Angelo Phillips
93d00dc340
Populate Files and Relationship fields for spdx-json output ( #507 )
...
* update spdx22 Document model to include relationships field
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* update document and relationship to match current JSON spec
https://github.com/spdx/spdx-spec/blob/development/v2.2.1/schemas/spdx-schema.json
https://github.com/spdx/spdx-spec/pull/528
https://github.com/spdx/spdx-spec/pull/528#issuecomment-904180177
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* update File struct based on SPDX schema
Required fields:
[ "SPDXID", "fileName", "copyrightText", "licenseConcluded" ]
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-09-17 09:06:12 -04:00
Alex Goodman
9fe1da8ee6
update go-rpmdb and restruct gomod references ( #506 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-09-14 14:51:19 -04:00
Christopher Angelo Phillips
95df7dd035
Add command examples to release documentation ( #503 )
...
* update release document with commands run
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* small edits
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-09-14 09:08:37 -04:00
Alex Goodman
ddfc8e20c0
Revert "disable docker releases (workaround) ( #493 )" ( #501 )
...
This reverts commit 06dcd3261d .
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com >
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
v0.23.0
2021-09-13 13:06:23 -04:00