# 使用 Homebrew 安装 datadog-static-analyzer

查看 datadog-static-analyzer 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:datadog-static-analyzer
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install datadog-static-analyzer
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:datadog-static-analyzer
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/datadog-static-analyzer>
- **版本:** 0.9.0
- **来源摘要:** Static analysis tool for code quality and security
- **主页:** <https://docs.datadoghq.com/security/code_security/static_analysis/>
- **仓库:** <https://github.com/DataDog/datadog-static-analyzer>
- **上游文档:** <https://docs.datadoghq.com/security/code_security/static_analysis/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/DataDog/datadog-static-analyzer/archive/refs/tags/0.9.0.tar.gz>
- **最后更新:** 2026-07-24T15:06:54Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- datadog-static-analyzer (cli)
- datadog-static-analyzer-git-hook (cli)
- datadog-static-analyzer (别名)
- datadog-static-analyzer-git-hook (别名)

## 依赖

- openssl@4

## 构建依赖

- pkgconf
- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.9.0
- 管理器更新时间: 2026-07-24
- 本地数据: OK
- 上游仓库: https://github.com/DataDog/datadog-static-analyzer
- 检测到的最新版本: 0.9.0 (当前)
## 项目历史与用法

Datadog Static Analyzer is the command-line static analysis engine for Datadog Static Code Analysis.

### 项目历史

The public Datadog repository was created in July 2023 and published an initial 0.0.1 release that same month. Its README positions the analyzer as the engine behind Datadog's SAST product and documents direct CLI, Docker, CI/CD, and IDE usage.

### 采用历史

Adoption follows Datadog's Code Security product rather than a standalone community plugin model: the official docs describe scans in CI/CD pipelines or hosted scanning, pull-request feedback, IDE integrations, and Datadog result views.

### 使用方式

Users run `datadog-static-analyzer` against a directory and emit CSV or SARIF-style reports, optionally selecting rules through a `code-security.datadog.yaml` file at the repository root.

### 为什么软件包爱好者会关心

For package managers, the analyzer is notable because it packages a vendor SAST engine as a local binary that can run outside the Datadog UI while still feeding Datadog-oriented code-security workflows.

### 时间线

- 2023: Public repository created and 0.0.1 initial release published.
- 2026: 0.8.x releases show continuing binary distribution through GitHub releases.

### Related projects

- Official integrations include a GitHub Action, a CircleCI orb, Datadog IDE plugins, and the broader Datadog Code Security product.

### 来源

- <https://github.com/DataDog/datadog-static-analyzer#readme>
- <https://github.com/DataDog/datadog-static-analyzer/releases/tag/0.0.1>
- <https://github.com/DataDog/datadog-static-analyzer/releases/tag/0.8.7>
- <https://docs.datadoghq.com/security/code_security/static_analysis>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: code-security.datadog.yaml, static-analysis.datadog.yml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** datadog-static-analyzer
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openssl@4](https://pkg.so/zh-hans/brew/openssl-4/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [semgrep](https://pkg.so/zh-hans/brew/semgrep/) - Shares pkgdb curated category or tags: cli, developer-tools, security, static-analysis.
- [eslint](https://pkg.so/zh-hans/brew/eslint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [mypy](https://pkg.so/zh-hans/brew/mypy/) - Shares pkgdb curated category or tags: cli, developer-tool, developer-tools, static-analysis.
- [pylint](https://pkg.so/zh-hans/brew/pylint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [phpstan](https://pkg.so/zh-hans/brew/phpstan/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [pmd](https://pkg.so/zh-hans/brew/pmd/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [checkstyle](https://pkg.so/zh-hans/brew/checkstyle/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [luacheck](https://pkg.so/zh-hans/brew/luacheck/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [pyscn](https://pkg.so/zh-hans/brew/pyscn/) - Local package facts share a topical domain. Shared terms: analysis, analyzer, cli, code, code-quality.

## Combined YAML source

View the package source record on GitHub. [combined/datadog-static-analyzer.yml](https://github.com/mxcl/pkgdb/blob/main/combined/datadog-static-analyzer.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
