From f1843120a60d31fb9ce0ac00b47811a20a9c79b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= Date: Mon, 10 Oct 2022 15:18:46 +0200 Subject: [PATCH] Remove unused XSLT xccdf2table-profileanssirefs.xslt This transformation isn't used anymore because it's been replaced by gen_profile_table.py. --- docs/manual/developer/03_creating_content.md | 122 +----------------- .../xccdf2table-profileanssirefs.xslt | 112 ---------------- .../xccdf2table-profileanssirefs.xslt | 112 ---------------- products/example/new_product.sh | 115 ----------------- .../xccdf2table-profileanssirefs.xslt | 112 ---------------- 5 files changed, 2 insertions(+), 571 deletions(-) delete mode 100644 products/alinux2/transforms/xccdf2table-profileanssirefs.xslt delete mode 100644 products/alinux3/transforms/xccdf2table-profileanssirefs.xslt delete mode 100644 products/uos20/transforms/xccdf2table-profileanssirefs.xslt diff --git a/docs/manual/developer/03_creating_content.md b/docs/manual/developer/03_creating_content.md index d3efa2f2364..f44e7a9334a 100644 --- a/docs/manual/developer/03_creating_content.md +++ b/docs/manual/developer/03_creating_content.md @@ -525,125 +525,7 @@ cat << EOF >> $NEW_PRODUCT/transforms/xccdf2table-cce.xslt EOF ``` -14. Create a new file under `transforms` directory called `xccdf2table-profileanssirefs.xslt `: -``` -cat << EOF >> $NEW_PRODUCT/transforms/xccdf2table-profileanssirefs.xslt - - - - - - - - - - - - <xsl:value-of select="/cdf:Benchmark/cdf:Profile[@id=$profile]/cdf:title" /> - - -
-
-
-
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Rule TitleDescriptionRationaleVariable SettingANSSI Best practice Mapping
-
- - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-EOF -``` - -15. Create a new file under `transforms` directory called `xccdf2table-profileccirefs.xslt`: +14. Create a new file under `transforms` directory called `xccdf2table-profileccirefs.xslt`: ``` cat << EOF >> $NEW_PRODUCT/transforms/xccdf2table-profileccirefs.xslt @@ -658,7 +540,7 @@ cat << EOF >> $NEW_PRODUCT/transforms/xccdf2table-profileccirefs.xslt EOF ``` -16. Create a new file under `shared/checks/oval` directory called `installed_OS_is_custom6.xml`: +15. Create a new file under `shared/checks/oval` directory called `installed_OS_is_custom6.xml`: ``` cat << EOF >> shared/checks/oval/installed_OS_is_$NEW_PRODUCT.xml diff --git a/products/alinux2/transforms/xccdf2table-profileanssirefs.xslt b/products/alinux2/transforms/xccdf2table-profileanssirefs.xslt deleted file mode 100644 index 5cde9c4cc85..00000000000 --- a/products/alinux2/transforms/xccdf2table-profileanssirefs.xslt +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - <xsl:value-of select="/cdf:Benchmark/cdf:Profile[@id=$profile]/cdf:title" /> - - -
-
-
-
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Rule TitleDescriptionRationaleVariable SettingANSSI Best practice Mapping
-
- - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/products/alinux3/transforms/xccdf2table-profileanssirefs.xslt b/products/alinux3/transforms/xccdf2table-profileanssirefs.xslt deleted file mode 100644 index 5cde9c4cc85..00000000000 --- a/products/alinux3/transforms/xccdf2table-profileanssirefs.xslt +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - <xsl:value-of select="/cdf:Benchmark/cdf:Profile[@id=$profile]/cdf:title" /> - - -
-
-
-
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Rule TitleDescriptionRationaleVariable SettingANSSI Best practice Mapping
-
- - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/products/example/new_product.sh b/products/example/new_product.sh index 3f52cd555a2..bf2ff0b7e05 100755 --- a/products/example/new_product.sh +++ b/products/example/new_product.sh @@ -113,121 +113,6 @@ cat << EOF >> $NEW_PRODUCT/transforms/xccdf2table-cce.xslt - -EOF - -cat << EOF >> $NEW_PRODUCT/transforms/xccdf2table-profileanssirefs.xslt - - - - - - - - - - - - <xsl:value-of select="/cdf:Benchmark/cdf:Profile[@id=$profile]/cdf:title" /> - - -
-
-
-
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Rule TitleDescriptionRationaleVariable SettingANSSI Best practice Mapping
-
- - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
EOF diff --git a/products/uos20/transforms/xccdf2table-profileanssirefs.xslt b/products/uos20/transforms/xccdf2table-profileanssirefs.xslt deleted file mode 100644 index 5cde9c4cc85..00000000000 --- a/products/uos20/transforms/xccdf2table-profileanssirefs.xslt +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - <xsl:value-of select="/cdf:Benchmark/cdf:Profile[@id=$profile]/cdf:title" /> - - -
-
-
-
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Rule TitleDescriptionRationaleVariable SettingANSSI Best practice Mapping
-
- - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -