Apache License 2.0

项目介绍

bomfather/minefield 是一个托管在 GitHub 上的开源项目,主要使用 Go 编写,采用 Apache License 2.0 许可证,目前获得 733 个 Star、26 次 Fork。

仓库全名
bomfather/minefield
开源许可证
Apache License 2.0
Star 数
733
Fork 数
26

README 摘要

BitBom Minefield (ARCHIVED) ⚠️ IMPORTANT: This repository is archived and no longer maintained. 🌐 Web • 📝 Demos • 📚 Docs • 📰 Blog BitBom Minefield uses roaring Bitmaps to graph SBOMs with four main fundamentals: Speed: Optimized for rapid data processing. Air-Gapped: Operates securely in isolated environments. Scalable: Supports millions of nodes effortlessly. Customizable: Allows users to extend the project…

完整内容见 GitHub 原始 README 或本页 。

常见问题

minefield 用什么语言开发?

主要使用 Go 编写,采用 Apache License 2.0 许可证,目前有 733 个 Star。

minefield 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 minefield 的源码?

可以直接克隆仓库:git clone https://github.com/bomfather/minefield.git;安装与运行步骤见仓库 README。

minefield 最近还在维护吗?

仓库最近一次更新为 2025年8月29日,当前没有未关闭的 Issue;Star 数为 733,可作为社区活跃度的参考。

关于

Graphing SBOM's Fast.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
1518
价值分
520
活跃状态
归档

README

BitBom Minefield (ARCHIVED)

⚠️ IMPORTANT: This repository is archived and no longer maintained.

BitBom Long Logo

Go Report Card Build and Test

🌐 Web • 📝 Demos • 📚 Docs • 📰 Blog

BitBom Minefield uses roaring Bitmaps to graph SBOMs with four main fundamentals:

  • Speed: Optimized for rapid data processing.
  • Air-Gapped: Operates securely in isolated environments.
  • Scalable: Supports millions of nodes effortlessly.
  • Customizable: Allows users to extend the project without relying on upstream changes.

Terminal Output

An example of Minefield caching 10,000 SBOMs packages transitive dependents in 30 seconds.


Before moving on, please consider giving us a GitHub star ⭐️. Thank you!


Table of Contents

  1. Quickstart Guide
  2. Example
  3. To Start Using Minefield
  4. How Minefield Works
  5. Visualization of a Query
  6. Documentation
  7. Blog
  8. Star History
  9. Acknowledgements

View Minefield demo on asciinema

Quickstart Guide

  1. Start the server

    minefield server
    
  2. Ingest some data:

    minefield ingest sbom <sbom_file or sbom_dir>
    
  3. Cache the data:

    minefield cache
    
  4. Run a query:

    minefield query <query_string>
    

Example

  1. Start the API server:

    minefield server 
    
  2. Ingest the testdata/small SBOM directory:

    minefield ingest sbom testdata/small
    
  3. Cache the data:

    minefield cache
    
  4. Run the leaderboard custom with “dependents library”:

    • This command generates a ranked list of packages, ordered by the number of other packages that depend on them.
    minefield leaderboard custom "dependents library"
    
  5. Run a query on the top value from the leaderboard:

    • This command queries the dependents for a specific package, in this case dep2.
    minefield query custom "dependents library pkg:[email protected]"
    
  6. Run queries to see the shared dependencies of lib-A and dep1, and lib-A and lib-B:

    • These queries output the intersection of two queries, finding package dependencies shared between each pair.
    minefield query custom "dependencies library pkg:[email protected] and dependencies library pkg:[email protected]"
    

To Start Using Minefield

Using Docker

docker pull ghcr.io/bitbomdev/minefield:latest
docker run -it ghcr.io/bitbomdev/minefield:latest

Building From Source

git clone [email protected]:bitbomdev/minefield.git
cd minefield
go build -o minefield main.go
./minefield

How Minefield Works

The design decisions and architecture of Minefield can be found here.

Air-Gapped Design Philosophy

Minefield is primarily designed as an air-gapped solution, operating seamlessly without internet connectivity. It makes it ideal for secure environments that require complete isolation from external networks.

  • Offline Operation: All functionalities, including data ingestion, caching, querying, and visualization, are performed locally without external dependencies.

  • Enhanced Security: Operating in an air-gapped environment minimizes the risk of data breaches and unauthorized access, ensuring that sensitive information remains within your controlled infrastructure.

  • Data Sovereignty: Users have complete control over their data, with no external transmissions, adhering to strict compliance and regulatory requirements.

  • Efficiency: Minefield is optimized for performance and can handle large datasets quickly even without network resources.

Minefield makes it easy to securely and efficiently manage and explore your software dependencies within isolated environments by offline processing and analyzing SBOMs (Software Bill of Materials).

Visualization of a Query

Query Visualization

Blog

Stay updated with the latest news and insights by visiting our Blog.

Star History

Star History Chart

Acknowledgements

评论

暂无评论