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

2. SonarQube Overview: Features and Architecture

  • Essential services, database, 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 UI

  • A tour of the server interface: projects, issues, rules, metrics, and governance views.
  • Analyzing issue pages, traceability, and remediation recommendations.
  • Options for generating and exporting reports.

4. Configuring SonarScanner with Build Tools

  • Setup for Maven, Gradle, Ant, and MSBuild.
  • Best practices for scanner properties, exclusions, and multi-module projects.
  • Generating necessary test data and coverage reports for precise analysis.

5. Azure DevOps Integration

  • Establishing SonarQube service connections in Azure DevOps.
  • Implementing SonarQube tasks in Azure Pipelines and adding PR decorations.
  • Importing Azure Repos into SonarQube and automating analysis processes.

6. Project Configuration and Third-Party Analyzers

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

7. Roles, Responsibilities, and Secure Development Methodology

  • Segregation of duties: developers, reviewers, DevOps, and security owners.
  • Creating a roles and responsibilities matrix for CI/CD processes.
  • Reviewing and recommending improvements to existing secure development methodologies.

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

  • Utilizing the SonarQube Web API to add and manage custom rules.
  • Adjusting Quality Gates and enforcing automated policies.
  • Hardening SonarQube server security and access control best practices.

9. Hands-on Lab Sessions (Practical Application)

  • Lab A: Configure SonarScanner for five Java repositories (Quarkus where applicable) and analyze outcomes.
  • Lab B: Set up Sonar analysis for one Angular front-end project and interpret findings.
  • Lab C: End-to-end pipeline lab—integrate SonarQube with an Azure DevOps pipeline and enable PR decorations.

10. Testing, Troubleshooting, and Report Interpretation

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

Summary and Next Steps

Requirements

  • A solid grasp of the software development lifecycle.
  • Hands-on experience with source control and fundamental CI/CD principles.
  • Proficiency in Java or Angular development environments.

Target Audience

  • Developers (Java / Quarkus / Angular).
  • DevOps and CI/CD engineers.
  • Security engineers and application security auditors.

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories