Skip to content

Commit dde0ffa

Browse files
committed
fix: update all documentation links
1 parent 02ebb4c commit dde0ffa

Some content is hidden

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

41 files changed

+75
-75
lines changed

.github/DISCUSSION_TEMPLATE/bugs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ body:
1010
1111
**Do not open a GitHub issue, please.** Maintainers triage discussions and then create issues.
1212
13-
Please also check [our contribution guidelines](https://aquasecurity.github.io/trivy/latest/community/contribute/discussion/).
13+
Please also check [our contribution guidelines](https://trivy.dev/latest/community/contribute/discussion/).
1414
- type: textarea
1515
attributes:
1616
label: Description
@@ -117,7 +117,7 @@ body:
117117
description: Have you tried the following?
118118
options:
119119
- label: Run `trivy clean --all`
120-
- label: Read [the troubleshooting](https://aquasecurity.github.io/trivy/latest/docs/references/troubleshooting/)
120+
- label: Read [the troubleshooting](https://trivy.dev/latest/docs/references/troubleshooting/)
121121
- type: markdown
122122
attributes:
123123
value: |

.github/DISCUSSION_TEMPLATE/documentation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ body:
77
Feel free to create a docs report if something doesn't work as expected or is unclear in the documentation.
88
Please ensure that you're not creating a duplicate report by searching the [issues](https://github.com/aquasecurity/trivy/issues)/[discussions](https://github.com/aquasecurity/trivy/discussions) beforehand.
99
10-
Please also check [our contribution guidelines](https://aquasecurity.github.io/trivy/latest/community/contribute/discussion/).
10+
Please also check [our contribution guidelines](https://trivy.dev/latest/community/contribute/discussion/).
1111
- type: textarea
1212
attributes:
1313
label: Description

.github/DISCUSSION_TEMPLATE/false-detection.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ body:
88
99
**Do not open a GitHub issue, please.** Maintainers triage discussions and then create issues.
1010
11-
Please also check [our contribution guidelines](https://aquasecurity.github.io/trivy/latest/community/contribute/discussion/).
11+
Please also check [our contribution guidelines](https://trivy.dev/latest/community/contribute/discussion/).
1212
- type: input
1313
attributes:
1414
label: IDs
@@ -86,7 +86,7 @@ body:
8686
attributes:
8787
label: Checklist
8888
options:
89-
- label: Read [the documentation regarding wrong detection](https://aquasecurity.github.io/trivy/dev/community/contribute/discussion/#false-detection)
89+
- label: Read [the documentation regarding wrong detection](https://trivy.dev/dev/community/contribute/discussion/#false-detection)
9090
- label: Ran Trivy with `-f json` that shows data sources and confirmed that the security advisory in data sources was correct
9191
validations:
9292
required: true

.github/DISCUSSION_TEMPLATE/ideas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ body:
99
1010
**Do not open a GitHub issue, please.** Maintainers triage discussions and then create issues.
1111
12-
Please also check [our contribution guidelines](https://aquasecurity.github.io/trivy/latest/community/contribute/discussion/).
12+
Please also check [our contribution guidelines](https://trivy.dev/latest/community/contribute/discussion/).
1313
- type: textarea
1414
attributes:
1515
label: Description

.github/DISCUSSION_TEMPLATE/q-a.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ body:
99
1010
**Do not open a GitHub issue, please.** Maintainers triage discussions and then create issues.
1111
12-
Please also check [our contribution guidelines](https://aquasecurity.github.io/trivy/latest/community/contribute/discussion/).
12+
Please also check [our contribution guidelines](https://trivy.dev/latest/community/contribute/discussion/).
1313
- type: textarea
1414
attributes:
1515
label: Question

.github/pull_request_template.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
Remove this section if you don't have related PRs.
1111

1212
## Checklist
13-
- [ ] I've read the [guidelines for contributing](https://aquasecurity.github.io/trivy/latest/community/contribute/pr/) to this repository.
14-
- [ ] I've followed the [conventions](https://aquasecurity.github.io/trivy/latest/community/contribute/pr/#title) in the PR title.
13+
- [ ] I've read the [guidelines for contributing](https://trivy.dev/latest/community/contribute/pr/) to this repository.
14+
- [ ] I've followed the [conventions](https://trivy.dev/latest/community/contribute/pr/#title) in the PR title.
1515
- [ ] I've added tests that prove my fix is effective or that my feature works.
1616
- [ ] I've updated the [documentation](https://github.com/aquasecurity/trivy/blob/main/docs) with the relevant information (if needed).
1717
- [ ] I've added usage information (if the PR introduces new options)

.github/workflows/auto-close-issue.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
2727
// If the user does not have write or admin permissions, leave a comment and close the issue
2828
if (permission !== 'write' && permission !== 'admin') {
29-
const commentBody = "Please see https://aquasecurity.github.io/trivy/latest/community/contribute/issue/";
29+
const commentBody = "Please see https://trivy.dev/latest/community/contribute/issue/";
3030
await github.rest.issues.createComment({
3131
owner: context.repo.owner,
3232
repo: context.repo.repo,

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
See [Issues](https://aquasecurity.github.io/trivy/latest/community/contribute/issue/) and [Pull Requests](https://aquasecurity.github.io/trivy/latest/community/contribute/pr/)
1+
See [Issues](https://trivy.dev/latest/community/contribute/issue/) and [Pull Requests](https://trivy.dev/latest/community/contribute/pr/)

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ Please ensure to abide by our [Code of Conduct][code-of-conduct] during all inte
136136
[slack]: https://slack.aquasec.com
137137
[code-of-conduct]: https://github.com/aquasecurity/community/blob/main/CODE_OF_CONDUCT.md
138138

139-
[Installation]:https://aquasecurity.github.io/trivy/latest/getting-started/installation/
140-
[Ecosystem]: https://aquasecurity.github.io/trivy/latest/ecosystem/
141-
[Scanning Coverage]: https://aquasecurity.github.io/trivy/latest/docs/coverage/
139+
[Installation]:https://trivy.dev/latest/getting-started/installation/
140+
[Ecosystem]: https://trivy.dev/latest/ecosystem/
141+
[Scanning Coverage]: https://trivy.dev/latest/docs/coverage/
142142

143143
[alpine]: https://ariadne.space/2021/06/08/the-vulnerability-remediation-lifecycle-of-alpine-containers/
144144
[rego]: https://www.openpolicyagent.org/docs/latest/#rego

docs/commercial/compare.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ If you'd like to learn more or request a demo, [click here to contact us](./cont
6666

6767
| Feature | Trivy OSS | Aqua |
6868
| --- | --- | --- |
69-
| Infrastructure as Code (IaC) | Many popular languages as detailed [here](https://aquasecurity.github.io/trivy/latest/docs/scanner/misconfiguration/policy/builtin/) | In addition, Build Pipeline configuration scanning |
69+
| Infrastructure as Code (IaC) | Many popular languages as detailed [here](https://trivy.dev/latest/docs/scanner/misconfiguration/policy/builtin/) | In addition, Build Pipeline configuration scanning |
7070
| Checks customization | Create custom checks with Rego | Create custom checks in no-code interface <br> Customize existing checks with organizational preferences |
7171
| Cloud scanning | AWS (subset of services) | AWS, Azure, GCP, Alibaba Cloud, Oracle Cloud |
7272
| Compliance frameworks | CIS, NSA, vendor guides | More than 25 compliance programs |

docs/community/contribute/discussion.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ There are 4 categories:
2424
If you find any false positives or false negatives, please make sure to report them under the "False Detection" category, not "Bugs".
2525

2626
## False detection
27-
Trivy depends on [multiple data sources](https://aquasecurity.github.io/trivy/latest/docs/scanner/vulnerability/#data-sources).
27+
Trivy depends on [multiple data sources](https://trivy.dev/latest/docs/scanner/vulnerability/#data-sources).
2828
Sometime these databases contain mistakes.
2929

3030
If Trivy can't detect any CVE-IDs or shows false positive result, at first please follow the next steps:

docs/docs/configuration/cache.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ $ trivy server --cache-backend redis://localhost:6379 \
100100
[trivy-java-db]: ./db.md#java-index-database
101101
[misconf-checks]: ../scanner/misconfiguration/check/builtin.md
102102
[boltdb]: https://github.com/etcd-io/bbolt
103-
[parallel-run]: https://aquasecurity.github.io/trivy/v0.52/docs/references/troubleshooting/#running-in-parallel-takes-same-time-as-series-run
103+
[parallel-run]: https://trivy.dev/v0.52/docs/references/troubleshooting/#running-in-parallel-takes-same-time-as-series-run
104104

105105
[^1]: Downloaded when scanning for vulnerabilities
106106
[^2]: Downloaded when scanning `jar/war/par/ear` files

docs/docs/configuration/filtering.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ $ trivy image --ignorefile ./.trivyignore.yaml python:3.9.16-alpine3.16
394394
2023-08-31T11:10:27.155+0600 INFO Vulnerability scanning is enabled
395395
2023-08-31T11:10:27.155+0600 INFO Secret scanning is enabled
396396
2023-08-31T11:10:27.155+0600 INFO If your scanning is slow, please try '--scanners vuln' to disable secret scanning
397-
2023-08-31T11:10:27.155+0600 INFO Please see also https://aquasecurity.github.io/trivy/dev/docs/scanner/secret/#recommendation for faster secret detection
397+
2023-08-31T11:10:27.155+0600 INFO Please see also https://trivy.dev/dev/docs/scanner/secret/#recommendation for faster secret detection
398398
2023-08-31T11:10:29.164+0600 INFO Detected OS: alpine
399399
2023-08-31T11:10:29.164+0600 INFO Detecting Alpine vulnerabilities...
400400
2023-08-31T11:10:29.169+0600 INFO Number of language-specific files: 1

docs/docs/supply-chain/attestation/rekor.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $ trivy image --sbom-sources rekor otms61/alpine:3.7.3
2222
2022-09-16T17:37:13.258+0900 INFO Vulnerability scanning is enabled
2323
2022-09-16T17:37:13.258+0900 INFO Secret scanning is enabled
2424
2022-09-16T17:37:13.258+0900 INFO If your scanning is slow, please try '--scanners vuln' to disable secret scanning
25-
2022-09-16T17:37:13.258+0900 INFO Please see also https://aquasecurity.github.io/trivy/dev/docs/secret/scanning/#recommendation for faster secret detection
25+
2022-09-16T17:37:13.258+0900 INFO Please see also https://trivy.dev/dev/docs/secret/scanning/#recommendation for faster secret detection
2626
2022-09-16T17:37:14.827+0900 INFO Detected SBOM format: cyclonedx-json
2727
2022-09-16T17:37:14.901+0900 INFO Found SBOM (cyclonedx) attestation in Rekor
2828
2022-09-16T17:37:14.903+0900 INFO Detected OS: alpine

docs/docs/supply-chain/sbom.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ SPDXVersion: SPDX-2.2
453453
DataLicense: CC0-1.0
454454
SPDXID: SPDXRef-DOCUMENT
455455
DocumentName: alpine:3.15
456-
DocumentNamespace: https://aquasecurity.github.io/trivy/container_image/alpine:3.15-bebf6b19-a94c-4e2c-af44-065f63923f48
456+
DocumentNamespace: https://trivy.dev/container_image/alpine:3.15-bebf6b19-a94c-4e2c-af44-065f63923f48
457457
Creator: Organization: aquasecurity
458458
Creator: Tool: trivy-0.38.1
459459
Created: 2022-04-28T07:32:57.142806Z
@@ -608,7 +608,7 @@ $ cat result.spdx.json | jq .
608608
]
609609
},
610610
"dataLicense": "CC0-1.0",
611-
"documentNamespace": "http://aquasecurity.github.io/trivy/container_image/alpine:3.15-d9549e3a-a4c5-4ee3-8bde-8c78d451fbe7",
611+
"documentNamespace": "http://trivy.dev/container_image/alpine:3.15-d9549e3a-a4c5-4ee3-8bde-8c78d451fbe7",
612612
"name": "alpine:3.15",
613613
"packages": [
614614
{

docs/docs/target/container_image.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ $ trivy image --platform=linux/arm alpine:3.16.1
491491
2022-10-25T21:00:50.972+0300 INFO Vulnerability scanning is enabled
492492
2022-10-25T21:00:50.972+0300 INFO Secret scanning is enabled
493493
2022-10-25T21:00:50.972+0300 INFO If your scanning is slow, please try '--scanners vuln' to disable secret scanning
494-
2022-10-25T21:00:50.972+0300 INFO Please see also https://aquasecurity.github.io/trivy/dev/docs/secret/scanning/#recommendation for faster secret detection
494+
2022-10-25T21:00:50.972+0300 INFO Please see also https://trivy.dev/dev/docs/secret/scanning/#recommendation for faster secret detection
495495
2022-10-25T21:00:56.190+0300 INFO Detected OS: alpine
496496
2022-10-25T21:00:56.190+0300 INFO Detecting Alpine vulnerabilities...
497497
2022-10-25T21:00:56.191+0300 INFO Number of language-specific files: 0

docs/tutorials/misconfiguration/custom-checks.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Custom Checks with Rego
22

3-
Trivy can scan configuration files for common security issues (a.k.a IaC misconfiguration scanning). In addition to a comprehensive built in database of checks, you can add your own custom checks. Checks are written in [Rego](https://www.openpolicyagent.org/docs/latest/policy-language/) language and the full documentation for checks and customizing them is available [here](https://aquasecurity.github.io/trivy/latest/docs/scanner/misconfiguration/custom/).
3+
Trivy can scan configuration files for common security issues (a.k.a IaC misconfiguration scanning). In addition to a comprehensive built in database of checks, you can add your own custom checks. Checks are written in [Rego](https://www.openpolicyagent.org/docs/latest/policy-language/) language and the full documentation for checks and customizing them is available [here](https://trivy.dev/latest/docs/scanner/misconfiguration/custom/).
44

55
This tutorial will walk you through writing a custom check in Rego that checks for an issue in a Dockerfile.
66

@@ -38,7 +38,7 @@ Next, we need to specify metadata about the check. This is information that help
3838

3939
Important: The `METADATA` has to be defined on top of the file.
4040

41-
More information on the different fields in the metadata can be found in the [Trivy documentation.](https://aquasecurity.github.io/trivy/latest/docs/scanner/misconfiguration/custom/)
41+
More information on the different fields in the metadata can be found in the [Trivy documentation.](https://trivy.dev/latest/docs/scanner/misconfiguration/custom/)
4242

4343
## Package and imports
4444

docs/tutorials/misconfiguration/terraform.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ We have been consolidating all of our scanning-related efforts in one place, and
99

1010
## Trivy Config Command
1111

12-
Terraform configuration scanning is available as part of the `trivy config` command. This command scans all configuration files for misconfiguration issues. You can find the details within [misconfiguration scans in the Trivy documentation.](https://aquasecurity.github.io/trivy/latest/docs/scanner/misconfiguration/)
12+
Terraform configuration scanning is available as part of the `trivy config` command. This command scans all configuration files for misconfiguration issues. You can find the details within [misconfiguration scans in the Trivy documentation.](https://trivy.dev/latest/docs/scanner/misconfiguration/)
1313

1414
Command structure:
1515
```
@@ -23,7 +23,7 @@ The `trivy config` command can scan Terraform configuration, CloudFormation, Doc
2323
- If the configuration that has been defined does not follow best practices, the check will fail.
2424

2525
### Prerequisites
26-
Install Trivy on your local machines. The documentation provides several [different installation options.](https://aquasecurity.github.io/trivy/latest/getting-started/installation/)
26+
Install Trivy on your local machines. The documentation provides several [different installation options.](https://trivy.dev/latest/getting-started/installation/)
2727
This tutorial will use this example [Terraform tutorial](https://github.com/Cloud-Native-Security/trivy-demo/tree/main/bad_iac/terraform) for terraform misconfiguration scanning with Trivy.
2828

2929
Git clone the tutorial and cd into the directory:
@@ -83,14 +83,14 @@ trivy config --severity CRITICAL, MEDIUM terraform-infra
8383

8484
### Passing tf.tfvars files into `trivy config` scans
8585

86-
You can pass terraform values to Trivy to override default values found in the Terraform HCL code. More information are provided [in the documentation.](https://aquasecurity.github.io/trivy/latest/docs/coverage/iac/terraform/#value-overrides)
86+
You can pass terraform values to Trivy to override default values found in the Terraform HCL code. More information are provided [in the documentation.](https://trivy.dev/latest/docs/coverage/iac/terraform/#value-overrides)
8787

8888
```
8989
trivy config --tf-vars terraform.tfvars ./
9090
```
9191
### Custom Checks
9292

93-
We have lots of examples in the [documentation](https://aquasecurity.github.io/trivy/latest/docs/scanner/misconfiguration/custom/) on how you can write and pass custom Rego checks into terraform misconfiguration scans.
93+
We have lots of examples in the [documentation](https://trivy.dev/latest/docs/scanner/misconfiguration/custom/) on how you can write and pass custom Rego checks into terraform misconfiguration scans.
9494

9595
## Secret and vulnerability scans
9696

@@ -100,15 +100,15 @@ The `trivy config` command does not perform secrete and vulnerability checks out
100100
trivy fs --scanners secret,misconfig ./
101101
```
102102

103-
The `trivy config` command is a sub-command of the `trivy fs` command. You can learn more about this command in the [documentation.](https://aquasecurity.github.io/trivy/latest/docs/target/filesystem/)
103+
The `trivy config` command is a sub-command of the `trivy fs` command. You can learn more about this command in the [documentation.](https://trivy.dev/latest/docs/target/filesystem/)
104104

105105
## Scanning Terraform Plan files
106106

107-
Instead of scanning your different Terraform resources individually, you could also scan your Terraform Plan file before it is deployed for misconfiguration. This will give you insights into any misconfiguration of your resources as they would become deployed. [Here](https://aquasecurity.github.io/trivy/latest/docs/coverage/iac/terraform/#terraform) is the link to the documentation.
107+
Instead of scanning your different Terraform resources individually, you could also scan your Terraform Plan file before it is deployed for misconfiguration. This will give you insights into any misconfiguration of your resources as they would become deployed. [Here](https://trivy.dev/latest/docs/coverage/iac/terraform/#terraform) is the link to the documentation.
108108

109109
Note that you need to be able to create a terraform init and plan without any errors.
110110

111111
## Using Trivy in your CI/CD pipeline
112-
Similar to tfsec, Trivy can be used either on local developer machines or integrated into your CI/CD pipeline. There are several steps available for different pipelines, including GitHub Actions, Circle CI, GitLab, Travis and more in the tutorials section of the documentation: [https://aquasecurity.github.io/trivy/latest/tutorials/integrations/](https://aquasecurity.github.io/trivy/latest/tutorials/integrations/)
112+
Similar to tfsec, Trivy can be used either on local developer machines or integrated into your CI/CD pipeline. There are several steps available for different pipelines, including GitHub Actions, Circle CI, GitLab, Travis and more in the tutorials section of the documentation: [https://trivy.dev/latest/tutorials/integrations/](https://trivy.dev/latest/tutorials/integrations/)
113113

114114

goreleaser.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ dockers:
165165
- "--label=org.opencontainers.image.source=https://github.com/aquasecurity/trivy"
166166
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
167167
- "--label=org.opencontainers.image.url=https://www.aquasec.com/products/trivy/"
168-
- "--label=org.opencontainers.image.documentation=https://aquasecurity.github.io/trivy/v{{ .Version }}/"
168+
- "--label=org.opencontainers.image.documentation=https://trivy.dev/v{{ .Version }}/"
169169
- "--platform=linux/amd64"
170170
extra_files:
171171
- contrib/
@@ -190,7 +190,7 @@ dockers:
190190
- "--label=org.opencontainers.image.source=https://github.com/aquasecurity/trivy"
191191
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
192192
- "--label=org.opencontainers.image.url=https://www.aquasec.com/products/trivy/"
193-
- "--label=org.opencontainers.image.documentation=https://aquasecurity.github.io/trivy/v{{ .Version }}/"
193+
- "--label=org.opencontainers.image.documentation=https://trivy.dev/v{{ .Version }}/"
194194
- "--platform=linux/arm64"
195195
extra_files:
196196
- contrib/
@@ -215,7 +215,7 @@ dockers:
215215
- "--label=org.opencontainers.image.source=https://github.com/aquasecurity/trivy"
216216
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
217217
- "--label=org.opencontainers.image.url=https://www.aquasec.com/products/trivy/"
218-
- "--label=org.opencontainers.image.documentation=https://aquasecurity.github.io/trivy/v{{ .Version }}/"
218+
- "--label=org.opencontainers.image.documentation=https://trivy.dev/v{{ .Version }}/"
219219
- "--platform=linux/s390x"
220220
extra_files:
221221
- contrib/
@@ -240,7 +240,7 @@ dockers:
240240
- "--label=org.opencontainers.image.source=https://github.com/aquasecurity/trivy"
241241
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
242242
- "--label=org.opencontainers.image.url=https://www.aquasec.com/products/trivy/"
243-
- "--label=org.opencontainers.image.documentation=https://aquasecurity.github.io/trivy/v{{ .Version }}/"
243+
- "--label=org.opencontainers.image.documentation=https://trivy.dev/v{{ .Version }}/"
244244
- "--platform=linux/ppc64le"
245245
extra_files:
246246
- contrib/

0 commit comments

Comments
 (0)