Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Sonar6.0 application part 5: Sonar web analysis configuration

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

First, exclude code directories and files that do not need to be scanned

1. Log in to Sonar as an administrator and enter the configuration-- "General Settings--" exclude-- excluded source files.

Second, the language code scanning rules required for installation

1. Enter the configuration-"system -" Update Center-"Available"

2. The rules for vulnerabilities, violations, and BUG scanning for Jave development can be as follows

Configure code scanning rules

1. Enter the configuration-"General Settings -" Java, JaveScript, SCM, and technical debt to modify as needed. Generally, you can do so by default.

Fourth, quality configuration, setting default scanning rules for each language

Fifth, code rule setting

If you think that some scanning rules are too strict, you can "suspend" them, and later built code will no longer use this rule when scanning the project, such as suspending a BUG rule in JP:

You need to set the severity of the rule when you activate the code

Click the active rule name to set the severity level of the rule

VI. Allocation indicators

1. Modify a filter for dashboard display

Modify column

Add the most commonly used columns

2. Set up a private filter to display the file name where BUG is located

Copy a filter before configuring it

Set indicators in "more conditions"

7. Configure the dashboard

Change the name of the dashboard

Enter the dashboard configuration interface

Sample dashboard that has been configured

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report