ハイブリッドモード、段階的コンポーネント書き換え、依存性注入更新を使用してAngularJSからAngularへ移行します。AngularJSアプリケーションのアップグレード、フレームワーク移行の計画、またはレガシーAngularコードのモダナイゼーション時に使用します。
The English summary is being prepared. Showing the original description.
アプリケーションコードでの自動脆弱性検出のための静的アプリケーションセキュリティテスト(SAST)ツールを設定します。セキュリティスキャンの設定、DevSecOps実践の実装、またはコード脆弱性検出の自動化時に使用してください。
The English summary is being prepared. Showing the original description.
Review the instructions the agent will receive before you install.
English | 日本語
複数のプログラミング言語にわたる包括的なセキュリティスキャンのための静的アプリケーションセキュリティテスト(SAST)ツールのセットアップ、設定、カスタムルール作成。
このスキルは、Semgrep、SonarQube、CodeQLを含むSASTツールのセットアップと設定に関する包括的なガイダンスを提供します。次のような場合に使用します:
# Semgrepクイックスタート
pip install semgrep
semgrep --config=auto --error
# DockerでSonarQube
docker run -d --name sonarqube -p 9000:9000 sonarqube:latest
# CodeQL CLIセットアップ
gh extension install github/gh-codeql
codeql database create mydb --language=python
# GitHub Actionsの例
- name: Run Semgrep
uses: returntocorp/semgrep-action@v1
with:
config: >-
p/security-audit
p/owasp-top-ten
# .pre-commit-config.yaml
- repo: https://github.com/returntocorp/semgrep
rev: v1.45.0
hooks:
- id: semgrep
args: ['--config=auto', '--error']
ベースラインから開始
段階的導入
誤検知管理
パフォーマンス最適化
チーム支援
./scripts/run-sast.sh --setup --language python --tools semgrep,sonarqube
# 詳細な例はreferences/semgrep-rules.mdを参照
rules:
- id: hardcoded-jwt-secret
pattern: jwt.encode($DATA, "...", ...)
message: JWTシークレットはハードコードすべきではありません
severity: ERROR
# PCI-DSS重視スキャン
semgrep --config p/pci-dss --json -o pci-scan-results.json
| ツール | 最適用途 | 言語サポート | コスト | 統合 |
|---|---|---|---|---|
| Semgrep | カスタムルール、高速スキャン | 30以上の言語 | 無料/エンタープライズ | 優秀 |
| SonarQube | コード品質+セキュリティ | 25以上の言語 | 無料/商用 | 良好 |
| CodeQL | 深い分析、研究 | 10以上の言語 | 無料(OSS) | GitHubネイティブ |
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
ハイブリッドモード、段階的コンポーネント書き換え、依存性注入更新を使用してAngularJSからAngularへ移行します。AngularJSアプリケーションのアップグレード、フレームワーク移行の計画、またはレガシーAngularコードのモダナイゼーション時に使用します。
The English summary is being prepared. Showing the original description.
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates. Use when upgrading AngularJS applications, planning framework migrations, or modernizing legacy Angular code.
The English summary is being prepared. Showing the original description.
開発者を喜ばせる直感的でスケーラブルで保守可能なAPIを構築するために、RESTとGraphQL APIの設計原則をマスターします。新しいAPIの設計、API仕様のレビュー、またはAPI設計標準の確立時に使用してください。
The English summary is being prepared. Showing the original description.
Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.
The English summary is being prepared. Showing the original description.
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use when architecting complex backend systems or refactoring existing applications for better maintainability.
The English summary is being prepared. Showing the original description.
クリーンアーキテクチャ、ヘキサゴナルアーキテクチャ、ドメイン駆動設計を含む実証済みのバックエンドアーキテクチャパターンを実装します。複雑なバックエンドシステムの設計や、保守性向上のための既存アプリケーションのリファクタリング時に使用します。
The English summary is being prepared. Showing the original description.