From 20645df5fba5af225e6e5fc5db170c3234ac0a19 Mon Sep 17 00:00:00 2001 From: David Shafer Date: Wed, 19 Dec 2018 16:03:48 -0600 Subject: [PATCH] Create CSV and tab-separated reports --- lib/baseline_report.xsl | 474 ++++++++++++++++++++++++++++++++++++ lib/baseline_report_csv.xsl | 424 +------------------------------- lib/baseline_report_tsv.xsl | 28 +++ 3 files changed, 507 insertions(+), 419 deletions(-) create mode 100644 lib/baseline_report.xsl create mode 100644 lib/baseline_report_tsv.xsl diff --git a/lib/baseline_report.xsl b/lib/baseline_report.xsl new file mode 100644 index 0000000..d27e703 --- /dev/null +++ b/lib/baseline_report.xsl @@ -0,0 +1,474 @@ + + + + + + + + + + + + + + + + + + + + + #entityID + + timestamp + + Organization Display Name + + Entity Type + + Entity Display Name + + Privacy URL + + Logo Present + + Tech Contact + + Admin Contact + + Security Contact + + Complies + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + " + + " + + + NONE + + + + + + IdP + + + + + + + + + + + + + + " + + " + + + NONE + + + + + + + + " + + " + + + NONE + + + + + + + + TRUE + + + FALSE + + + + + + + + " + + " + + + NONE + + + + + + + + " + + " + + + NONE + + + + + + + + " + + " + + + " + + " + + + NONE + + + + + + + + Y + + + N + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + " + + " + + + NONE + + + + + + + SP + + + + + + + + + + + + + + " + + " + + + NONE + + + + + + + + " + + " + + + NONE + + + + + + + + TRUE + + + FALSE + + + + + + + + " + + " + + + NONE + + + + + + + + " + + " + + + NONE + + + + + + + + " + + " + + + " + + " + + + NONE + + + + + + + + Y + + + N + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/baseline_report_csv.xsl b/lib/baseline_report_csv.xsl index 8005510..87c4de8 100644 --- a/lib/baseline_report_csv.xsl +++ b/lib/baseline_report_csv.xsl @@ -13,430 +13,16 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ---> - - - - - - + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - - + - - entityID,timestamp,Organization Display Name,Entity Type,Entity Display Name,Privacy URL,Logo Present,Tech Contact,Admin Contact,Security Contact,Complies - - - - - - - - - - - - - - - - - - - - - - , - - - - , - - - - - - - - - - - " - - " - - - NONE - - - - - , - IdP - - - , - - - - - - - - - - - " - - " - - - NONE - - - - - , - - - " - - " - - - NONE - - - - - , - - - TRUE - - - FALSE - - - - - , - - - " - - " - - - NONE - - - - - , - - - " - - " - - - NONE - - - - - , - - - " - - " - - - " - - " - - - NONE - - - - - , - - - Y - - - N - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - , - - - - , - - - - - - - - - - - " - - " - - - NONE - - - - - - , - SP - - - , - - - - - - - - - - - " - - " - - - NONE - - - - - , - - - " - - " - - - NONE - - - - - , - - - TRUE - - - FALSE - - - - - , - - - " - - " - - - NONE - - - - - , - - - " - - " - - - NONE - - - - - , - - - " - - " - - - " - - " - - - NONE - - - - - , - - - Y - - - N - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/baseline_report_tsv.xsl b/lib/baseline_report_tsv.xsl new file mode 100644 index 0000000..09fcf60 --- /dev/null +++ b/lib/baseline_report_tsv.xsl @@ -0,0 +1,28 @@ + + + + + + + + + + + + +