Skip to content

Commit 2aac1eb

Browse files
authored
fix: miss-assigend examples (#114)
1 parent 90fbfe7 commit 2aac1eb

File tree

244 files changed

+2077
-262
lines changed

Some content is hidden

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

244 files changed

+2077
-262
lines changed

cmd/monitor.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ account that was previously set.`
225225
func NewMonitorItemsDeleteDetailsCmd() *cobra.Command {
226226
cmd := &cobra.Command{
227227
Use: "deletedetails [monitor_id]...",
228-
Short: "Download files from your monitor account",
229-
Long: monitorItemsSetDetailsCmdHelp,
228+
Short: "Delete details metadata from files",
229+
Long: monitorItemsDeleteDetailsCmdHelp,
230230
RunE: func(cmd *cobra.Command, args []string) error {
231231
if len(args) == 0 {
232232
return errors.New("No item provided")

cmd/monitorpartner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func NewMonitorPartnerHashesListCmd() *cobra.Command {
3737
cmd := &cobra.Command{
3838
Use: "list",
3939
Short: "List available monitor partner hashes",
40-
Example: monitorItemsCmdExample,
40+
Example: monitorPartnerItemsCmdExample,
4141
RunE: func(cmd *cobra.Command, args []string) error {
4242
p, err := NewPrinter(cmd)
4343
if err != nil {

doc/vt.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ A command-line tool for interacting with VirusTotal.
1010

1111
```
1212
-k, --apikey string API key
13+
--format string Output format (yaml/json/csv) (default "yaml")
1314
-h, --help help for vt
14-
--proxy string HTTP proxy
15+
-s, --silent Silent or quiet mode. Do not show progress meter
1516
-v, --verbose verbose output
1617
```
1718

@@ -34,6 +35,7 @@ A command-line tool for interacting with VirusTotal.
3435
* [vt retrohunt](vt_retrohunt.md) - Manage retrohunt jobs
3536
* [vt scan](vt_scan.md) - Scan files or URLs
3637
* [vt search](vt_search.md) - Search for files in VirusTotal Intelligence
38+
* [vt threatprofile](vt_threatprofile.md) - Get information about Threat Profiles
3739
* [vt url](vt_url.md) - Get information about URLs
3840
* [vt user](vt_user.md) - Get information about VirusTotal users
3941
* [vt version](vt_version.md) - Show version number

doc/vt_analysis.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ vt analysis [hash]... [flags]
4040

4141
```
4242
-k, --apikey string API key
43-
--proxy string HTTP proxy
43+
--format string Output format (yaml/json/csv) (default "yaml")
44+
-s, --silent Silent or quiet mode. Do not show progress meter
4445
-v, --verbose verbose output
4546
```
4647

doc/vt_collection.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,32 +39,39 @@ vt collection [collection]... [flags]
3939

4040
```
4141
-k, --apikey string API key
42-
--proxy string HTTP proxy
42+
--format string Output format (yaml/json/csv) (default "yaml")
43+
-s, --silent Silent or quiet mode. Do not show progress meter
4344
-v, --verbose verbose output
4445
```
4546

4647
### SEE ALSO
4748

4849
* [vt](vt.md) - A command-line tool for interacting with VirusTotal
50+
* [vt collection associations](vt_collection_associations.md) - Collection's related collections (associations).
4951
* [vt collection attack_techniques](vt_collection_attack_techniques.md) - Collection's ATT&CK techniques.
5052
* [vt collection autogenerated_graphs](vt_collection_autogenerated_graphs.md) - Autogenerated graphs related to the collection.
53+
* [vt collection campaigns](vt_collection_campaigns.md) - Collection's related campaigns.
54+
* [vt collection collections](vt_collection_collections.md) - Collection's related collections.
5155
* [vt collection comments](vt_collection_comments.md) - Comments for the collection.
5256
* [vt collection create](vt_collection_create.md) - Create a collection.
5357
* [vt collection delete](vt_collection_delete.md) - Delete a collection.
5458
* [vt collection domains](vt_collection_domains.md) - Collection's domains.
5559
* [vt collection files](vt_collection_files.md) - Collection's files.
5660
* [vt collection ip_addresses](vt_collection_ip_addresses.md) - Collection's IP addresses.
57-
* [vt collection owner](vt_collection_owner.md) - User who created the collection.
61+
* [vt collection malware_families](vt_collection_malware_families.md) - Collection's related malware families.
62+
* [vt collection owner](vt_collection_owner.md) - Owner of the collection.
5863
* [vt collection references](vt_collection_references.md) - Collection's references.
64+
* [vt collection related_collections](vt_collection_related_collections.md) - Returns the Collections containing IOCs which are in this Collection.
65+
* [vt collection related_references](vt_collection_related_references.md) - Returns the References of the IOCs in this Collection.
66+
* [vt collection related_reports](vt_collection_related_reports.md) - Collection's related reports
5967
* [vt collection relationships](vt_collection_relationships.md) - Get all relationships.
6068
* [vt collection remove](vt_collection_remove.md) - Remove items from a collection.
6169
* [vt collection rename](vt_collection_rename.md) - Rename collection.
62-
* [vt collection sigma_rules](vt_collection_sigma_rules.md) - Collection's SIGMA rules.
63-
* [vt collection stats](vt_collection_stats.md) - Monthly lookup and submission stats per country.
64-
* [vt collection subscribed_users](vt_collection_subscribed_users.md) - Users subscribed to the collection.
70+
* [vt collection reports](vt_collection_reports.md) - Collection's related reports.
71+
* [vt collection software_toolkits](vt_collection_software_toolkits.md) - Collection's related software toolkits.
6572
* [vt collection subscription_preferences](vt_collection_subscription_preferences.md) - Subscription preference for the given user.
66-
* [vt collection threat_actors](vt_collection_threat_actors.md) - Collection's threat actors.
73+
* [vt collection threat_actors](vt_collection_threat_actors.md) - Collection's related threat actors.
6774
* [vt collection update](vt_collection_update.md) - Add new items to a collection.
6875
* [vt collection urls](vt_collection_urls.md) - Collection's URLs.
69-
* [vt collection yara_rulesets](vt_collection_yara_rulesets.md) - Collection's YARA rulesets.
76+
* [vt collection vulnerabilities](vt_collection_vulnerabilities.md) - Collection's related vulnerabilities.
7077

doc/vt_collection_associations.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
## vt collection associations
2+
3+
Collection's related collections (associations).
4+
5+
```
6+
vt collection associations [collection] [flags]
7+
```
8+
9+
### Options
10+
11+
```
12+
-c, --cursor string cursor for continuing where the previous request left
13+
-x, --exclude strings exclude fields matching the provided pattern
14+
-h, --help help for associations
15+
-I, --identifiers-only print identifiers only
16+
-i, --include strings include fields matching the provided pattern (default [**])
17+
-n, --limit int maximum number of results (default 10)
18+
```
19+
20+
### Options inherited from parent commands
21+
22+
```
23+
-k, --apikey string API key
24+
--format string Output format (yaml/json/csv) (default "yaml")
25+
-s, --silent Silent or quiet mode. Do not show progress meter
26+
-v, --verbose verbose output
27+
```
28+
29+
### SEE ALSO
30+
31+
* [vt collection](vt_collection.md) - Get information about collections
32+

doc/vt_collection_attack_techniques.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ vt collection attack_techniques [collection] [flags]
2121

2222
```
2323
-k, --apikey string API key
24-
--proxy string HTTP proxy
24+
--format string Output format (yaml/json/csv) (default "yaml")
25+
-s, --silent Silent or quiet mode. Do not show progress meter
2526
-v, --verbose verbose output
2627
```
2728

doc/vt_collection_autogenerated_graphs.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ vt collection autogenerated_graphs [collection] [flags]
2121

2222
```
2323
-k, --apikey string API key
24-
--proxy string HTTP proxy
24+
--format string Output format (yaml/json/csv) (default "yaml")
25+
-s, --silent Silent or quiet mode. Do not show progress meter
2526
-v, --verbose verbose output
2627
```
2728

doc/vt_collection_campaigns.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
## vt collection campaigns
2+
3+
Collection's related campaigns.
4+
5+
```
6+
vt collection campaigns [collection] [flags]
7+
```
8+
9+
### Options
10+
11+
```
12+
-c, --cursor string cursor for continuing where the previous request left
13+
-x, --exclude strings exclude fields matching the provided pattern
14+
-h, --help help for campaigns
15+
-I, --identifiers-only print identifiers only
16+
-i, --include strings include fields matching the provided pattern (default [**])
17+
-n, --limit int maximum number of results (default 10)
18+
```
19+
20+
### Options inherited from parent commands
21+
22+
```
23+
-k, --apikey string API key
24+
--format string Output format (yaml/json/csv) (default "yaml")
25+
-s, --silent Silent or quiet mode. Do not show progress meter
26+
-v, --verbose verbose output
27+
```
28+
29+
### SEE ALSO
30+
31+
* [vt collection](vt_collection.md) - Get information about collections
32+

doc/vt_collection_collections.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
## vt collection collections
2+
3+
Collection's related collections.
4+
5+
```
6+
vt collection collections [collection] [flags]
7+
```
8+
9+
### Options
10+
11+
```
12+
-c, --cursor string cursor for continuing where the previous request left
13+
-x, --exclude strings exclude fields matching the provided pattern
14+
-h, --help help for collections
15+
-I, --identifiers-only print identifiers only
16+
-i, --include strings include fields matching the provided pattern (default [**])
17+
-n, --limit int maximum number of results (default 10)
18+
```
19+
20+
### Options inherited from parent commands
21+
22+
```
23+
-k, --apikey string API key
24+
--format string Output format (yaml/json/csv) (default "yaml")
25+
-s, --silent Silent or quiet mode. Do not show progress meter
26+
-v, --verbose verbose output
27+
```
28+
29+
### SEE ALSO
30+
31+
* [vt collection](vt_collection.md) - Get information about collections
32+

0 commit comments

Comments
 (0)