Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix broken links #4947

Open
nikpivkin opened this issue Aug 4, 2023 · 2 comments
Open

docs: fix broken links #4947

nikpivkin opened this issue Aug 4, 2023 · 2 comments
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/documentation Categorizes issue or PR as related to documentation.

Comments

@nikpivkin
Copy link
Contributor

nikpivkin commented Aug 4, 2023

Build docs:

docker build -t mkdocs docs/build/
docker run --rm -it --entrypoint=/bin/sh -v ${PWD}:/docs mkdocs
mike deploy --update-aliases v0.44

Run lychee:

docker run --init -it --rm -w /docs -v $(pwd)/site:/docs lycheeverse/lychee . --exclude "https://fonts.gstatic.com" --exclude "https://twitter.com/AquaTrivy" --exclude "file:///trivy/v0.44" --exlucde "http://localhost:8000" --exclude ".*@.*" --exclude "file://.*"
....
Issues found in 18 inputs. Find details below.

[./ecosystem/ide/index.html]:
✗ [404] https://docs.rancherdesktop.io/getting-started/features#scanning-images | Failed: Network error: Not Found

[./community/contribute/discussion/index.html]:
✗ [404] https://aquasecurity.github.io/trivy/latest/docs/vulnerability/detection/data-source/ | Failed: Network error: Not Found
✗ [403] https://gitlab.com/gitlab-org/security-products/gemnasium-db/-/issues/new | Failed: Network error: Forbidden

[./docs/advanced/modules/index.html]:
✗ [404] https://oras.land/cli/ | Failed: Network error: Not Found

[./docs/supply-chain/attestation/sbom/index.html]:
✗ [404] https://docs.sigstore.dev/cosign/key-generation | Failed: Network error: Not Found

[./docs/scanner/misconfiguration/policy/exceptions/index.html]:
✗ [404] https://github.com/aquasecurity/trivy/tree/b12d1a70364290579dc0e6ca444d35edc490c7d2/examples/misconf/namespace-exception | Failed: Network error: Not Found
✗ [404] https://github.com/aquasecurity/defsec/blob/master/internal/rules/kubernetes/policies/pss/restricted/3_runs_as_root.rego | Failed: Network error: Not Found
✗ [404] https://github.com/aquasecurity/trivy/tree/b12d1a70364290579dc0e6ca444d35edc490c7d2/examples/misconf/rule-exception | Failed: Network error: Not Found

[./tutorials/additional-resources/community/index.html]:
✗ [ERR] https://www.a10o.net/devsecops/docker-image-security-static-analysis-tool-comparison-anchore-engine-vs-clair-vs-trivy/ | Failed: Network error: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1921: (unable to get local issuer certificate)

[./docs/scanner/misconfiguration/custom/schema/index.html]:
✗ [404] https://www.openpolicyagent.org/docs/latest/schemas/#schema-annotations | Failed: Network error: Not Found

[./docs/scanner/vulnerability/os/index.html]:
✗ [404] https://developers.redhat.com/products/rhel/ubi%C2%A0 | Failed: Network error: Not Found
✗ [404] https://github.com/GoogleContainerTools/distroless%C2%A0 | Failed: Network error: Not Found

[./docs/advanced/air-gap/index.html]:
✗ [404] https://oras.land/cli/ | Failed: Network error: Not Found

[./docs/scanner/misconfiguration/custom/index.html]:
✗ [404] https://github.com/aquasecurity/defsec/blob/418759b4dc97af25f30f32e0bd365be7984003a1/pkg/types/sources.go) | Failed: Network error: Not Found
✗ [404] https://www.openpolicyagent.org/docs/latest/annotations/ | Failed: Network error: Not Found

[./getting-started/installation/index.html]:
✗ [404] https://archlinux.org/packages/community/x86_64/trivy/ | Failed: Network error: Not Found

[./docs/supply-chain/attestation/vuln/index.html]:
✗ [404] https://docs.sigstore.dev/cosign/key-generation | Failed: Network error: Not Found

[./tutorials/additional-resources/cks/index.html]:
✗ [403] https://jonathan18186.medium.com/certified-kubernetes-security-specialist-cks-preparation-part-7-supply-chain-security-9cf62c34cf6a | Failed: Network error: Forbidden
@nikpivkin nikpivkin added the kind/documentation Categorizes issue or PR as related to documentation. label Aug 4, 2023
@knqyf263 knqyf263 added help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. labels Sep 5, 2023
@za
Copy link
Contributor

za commented Sep 15, 2023

Hi there,

Are there any recent changes that causing those URL returns 404? Should we remove/update those broken links?

Biehlj added a commit to Biehlj/trivy that referenced this issue Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/documentation Categorizes issue or PR as related to documentation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants