Get in Touch
 Duration 21 hours

Course Outline

1. Fundamentals and Scope of Static Code Analysis

  • Key definitions: static analysis, SAST, rule categorization, 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: Capabilities and Architecture

  • Essential services, database structure, and scanner components.
  • Quality Gates, Quality Profiles, and best practices for their implementation.
  • Security-focused features: vulnerability detection, SAST rules, and CWE mapping.

3. Navigating the SonarQube Server UI

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

4. Configuring SonarScanner with Build Tools

  • Setting up SonarScanner for Maven, Gradle, Ant, and MSBuild.
  • Best practices for scanner properties, exclusion settings, and multi-module projects.
  • Generating necessary test data and coverage reports to ensure accurate analysis.

5. Integration with Azure DevOps

  • Establishing SonarQube service connections within Azure DevOps.
  • Incorporating SonarQube tasks into Azure Pipelines and enabling Pull Request decoration.
  • Importing Azure Repos into SonarQube and automating analysis workflows.

6. Project Configuration and Third-Party Analyzers

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

7. Roles, Responsibilities, and Secure Development Methodology Review

  • Role segregation: developers, reviewers, DevOps, and security owners.
  • Developing a roles and responsibilities matrix for CI/CD processes.
  • Evaluating and recommending improvements to existing secure development methodologies.

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

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

9. Applied Hands-on Lab Sessions

  • Lab A: Configure SonarScanner for five Java repositories (using Quarkus where applicable) and analyze the results.
  • Lab B: Set up Sonar analysis for one Angular front-end application and interpret the findings.
  • Lab C: A comprehensive pipeline lab integrating SonarQube with an Azure DevOps pipeline, including Pull Request decoration.

10. Testing, Troubleshooting, and Report Interpretation

  • Strategies for generating test data and measuring coverage.
  • Resolving common issues related to 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 strategies for incremental enforcement.
  • Workflow recommendations for developers, reviewers, and build pipelines.
  • A roadmap for scaling SonarQube in enterprise environments.

Summary and Next Steps

Requirements

  • A solid grasp of the software development lifecycle.
  • Proficiency with source control and fundamental 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 auditors.

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories