Get in Touch
 Duration 21 hours

Course Outline

1. Foundations and Scope of Static Code Analysis

  • Definitions: static analysis, SAST, rule categories, and severity levels
  • The role of static analysis in secure SDLC and risk coverage
  • How SonarQube aligns with security controls and developer workflows

2. SonarQube Overview: Key Features and Architecture

  • Core services, database structure, and scanner components
  • Best practices for Quality Gates, Quality Profiles, and related configurations
  • Security-centric features: vulnerability detection, SAST rules, and CWE mapping

3. Navigating and Utilizing the SonarQube Server Interface

  • Overview of the server UI: projects, issues, rules, measures, and governance views
  • Interpreting issue pages, traceability details, and 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 regarding scanner properties, exclusions, and multi-module projects
  • Generating essential 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 PR decoration
  • Importing Azure Repos into SonarQube and automating analysis processes

6. Project Configuration and Third-Party Analyzers

  • Selecting project-level Quality Profiles and 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 Review of Secure Development Methodologies

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

8. Advanced Topics: Adding Rules, Tuning, and Enhancing Global Security Features

  • 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 results
  • Lab B: Set up Sonar analysis for one Angular front-end application and interpret findings
  • Lab C: Comprehensive pipeline lab integrating SonarQube with an Azure DevOps pipeline and activating 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 Strategic Recommendations

  • Strategies for rule set selection and incremental enforcement
  • Workflow recommendations for developers, reviewers, and build pipelines
  • Roadmap for scaling SonarQube in enterprise environments

Summary and Next Steps

Requirements

  • A solid understanding of the software development lifecycle
  • Experience 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 reviewers

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories