Get in Touch
 Duration 21 hours

Course Outline

1. Fundamentals and Scope of Static Code Analysis

  • Key definitions: static analysis, SAST, rule categories, and severity levels.
  • The role of static analysis in secure SDLC and risk mitigation.
  • Positioning SonarQube within security controls and developer workflows.

2. SonarQube Overview: Features and Architecture

  • Essential services, database structure, and scanner components.
  • Best practices for Quality Gates, Quality Profiles, and related standards.
  • Security-focused features: vulnerability detection, SAST rules, and CWE mapping.

3. Navigating the SonarQube Server Interface

  • Tour of the server UI: projects, issues, rules, metrics, and governance views.
  • Analyzing issue pages, tracking traceability, and following remediation advice.
  • 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.
  • Creating test data and coverage reports to ensure accurate analysis.

5. Integration with Azure DevOps

  • Establishing SonarQube service connections within Azure DevOps.
  • Incorporating SonarQube tasks into Azure Pipelines and enabling PR decoration.
  • Importing Azure Repos into SonarQube and automating analysis processes.

6. Project Configuration and Third-Party Analyzers

  • Project-specific Quality Profiles and rule selection for Java and Angular.
  • Managing third-party analyzers and understanding the plugin lifecycle.
  • Setting analysis parameters and managing parameter inheritance.

7. Roles, Responsibilities, and Secure Development Methodology

  • Role segregation: developers, reviewers, DevOps engineers, and security owners.
  • Developing a roles and responsibilities matrix for CI/CD processes.
  • Evaluating and recommending improvements to existing secure development methodologies.

8. Advanced Topics: Rule Management and Security Enhancement

  • Utilizing the SonarQube Web API to create and manage custom rules.
  • Refining Quality Gates and enforcing automated policies.
  • Securing the SonarQube server and implementing access control best practices.

9. Hands-on Lab Sessions (Practical Application)

  • Lab A: Configure SonarScanner for five Java repositories (including Quarkus where applicable) and analyze outcomes.
  • Lab B: Set up Sonar analysis for one Angular frontend project and interpret the results.
  • Lab C: Full pipeline exercise—integrating SonarQube with an Azure DevOps pipeline and activating PR decoration.

10. Testing, Troubleshooting, and Report Analysis

  • Techniques for test data generation and coverage measurement.
  • Diagnosing and resolving common scanner, pipeline, and permission errors.
  • Presenting SonarQube reports to both technical and non-technical stakeholders.

11. Best Practices and Strategic Recommendations

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

Summary and Future Steps

Requirements

  • A solid grasp of the software development lifecycle.
  • Proficiency with source control systems and fundamental CI/CD concepts.
  • Familiarity with Java or Angular development environments.

Target Audience

  • Developers working with Java, Quarkus, or Angular.
  • DevOps and CI/CD engineers.
  • Security engineers and application security reviewers.

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories