sast-configuration

Configure Semgrep, SonarQube, and CodeQL SAST tools in CI/CD pipelines.

322|45|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/Microck/ordinary-claude-skills --skill sast-configuration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sast-configuration
Source: https://github.com/Microck/ordinary-claude-skills/tree/main/sast-configuration
Command: npx skills add https://github.com/Microck/ordinary-claude-skills --skill sast-configuration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires semgrep, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Setting up and configuring Static Application Security Testing (SAST) tools is complex and time-consuming, often leading to missed vulnerabilities or inefficient scanning processes. This Skill streamlines the entire SAST workflow.

Core Features & Use Cases

  • Automated SAST Setup: Quickly configure tools like Semgrep, SonarQube, and CodeQL for various programming languages.
  • Custom Rule Creation: Develop and integrate custom security rules tailored to your codebase.
  • CI/CD Integration: Embed security scanning directly into your development pipelines for continuous vulnerability detection.
  • Use Case: When starting a new project, use this skill to automatically set up Semgrep and SonarQube in your CI/CD pipeline, ensuring all new code is scanned for common vulnerabilities before it's merged.

Quick Start

Configure Semgrep for my Python project and integrate it into GitHub Actions.

Frequently Asked Questions about sast-configuration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up SAST scanning for vulnerabilities in my code?

Static Application Security Testing (SAST) scans application code for security vulnerabilities automatically. Configure SAST tools like Semgrep, SonarQube, or CodeQL to detect issues across multiple languages, integrate them into CI/CD pipelines, and establish baseline scans and quality gates to catch vulnerabilities before deployment.

Can I integrate SAST tools into my CI/CD pipeline?

Yes. SAST tools embed directly into CI/CD workflows for continuous vulnerability detection on every commit. This Skill provides integration patterns and automation scripts for GitHub Actions, GitLab CI, and other platforms, enabling security gates that block merges when vulnerabilities exceed thresholds.

Does Semgrep work with multiple programming languages?

Semgrep supports multiple languages including Python, JavaScript, Java, Go, C, and others. You can configure it once and apply custom security rules across your entire multi-language codebase, then tune false positives and enforce consistent policy across all projects.

How do I reduce false positives in SAST scanning?

SAST tools generate false positives through overly broad rules. Tune detection by adjusting rule sensitivity, creating exceptions for specific patterns, building baseline scans to ignore existing issues, and developing custom rules tailored to your codebase's architecture and security requirements.

What's the difference between Semgrep, SonarQube, and CodeQL?

All three detect vulnerabilities but differ in approach: Semgrep uses pattern matching for fast feedback, SonarQube provides comprehensive code quality and security analysis, CodeQL enables custom query-based detection. Choose based on your language support needs, pipeline speed requirements, and rule customization depth.

Can I create custom security rules for my organization?

Yes. SAST tools allow custom rule development to enforce organization-specific security policies. Define rules for proprietary frameworks, dangerous API usage, or compliance requirements, then integrate them into automated scans across your CI/CD pipelines for consistent policy enforcement.