-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🧹 fix cli tests Signed-off-by: Ivan Milchev <[email protected]> * run tests if ct files change Signed-off-by: Ivan Milchev <[email protected]> * fix vuln ct test Signed-off-by: Ivan Milchev <[email protected]> --------- Signed-off-by: Ivan Milchev <[email protected]>
- Loading branch information
Showing
3 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ on: | |
paths: | ||
- '**.go' | ||
- '**.mod' | ||
- '**.ct' | ||
- 'go.sum' | ||
- '.github/workflows/pr-test-lint.yml' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,28 @@ | ||
$ cnspec vuln --help | ||
Scans a target for vulnerabilities | ||
|
||
Usage: | ||
cnspec vuln [command] | ||
|
||
Available Commands: | ||
sbom Check for vulnerabilities read SBOM file on disk | ||
|
||
Flags: | ||
--asset-name string User-override for the asset name | ||
-h, --help help for vuln | ||
--inventory-ansible Set the inventory format to Ansible. | ||
--inventory-domainlist Set the inventory format to domain list. | ||
--inventory-file string Set the path to the inventory file. | ||
-j, --json Run the query and return the object in a JSON structure. | ||
-o, --output string Set output format: compact, csv, full, json, json-v1, json-v2, junit, report, summary, yaml, yaml-v1, yaml-v2 (default "full") | ||
--platform-id string Select a specific target asset by providing its platform ID. | ||
--props stringToString Custom values for properties (default []) | ||
|
||
Global Flags: | ||
--api-proxy string Set proxy for communications with Mondoo API | ||
--auto-update Enable automatic provider installation and update (default true) | ||
--config string Set config file path (default $HOME/.config/mondoo/mondoo.yml) | ||
--log-level string Set log level: error, warn, info, debug, trace (default "info") | ||
-v, --verbose Enable verbose output | ||
|
||
Use "cnspec vuln [command] --help" for more information about a command. |