<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to Secure your Code and Docker Container Images in a Jenkins CICD pipeline with CG SourceGua in DevSecOps</title>
    <link>https://community.checkpoint.com/t5/DevSecOps/How-to-Secure-your-Code-and-Docker-Container-Images-in-a-Jenkins/m-p/95809#M7</link>
    <description>&lt;P&gt;As I've faced the same error and found the answer in this post, I'll keep some details here:&lt;/P&gt;&lt;P&gt;There is an Azure functions project. If I run the &lt;FONT face="lucida sans unicode,lucida sans"&gt;sourceguard-cli&lt;/FONT&gt; command&amp;nbsp; in the&amp;nbsp;folder where the python file (__init__.py) is located I fail (as well as if I specify the file name)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Directory: C:\Users\arazumov\Documents\Coding\Azure_09\funcPyTest\arPyTest

Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 01.09.2020 21:29 316 function.json
-a---- 01.09.2020 21:29 25 sample.dat
-a---- 02.09.2020 8:44 624 __init__.py

PS C:\Users\arazumov\Documents\Coding\Azure_09\funcPyTest\arPyTest&amp;gt; sourceguard-cli.exe -src .
02-09-2020 09:18:15.400 SourceGuard Scan Started!
02-09-2020 09:18:15.845 Error: repository URL is missing&lt;/LI-CODE&gt;&lt;P&gt;I need to be in the project root directory where the &lt;FONT face="lucida sans unicode,lucida sans"&gt;.git&lt;/FONT&gt; folder is located:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Directory: C:\Users\arazumov\Documents\Coding\Azure_09\funcPyTest

Mode LastWriteTime Length Name
---- ------------- ------ ----
d--h-- 02.09.2020 8:44 .git
d----- 01.09.2020 21:29 .vscode
d----- 01.09.2020 21:29 arPyTest
-a---- 01.09.2020 21:28 41 .funcignore
-a---- 01.09.2020 21:29 1787 .gitignore
-a---- 01.09.2020 21:49 2458 azure-pipelines.yml
-a---- 01.09.2020 21:28 289 host.json
-a---- 01.09.2020 21:28 118 local.settings.json
-a---- 01.09.2020 21:28 72 proxies.json
-a---- 01.09.2020 21:28 200 requirements.txt

PS C:\Users\arazumov\Documents\Coding\Azure_09\funcPyTest&amp;gt; sourceguard-cli.exe -src .
02-09-2020 09:19:41.023 SourceGuard Scan Started!
02-09-2020 09:19:41.638 Project name: PyTest path: .
02-09-2020 09:19:41.638 Scan ID: 1b9cb9624438a84d314e22f36fc2f01aa1a56612772d2127261173062e6b5933-zXAORM
02-09-2020 09:20:21.515 Scanning ...
02-09-2020 09:20:27.765 Analyzing ...
02-09-2020 09:21:58.856 Action: ALLOW
02-09-2020 09:21:58.857 Please see full analysis: https://portal.checkpoint.com/Dashboard/SourceGuard#/scan/sourcecode/1b9cb9624438a84d314e22f36fc2f01aa1a56612772d2127261173062e6b5933-zXAORM&lt;/LI-CODE&gt;&lt;P&gt;By the way, your git repository name will be used as a "project name" in the SourceGuard portal.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Sep 2020 06:45:58 GMT</pubDate>
    <dc:creator>Anton_Razumov</dc:creator>
    <dc:date>2020-09-02T06:45:58Z</dc:date>
    <item>
      <title>How to Secure your Code and Docker Container Images in a Jenkins CICD pipeline with CG SourceGuard</title>
      <link>https://community.checkpoint.com/t5/DevSecOps/How-to-Secure-your-Code-and-Docker-Container-Images-in-a-Jenkins/m-p/85602#M2</link>
      <description>&lt;P&gt;SourceGuard was developped by Itamar Lavender and his team and is in Beta. It is one of the SAST scanners under development at Checkpoint that can do both source code scanning with a Repository like Github but container images as well.&lt;/P&gt;
&lt;P&gt;Please refer the github page below to learn how to deploy and start performing DevSecOps SAST or Static Application Security Testing. It is available for everyone to test via the infinity portal&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/chkp-dhouari/SourceGuard" target="_self"&gt;https://github.com/chkp-dhouari/SourceGuard&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;SourceGuard can be integrated with any CICD server like Jenkins, GitLab or AWS CodePipeline to perform SAST at various stages of the application build.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the Github page below, I described how to create a jenkins pipeline as code to deploy a node.js application using a docker container and add sourceguard SAST security as part of that CICD pipeline&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/chkp-dhouari/Jenkins-SourceGuard" target="_blank" rel="noopener"&gt;https://github.com/chkp-dhouari/Jenkins-SourceGuard&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cicd.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/6123i928A6AC5C999C5ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="cicd.png" alt="cicd.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 07:09:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/DevSecOps/How-to-Secure-your-Code-and-Docker-Container-Images-in-a-Jenkins/m-p/85602#M2</guid>
      <dc:creator>powerlifter</dc:creator>
      <dc:date>2020-05-18T07:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Secure your Code and Docker Container Images in a Jenkins CICD pipeline with CG SourceGua</title>
      <link>https://community.checkpoint.com/t5/DevSecOps/How-to-Secure-your-Code-and-Docker-Container-Images-in-a-Jenkins/m-p/90045#M3</link>
      <description>&lt;P&gt;I'm trying to poke SourceGuard with some random code on Windows. As per instruction, I did the portal registration and onboarding.&lt;/P&gt;&lt;P&gt;No matter what -src title I gave, I'm always getting back "Error: repository URL is missing" error. Do you have some test "vulnerable" code to practice against? Is it possible to publish it to your git?&lt;/P&gt;&lt;P&gt;P.S. It the voice-over missing in this video &lt;A href="https://www.youtube.com/watch?v=IzpA4kq9h_g" target="_self"&gt;YouTube - SourceGuard Demo&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 10:24:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/DevSecOps/How-to-Secure-your-Code-and-Docker-Container-Images-in-a-Jenkins/m-p/90045#M3</guid>
      <dc:creator>Sergej_Gurenko</dc:creator>
      <dc:date>2020-06-29T10:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Secure your Code and Docker Container Images in a Jenkins CICD pipeline with CG SourceGua</title>
      <link>https://community.checkpoint.com/t5/DevSecOps/How-to-Secure-your-Code-and-Docker-Container-Images-in-a-Jenkins/m-p/90131#M4</link>
      <description>&lt;P&gt;it will scan a git dir. you need to install git on your laptop then make a dir. do git init and do git add the files that you want to scan&lt;/P&gt;
&lt;P&gt;I am working on updating the github page and creating a new video this week&lt;/P&gt;
&lt;P&gt;let me know if this helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 03:56:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/DevSecOps/How-to-Secure-your-Code-and-Docker-Container-Images-in-a-Jenkins/m-p/90131#M4</guid>
      <dc:creator>powerlifter</dc:creator>
      <dc:date>2020-06-30T03:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Secure your Code and Docker Container Images in a Jenkins CICD pipeline with CG SourceGua</title>
      <link>https://community.checkpoint.com/t5/DevSecOps/How-to-Secure-your-Code-and-Docker-Container-Images-in-a-Jenkins/m-p/90428#M5</link>
      <description>&lt;P&gt;I spend a few more hours trying SourceGuard to accept some piece of code without any luck. It throwing the same error. If it is not to difficult, please provide more details on using the tool.&lt;/P&gt;&lt;P&gt;Obviously I do not have developer background but did Git course some time ago and (hopefully) understand the concept of code control.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 19:05:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/DevSecOps/How-to-Secure-your-Code-and-Docker-Container-Images-in-a-Jenkins/m-p/90428#M5</guid>
      <dc:creator>Sergej_Gurenko</dc:creator>
      <dc:date>2020-07-02T19:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Secure your Code and Docker Container Images in a Jenkins CICD pipeline with CG SourceGua</title>
      <link>https://community.checkpoint.com/t5/DevSecOps/How-to-Secure-your-Code-and-Docker-Container-Images-in-a-Jenkins/m-p/95809#M7</link>
      <description>&lt;P&gt;As I've faced the same error and found the answer in this post, I'll keep some details here:&lt;/P&gt;&lt;P&gt;There is an Azure functions project. If I run the &lt;FONT face="lucida sans unicode,lucida sans"&gt;sourceguard-cli&lt;/FONT&gt; command&amp;nbsp; in the&amp;nbsp;folder where the python file (__init__.py) is located I fail (as well as if I specify the file name)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Directory: C:\Users\arazumov\Documents\Coding\Azure_09\funcPyTest\arPyTest

Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 01.09.2020 21:29 316 function.json
-a---- 01.09.2020 21:29 25 sample.dat
-a---- 02.09.2020 8:44 624 __init__.py

PS C:\Users\arazumov\Documents\Coding\Azure_09\funcPyTest\arPyTest&amp;gt; sourceguard-cli.exe -src .
02-09-2020 09:18:15.400 SourceGuard Scan Started!
02-09-2020 09:18:15.845 Error: repository URL is missing&lt;/LI-CODE&gt;&lt;P&gt;I need to be in the project root directory where the &lt;FONT face="lucida sans unicode,lucida sans"&gt;.git&lt;/FONT&gt; folder is located:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Directory: C:\Users\arazumov\Documents\Coding\Azure_09\funcPyTest

Mode LastWriteTime Length Name
---- ------------- ------ ----
d--h-- 02.09.2020 8:44 .git
d----- 01.09.2020 21:29 .vscode
d----- 01.09.2020 21:29 arPyTest
-a---- 01.09.2020 21:28 41 .funcignore
-a---- 01.09.2020 21:29 1787 .gitignore
-a---- 01.09.2020 21:49 2458 azure-pipelines.yml
-a---- 01.09.2020 21:28 289 host.json
-a---- 01.09.2020 21:28 118 local.settings.json
-a---- 01.09.2020 21:28 72 proxies.json
-a---- 01.09.2020 21:28 200 requirements.txt

PS C:\Users\arazumov\Documents\Coding\Azure_09\funcPyTest&amp;gt; sourceguard-cli.exe -src .
02-09-2020 09:19:41.023 SourceGuard Scan Started!
02-09-2020 09:19:41.638 Project name: PyTest path: .
02-09-2020 09:19:41.638 Scan ID: 1b9cb9624438a84d314e22f36fc2f01aa1a56612772d2127261173062e6b5933-zXAORM
02-09-2020 09:20:21.515 Scanning ...
02-09-2020 09:20:27.765 Analyzing ...
02-09-2020 09:21:58.856 Action: ALLOW
02-09-2020 09:21:58.857 Please see full analysis: https://portal.checkpoint.com/Dashboard/SourceGuard#/scan/sourcecode/1b9cb9624438a84d314e22f36fc2f01aa1a56612772d2127261173062e6b5933-zXAORM&lt;/LI-CODE&gt;&lt;P&gt;By the way, your git repository name will be used as a "project name" in the SourceGuard portal.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 06:45:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/DevSecOps/How-to-Secure-your-Code-and-Docker-Container-Images-in-a-Jenkins/m-p/95809#M7</guid>
      <dc:creator>Anton_Razumov</dc:creator>
      <dc:date>2020-09-02T06:45:58Z</dc:date>
    </item>
  </channel>
</rss>

