From 92f1ed9c7ea882a3f36c90de4c2e940ae6441798 Mon Sep 17 00:00:00 2001 From: Marko Lihter Date: Wed, 28 Feb 2024 07:36:19 +0100 Subject: [PATCH 1/7] Added redirect configuration examples --- content/ai_exchange/firebase.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/ai_exchange/firebase.json b/content/ai_exchange/firebase.json index f25ece01..68c28e68 100644 --- a/content/ai_exchange/firebase.json +++ b/content/ai_exchange/firebase.json @@ -6,6 +6,16 @@ "firebase.json", "**/.*", "**/node_modules/**" + ], + "rewrites": [ + { + "source": "/goto/secdevprogram", + "destination": "/docs/1_general_controls/#secdevprogram" + }, + { + "source": "/goto/3_development_time_threats", + "destination": "/docs/3_development_time_threats" + } ] } } From 2ad7b9d22690043221cc416512b59f3f708f6de5 Mon Sep 17 00:00:00 2001 From: Marko Lihter Date: Wed, 28 Feb 2024 07:40:45 +0100 Subject: [PATCH 2/7] Rewrite to redirect --- content/ai_exchange/firebase.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/ai_exchange/firebase.json b/content/ai_exchange/firebase.json index 68c28e68..9867403a 100644 --- a/content/ai_exchange/firebase.json +++ b/content/ai_exchange/firebase.json @@ -7,7 +7,7 @@ "**/.*", "**/node_modules/**" ], - "rewrites": [ + "redirects": [ { "source": "/goto/secdevprogram", "destination": "/docs/1_general_controls/#secdevprogram" From 2644e41d03ad6ef242cd135cddfa9a7bdc5ef0ae Mon Sep 17 00:00:00 2001 From: Marko Lihter Date: Wed, 28 Feb 2024 07:42:52 +0100 Subject: [PATCH 3/7] Adding type to redirects --- content/ai_exchange/firebase.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/ai_exchange/firebase.json b/content/ai_exchange/firebase.json index 9867403a..1c6bc235 100644 --- a/content/ai_exchange/firebase.json +++ b/content/ai_exchange/firebase.json @@ -10,11 +10,13 @@ "redirects": [ { "source": "/goto/secdevprogram", - "destination": "/docs/1_general_controls/#secdevprogram" + "destination": "/docs/1_general_controls/#secdevprogram", + "type": 301 }, { "source": "/goto/3_development_time_threats", - "destination": "/docs/3_development_time_threats" + "destination": "/docs/3_development_time_threats", + "type": 301 } ] } From d6625a0b98b7e1c9800811fcd65d081a3ddae5af Mon Sep 17 00:00:00 2001 From: Marko Lihter Date: Wed, 28 Feb 2024 08:00:17 +0100 Subject: [PATCH 4/7] Trailing slashes --- content/ai_exchange/firebase.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/ai_exchange/firebase.json b/content/ai_exchange/firebase.json index 1c6bc235..5bd4b256 100644 --- a/content/ai_exchange/firebase.json +++ b/content/ai_exchange/firebase.json @@ -9,13 +9,13 @@ ], "redirects": [ { - "source": "/goto/secdevprogram", + "source": "/goto/secdevprogram/", "destination": "/docs/1_general_controls/#secdevprogram", "type": 301 }, { - "source": "/goto/3_development_time_threats", - "destination": "/docs/3_development_time_threats", + "source": "/goto/3_development_time_threats/", + "destination": "/docs/3_development_time_threats/", "type": 301 } ] From 16079a7875b16aaf941bd24c249175cba2cece6c Mon Sep 17 00:00:00 2001 From: Marko Lihter Date: Wed, 28 Feb 2024 08:26:23 +0100 Subject: [PATCH 5/7] Added all redirects to controls --- content/ai_exchange/firebase.json | 246 +++++++++++++++++++++++++++++- 1 file changed, 243 insertions(+), 3 deletions(-) diff --git a/content/ai_exchange/firebase.json b/content/ai_exchange/firebase.json index 5bd4b256..ffc8b6b6 100644 --- a/content/ai_exchange/firebase.json +++ b/content/ai_exchange/firebase.json @@ -8,16 +8,256 @@ "**/node_modules/**" ], "redirects": [ + { + "source": "/goto/aiprogram/", + "destination": "/docs/1_general_controls/#aiprogram", + "type": 301 + }, + { + "source": "/goto/secprogram/", + "destination": "/docs/1_general_controls/#secprogram", + "type": 301 + }, { "source": "/goto/secdevprogram/", "destination": "/docs/1_general_controls/#secdevprogram", "type": 301 }, { - "source": "/goto/3_development_time_threats/", - "destination": "/docs/3_development_time_threats/", + "source": "/goto/devprogram/", + "destination": "/docs/1_general_controls/#devprogram", + "type": 301 + }, + { + "source": "/goto/checkcompliance/", + "destination": "/docs/1_general_controls/#checkcompliance", + "type": 301 + }, + { + "source": "/goto/seceducate/", + "destination": "/docs/1_general_controls/#seceducate", + "type": 301 + }, + { + "source": "/goto/dataminimize/", + "destination": "/docs/1_general_controls/#dataminimize", + "type": 301 + }, + { + "source": "/goto/alloweddata/", + "destination": "/docs/1_general_controls/#alloweddata", + "type": 301 + }, + { + "source": "/goto/shortretain/", + "destination": "/docs/1_general_controls/#shortretain", + "type": 301 + }, + { + "source": "/goto/obfuscatetrainingdata/", + "destination": "/docs/1_general_controls/#obfuscatetrainingdata", + "type": 301 + }, + { + "source": "/goto/discrete/", + "destination": "/docs/1_general_controls/#discrete", + "type": 301 + }, + { + "source": "/goto/oversight/", + "destination": "/docs/1_general_controls/#oversight", + "type": 301 + }, + { + "source": "/goto/leastmodelprivilege/", + "destination": "/docs/1_general_controls/#leastmodelprivilege", + "type": 301 + }, + { + "source": "/goto/aitransparency/", + "destination": "/docs/1_general_controls/#aitransparency", + "type": 301 + }, + { + "source": "/goto/continuousvalidation/", + "destination": "/docs/1_general_controls/#continuousvalidation", + "type": 301 + }, + { + "source": "/goto/explainability/", + "destination": "/docs/1_general_controls/#explainability", + "type": 301 + }, + { + "source": "/goto/unwantedbiastesting/", + "destination": "/docs/1_general_controls/#unwantedbiastesting", + "type": 301 + }, + { + "source": "/goto/monitoruse/", + "destination": "/docs/2_threats_through_use/#monitoruse", + "type": 301 + }, + { + "source": "/goto/ratelimit/", + "destination": "/docs/2_threats_through_use/#ratelimit", + "type": 301 + }, + { + "source": "/goto/modelaccesscontrol/", + "destination": "/docs/2_threats_through_use/#modelaccesscontrol", + "type": 301 + }, + { + "source": "/goto/detectoddinput/", + "destination": "/docs/2_threats_through_use/#detectoddinput", + "type": 301 + }, + { + "source": "/goto/detectadversarialinput/", + "destination": "/docs/2_threats_through_use/#detectadversarialinput", + "type": 301 + }, + { + "source": "/goto/evasionrobustmodel/", + "destination": "/docs/2_threats_through_use/#evasionrobustmodel", + "type": 301 + }, + { + "source": "/goto/trainadversarial/", + "destination": "/docs/2_threats_through_use/#trainadversarial", + "type": 301 + }, + { + "source": "/goto/inputdistortion/", + "destination": "/docs/2_threats_through_use/#inputdistortion", + "type": 301 + }, + { + "source": "/goto/adversarialrobustdistillation/", + "destination": "/docs/2_threats_through_use/#adversarialrobustdistillation", + "type": 301 + }, + { + "source": "/goto/filtersensitivemodeloutput/", + "destination": "/docs/2_threats_through_use/#filtersensitivemodeloutput", + "type": 301 + }, + { + "source": "/goto/obscureconfidence/", + "destination": "/docs/2_threats_through_use/#obscureconfidence", + "type": 301 + }, + { + "source": "/goto/smallmodel/", + "destination": "/docs/2_threats_through_use/#smallmodel", + "type": 301 + }, + { + "source": "/goto/dosinputvalidation/", + "destination": "/docs/2_threats_through_use/#dosinputvalidation", + "type": 301 + }, + { + "source": "/goto/limitresources/", + "destination": "/docs/2_threats_through_use/#limitresources", + "type": 301 + }, + { + "source": "/goto/devdataprotect/", + "destination": "/docs/3_development_time_threats/#devdataprotect", + "type": 301 + }, + { + "source": "/goto/devsecurity/", + "destination": "/docs/3_development_time_threats/#devsecurity", + "type": 301 + }, + { + "source": "/goto/segregatedata/", + "destination": "/docs/3_development_time_threats/#segregatedata", + "type": 301 + }, + { + "source": "/goto/confcompute/", + "destination": "/docs/3_development_time_threats/#confcompute", + "type": 301 + }, + { + "source": "/goto/federativelearning/", + "destination": "/docs/3_development_time_threats/#federativelearning", + "type": 301 + }, + { + "source": "/goto/supplychainmanage/", + "destination": "/docs/3_development_time_threats/#supplychainmanage", + "type": 301 + }, + { + "source": "/goto/modelensemble/", + "destination": "/docs/3_development_time_threats/#modelensemble", + "type": 301 + }, + { + "source": "/goto/moretraindata/", + "destination": "/docs/3_development_time_threats/#moretraindata", + "type": 301 + }, + { + "source": "/goto/dataqualitycontrol/", + "destination": "/docs/3_development_time_threats/#dataqualitycontrol", + "type": 301 + }, + { + "source": "/goto/traindatadistortion/", + "destination": "/docs/3_development_time_threats/#traindatadistortion", + "type": 301 + }, + { + "source": "/goto/poisonrobustmodel/", + "destination": "/docs/3_development_time_threats/#poisonrobustmodel", + "type": 301 + }, + { + "source": "/goto/runtimemodelintegrity/", + "destination": "/docs/4_runtime_application_security_threats/#runtimemodelintegrity", + "type": 301 + }, + { + "source": "/goto/runtimemodeliointegrity/", + "destination": "/docs/4_runtime_application_security_threats/#runtimemodeliointegrity", + "type": 301 + }, + { + "source": "/goto/runtimemodelconfidentiality/", + "destination": "/docs/4_runtime_application_security_threats/#runtimemodelconfidentiality", + "type": 301 + }, + { + "source": "/goto/modelobfuscation/", + "destination": "/docs/4_runtime_application_security_threats/#modelobfuscation", + "type": 301 + }, + { + "source": "/goto/encodemodeloutput/", + "destination": "/docs/4_runtime_application_security_threats/#encodemodeloutput", + "type": 301 + }, + { + "source": "/goto/promptinputvalidation/", + "destination": "/docs/4_runtime_application_security_threats/#promptinputvalidation", + "type": 301 + }, + { + "source": "/goto/inputsegregation/", + "destination": "/docs/4_runtime_application_security_threats/#inputsegregation", + "type": 301 + }, + { + "source": "/goto/modelinputconfidentiality/", + "destination": "/docs/4_runtime_application_security_threats/#modelinputconfidentiality", "type": 301 } ] } -} +} \ No newline at end of file From 805c3eb1506319aecc42d07e87321bc131b1f288 Mon Sep 17 00:00:00 2001 From: Marko Lihter Date: Wed, 28 Feb 2024 08:28:12 +0100 Subject: [PATCH 6/7] Testing rewrite --- content/ai_exchange/firebase.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/ai_exchange/firebase.json b/content/ai_exchange/firebase.json index ffc8b6b6..44d40588 100644 --- a/content/ai_exchange/firebase.json +++ b/content/ai_exchange/firebase.json @@ -7,7 +7,7 @@ "**/.*", "**/node_modules/**" ], - "redirects": [ + "rewrites": [ { "source": "/goto/aiprogram/", "destination": "/docs/1_general_controls/#aiprogram", From b2a93350973e74bb726020435a579907db56dbb3 Mon Sep 17 00:00:00 2001 From: Marko Lihter Date: Wed, 28 Feb 2024 08:30:06 +0100 Subject: [PATCH 7/7] Switching back to redirects --- content/ai_exchange/firebase.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/ai_exchange/firebase.json b/content/ai_exchange/firebase.json index 44d40588..ffc8b6b6 100644 --- a/content/ai_exchange/firebase.json +++ b/content/ai_exchange/firebase.json @@ -7,7 +7,7 @@ "**/.*", "**/node_modules/**" ], - "rewrites": [ + "redirects": [ { "source": "/goto/aiprogram/", "destination": "/docs/1_general_controls/#aiprogram",