syft/test/cli
Alex Goodman 9ec09add67
Add secrets search capability (#367)
* add initial secrets cataloger

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* update ETUI elements with new catalogers (file metadata, digests, and secrets)

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* update secrets cataloger to read full contents into memory for searching

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* quick prototype of parallelization secret regex search

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* quick prototype with single aggregated regex

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* quick prototype for secret search line-by-line

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* quick prototype hybrid secrets search

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* add secrets cataloger with line strategy

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* adjust verbiage towards SearchResults instead of Secrets + add tests

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* update json schema with secrets cataloger results

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* address PR comments

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* update readme with secrets config options

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* ensure file catalogers call AllLocations once

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
2021-04-01 21:34:15 +00:00
..
test-fixtures Add secrets search capability (#367) 2021-04-01 21:34:15 +00:00
json_schema_test.go add cli testing 2021-03-22 10:56:18 -04:00
packages_cmd_test.go improve config parsing + fix command deprecation warning 2021-03-22 10:58:09 -04:00
power_user_cmd_test.go Add secrets search capability (#367) 2021-04-01 21:34:15 +00:00
root_cmd_test.go simplify command alias logic + remove deprecation warning for root command 2021-03-22 15:25:04 -04:00
trait_assertions_test.go add cli testing 2021-03-22 10:56:18 -04:00
utils_test.go improve config parsing + fix command deprecation warning 2021-03-22 10:58:09 -04:00