Get in Touch
 Duration 21 hours

Course Outline

1. Fundamentals and Application Scope of Static Code Analysis

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

2. SonarQube Insight: Capabilities and Architecture

  • Essential services, database structures, and scanner components.
  • Optimizing Quality Gates, Quality Profiles, and related best practices.
  • Security features: vulnerability detection, SAST rules, and CWE mapping.

3. Navigating the SonarQube Server Interface

  • Guided tour of the server UI: projects, issues, rules, metrics, and governance dashboards.
  • Analyzing issue pages, traceability paths, and remediation strategies.
  • Options for generating and exporting reports.

4. Configuring SonarScanner with Build Tools

  • Implementation of SonarScanner for Maven, Gradle, Ant, and MSBuild.
  • Best practices for scanner properties, exclusion rules, and multi-module projects.
  • Creating essential test data and coverage reports for precise analysis.

5. Azure DevOps Integration

  • Establishing SonarQube service connections within Azure DevOps.
  • Incorporating SonarQube tasks into Azure Pipelines and Pull Request decorations.
  • Connecting Azure Repos to SonarQube and automating analysis workflows.

6. Project Settings and Third-Party Analyzers

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

7. Roles, Duties, and Secure Development Methodology Assessment

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

8. Advanced: Rule Creation, Tuning, and Global Security Enhancements

  • Leveraging the SonarQube Web API to create and manage custom rules.
  • Refining Quality Gates and enforcing automated policies.
  • Strengthening SonarQube server security and access control protocols.

9. Practical Laboratory Sessions (Application)

  • Lab A: Set up SonarScanner for five Java repositories (including Quarkus where relevant) and evaluate outcomes.
  • Lab B: Configure Sonar analysis for one Angular front-end project and interpret results.
  • Lab C: Comprehensive pipeline lab—integrating SonarQube with an Azure DevOps pipeline and activating PR decorations.

10. Testing, Debugging, and Report Analysis

  • Techniques for generating test data and measuring coverage.
  • Resolving common scanner, pipeline, and permission-related errors.
  • Presenting SonarQube reports to both technical and non-technical stakeholders.

11. Best Practices and Strategic Recommendations

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

Conclusion and Future Steps

Requirements

  • A solid grasp of the software development lifecycle.
  • Practical experience with version control systems and foundational CI/CD principles.
  • Proficiency with Java or Angular development environments.

Target Audience

  • Software Developers (Java / Quarkus / Angular)
  • DevOps and CI/CD Engineers
  • Security Engineers and Application Security Auditors

Testimonials (1)

Upcoming Courses

Related Categories