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 the secure SDLC and risk coverage.
  • How SonarQube aligns with security controls and developer workflows.

2. SonarQube Overview: Features and Architecture

  • Core services, database structure, and scanner components.
  • Best practices for Quality Gates, Quality Profiles, and governance.
  • Security features: vulnerability detection, SAST rules, and CWE mapping.

3. Navigating the SonarQube Server Interface

  • Guided tour of the UI: projects, issues, rules, metrics, and governance views.
  • Analyzing issue pages, traceability, and remediation guidance.
  • 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 multi-module projects.
  • Generating test data and coverage reports for accurate analysis.

5. Integration with Azure DevOps

  • Establishing SonarQube service connections in Azure DevOps.
  • Implementing SonarQube tasks in Azure Pipelines and enabling PR decoration.
  • Importing Azure Repos into SonarQube to automate analyses.

6. Project Configuration and Third-Party Analyzers

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

7. Roles, Responsibilities, and Secure Development Methodology

  • Defining roles: developers, reviewers, DevOps, and security owners.
  • Creating a roles and responsibilities matrix for CI/CD processes.
  • Evaluating and optimizing existing secure development methodologies.

8. Advanced Topics: Custom Rules, Tuning, and Global Security Enhancements

  • Leveraging the SonarQube Web API to add and manage custom rules.
  • Adjusting Quality Gates for automated policy enforcement.
  • Enhancing SonarQube server security and access control practices.

9. Applied Hands-on Lab Sessions

  • Lab A: Configure SonarScanner for five Java repositories (Quarkus where applicable) and analyze results.
  • Lab B: Set up Sonar analysis for an Angular front-end and interpret findings.
  • Lab C: Complete pipeline integration—connect SonarQube to an Azure DevOps pipeline and enable PR decoration.

10. Testing, Troubleshooting, and Report Analysis

  • Strategies for test data generation and coverage measurement.
  • Resolving common scanner, pipeline, and permission errors.
  • 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.
  • Scaling SonarQube for enterprise environments: a roadmap.

Summary and Next Steps

Requirements

  • Foundational understanding of the software development lifecycle.
  • Hands-on experience with source control and basic 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)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories