syft/test/cli
Alexandr Hacicheant 96ee2db875
feat: Add Wordpress cataloger (#2218)
* Closes #1911 Wordpress cataloger

Signed-off-by: disc <a.hacicheant@gmail.com>

* Fixed a few unit tests and static analizer notices

Signed-off-by: disc <a.hacicheant@gmail.com>

* Updated `README.md`

Signed-off-by: disc <a.hacicheant@gmail.com>

* Fixed `golangci-lint` notices
Added integration test for `wordpress-plugin`

Signed-off-by: disc <a.hacicheant@gmail.com>

* Fixed `gosimports` notices

Signed-off-by: disc <a.hacicheant@gmail.com>

* Updated `json schema` version

Signed-off-by: disc <a.hacicheant@gmail.com>

* Fixed CLI tests, increased expected package count

Signed-off-by: disc <a.hacicheant@gmail.com>

* Read first 4Kb of a plugins file's content

Signed-off-by: disc <a.hacicheant@gmail.com>

* replace JSON schema version

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* change wording on source info for wordpress packages

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* Minor changes after a huge refactoring

Signed-off-by: disc <a.hacicheant@gmail.com>

* Removed unused files

Signed-off-by: disc <a.hacicheant@gmail.com>

* Updated schema

Signed-off-by: disc <a.hacicheant@gmail.com>

* Fixed integration tests

Signed-off-by: disc <a.hacicheant@gmail.com>

* fix integration tests

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* Renamed `metadata.Name` to `metadata.PluginInstallDirectory`

Signed-off-by: disc <a.hacicheant@gmail.com>

* rename fields to be compliant with json conventions

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

---------

Signed-off-by: disc <a.hacicheant@gmail.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
2024-02-14 16:03:25 +00:00
..
test-fixtures Use the json schema as input for templating (#2542) 2024-01-25 14:00:35 +00:00
all_formats_convertible_test.go Keep original FileInfo persisted on file.Metadata structs (#1794) 2023-05-19 14:21:10 +00:00
all_formats_expressible_test.go Internalize majority of cmd package (#2533) 2024-01-24 13:29:51 -05:00
convert_cmd_test.go Internalize majority of cmd package (#2533) 2024-01-24 13:29:51 -05:00
cyclonedx_valid_test.go Replace packages command with scan (#2446) 2024-01-04 16:56:57 +00:00
dir_root_scan_regression_test.go Add Linux Kernel cataloger (#1694) 2023-04-14 14:33:36 -04:00
json_schema_test.go Replace packages command with scan (#2446) 2024-01-04 16:56:57 +00:00
root_cmd_test.go Replace packages command with scan (#2446) 2024-01-04 16:56:57 +00:00
scan_cmd_test.go feat: Add Wordpress cataloger (#2218) 2024-02-14 16:03:25 +00:00
spdx_json_schema_test.go Replace packages command with scan (#2446) 2024-01-04 16:56:57 +00:00
spdx_tooling_validation_test.go Replace packages command with scan (#2446) 2024-01-04 16:56:57 +00:00
symlink_test.go Replace packages command with scan (#2446) 2024-01-04 16:56:57 +00:00
trait_assertions_test.go Re-introduce linux kernel cataloger (#2526) 2024-01-22 16:31:41 +00:00
utils_test.go fix: SPDX license values and download location (#2007) 2023-08-08 15:55:50 -04:00
version_cmd_test.go fix: ensure version output to stdout (#2621) 2024-02-09 20:59:25 +00:00