Configure scanning properties per persona
You can view and configure a variety of information, formatted into lists, that the Scan Engine uses to permit users, team leads, and admins to access content.
TeamDev scanning properties
You can specify whether to scan TeamDev code pushes that are pending a review. You can also specify the requirements they must meet to be automatically approved or rejected.
If you use TeamDev as a method for pushing code, the Scan Engine can be used to scan code pushes that are pending a code review. You scan these pushes for findings, as well as define the conditions to automatically approve or reject code reviews.
- Automatically scan pushes pending Code Review (
auto_scan_team_dev_pushes) - Automatically approve or reject pushes (
team_dev_auto_approve) - Approval condition (
team_dev_approval_condition)Note:The default approval condition istotal_errors=0. This means TeamDev code pushes with zero errors will be auto-approved. - Code reviewer user (
team_dev_user)
Users and administrators
This is a list that contains a record for each role given out in the system that is related to the Scan Engine.
Team leads
The team and team leads defined here can view the Team Lead information in the Analytics Dashboard.
- To define teams and team leads, select New.
- Configure the following fields and settings.
Field/Setting Description Active Determines if the Scan Engine Team Lead record is active. Team Name Specify the name of the team as it will appear in reports within the Scan Engine. Team Lead Identifies the team lead or manager of this group. My Team - Users Specify the user or list of users that are part of this team. My Team - Groups Specify the group or list of groups that are part of this team.
Set requirements for automatic approval or rejection
- Enable Automatically approve or reject pushes.
- Add a Code reviewer user for additional tracking.
You can see the table that will be used for checking scan results.
- Use the condition builder to specify the rules for how a code push is approved.
If it does not meet these rules, it will be rejected.
Note:By default, one condition is already set, which says that the total number of errors found must be zero.