Course Outline
1. Concepts and Scope of Static Code Analysis
- Key definitions: static analysis, SAST, rule categories, and severity levels.
- The role of static analysis within a secure SDLC and its coverage of risks.
- How SonarQube aligns with security controls and developer workflows.
2. SonarQube Overview: Features and Architecture
- Core components, including services, databases, and scanners.
- Quality Gates, Quality Profiles, and best practices for their implementation.
- Security-specific features, such as vulnerability detection, SAST rules, and CWE mapping.
3. Navigating the SonarQube Server UI
- A tour of the Server UI, covering projects, issues, rules, metrics, and governance views.
- Interpreting issue pages, traceability data, and remediation advice.
- 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, exclusions, and managing multi-module projects.
- Generating essential test data and coverage reports for precise 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 to automate analysis processes.
6. Project Configuration and Third-Party Analyzers
- Selecting project-level Quality Profiles and rules for Java and Angular.
- Utilizing third-party analyzers and managing the plugin lifecycle.
- Defining analysis parameters and handling parameter inheritance.
7. Roles, Responsibilities, and Secure Development Methodology Review
- Segregation of duties among developers, reviewers, DevOps teams, and security owners.
- Building a roles and responsibilities matrix for CI/CD processes.
- Reviewing and suggesting improvements to existing secure development methodologies.
8. Advanced Topics: Adding Rules, Tuning, and Enhancing Global Security Features
- Utilizing 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. Hands-on Lab Sessions (Applied)
- Lab A: Configure SonarScanner for five Java repositories (using Quarkus where applicable) and analyze the outcomes.
- Lab B: Set up Sonar analysis for an Angular front-end project and interpret the findings.
- Lab C: A 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 code coverage.
- Addressing common issues related to scanners, pipelines, and permission errors.
- How to read and present 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.
- A 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.
Custom Corporate Training
Training solutions designed exclusively for businesses.
- Customized Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
- Flexible Schedule: Dates and times adapted to your team's agenda.
- Format: Online (live), In-company (at your offices), or Hybrid.
Price per private group, online live training, starting from 4350 € + VAT*
Contact us for an exact quote and to hear our latest promotions
Testimonials (1)
Engaging, and hands on practise.