{"id":60704,"date":"2024-03-24T18:09:45","date_gmt":"2024-03-24T12:39:45","guid":{"rendered":"https:\/\/www.tothenew.com\/blog\/?p=60704"},"modified":"2024-03-27T18:28:16","modified_gmt":"2024-03-27T12:58:16","slug":"aws-codeguru","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/aws-codeguru\/","title":{"rendered":"AWS CodeGuru"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>AWS CodeGuru utilizes Machine Learning and Automated Reasoning to identify security and quality issues in your application code, offering guidance on addressing and resolving them.<\/p>\n<p>It provides a comprehensive offering of functionalities like:<\/p>\n<p><b>\u25cf Code Review with Amazon CodeGuru Reviewer:<\/b> This tool Profiler visualizes your application performance, showing you the methods that take the most time and CPU capacity to execute. This helps you diagnose and isolate the root causes of application issues during operational events much faster.<\/p>\n<p><b>\u25cf Performance Profiling with Amazon CodeGuru Profiler:<\/b> This tool Profiler visualizes your application performance, showing you the methods that take the most time and CPU capacity to execute. This helps you diagnose and isolate the root causes of application issues during operational events much faster.<\/p>\n<p><b>\u25cf Code Testing with <\/b><b>CodeGuru Security<\/b><b>:<\/b> This feature functions as a static application security testing (SAST) tool, leveraging the power of Machine Learning and Automated Reasoning. It detects vulnerabilities in your code, offers recommendations for addressing them, and monitors the status of these vulnerabilities until they are resolved.<\/p>\n<h2>Scenario<\/h2>\n<p>In this article, we will be implementing how we can use CodeGuru to perform the following:<\/p>\n<ul>\n<li>Code review<\/li>\n<li>Performance Profiling<\/li>\n<li>Code Testing<\/li>\n<\/ul>\n<h2>Implementation<\/h2>\n<h3>CloudGuru Security<\/h3>\n<p>It detects vulnerabilities in your code, offers recommendations for addressing them, and monitors the status of these vulnerabilities until they are resolved. Follow the below steps to perform the scan:<\/p>\n<h3>1. Integrate GitHub or any Version Control System.<\/h3>\n<p>To do so, go to the integration section.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-60687\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-15-45-35.png\" alt=\"\" width=\"1850\" height=\"1046\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-15-45-35.png 1850w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-15-45-35-300x170.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-15-45-35-1024x579.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-15-45-35-768x434.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-15-45-35-1536x868.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-15-45-35-624x353.png 624w\" sizes=\"(max-width: 1850px) 100vw, 1850px\" \/><\/p>\n<p>As you see, the above image has an option for GitHub. Click on integrate with GitHub, and you will see the option to integrate GitHub. Fill in the details by following the given steps.<\/p>\n<h2><strong>Step 1<\/strong><\/h2>\n<p><b>\u25cf Create an IAM role: <\/b>It creates a CloudFormation stack that automatically sets up an IAM role with the required permissions for your workflow to run security scans. After creating the stack, come back to this page to continue setting up your pipeline integration, or we can create it manually.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-60688 size-full\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-07-13-43-07.png\" alt=\"\" width=\"429\" height=\"917\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-07-13-43-07.png 429w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-07-13-43-07-140x300.png 140w\" sizes=\"(max-width: 429px) 100vw, 429px\" \/><\/p>\n<h2><strong>Step 2<\/strong><\/h2>\n<p><b>\u25cf Create a Custom workflow in GitLab: <\/b>You&#8217;ll need to craft a custom workflow for your repository. Think of it as your personalized roadmap with steps and actions to make those security scans happen. Once your workflow file is in place, CodeGuru will automatically roll out code scans whenever the events outlined in the file come into play. It&#8217;s like having your own security guardian for your code. The process to create workflow is given in the integration process.<\/p>\n<h2><strong>Step 3<\/strong><\/h2>\n<p><b>\u25cf View scan results: <\/b>After creating the workflow, CodeGuru Security will automatically run scans based on the events that you have defined in the workflow file. To view a scan and its findings, go to the Scans page and choose the scan you want to view. On the scan details page, choose the Findings tab to see the findings generated by that scan.<\/p>\n<p><strong>\u25cf <\/strong>Then click on <strong>complete<\/strong>.<\/p>\n<h3>2. How to Setup Scans<\/h3>\n<p>\u25cf First, click on the Scan option.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-60689 size-full\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-29-15.png\" alt=\"\" width=\"1850\" height=\"1019\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-29-15.png 1850w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-29-15-300x165.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-29-15-1024x564.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-29-15-768x423.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-29-15-1536x846.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-29-15-624x344.png 624w\" sizes=\"(max-width: 1850px) 100vw, 1850px\" \/><\/p>\n<p>\u25cf Then click on Create new scan.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-60690 size-full\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-34-47.png\" alt=\"\" width=\"975\" height=\"975\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-34-47.png 975w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-34-47-300x300.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-34-47-150x150.png 150w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-34-47-768x768.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-34-47-624x624.png 624w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-34-47-120x120.png 120w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-34-47-24x24.png 24w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-34-47-48x48.png 48w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-34-47-96x96.png 96w\" sizes=\"(max-width: 975px) 100vw, 975px\" \/><\/p>\n<p>\u25cf Upload the zip file of your code.<\/p>\n<p>\u25cf Enter the scan name.<\/p>\n<p>\u25cf Then click on Create Scan.<\/p>\n<p>\u25cf After some time, you will see your scan has been created.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-60689 size-full\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-29-15.png\" alt=\"\" width=\"1850\" height=\"1019\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-29-15.png 1850w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-29-15-300x165.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-29-15-1024x564.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-29-15-768x423.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-29-15-1536x846.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-29-15-624x344.png 624w\" sizes=\"(max-width: 1850px) 100vw, 1850px\" \/><\/p>\n<p>Now click on that scan, and you will see the overview and findings of your uploaded code. As you see in below screenshot in my code, I got one finding <b>Overflow when deserializing relational database objects<\/b> in Java code, which says, \u201c<b>Deserializing objects from relational databases should allocate a 64-bit, not 32-bit, type for the auto-incremented identifier\u201d <\/b>and if click on your finding, it gives you full details of the vulnerability and also it\u2019s recommendations.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-60691 size-full\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-38-40.png\" alt=\"\" width=\"1850\" height=\"1019\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-38-40.png 1850w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-38-40-300x165.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-38-40-1024x564.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-38-40-768x423.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-38-40-1536x846.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-38-40-624x344.png 624w\" sizes=\"(max-width: 1850px) 100vw, 1850px\" \/> <img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-60692 size-full\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-12-13-02.png\" alt=\"\" width=\"1460\" height=\"575\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-12-13-02.png 1460w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-12-13-02-300x118.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-12-13-02-1024x403.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-12-13-02-768x302.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-12-13-02-624x246.png 624w\" sizes=\"(max-width: 1460px) 100vw, 1460px\" \/> <img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-60693 alignnone\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-12-13-02-1.png\" alt=\"\" width=\"1460\" height=\"575\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-12-13-02-1.png 1460w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-12-13-02-1-300x118.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-12-13-02-1-1024x403.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-12-13-02-1-768x302.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-12-13-02-1-624x246.png 624w\" sizes=\"(max-width: 1460px) 100vw, 1460px\" \/> <img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-60694 alignnone\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-11-44-06.png\" alt=\"\" width=\"1612\" height=\"896\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-11-44-06.png 1612w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-11-44-06-300x167.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-11-44-06-1024x569.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-11-44-06-768x427.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-11-44-06-1536x854.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-11-44-06-624x347.png 624w\" sizes=\"(max-width: 1612px) 100vw, 1612px\" \/><\/p>\n<h2>CloudGuru Reviewer<\/h2>\n<p>We will find issues in the Java and Python code and see recommendations on how to remediate them using CloudGuru Reviewer by following the below steps:<\/p>\n<p><strong>1.<\/strong> Click on repositories.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-60695 size-full\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-58-35.png\" alt=\"\" width=\"1558\" height=\"366\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-58-35.png 1558w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-58-35-300x70.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-58-35-1024x241.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-58-35-768x180.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-58-35-1536x361.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-58-35-624x147.png 624w\" sizes=\"(max-width: 1558px) 100vw, 1558px\" \/><\/p>\n<p><strong>2.<\/strong> Then click on the Associate repository and run analysis.<\/p>\n<p><strong>3.<\/strong> Click on Connect to your Github account, it automatically connects with your account as you have already integrated your Github account in previous steps.<\/p>\n<p><strong>4.<\/strong> Then select the repository.<\/p>\n<p><strong>5<\/strong>. Enter the name of your branch where your code is pushed.<\/p>\n<p><strong>6.<\/strong> Lastly click on Associate repository and run analysis<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-60696 size-full\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-08-12-33-22.png\" alt=\"\" width=\"694\" height=\"1029\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-08-12-33-22.png 694w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-08-12-33-22-202x300.png 202w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-08-12-33-22-691x1024.png 691w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-08-12-33-22-624x925.png 624w\" sizes=\"(max-width: 694px) 100vw, 694px\" \/><\/p>\n<p>Now go to the Code Review option.<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-60697 size-full\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-57-43.png\" alt=\"\" width=\"1850\" height=\"1019\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-57-43.png 1850w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-57-43-300x165.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-57-43-1024x564.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-57-43-768x423.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-57-43-1536x846.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-57-43-624x344.png 624w\" sizes=\"(max-width: 1850px) 100vw, 1850px\" \/><\/p>\n<p><strong>7.<\/strong> Then Click on the Full repository analysis.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-60698 size-full\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-59-28.png\" alt=\"\" width=\"1067\" height=\"666\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-59-28.png 1067w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-59-28-300x187.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-59-28-1024x639.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-59-28-768x479.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-16-59-28-624x389.png 624w\" sizes=\"(max-width: 1067px) 100vw, 1067px\" \/><\/p>\n<p><strong>8.<\/strong> Click on Name of repository, you will see reviews of your code as you can see in below screenshot it gives a review at a particular code of line which recommends that you add final in the selected lines so that it is consistent with 3 other similar occurrences in your code. So that\u2019s how you will get recommendations of each particular line in your code where it sees there is a scope of improvement.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-60699 size-full\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-00-46.png\" alt=\"\" width=\"1851\" height=\"1034\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-00-46.png 1851w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-00-46-300x168.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-00-46-1024x572.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-00-46-768x429.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-00-46-1536x858.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-00-46-624x349.png 624w\" sizes=\"(max-width: 1851px) 100vw, 1851px\" \/><\/p>\n<h2>CloudGuru Profiles<\/h2>\n<p>Here we will visualize the application performance, by checking the methods that take the most time and CPU capacity to execute by following below steps:<\/p>\n<p>Process to create profile groups.<\/p>\n<p><strong>1.<\/strong> Click on Profile Groups<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-60700 size-full\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-04-44.png\" alt=\"\" width=\"664\" height=\"664\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-04-44.png 664w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-04-44-300x300.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-04-44-150x150.png 150w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-04-44-624x624.png 624w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-04-44-120x120.png 120w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-04-44-24x24.png 24w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-04-44-48x48.png 48w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-04-44-96x96.png 96w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/><\/p>\n<p><strong>2.<\/strong> Then click on create profiling groups.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-60701 size-full alignnone\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-06-34.png\" alt=\"\" width=\"798\" height=\"835\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-06-34.png 798w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-06-34-287x300.png 287w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-06-34-768x804.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-06-34-624x653.png 624w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-06-34-24x24.png 24w\" sizes=\"(max-width: 798px) 100vw, 798px\" \/><\/p>\n<p><strong>3.<\/strong> Enter Profile name and select the option where your application is running as you see in above screenshot.<\/p>\n<p><strong>4.<\/strong> Then click on create, you will see your profile has been created.<\/p>\n<p><strong>5.<\/strong> Now click on your created profile<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-60702 alignnone\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-10-24.png\" alt=\"\" width=\"1644\" height=\"873\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-10-24.png 1644w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-10-24-300x159.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-10-24-1024x544.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-10-24-768x408.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-10-24-1536x816.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-04-17-10-24-624x331.png 624w\" sizes=\"(max-width: 1644px) 100vw, 1644px\" \/><\/p>\n<p><strong>6.<\/strong> Follow the instructions given in the above screenshot and connect with your agent i.e your server where the application is running.<\/p>\n<p><strong>7.<\/strong> Wait for 10-15 minutes until your profile will be completed.<\/p>\n<p><strong>8.<\/strong> After that you will see that your profile has been created.<\/p>\n<p><strong>9.<\/strong> Click on any profile to see the outcome with recommendations to improve your application server.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-60703 alignnone\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-11-44-06-1.png\" alt=\"\" width=\"1612\" height=\"896\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-11-44-06-1.png 1612w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-11-44-06-1-300x167.png 300w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-11-44-06-1-1024x569.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-11-44-06-1-768x427.png 768w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-11-44-06-1-1536x854.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2024\/03\/Screenshot-from-2024-03-06-11-44-06-1-624x347.png 624w\" sizes=\"(max-width: 1612px) 100vw, 1612px\" \/><\/p>\n<h2>Key Features<\/h2>\n<p><b>\u25cf Machine Learning:<\/b> CodeGuru Security goes beyond traditional SAST tools by incorporating machine learning algorithms. This enables it to understand your code&#8217;s context, making the detection of potential security issues more accurate and insightful.<\/p>\n<p><b>\u25cf Automated Reasoning:<\/b> The tool employs automated reasoning, adding a layer of intelligent analysis to identify complex vulnerabilities that might be overlooked by conventional static analysis tools. This ensures a comprehensive and robust security assessment.<\/p>\n<p><b>\u25cf Actionable Recommendations:<\/b> CodeGuru Security doesn&#8217;t stop at pointing out weaknesses. It excels in offering clear, actionable recommendations on how to address identified vulnerabilities. This empowers developers with the knowledge and guidance needed to enhance the security posture of their applications.<\/p>\n<p><b>\u25cf Vulnerability Tracking:<\/b> Keeping tabs on the status of identified vulnerabilities is crucial. CodeGuru Security simplifies this process by providing a streamlined approach to track vulnerabilities from their discovery through to closure. This aids in maintaining a proactive and organized security response.<\/p>\n<h2>Supported environments or Integrations<\/h2>\n<ul>\n<li>\n<h3><b>CodeGuru Security (Preview)<\/b><\/h3>\n<\/li>\n<\/ul>\n<ol>\n<li>Java, Python, JavaScript, TypeScript, C#, CloudFormation, and Terraform<\/li>\n<li>GitHub, Bitbucket, GitLab, AWS CodePipeline, AWS CLI, IDE, JupyterLab Notebooks, SageMaker Studio Notebooks, Amazon Inspector<\/li>\n<li>You will find detailed information about CodeGuru&#8217;s security and code quality detectors in the provided link below. https:\/\/docs.aws.amazon.com\/codeguru\/detector-library\/<\/li>\n<\/ol>\n<ul>\n<li>\n<h3><b>CodeGuru Profiler<\/b><\/h3>\n<\/li>\n<\/ul>\n<ol>\n<li>Java and other JVM languages, Python<\/li>\n<li>EC2, EKS, ECS, Fargate, Lambda, or on-premises<\/li>\n<\/ol>\n<p><b>CodeGuru Reviewer<\/b><\/p>\n<ol>\n<li>Java, Python<\/li>\n<li>GitHub, GitHub Enterprise, CodeCommit, Bitbucket<\/li>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ol>\n<h2>Conclusions<\/h2>\n<p>AWS CodeGuru integrates machine learning and automated reasoning to enhance code security, performance, and quality. CodeGuru Security employs ML and automated reasoning for accurate vulnerability detection, providing actionable recommendations and streamlined vulnerability tracking. CodeGuru Profiler visualizes application performance, and CodeGuru Reviewer automates code review with language support for Java and Python. The tool&#8217;s versatility extends to various languages, version control systems, and cloud environments, offering a comprehensive solution for developers seeking intelligent insights and improvements in their applications.<\/p>\n<p>Follow us for more such blogs on trending topics like GitHub.<\/p>\n<div class=\"ap-custom-wrapper\"><\/div><!--ap-custom-wrapper-->","protected":false},"excerpt":{"rendered":"<p>Introduction AWS CodeGuru utilizes Machine Learning and Automated Reasoning to identify security and quality issues in your application code, offering guidance on addressing and resolving them. It provides a comprehensive offering of functionalities like: \u25cf Code Review with Amazon CodeGuru Reviewer: This tool Profiler visualizes your application performance, showing you the methods that take the [&hellip;]<\/p>\n","protected":false},"author":1740,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":16},"categories":[2348],"tags":[5697],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/60704"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/1740"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=60704"}],"version-history":[{"count":5,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/60704\/revisions"}],"predecessor-version":[{"id":60998,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/60704\/revisions\/60998"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=60704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=60704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=60704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}