diff --git a/website/redirects.js b/website/redirects.js index cc301cca4..c049bd4be 100644 --- a/website/redirects.js +++ b/website/redirects.js @@ -251,37 +251,37 @@ module.exports = [ { source: "/terraform/cloud-docs/policy-enforcement/opa", destination: "/terraform/cloud-docs/policy-enforcement/define-policies/opa", - permanent: true + permanent: true }, { source: "/terraform/cloud-docs/policy-enforcement/sentinel/vcs", destination: "/terraform/cloud-docs/policy-enforcement/manage-policy-sets/sentinel-vcs", - permanent: true + permanent: true }, { source: "/terraform/cloud-docs/policy-enforcement/opa/vcs", destination: "/terraform/cloud-docs/policy-enforcement/manage-policy-sets/opa-vcs", - permanent: true + permanent: true }, { source: "/terraform/cloud-docs/policy-enforcement/policy-results", destination: "/terraform/cloud-docs/policy-enforcement/view-results", - permanent: true + permanent: true }, { source: "/terraform/cloud-docs/policy-enforcement/sentinel/json", destination: "/terraform/cloud-docs/policy-enforcement/view-results/json", - permanent: true + permanent: true }, { source: "/terraform/cloud-docs/policy-enforcement/sentinel/mock", destination: "/terraform/cloud-docs/policy-enforcement/test-sentinel", - permanent: true + permanent: true }, { source: "/terraform/cloud-docs/policy-enforcement/sentinel/import/:slug", destination: "/terraform/cloud-docs/policy-enforcement/import-reference/:slug", - permanent: true + permanent: true }, // Relocate pre-written Sentinel policies topic { @@ -289,4 +289,25 @@ module.exports = [ destination: "/terraform/cloud-docs/policy-enforcement/prewritten-sentinel", permanent: true }, -]; \ No newline at end of file + // IA rewrite block configuration redirects + { + source: "/terraform/language/checks", + destination: "/terraform/language/block/check", + permanent: true + }, + { + source: "/terraform/language/expressions/custom-conditions", + destination: "/terraform/language/mitigate-risk/validate", + permanent: true + }, + { + source: "/terraform/language/moved", + destination: "/terraform/language/block/moved", + permanent: true + }, + { + source: "/terraform/language/terraform", + destination: "/terraform/language/block/terraform", + permanent: true + }, +];