{"id":3840,"date":"2020-10-27T11:26:01","date_gmt":"2020-10-27T02:26:01","guid":{"rendered":"\/blog\/?p=3840"},"modified":"2023-09-21T09:26:37","modified_gmt":"2023-09-21T00:26:37","slug":"fortify-%ec%96%b8%ec%96%b4-%eb%b3%84-%eb%b6%84%ec%84%9d-%eb%b0%a9%eb%b2%95-%ec%a0%95%eb%a6%ac","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=3840","title":{"rendered":"[Fortify] \uc5b8\uc5b4 \ubcc4 \ubd84\uc11d \ubc29\ubc95 \uc815\ub9ac"},"content":{"rendered":"\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">REM ##########################################################################\nREM Clean\nREM ##########################################################################\nsourceanalyzer -b test -clean\n\nREM --------------------------------------------------------------------------\nREM Android\nREM --------------------------------------------------------------------------\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_translate.log gradlew assemble taskname\n\nREM --------------------------------------------------------------------------\nREM ASP\nREM --------------------------------------------------------------------------\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_translate.log \"-Dcom.fortify.sca.ASPVirtualRoots=C:\\files\\foo\" \"-Dcom.fortify.sca.ASPVirtualRoots.Include=C:\\WebServer\\CustomerOne\\inc\" \"-Dcom.fortify.sca.ASPVirtualRoots.Library=C:\\WebServer\\CustomerTwo\\Stuff\"\n\nREM --------------------------------------------------------------------------\nREM C\/C++\nREM --------------------------------------------------------------------------\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_translate.log gcc -I. -o hello.o -c helloworld.c\n\nREM --------------------------------------------------------------------------\nREM C\/C++ Make (Pro*C)\nREM --------------------------------------------------------------------------\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_translate.log touchless make -f Makefile\n\nREM --------------------------------------------------------------------------\nREM .NET (C#)\nREM --------------------------------------------------------------------------\nSET \"PATH=%PATH%;C:\\Program Files\\Fortify\\Fortify_SCA_and_Apps_20.1.2\\Core\\private-bin\\sca\\MSBuild\\Current\\Bin\"\nsourceanalyzer -b test -Xmx16g -Xss16m -encoding UTF-8 -logfile test_translate.log C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\MSBuild.exe D:\\dotnet_project\\test.sln \/logger \"C:\\Program Files\\Fortify\\Fortify_SCA_and_Apps_20.1.2\\Core\\lib\\FortifyMSBuildTouchless.dll\" \/fl \/t:Rebuild \/p:Configuration=Debug\n\nREM --------------------------------------------------------------------------\nREM Apple IOS\nREM --------------------------------------------------------------------------\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_translate.log xcodebuild clean build -workspace DemoAppSwift.xcworkspace -scheme DemoAppSwift -sdk iphonesimulator\n\nREM --------------------------------------------------------------------------\nREM Java\nREM --------------------------------------------------------------------------\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_translate.log -cp \"build\/classes:lib\/*.jar\" \"\/**\/*.java\"\n\nREM --------------------------------------------------------------------------\nREM Java EE\nREM --------------------------------------------------------------------------\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_translate.log -cp \"build\/classes:lib\/*.jar\" \"\/**\/*.jsp\" \"\/**\/*.xml\"\n\nREM --------------------------------------------------------------------------\nREM Java ANT\nREM --------------------------------------------------------------------------\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_translate.log ant build.xml\n\nREM --------------------------------------------------------------------------\nREM Java Gradle\nREM --------------------------------------------------------------------------\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_translate.log gradle clean build\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_translate.log gradle --info assemble\n\nREM --------------------------------------------------------------------------\nREM Java Maven (maven \ud50c\ub7ec\uadf8\uc778\uc774 \uae30 \uc124\uce58\ub418\uc5b4 \uc788\uc5b4\uc57c \ud55c\ub2e4)\nREM --------------------------------------------------------------------------\nREM mvn com.fortify.sca.plugins.maven:sca-maven-plugin:20.1.2:clean\nREM mvn com.fortify.sca.plugins.maven:sca-maven-plugin:20.1.2:translate\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_translate.log -exclude \"fileA;fileB;fileC;\" mvn package\n\nREM --------------------------------------------------------------------------\nREM Python\nREM --------------------------------------------------------------------------\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_translate.log -python-version 3 -python-path \"\/usr\/lib\/python3.4:\/usr\/local\/lib\/python3.4\/site-packages\" \"src\/*.py\"\n\nREM --------------------------------------------------------------------------\nREM SQL\nREM --------------------------------------------------------------------------\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_translate.log -sql-language TSQL \"sources\/**\/*.sql\"\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_translate.log -sql-language PL\/SQL \"sources\/**\/*.pks\"\n\nREM ##########################################################################\nREM MBS Export\nREM ##########################################################################\nsourceanalyzer -b test -export-build-session test.mbs\n\nREM ##########################################################################\nREM MBS Import \ud6c4 Scan\nREM ##########################################################################\nsourceanalyzer -b test -clean\nsourceanalyzer -b test -import-build-session test.mbs\nsourceanalyzer -b test -Xmx8192m -Xss16m -logfile test_scan.log -scan -f test.fpr\n\nREM ##########################################################################\nREM Application ID \uc5f4\ub78c\nREM ##########################################################################\nfortifyclient -url \"http:\/\/10.10.10.31:8080\/ssc\" -user admin -password pass1234 listApplicationVersions\n\nREM ##########################################################################\nREM SSC\uc5d0 FPR \uc5c5\ub85c\ub4dc\nREM ##########################################################################\nfortifyclient -url \"http:\/\/10.10.10.31:8080\/ssc\" -user admin -password pass1234 uploadFPR -file test.fpr -applicationVersionID 1002<\/pre>\n","protected":false},"excerpt":{"rendered":"","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-3840","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\/3840","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=3840"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3840\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}