Get in Touch
 Duration 21 hours

Course Outline

1. Concepts and Scope of Static Code Analysis

  • Definitions: static analysis, SAST, rule categories, and severity levels
  • The role of static analysis in a secure SDLC and risk coverage
  • Positioning SonarQube within security controls and developer workflows

2. SonarQube Overview: Features and Architecture

  • Core services, database structure, and scanner components
  • Quality Gates, Quality Profiles, and best practices for governance
  • Security-focused features: vulnerabilities, SAST rules, and CWE mapping

3. Navigating the SonarQube Server UI

  • Tour of the Server UI: projects, issues, rules, measures, and governance views
  • Interpreting issue pages, traceability, and remediation guidance
  • Generating and exporting reports

4. Configuring SonarScanner with Build Tools

  • Setup for SonarScanner with Maven, Gradle, Ant, and MSBuild
  • Best practices for scanner properties, exclusions, and multi-module projects
  • Generating necessary test data and coverage reports for accurate analysis

5. Integration with Azure DevOps

  • Configuring SonarQube service connections within Azure DevOps
  • Adding SonarQube tasks to Azure Pipelines and enabling PR decoration
  • Importing Azure Repos into SonarQube and automating analysis runs

6. Project Configuration and Third-Party Analyzers

  • Defining project-level Quality Profiles and selecting rules for Java and Angular
  • Working with third-party analyzers and managing the plugin lifecycle
  • Defining analysis parameters and handling parameter inheritance

7. Roles, Responsibilities, and Secure Development Methodology Review

  • Segregation of roles: developers, reviewers, DevOps, and security owners
  • Constructing a roles & responsibilities matrix for CI/CD processes
  • Reviewing and refining existing secure development methodologies

8. Advanced: Adding Rules, Tuning, and Enhancing Global Security Features

  • Using the SonarQube Web API to add and manage custom rules
  • Adjusting Quality Gates and enforcing automated policies
  • Hardening SonarQube server security and implementing access control best practices

9. Applied Hands-on Lab Sessions

  • Lab A: Configure SonarScanner for 5 Java repositories (using Quarkus where applicable) and analyze results
  • Lab B: Configure Sonar analysis for 1 Angular front-end and interpret findings
  • Lab C: Full pipeline lab—integrate SonarQube with an Azure DevOps pipeline and enable PR decoration

10. Testing, Troubleshooting, and Report Interpretation

  • Strategies for generating test data and measuring coverage
  • Addressing common issues: troubleshooting scanner, pipeline, and permission errors
  • Reading and presenting SonarQube reports to both technical and non-technical stakeholders

11. Best Practices and Recommendations

  • Selecting rule sets and implementing incremental enforcement strategies
  • Workflow recommendations for developers, reviewers, and build pipelines
  • Roadmap for scaling SonarQube in enterprise environments

Summary and Next Steps

Requirements

  • A solid understanding of the software development lifecycle.
  • Practical experience with source control and fundamental CI/CD concepts.
  • Familiarity with Java or Angular development environments.

Target Audience

  • Developers (Java / Quarkus / Angular)
  • DevOps and CI/CD engineers
  • Security engineers and application security reviewers

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories