Get in Touch
 Duration 21 hours

Course Outline

1. Static Code Analysis: Concepts and Scope

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

2. SonarQube Overview: Features and Architecture

  • Essential components: core services, database, and scanners
  • Best practices for Quality Gates, Quality Profiles, and governance
  • Security capabilities: vulnerability detection, SAST rules, and CWE mapping

3. Navigating the SonarQube Server UI

  • Overview of the Server UI: projects, issues, rules, metrics, and governance views
  • Analyzing issue pages, ensuring traceability, and following remediation advice
  • Generating and exporting reports

4. Configuring SonarScanner with Build Tools

  • Setup for Maven, Gradle, Ant, and MSBuild
  • Optimizing scanner properties, handling exclusions, and managing multi-module projects
  • Generating test data and coverage reports for precise analysis

5. Azure DevOps Integration

  • Establishing SonarQube service connections in Azure DevOps
  • Incorporating SonarQube tasks into Azure Pipelines and enabling PR decoration
  • Importing Azure Repos into SonarQube for automated analysis

6. Project Configuration and Third-Party Analyzers

  • Configuring project-level Quality Profiles and selecting rules for Java and Angular
  • Managing third-party analyzers and the plugin lifecycle
  • Setting analysis parameters and understanding parameter inheritance

7. Roles, Responsibilities, and Secure Development Methodology

  • Defining role separation: developers, reviewers, DevOps, and security owners
  • Developing a roles & responsibilities matrix for CI/CD processes
  • Evaluating and recommending improvements to existing secure development methodologies

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

  • Leveraging the SonarQube Web API for adding and managing custom rules
  • Refining Quality Gates and enforcing automated policies
  • Strengthening SonarQube server security and access control protocols

9. Applied Hands-on Lab Sessions

  • Lab A: Configure SonarScanner for five Java repositories (including Quarkus where relevant) and review outcomes
  • Lab B: Set up Sonar analysis for an Angular front-end application and interpret results
  • Lab C: End-to-end pipeline exercise integrating SonarQube with Azure DevOps and activating PR decoration

10. Testing, Troubleshooting, and Report Analysis

  • Methods for test data generation and coverage assessment
  • 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 guidelines for developers, reviewers, and build pipelines
  • Scalability roadmap for enterprise-level SonarQube deployments

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

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