{"id":632,"date":"2016-05-10T10:50:59","date_gmt":"2016-05-10T19:50:59","guid":{"rendered":"\/blog\/?p=632"},"modified":"2023-09-21T09:38:02","modified_gmt":"2023-09-21T00:38:02","slug":"fortifyxml-%eb%a6%ac%ed%8f%ac%ed%8a%b8%ec%97%90%ec%84%9c-issue-%ea%b0%af%ec%88%98-%eb%bd%91%ec%95%84%eb%82%b4%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=632","title":{"rendered":"[Fortify]XML \ub9ac\ud3ec\ud2b8\uc5d0\uc11c Issue \uac2f\uc218 \ubf51\uc544\ub0b4\uae30"},"content":{"rendered":"\n<p><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\u25a0 XML \ub9ac\ud3ec\ud2b8 \uc0dd\uc131\ubc29\ubc95<\/span><\/p>\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n<p><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">test.fpr &rarr; test.xml \ub85c \ubcc0\ud658\ud560 \uacbd\uc6b0.<\/span><\/p>\r\n\r\n<p><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">&lt;Fortify \uc124\uce58 \ub514\ub809\ud1a0\ub9ac&gt;\/bin\/<\/span><strong><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">reportgenerator -format xml -filterSet &quot;Quick View&quot; -source test.fpr -f test.xml<\/span><\/strong><br \/>\r\n&nbsp;<\/p>\r\n\r\n<p><span style=\"font-family:\uad74\ub9bc\uccb4,courier new,lucida console;\">16.10 \ubc84\uc804: (XML\ud3ec\ub9f7\uc744 \ub354 \uc774\uc0c1 \uc9c0\uc6d0\uc548\ud558\uace0 \ub300\uc2e0 XLS\ub97c \uc9c0\uc6d0)<\/span><\/p>\r\n\r\n<p><span style=\"font-family:\uad74\ub9bc\uccb4,courier new,lucida console;\"><strong>BIRTReportGenerator<\/strong> <strong>-format XLS -template &quot;Developer Workbook&quot; -filterSet &quot;Security Auditor View&quot; -source test.fpr -output test.xls<\/strong><\/span><\/p>\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n<p><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\u25a0 XML \ub9ac\ud3ec\ud2b8\uc5d0\uc11c \ucde8\uc57d\uc810 \uac2f\uc218\ub9cc \ubf51\uc544\ub0b4\ub294 \ubc29\ubc95<\/span><\/p>\r\n\r\n<p><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">xmlint(<\/span><a href=\"http:\/\/xmlsoft.org\/sources\/win32\/libxml2-2.7.8.win32.zip\" target=\"_blank\" rel=\"noopener\"><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">http:\/\/xmlsoft.org\/sources\/win32\/libxml2-2.7.8.win32.zip<\/span><\/a><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">)\ub97c \ub2e4\uc6b4\ubc1b\uc544 \uc124\uce58\ud55c \ud6c4 \uc544\ub798\uc758 \uc2a4\ud06c\ub9bd\ud2b8\ub97c \ud65c\uc6a9\ud55c\ub2e4.<\/span><\/p>\r\n\r\n<div style=\"font-size: 12px;\">\r\n<pre style=\"color: rgb(209, 209, 209); background: rgb(0, 0, 0);\">\r\n<span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">@echo off\r\n<\/span><span style=\"color: rgb(0, 95, 210); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">cls<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n@rem <\/span><span style=\"color: rgb(153, 153, 169); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">########################################################################<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n@rem <\/span><span style=\"color: rgb(153, 153, 169); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">#<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n@rem <\/span><span style=\"color: rgb(153, 153, 169); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"># Get fortify issue count from XML Report (Windows)<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n@rem <\/span><span style=\"color: rgb(153, 153, 169); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">#<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n@rem <\/span><span style=\"color: rgb(153, 153, 169); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"># eSecuVali Corp.<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n@rem <\/span><span style=\"color: rgb(153, 153, 169); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">#<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n@rem <\/span><span style=\"color: rgb(153, 153, 169); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"># \uc0ac\uc6a9\ubc29\ubc95 : fortify_xml2issue.bat &lt;XML\ud30c\uc77c\uba85&gt; &lt;\ucd9c\ub825 \ud30c\uc77c\uba85&gt;<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n@rem <\/span><span style=\"color: rgb(153, 153, 169); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"># Author   : \uc774\uc874\uc11d (<\/span><span style=\"color: rgb(161, 96, 244); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">hasu0707@gmail.com<\/span><span style=\"color: rgb(153, 153, 169); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">)<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n@rem <\/span><span style=\"color: rgb(153, 153, 169); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">#<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n@rem <\/span><span style=\"color: rgb(153, 153, 169); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">########################################################################<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n\r\n<\/span><span style=\"color: rgb(230, 97, 112); font-weight: bold; font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">IF<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"> NOT EXIST %1 <\/span><span style=\"color: rgb(210, 205, 134); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">(<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n    <\/span><span style=\"color: rgb(0, 95, 210); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">ECHO<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"> <\/span><span style=\"color: rgb(0, 196, 196); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">%1<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"> <\/span><span style=\"color: rgb(0, 196, 196); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\ud30c\uc77c\uc774<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"> <\/span><span style=\"color: rgb(0, 196, 196); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\uc5c6\uc2b5\ub2c8\ub2e4.<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n    <\/span><span style=\"color: rgb(0, 95, 210); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">EXIT<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"> <\/span><span style=\"color: rgb(0, 196, 196); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\/B<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n<\/span><span style=\"color: rgb(210, 205, 134); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">)<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n\r\nREM Fortify Priority : Critical\r\nxmllint --xpath &quot;string<\/span><span style=\"color: rgb(210, 205, 134); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">(<\/span><span style=\"color: rgb(0, 95, 210); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\/ReportDefinition\/ReportSection[1]\/SubSection[2]\/IssueListing\/Chart\/GroupingSection[3]\/@count<\/span><span style=\"color: rgb(210, 205, 134); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">)<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">&quot; %1 &gt;&gt; %2\r\necho|set \/p=, &gt;&gt; %2\r\nREM Fortify Priority : High\r\nxmllint --xpath &quot;string<\/span><span style=\"color: rgb(210, 205, 134); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">(<\/span><span style=\"color: rgb(0, 95, 210); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\/ReportDefinition\/ReportSection[1]\/SubSection[2]\/IssueListing\/Chart\/GroupingSection[2]\/@count<\/span><span style=\"color: rgb(210, 205, 134); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">)<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">&quot; %1 &gt;&gt; %2\r\necho|set \/p=, &gt;&gt; %2\r\nREM Fortify Priority : Low\r\nxmllint --xpath &quot;string<\/span><span style=\"color: rgb(210, 205, 134); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">(<\/span><span style=\"color: rgb(0, 95, 210); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\/ReportDefinition\/ReportSection[1]\/SubSection[2]\/IssueListing\/Chart\/GroupingSection[1]\/@count<\/span><span style=\"color: rgb(210, 205, 134); font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">)<\/span><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">&quot; %1 &gt;&gt; %2\r\necho. &gt;&gt; %2<\/span><\/pre>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0 XML \ub9ac\ud3ec\ud2b8 \uc0dd\uc131\ubc29\ubc95 &nbsp; test.fpr &rarr; test.xml \ub85c \ubcc0\ud658\ud560 \uacbd\uc6b0. &lt;Fortify \uc124\uce58 \ub514\ub809\ud1a0\ub9ac&gt;\/bin\/reportgenerator -format xml -filterSet &quot;Quick View&quot; -source test.fpr -f test.xml &nbsp; 16.10 \ubc84\uc804: (XML\ud3ec\ub9f7\uc744 \ub354 \uc774\uc0c1 \uc9c0\uc6d0\uc548\ud558\uace0 \ub300\uc2e0 XLS\ub97c \uc9c0\uc6d0) BIRTReportGenerator -format XLS -template &quot;Developer Workbook&quot; -filterSet &quot;Security Auditor View&quot; -source test.fpr -output test.xls &nbsp; \u25a0 XML \ub9ac\ud3ec\ud2b8\uc5d0\uc11c \ucde8\uc57d\uc810 \uac2f\uc218\ub9cc \ubf51\uc544\ub0b4\ub294 \ubc29\ubc95 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[66],"tags":[],"class_list":["post-632","post","type-post","status-publish","format-standard","hentry","category-computing_fortify"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=632"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/632\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}