Skip to content

Commit dac327d

Browse files
committed
rename command to move
Signed-off-by: Dentrax <furkan.turkal@chainguard.dev>
1 parent 3eeddb4 commit dac327d

File tree

74 files changed

+871
-103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+871
-103
lines changed

docs/cmd/wolfictl.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ A CLI helper for developing Wolfi
99
### Options
1010

1111
```
12-
-h, --help help for wolfictl
12+
-h, --help help for wolfictl
13+
--log-level string log level (e.g. debug, info, warn, error) (default "info")
14+
--log-policy strings log policy (e.g. builtin:stderr, /tmp/log/foo) (default [builtin:stderr])
1315
```
1416

1517
### SEE ALSO
@@ -18,13 +20,15 @@ A CLI helper for developing Wolfi
1820
* [wolfictl apk](wolfictl_apk.md) -
1921
* [wolfictl build](wolfictl_build.md) -
2022
* [wolfictl bump](wolfictl_bump.md) - Bumps the epoch field in melange configuration files
23+
* [wolfictl bundle](wolfictl_bundle.md) -
2124
* [wolfictl check](wolfictl_check.md) - Subcommands used for CI checks in Wolfi
2225
* [wolfictl dot](wolfictl_dot.md) - Generate graphviz .dot output
2326
* [wolfictl gh](wolfictl_gh.md) - Commands used to interact with GitHub
2427
* [wolfictl image](wolfictl_image.md) - (Experimental) Commands for working with container images that use Wolfi
25-
* [wolfictl index](wolfictl_index.md) -
2628
* [wolfictl lint](wolfictl_lint.md) - Lint the code
29+
* [wolfictl ruby](wolfictl_ruby.md) - Work with ruby packages
2730
* [wolfictl scan](wolfictl_scan.md) - Scan a package for vulnerabilities
31+
* [wolfictl test](wolfictl_test.md) -
2832
* [wolfictl text](wolfictl_text.md) - Print a sorted list of downstream dependent packages
2933
* [wolfictl update](wolfictl_update.md) - Proposes melange package update(s) via a pull request
3034
* [wolfictl version](wolfictl_version.md) - Prints the version

docs/cmd/wolfictl_advisory.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,25 @@ Commands for consuming and maintaining security advisory data
1414
-h, --help help for advisory
1515
```
1616

17+
### Options inherited from parent commands
18+
19+
```
20+
--log-level string log level (e.g. debug, info, warn, error) (default "info")
21+
--log-policy strings log policy (e.g. builtin:stderr, /tmp/log/foo) (default [builtin:stderr])
22+
```
23+
1724
### SEE ALSO
1825

1926
* [wolfictl](wolfictl.md) - A CLI helper for developing Wolfi
2027
* [wolfictl advisory alias](wolfictl_advisory_alias.md) - Commands for discovering vulnerability aliases
28+
* [wolfictl advisory copy](wolfictl_advisory_copy.md) - Copy a package's advisories into a new package.
2129
* [wolfictl advisory create](wolfictl_advisory_create.md) - Create a new advisory
2230
* [wolfictl advisory diff](wolfictl_advisory_diff.md) - See the advisory data differences introduced by your local changes
2331
* [wolfictl advisory discover](wolfictl_advisory_discover.md) - Automatically create advisories by matching distro packages to vulnerabilities in NVD
32+
* [wolfictl advisory guide](wolfictl_advisory_guide.md) - Launch an interactive guide to help you enter advisory data for a package
2433
* [wolfictl advisory list](wolfictl_advisory_list.md) - List advisories for specific packages, vulnerabilities, or the entire data set
34+
* [wolfictl advisory move](wolfictl_advisory_move.md) - Move a package's advisories into a new package.
35+
* [wolfictl advisory osv](wolfictl_advisory_osv.md) - Build an OSV dataset from Chainguard advisory data
2536
* [wolfictl advisory secdb](wolfictl_advisory_secdb.md) - Build an Alpine-style security database from advisory data
2637
* [wolfictl advisory update](wolfictl_advisory_update.md) - Update an existing advisory with a new event
2738
* [wolfictl advisory validate](wolfictl_advisory_validate.md) - Validate the state of advisory data

docs/cmd/wolfictl_advisory_alias.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ Commands for discovering vulnerability aliases
1212
-h, --help help for alias
1313
```
1414

15+
### Options inherited from parent commands
16+
17+
```
18+
--log-level string log level (e.g. debug, info, warn, error) (default "info")
19+
--log-policy strings log policy (e.g. builtin:stderr, /tmp/log/foo) (default [builtin:stderr])
20+
```
21+
1522
### SEE ALSO
1623

1724
* [wolfictl advisory](wolfictl_advisory.md) - Commands for consuming and maintaining security advisory data

docs/cmd/wolfictl_advisory_alias_discover.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ than attempting any kind of merge of the separate advisories.
4848
-p, --package strings packages to operate on
4949
```
5050

51+
### Options inherited from parent commands
52+
53+
```
54+
--log-level string log level (e.g. debug, info, warn, error) (default "info")
55+
--log-policy strings log policy (e.g. builtin:stderr, /tmp/log/foo) (default [builtin:stderr])
56+
```
57+
5158
### SEE ALSO
5259

5360
* [wolfictl advisory alias](wolfictl_advisory_alias.md) - Commands for discovering vulnerability aliases

docs/cmd/wolfictl_advisory_alias_find.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ hyperlinked to the relevant webpage from the upstream data source.
4444
-h, --help help for find
4545
```
4646

47+
### Options inherited from parent commands
48+
49+
```
50+
--log-level string log level (e.g. debug, info, warn, error) (default "info")
51+
--log-policy strings log policy (e.g. builtin:stderr, /tmp/log/foo) (default [builtin:stderr])
52+
```
53+
4754
### SEE ALSO
4855

4956
* [wolfictl advisory alias](wolfictl_advisory_alias.md) - Commands for discovering vulnerability aliases

docs/cmd/wolfictl_advisory_create.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ newly created advisory and any other advisories for the same package.
5151
-V, --vuln string vulnerability ID for advisory
5252
```
5353

54+
### Options inherited from parent commands
55+
56+
```
57+
--log-level string log level (e.g. debug, info, warn, error) (default "info")
58+
--log-policy strings log policy (e.g. builtin:stderr, /tmp/log/foo) (default [builtin:stderr])
59+
```
60+
5461
### SEE ALSO
5562

5663
* [wolfictl advisory](wolfictl_advisory.md) - Commands for consuming and maintaining security advisory data

docs/cmd/wolfictl_advisory_diff.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ See the advisory data differences introduced by your local changes
1818
-h, --help help for diff
1919
```
2020

21+
### Options inherited from parent commands
22+
23+
```
24+
--log-level string log level (e.g. debug, info, warn, error) (default "info")
25+
--log-policy strings log policy (e.g. builtin:stderr, /tmp/log/foo) (default [builtin:stderr])
26+
```
27+
2128
### SEE ALSO
2229

2330
* [wolfictl advisory](wolfictl_advisory.md) - Commands for consuming and maintaining security advisory data

docs/cmd/wolfictl_advisory_discover.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ Automatically create advisories by matching distro packages to vulnerabilities i
2424
-r, --package-repo-url string URL of the APK package repository
2525
```
2626

27+
### Options inherited from parent commands
28+
29+
```
30+
--log-level string log level (e.g. debug, info, warn, error) (default "info")
31+
--log-policy strings log policy (e.g. builtin:stderr, /tmp/log/foo) (default [builtin:stderr])
32+
```
33+
2734
### SEE ALSO
2835

2936
* [wolfictl advisory](wolfictl_advisory.md) - Commands for consuming and maintaining security advisory data

docs/cmd/wolfictl_advisory_list.md

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ wolfictl advisory list
1414

1515
List advisories for specific packages, vulnerabilities, or the entire data set.
1616

17-
The 'list' (or 'ls') command prints a list of advisories based on the given
17+
The 'list' (or 'ls') command prints a table of advisories based on the given
1818
selection criteria. By default, all advisories in the current advisory data set
1919
will be listed.
2020

@@ -28,6 +28,21 @@ You can list all advisories for a given vulnerability ID across all packages:
2828

2929
wolfictl adv ls -V CVE-2023-38545
3030

31+
You can filter advisories by the type of the latest event:
32+
33+
wolfictl adv ls -t detection
34+
35+
You can filter advisories by the detected component type:
36+
37+
wolfictl adv ls -c python
38+
39+
You can filter advisories by the date they were created or last updated:
40+
41+
wolfictl adv ls --created-since 2024-01-01
42+
wolfictl adv ls --created-before 2023-12-31
43+
wolfictl adv ls --updated-since 2024-06-01
44+
wolfictl adv ls --updated-before 2024-06-01
45+
3146
You can show only advisories that are considered not to be "resolved":
3247

3348
wolfictl adv ls --unresolved
@@ -40,19 +55,41 @@ Using the --history flag, you can list advisory events instead of just
4055
advisories' latest states. This is useful for viewing a summary of an
4156
investigation over time for a given package/vulnerability match.'
4257

58+
COUNT
59+
60+
You get a count of the advisories that match the criteria by using the --count
61+
flag. This will report just the count, not the full list of advisories.
62+
63+
wolfictl adv ls <various filter flags> --count
64+
65+
4366

4467
### Options
4568

4669
```
4770
-a, --advisories-repo-dir string directory containing the advisories repository
71+
--aliases show other known vulnerability IDs for each advisory (default true)
72+
-c, --component-type string filter advisories by detected component type
73+
--count show only the count of advisories that match the criteria
74+
--created-before string filter advisories created before a given date
75+
--created-since string filter advisories created since a given date
4876
-h, --help help for list
4977
--history show full history for advisories
50-
--no-distro-detection do not attempt to auto-detect the distro
5178
-p, --package string package name
79+
-t, --type string filter advisories by event type
5280
--unresolved only show advisories considered to be unresolved
81+
--updated-before string filter advisories updated before a given date
82+
--updated-since string filter advisories updated since a given date
5383
-V, --vuln string vulnerability ID for advisory
5484
```
5585

86+
### Options inherited from parent commands
87+
88+
```
89+
--log-level string log level (e.g. debug, info, warn, error) (default "info")
90+
--log-policy strings log policy (e.g. builtin:stderr, /tmp/log/foo) (default [builtin:stderr])
91+
```
92+
5693
### SEE ALSO
5794

5895
* [wolfictl advisory](wolfictl_advisory.md) - Commands for consuming and maintaining security advisory data
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
1-
## wolfictl advisory stream
1+
## wolfictl advisory move
22

3-
Start version streaming for a package by moving its advisories into a new package.
3+
Move a package's advisories into a new package.
44

5-
***Aliases**: stream*
5+
***Aliases**: mv*
66

77
### Usage
88

99
```
10-
wolfictl advisory stream <package-name> <version-streamed-package-name>
10+
wolfictl advisory move <package-name> <version-streamed-package-name>
1111
```
1212

1313
### Synopsis
1414

15-
Start version streaming for a package by moving its advisories into a new package.
15+
Move a package's advisories into a new package.
1616

1717
This command will move most advisories for the given package into a new package. And rename the
1818
package to the new package name. (i.e., from foo.advisories.yaml to foo-X.Y.advisories.yaml) If the
1919
target file already exists, the command will try to merge the advisories. To ensure the advisories
2020
are up-to-date, the command will start a scan for the new package.
2121

22+
This command is also useful to start version streaming for an existing package that has not been
23+
version streamed before. Especially that requires manual intervention to move the advisories.
24+
2225
The command will move the latest event for each advisory, and will update the timestamp
2326
of the event to now. The command will not copy events of type "detection", "fixed",
2427
"analysis_not_planned", or "fix_not_planned".
@@ -28,7 +31,7 @@ of the event to now. The command will not copy events of type "detection", "fixe
2831

2932
```
3033
-d, --dir string directory containing the advisories to copy (default ".")
31-
-h, --help help for stream
34+
-h, --help help for move
3235
```
3336

3437
### Options inherited from parent commands

0 commit comments

Comments
 (0)