Skip to content

Commit a027e52

Browse files
committed
chore: rename the --cloud- flags to --pro-
1 parent bc56883 commit a027e52

File tree

18 files changed

+155
-155
lines changed

18 files changed

+155
-155
lines changed

docs/docs/references/configuration/cli/trivy_config.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ trivy config [flags] DIR
1414
--cf-params strings specify paths to override the CloudFormation parameters files
1515
--check-namespaces strings Rego namespaces
1616
--checks-bundle-repository string OCI registry URL to retrieve checks bundle from (default "mirror.gcr.io/aquasec/trivy-checks:1")
17-
--cloud-api-url string API URL for Trivy Cloud platform, requires the token to be provided to have an effect (default "https://api.trivy.dev")
18-
--cloud-server-scanning Use server-side image scanning in Trivy Cloud platform, requires the token to be provided to have an effect (default true)
19-
--cloud-token string Token used to athenticate with Trivy Cloud platform
20-
--cloud-trivy-server-url string Trivy Server URL for Trivy Cloud platform, requires the token to be provided to have an effect (default "https://scan.trivy.dev")
21-
--cloud-upload-results Upload results to Trivy Cloud platform, requires the token to be provided to have an effect (default true)
22-
--cloud-use-secret-config Use secret configurations from Trivy Cloud platform, requires the token to be provided to have an effect (default true)
2317
--compliance string compliance report to generate
2418
--config-check strings specify the paths to the Rego check files or to the directories containing them, applying config files
2519
--config-data strings specify paths from which data for the Rego checks will be recursively loaded
@@ -58,6 +52,12 @@ trivy config [flags] DIR
5852
--output-plugin-arg string [EXPERIMENTAL] output plugin arguments
5953
--password strings password. Comma-separated passwords allowed. TRIVY_PASSWORD should be used for security reasons.
6054
--password-stdin password from stdin. Comma-separated passwords are not supported.
55+
--pro-api-url string API URL for Trivy Pro platform, requires the token to be provided to have an effect (default "https://api.trivy.dev")
56+
--pro-server-scanning Use server-side image scanning in Trivy Pro platform, requires the token to be provided to have an effect (default true)
57+
--pro-token string Token used to athenticate with Trivy Pro platform
58+
--pro-trivy-server-url string Trivy Server URL for Trivy Pro platform, requires the token to be provided to have an effect (default "https://scan.trivy.dev")
59+
--pro-upload-results Upload results to Trivy Pro platform, requires the token to be provided to have an effect (default true)
60+
--pro-use-secret-config Use secret configurations from Trivy Pro platform, requires the token to be provided to have an effect (default true)
6161
--raw-config-scanners strings specify the types of scanners that will also scan raw configurations. For example, scanners will scan a non-adapted configuration into a shared state (allowed values: terraform)
6262
--redis-ca string redis ca file location, if using redis as cache backend
6363
--redis-cert string redis certificate file location, if using redis as cache backend

docs/docs/references/configuration/cli/trivy_filesystem.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ trivy filesystem [flags] PATH
2424
--cf-params strings specify paths to override the CloudFormation parameters files
2525
--check-namespaces strings Rego namespaces
2626
--checks-bundle-repository string OCI registry URL to retrieve checks bundle from (default "mirror.gcr.io/aquasec/trivy-checks:1")
27-
--cloud-api-url string API URL for Trivy Cloud platform, requires the token to be provided to have an effect (default "https://api.trivy.dev")
28-
--cloud-server-scanning Use server-side image scanning in Trivy Cloud platform, requires the token to be provided to have an effect (default true)
29-
--cloud-token string Token used to athenticate with Trivy Cloud platform
30-
--cloud-trivy-server-url string Trivy Server URL for Trivy Cloud platform, requires the token to be provided to have an effect (default "https://scan.trivy.dev")
31-
--cloud-upload-results Upload results to Trivy Cloud platform, requires the token to be provided to have an effect (default true)
32-
--cloud-use-secret-config Use secret configurations from Trivy Cloud platform, requires the token to be provided to have an effect (default true)
3327
--compliance string compliance report to generate
3428
--config-check strings specify the paths to the Rego check files or to the directories containing them, applying config files
3529
--config-data strings specify paths from which data for the Rego checks will be recursively loaded
@@ -106,6 +100,12 @@ trivy filesystem [flags] PATH
106100
- indirect
107101
(default [unknown,root,workspace,direct,indirect])
108102
--pkg-types strings list of package types (allowed values: os,library) (default [os,library])
103+
--pro-api-url string API URL for Trivy Pro platform, requires the token to be provided to have an effect (default "https://api.trivy.dev")
104+
--pro-server-scanning Use server-side image scanning in Trivy Pro platform, requires the token to be provided to have an effect (default true)
105+
--pro-token string Token used to athenticate with Trivy Pro platform
106+
--pro-trivy-server-url string Trivy Server URL for Trivy Pro platform, requires the token to be provided to have an effect (default "https://scan.trivy.dev")
107+
--pro-upload-results Upload results to Trivy Pro platform, requires the token to be provided to have an effect (default true)
108+
--pro-use-secret-config Use secret configurations from Trivy Pro platform, requires the token to be provided to have an effect (default true)
109109
--raw-config-scanners strings specify the types of scanners that will also scan raw configurations. For example, scanners will scan a non-adapted configuration into a shared state (allowed values: terraform)
110110
--redis-ca string redis ca file location, if using redis as cache backend
111111
--redis-cert string redis certificate file location, if using redis as cache backend

docs/docs/references/configuration/cli/trivy_image.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ trivy image [flags] IMAGE_NAME
3838
--cache-ttl duration cache TTL when using redis as cache backend
3939
--check-namespaces strings Rego namespaces
4040
--checks-bundle-repository string OCI registry URL to retrieve checks bundle from (default "mirror.gcr.io/aquasec/trivy-checks:1")
41-
--cloud-api-url string API URL for Trivy Cloud platform, requires the token to be provided to have an effect (default "https://api.trivy.dev")
42-
--cloud-server-scanning Use server-side image scanning in Trivy Cloud platform, requires the token to be provided to have an effect (default true)
43-
--cloud-token string Token used to athenticate with Trivy Cloud platform
44-
--cloud-trivy-server-url string Trivy Server URL for Trivy Cloud platform, requires the token to be provided to have an effect (default "https://scan.trivy.dev")
45-
--cloud-upload-results Upload results to Trivy Cloud platform, requires the token to be provided to have an effect (default true)
46-
--cloud-use-secret-config Use secret configurations from Trivy Cloud platform, requires the token to be provided to have an effect (default true)
4741
--compliance string compliance report to generate (built-in compliance's: docker-cis-1.6.0)
4842
--config-check strings specify the paths to the Rego check files or to the directories containing them, applying config files
4943
--config-data strings specify paths from which data for the Rego checks will be recursively loaded
@@ -127,6 +121,12 @@ trivy image [flags] IMAGE_NAME
127121
--pkg-types strings list of package types (allowed values: os,library) (default [os,library])
128122
--platform string set platform in the form os/arch if image is multi-platform capable
129123
--podman-host string unix podman socket path to use for podman scanning
124+
--pro-api-url string API URL for Trivy Pro platform, requires the token to be provided to have an effect (default "https://api.trivy.dev")
125+
--pro-server-scanning Use server-side image scanning in Trivy Pro platform, requires the token to be provided to have an effect (default true)
126+
--pro-token string Token used to athenticate with Trivy Pro platform
127+
--pro-trivy-server-url string Trivy Server URL for Trivy Pro platform, requires the token to be provided to have an effect (default "https://scan.trivy.dev")
128+
--pro-upload-results Upload results to Trivy Pro platform, requires the token to be provided to have an effect (default true)
129+
--pro-use-secret-config Use secret configurations from Trivy Pro platform, requires the token to be provided to have an effect (default true)
130130
--raw-config-scanners strings specify the types of scanners that will also scan raw configurations. For example, scanners will scan a non-adapted configuration into a shared state (allowed values: terraform)
131131
--redis-ca string redis ca file location, if using redis as cache backend
132132
--redis-cert string redis certificate file location, if using redis as cache backend

docs/docs/references/configuration/cli/trivy_repository.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ trivy repository [flags] (REPO_PATH | REPO_URL)
2424
--cf-params strings specify paths to override the CloudFormation parameters files
2525
--check-namespaces strings Rego namespaces
2626
--checks-bundle-repository string OCI registry URL to retrieve checks bundle from (default "mirror.gcr.io/aquasec/trivy-checks:1")
27-
--cloud-api-url string API URL for Trivy Cloud platform, requires the token to be provided to have an effect (default "https://api.trivy.dev")
28-
--cloud-server-scanning Use server-side image scanning in Trivy Cloud platform, requires the token to be provided to have an effect (default true)
29-
--cloud-token string Token used to athenticate with Trivy Cloud platform
30-
--cloud-trivy-server-url string Trivy Server URL for Trivy Cloud platform, requires the token to be provided to have an effect (default "https://scan.trivy.dev")
31-
--cloud-upload-results Upload results to Trivy Cloud platform, requires the token to be provided to have an effect (default true)
32-
--cloud-use-secret-config Use secret configurations from Trivy Cloud platform, requires the token to be provided to have an effect (default true)
3327
--commit string pass the commit hash to be scanned
3428
--config-check strings specify the paths to the Rego check files or to the directories containing them, applying config files
3529
--config-data strings specify paths from which data for the Rego checks will be recursively loaded
@@ -105,6 +99,12 @@ trivy repository [flags] (REPO_PATH | REPO_URL)
10599
- indirect
106100
(default [unknown,root,workspace,direct,indirect])
107101
--pkg-types strings list of package types (allowed values: os,library) (default [os,library])
102+
--pro-api-url string API URL for Trivy Pro platform, requires the token to be provided to have an effect (default "https://api.trivy.dev")
103+
--pro-server-scanning Use server-side image scanning in Trivy Pro platform, requires the token to be provided to have an effect (default true)
104+
--pro-token string Token used to athenticate with Trivy Pro platform
105+
--pro-trivy-server-url string Trivy Server URL for Trivy Pro platform, requires the token to be provided to have an effect (default "https://scan.trivy.dev")
106+
--pro-upload-results Upload results to Trivy Pro platform, requires the token to be provided to have an effect (default true)
107+
--pro-use-secret-config Use secret configurations from Trivy Pro platform, requires the token to be provided to have an effect (default true)
108108
--raw-config-scanners strings specify the types of scanners that will also scan raw configurations. For example, scanners will scan a non-adapted configuration into a shared state (allowed values: terraform)
109109
--redis-ca string redis ca file location, if using redis as cache backend
110110
--redis-cert string redis certificate file location, if using redis as cache backend

docs/docs/references/configuration/cli/trivy_rootfs.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ trivy rootfs [flags] ROOTDIR
2727
--cf-params strings specify paths to override the CloudFormation parameters files
2828
--check-namespaces strings Rego namespaces
2929
--checks-bundle-repository string OCI registry URL to retrieve checks bundle from (default "mirror.gcr.io/aquasec/trivy-checks:1")
30-
--cloud-api-url string API URL for Trivy Cloud platform, requires the token to be provided to have an effect (default "https://api.trivy.dev")
31-
--cloud-server-scanning Use server-side image scanning in Trivy Cloud platform, requires the token to be provided to have an effect (default true)
32-
--cloud-token string Token used to athenticate with Trivy Cloud platform
33-
--cloud-trivy-server-url string Trivy Server URL for Trivy Cloud platform, requires the token to be provided to have an effect (default "https://scan.trivy.dev")
34-
--cloud-upload-results Upload results to Trivy Cloud platform, requires the token to be provided to have an effect (default true)
35-
--cloud-use-secret-config Use secret configurations from Trivy Cloud platform, requires the token to be provided to have an effect (default true)
3630
--config-check strings specify the paths to the Rego check files or to the directories containing them, applying config files
3731
--config-data strings specify paths from which data for the Rego checks will be recursively loaded
3832
--config-file-schemas strings specify paths to JSON configuration file schemas to determine that a file matches some configuration and pass the schema to Rego checks for type checking
@@ -108,6 +102,12 @@ trivy rootfs [flags] ROOTDIR
108102
- indirect
109103
(default [unknown,root,workspace,direct,indirect])
110104
--pkg-types strings list of package types (allowed values: os,library) (default [os,library])
105+
--pro-api-url string API URL for Trivy Pro platform, requires the token to be provided to have an effect (default "https://api.trivy.dev")
106+
--pro-server-scanning Use server-side image scanning in Trivy Pro platform, requires the token to be provided to have an effect (default true)
107+
--pro-token string Token used to athenticate with Trivy Pro platform
108+
--pro-trivy-server-url string Trivy Server URL for Trivy Pro platform, requires the token to be provided to have an effect (default "https://scan.trivy.dev")
109+
--pro-upload-results Upload results to Trivy Pro platform, requires the token to be provided to have an effect (default true)
110+
--pro-use-secret-config Use secret configurations from Trivy Pro platform, requires the token to be provided to have an effect (default true)
111111
--raw-config-scanners strings specify the types of scanners that will also scan raw configurations. For example, scanners will scan a non-adapted configuration into a shared state (allowed values: terraform)
112112
--redis-ca string redis ca file location, if using redis as cache backend
113113
--redis-cert string redis certificate file location, if using redis as cache backend

docs/docs/references/configuration/cli/trivy_vm.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ trivy vm [flags] VM_IMAGE
2424
--cache-backend string [EXPERIMENTAL] cache backend (e.g. redis://localhost:6379) (default "fs")
2525
--cache-ttl duration cache TTL when using redis as cache backend
2626
--checks-bundle-repository string OCI registry URL to retrieve checks bundle from (default "mirror.gcr.io/aquasec/trivy-checks:1")
27-
--cloud-api-url string API URL for Trivy Cloud platform, requires the token to be provided to have an effect (default "https://api.trivy.dev")
28-
--cloud-server-scanning Use server-side image scanning in Trivy Cloud platform, requires the token to be provided to have an effect (default true)
29-
--cloud-token string Token used to athenticate with Trivy Cloud platform
30-
--cloud-trivy-server-url string Trivy Server URL for Trivy Cloud platform, requires the token to be provided to have an effect (default "https://scan.trivy.dev")
31-
--cloud-upload-results Upload results to Trivy Cloud platform, requires the token to be provided to have an effect (default true)
32-
--cloud-use-secret-config Use secret configurations from Trivy Cloud platform, requires the token to be provided to have an effect (default true)
3327
--compliance string compliance report to generate
3428
--config-file-schemas strings specify paths to JSON configuration file schemas to determine that a file matches some configuration and pass the schema to Rego checks for type checking
3529
--custom-headers strings custom headers in client mode
@@ -98,6 +92,12 @@ trivy vm [flags] VM_IMAGE
9892
- indirect
9993
(default [unknown,root,workspace,direct,indirect])
10094
--pkg-types strings list of package types (allowed values: os,library) (default [os,library])
95+
--pro-api-url string API URL for Trivy Pro platform, requires the token to be provided to have an effect (default "https://api.trivy.dev")
96+
--pro-server-scanning Use server-side image scanning in Trivy Pro platform, requires the token to be provided to have an effect (default true)
97+
--pro-token string Token used to athenticate with Trivy Pro platform
98+
--pro-trivy-server-url string Trivy Server URL for Trivy Pro platform, requires the token to be provided to have an effect (default "https://scan.trivy.dev")
99+
--pro-upload-results Upload results to Trivy Pro platform, requires the token to be provided to have an effect (default true)
100+
--pro-use-secret-config Use secret configurations from Trivy Pro platform, requires the token to be provided to have an effect (default true)
101101
--raw-config-scanners strings specify the types of scanners that will also scan raw configurations. For example, scanners will scan a non-adapted configuration into a shared state (allowed values: terraform)
102102
--redis-ca string redis ca file location, if using redis as cache backend
103103
--redis-cert string redis certificate file location, if using redis as cache backend

0 commit comments

Comments
 (0)