diff --git a/task/sast-snyk-check-oci-ta/0.1/sast-snyk-check-oci-ta.yaml b/task/sast-snyk-check-oci-ta/0.1/sast-snyk-check-oci-ta.yaml index 73b12ba59a..1af3d7533e 100644 --- a/task/sast-snyk-check-oci-ta/0.1/sast-snyk-check-oci-ta.yaml +++ b/task/sast-snyk-check-oci-ta/0.1/sast-snyk-check-oci-ta.yaml @@ -82,7 +82,7 @@ spec: SNYK_TOKEN="$(cat ${SNYK_TOKEN_PATH})" export SNYK_TOKEN else - to_enable_snyk='[here](https://redhat-appstudio.github.io/docs.appstudio.io/Documentation/main/how-to-guides/testing_applications/enable_snyk_check_for_a_product/)' + to_enable_snyk='[here](https://konflux-ci.dev/docs/how-tos/testing/build/snyk/)' note="Task $(context.task.name) skipped: If you wish to use the Snyk code SAST task, please create a secret name snyk-secret with the key "snyk_token" containing the Snyk token by following the steps given ${to_enable_snyk}" TEST_OUTPUT=$(make_result_json -r SKIPPED -t "$note") echo "${TEST_OUTPUT}" | tee "$(results.TEST_OUTPUT.path)" diff --git a/task/sast-snyk-check-oci-ta/0.2/sast-snyk-check-oci-ta.yaml b/task/sast-snyk-check-oci-ta/0.2/sast-snyk-check-oci-ta.yaml index 620a16cfd3..93c296b349 100644 --- a/task/sast-snyk-check-oci-ta/0.2/sast-snyk-check-oci-ta.yaml +++ b/task/sast-snyk-check-oci-ta/0.2/sast-snyk-check-oci-ta.yaml @@ -88,7 +88,7 @@ spec: SNYK_TOKEN="$(cat ${SNYK_TOKEN_PATH})" export SNYK_TOKEN else - to_enable_snyk='[here](https://redhat-appstudio.github.io/docs.appstudio.io/Documentation/main/how-to-guides/testing_applications/enable_snyk_check_for_a_product/)' + to_enable_snyk='[here](https://konflux-ci.dev/docs/how-tos/testing/build/snyk/)' note="Task $(context.task.name) skipped: If you wish to use the Snyk code SAST task, please create a secret name snyk-secret with the key "snyk_token" containing the Snyk token by following the steps given ${to_enable_snyk}" TEST_OUTPUT=$(make_result_json -r SKIPPED -t "$note") echo "${TEST_OUTPUT}" | tee "$(results.TEST_OUTPUT.path)" diff --git a/task/sast-snyk-check-oci-ta/0.3/README.md b/task/sast-snyk-check-oci-ta/0.3/README.md index a8d6ae0d01..a712c980cb 100644 --- a/task/sast-snyk-check-oci-ta/0.3/README.md +++ b/task/sast-snyk-check-oci-ta/0.3/README.md @@ -2,7 +2,7 @@ Scans source code for security vulnerabilities, including common issues such as SQL injection, cross-site scripting (XSS), and code injection attacks using Snyk Code, a Static Application Security Testing (SAST) tool. -Follow the steps given [here](https://redhat-appstudio.github.io/docs.appstudio.io/Documentation/main/how-to-guides/testing_applications/enable_snyk_check_for_a_product/) to obtain a snyk-token and to enable the snyk task in a Pipeline. +Follow the steps given [here](https://konflux-ci.dev/docs/how-tos/testing/build/snyk/) to obtain a snyk-token and to enable the snyk task in a Pipeline. The snyk binary used in this Task comes from a container image defined in https://github.com/konflux-ci/konflux-test diff --git a/task/sast-snyk-check-oci-ta/0.3/sast-snyk-check-oci-ta.yaml b/task/sast-snyk-check-oci-ta/0.3/sast-snyk-check-oci-ta.yaml index f3964c2b86..98a9519635 100644 --- a/task/sast-snyk-check-oci-ta/0.3/sast-snyk-check-oci-ta.yaml +++ b/task/sast-snyk-check-oci-ta/0.3/sast-snyk-check-oci-ta.yaml @@ -12,7 +12,7 @@ spec: description: |- Scans source code for security vulnerabilities, including common issues such as SQL injection, cross-site scripting (XSS), and code injection attacks using Snyk Code, a Static Application Security Testing (SAST) tool. - Follow the steps given [here](https://redhat-appstudio.github.io/docs.appstudio.io/Documentation/main/how-to-guides/testing_applications/enable_snyk_check_for_a_product/) to obtain a snyk-token and to enable the snyk task in a Pipeline. + Follow the steps given [here](https://konflux-ci.dev/docs/how-tos/testing/build/snyk/) to obtain a snyk-token and to enable the snyk task in a Pipeline. The snyk binary used in this Task comes from a container image defined in https://github.com/konflux-ci/konflux-test @@ -151,7 +151,7 @@ spec: else # According to shellcheck documentation, the following error can be ignored as it is ignored through indirection: https://www.shellcheck.net/wiki/SC2034 # shellcheck disable=SC2034 - to_enable_snyk='[here](https://redhat-appstudio.github.io/docs.appstudio.io/Documentation/main/how-to-guides/testing_applications/enable_snyk_check_for_a_product/)' + to_enable_snyk='[here](https://konflux-ci.dev/docs/how-tos/testing/build/snyk/)' note="Task $(context.task.name) skipped: If you wish to use the Snyk code SAST task, please create a secret name snyk-secret with the key 'snyk_token' containing the Snyk token by following the steps given ${to_enable_snyk}" TEST_OUTPUT=$(make_result_json -r SKIPPED -t "$note") echo "${TEST_OUTPUT}" | tee "$(results.TEST_OUTPUT.path)" diff --git a/task/sast-snyk-check/0.1/README.md b/task/sast-snyk-check/0.1/README.md index bb189328c2..1932eb489b 100644 --- a/task/sast-snyk-check/0.1/README.md +++ b/task/sast-snyk-check/0.1/README.md @@ -17,7 +17,7 @@ Snyk's SAST tool uses a combination of static analysis and machine learning tech ## How to obtain a snyk-token and enable snyk task on the pipeline: -Follow the steps given [here](https://redhat-appstudio.github.io/docs.appstudio.io/Documentation/main/how-to-guides/testing_applications/enable_snyk_check_for_a_product/) +Follow the steps given [here](https://konflux-ci.dev/docs/how-tos/testing/build/snyk/) ## Results: diff --git a/task/sast-snyk-check/0.1/sast-snyk-check.yaml b/task/sast-snyk-check/0.1/sast-snyk-check.yaml index defded75c7..9c361af9ff 100644 --- a/task/sast-snyk-check/0.1/sast-snyk-check.yaml +++ b/task/sast-snyk-check/0.1/sast-snyk-check.yaml @@ -64,7 +64,7 @@ spec: SNYK_TOKEN="$(cat ${SNYK_TOKEN_PATH})" export SNYK_TOKEN else - to_enable_snyk='[here](https://redhat-appstudio.github.io/docs.appstudio.io/Documentation/main/how-to-guides/testing_applications/enable_snyk_check_for_a_product/)' + to_enable_snyk='[here](https://konflux-ci.dev/docs/how-tos/testing/build/snyk/)' note="Task $(context.task.name) skipped: If you wish to use the Snyk code SAST task, please create a secret name snyk-secret with the key "snyk_token" containing the Snyk token by following the steps given ${to_enable_snyk}" TEST_OUTPUT=$(make_result_json -r SKIPPED -t "$note") echo "${TEST_OUTPUT}" | tee "$(results.TEST_OUTPUT.path)" diff --git a/task/sast-snyk-check/0.2/README.md b/task/sast-snyk-check/0.2/README.md index bb189328c2..1932eb489b 100644 --- a/task/sast-snyk-check/0.2/README.md +++ b/task/sast-snyk-check/0.2/README.md @@ -17,7 +17,7 @@ Snyk's SAST tool uses a combination of static analysis and machine learning tech ## How to obtain a snyk-token and enable snyk task on the pipeline: -Follow the steps given [here](https://redhat-appstudio.github.io/docs.appstudio.io/Documentation/main/how-to-guides/testing_applications/enable_snyk_check_for_a_product/) +Follow the steps given [here](https://konflux-ci.dev/docs/how-tos/testing/build/snyk/) ## Results: diff --git a/task/sast-snyk-check/0.2/sast-snyk-check.yaml b/task/sast-snyk-check/0.2/sast-snyk-check.yaml index 209e27ad0e..10ee769b9f 100644 --- a/task/sast-snyk-check/0.2/sast-snyk-check.yaml +++ b/task/sast-snyk-check/0.2/sast-snyk-check.yaml @@ -64,7 +64,7 @@ spec: SNYK_TOKEN="$(cat ${SNYK_TOKEN_PATH})" export SNYK_TOKEN else - to_enable_snyk='[here](https://redhat-appstudio.github.io/docs.appstudio.io/Documentation/main/how-to-guides/testing_applications/enable_snyk_check_for_a_product/)' + to_enable_snyk='[here](https://konflux-ci.dev/docs/how-tos/testing/build/snyk/)' note="Task $(context.task.name) skipped: If you wish to use the Snyk code SAST task, please create a secret name snyk-secret with the key "snyk_token" containing the Snyk token by following the steps given ${to_enable_snyk}" TEST_OUTPUT=$(make_result_json -r SKIPPED -t "$note") echo "${TEST_OUTPUT}" | tee "$(results.TEST_OUTPUT.path)" diff --git a/task/sast-snyk-check/0.3/README.md b/task/sast-snyk-check/0.3/README.md index 1813de59b5..2cfff803f0 100644 --- a/task/sast-snyk-check/0.3/README.md +++ b/task/sast-snyk-check/0.3/README.md @@ -21,7 +21,7 @@ Snyk's SAST tool uses a combination of static analysis and machine learning tech ## How to obtain a snyk-token and enable snyk task on the pipeline: -Follow the steps given [here](https://redhat-appstudio.github.io/docs.appstudio.io/Documentation/main/how-to-guides/testing_applications/enable_snyk_check_for_a_product/) +Follow the steps given [here](https://konflux-ci.dev/docs/how-tos/testing/build/snyk/) ## Results: diff --git a/task/sast-snyk-check/0.3/sast-snyk-check.yaml b/task/sast-snyk-check/0.3/sast-snyk-check.yaml index 7b9774f508..db13d14576 100644 --- a/task/sast-snyk-check/0.3/sast-snyk-check.yaml +++ b/task/sast-snyk-check/0.3/sast-snyk-check.yaml @@ -11,7 +11,7 @@ spec: description: |- Scans source code for security vulnerabilities, including common issues such as SQL injection, cross-site scripting (XSS), and code injection attacks using Snyk Code, a Static Application Security Testing (SAST) tool. - Follow the steps given [here](https://redhat-appstudio.github.io/docs.appstudio.io/Documentation/main/how-to-guides/testing_applications/enable_snyk_check_for_a_product/) to obtain a snyk-token and to enable the snyk task in a Pipeline. + Follow the steps given [here](https://konflux-ci.dev/docs/how-tos/testing/build/snyk/) to obtain a snyk-token and to enable the snyk task in a Pipeline. The snyk binary used in this Task comes from a container image defined in https://github.com/konflux-ci/konflux-test @@ -129,7 +129,7 @@ spec: else # According to shellcheck documentation, the following error can be ignored as it is ignored through indirection: https://www.shellcheck.net/wiki/SC2034 # shellcheck disable=SC2034 - to_enable_snyk='[here](https://redhat-appstudio.github.io/docs.appstudio.io/Documentation/main/how-to-guides/testing_applications/enable_snyk_check_for_a_product/)' + to_enable_snyk='[here](https://konflux-ci.dev/docs/how-tos/testing/build/snyk/)' note="Task $(context.task.name) skipped: If you wish to use the Snyk code SAST task, please create a secret name snyk-secret with the key 'snyk_token' containing the Snyk token by following the steps given ${to_enable_snyk}" TEST_OUTPUT=$(make_result_json -r SKIPPED -t "$note") echo "${TEST_OUTPUT}" | tee "$(results.TEST_OUTPUT.path)"