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 and scope of static analysis within a secure SDLC and its risk coverage.
  • Understanding how SonarQube aligns with security controls and developer workflows.

2. SonarQube Overview: Features and Architecture

  • Essential components: core services, database, and scanner elements.
  • Best practices for Quality Gates, Quality Profiles, and their effective application.
  • Security-focused features: vulnerability detection, SAST rules, and CWE mapping.

3. Navigating the SonarQube Server UI

  • A comprehensive tour of the Server UI: projects, issues, rules, measures, and governance views.
  • Interpreting issue pages, understanding traceability, and following remediation guidance.
  • Options for report generation and data export.

4. Configuring SonarScanner with Build Tools

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

5. Integration with Azure DevOps

  • Establishing SonarQube service connections within Azure DevOps.
  • Incorporating SonarQube tasks into Azure Pipelines and implementing PR decoration.
  • Importing Azure Repos into SonarQube to automate the analysis process.

6. Project Configuration and Third-Party Analyzers

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

7. Roles, Responsibilities, and Secure Development Methodology Review

  • Clarifying role segregation: developers, reviewers, DevOps, and security owners.
  • Developing a roles and responsibilities matrix for CI/CD processes.
  • Reviewing and recommending improvements to 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.
  • Fine-tuning Quality Gates and enforcing automated policies.
  • Hardening SonarQube server security and implementing access control best practices.

9. Hands-on Lab Sessions (Applied)

  • Lab A: Configure SonarScanner for five Java repositories (using Quarkus where applicable) and analyze the results.
  • Lab B: Set up Sonar analysis for an Angular front-end project and interpret the findings.
  • Lab C: Execute a full pipeline lab by integrating SonarQube with an Azure DevOps pipeline and enabling PR decoration.

10. Testing, Troubleshooting, and Report Interpretation

  • Strategies for generating test data and measuring coverage.
  • Addressing common issues and troubleshooting scanner, pipeline, and permission errors.
  • Methods for reading and presenting SonarQube reports to both technical and non-technical stakeholders.

11. Best Practices and Recommendations

  • Selecting appropriate rule sets and implementing incremental enforcement strategies.
  • Workflow recommendations for developers, reviewers, and build pipelines.
  • A roadmap for scaling SonarQube within enterprise environments.

Summary and Next Steps

Requirements

  • A foundational understanding of the software development lifecycle.
  • Practical experience with source control systems and basic 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