Get in Touch
 Duration 21 hours

Course Outline

1. Concepts and Scope of Static Code Analysis

  • Key definitions: static analysis, SAST, rule categories, and severity levels
  • The role of static analysis in a secure SDLC and its risk coverage scope
  • How SonarQube aligns with 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 implementation
  • Security features: vulnerability detection, 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, tracking traceability, and following remediation guidance
  • Options for generating and exporting reports

4. Configuring SonarScanner with Build Tools

  • Setting up SonarScanner for Maven, Gradle, Ant, and MSBuild
  • Best practices for scanner properties, exclusions, and managing multi-module projects
  • Generating necessary test data and coverage reports to ensure accurate analysis

5. Integration with Azure DevOps

  • Configuring SonarQube service connections within Azure DevOps
  • Incorporating SonarQube tasks into Azure Pipelines and implementing PR decoration
  • Importing Azure Repos into SonarQube to automate analysis processes

6. Project Configuration and Third-Party Analyzers

  • Project-level Quality Profiles and rule selection for Java and Angular
  • Utilizing third-party analyzers and understanding the plugin lifecycle
  • Defining analysis parameters and managing parameter inheritance

7. Roles, Responsibilities, and Secure Development Methodology Review

  • Role segregation: developers, reviewers, DevOps, and security owners
  • Creating a roles and responsibilities matrix for CI/CD processes
  • Reviewing and recommending improvements for existing secure development methodologies

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

  • Leveraging the SonarQube Web API to add and manage custom rules
  • Tuning Quality Gates and enforcing automated policies
  • Best practices for hardening SonarQube server security and access control

9. Hands-on Lab Sessions (Applied)

  • Lab A: Configure SonarScanner for five Java repositories (including Quarkus where applicable) and analyze the results
  • Lab B: Set up Sonar analysis for one Angular front-end project and interpret the findings
  • Lab C: A full pipeline exercise—integrate SonarQube with an Azure DevOps pipeline and enable PR decoration

10. Testing, Troubleshooting, and Report Interpretation

  • Strategies for test data generation and coverage measurement
  • Identifying common issues and troubleshooting scanner, pipeline, and permission errors
  • Techniques for 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
  • Developing a 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