Socket
Socket
Sign inDemoInstall

gitlab.com/gitlab-org/security-products/analyzers/bundler-audit/v2

Package Overview
Dependencies
9
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gitlab.com/gitlab-org/security-products/analyzers/bundler-audit/v2


Version published

Readme

Source

This project's issue tracker has been disabled, if you wish to create an issue or bug please follow these directions.

REMOVAL WARNING: This analyzer has been replaced by Gemnasium and is no longer in use as of GitLab 15.0. For more information, see the removal issue.

bundler-audit analyzer

Dependency Scanning for Ruby projects. It's based on bundler-audit.

This analyzer is written in Go using the common library shared by all analyzers.

The common library contains documentation on how to run, test and modify this analyzer.

How to update the upstream Scanner

  • Check for the latest version at https://github.com/rubysec/bundler-audit/tags.
  • Compare with the value of SCANNER_VERSION in the Dockerfile.
  • If an update is available, create a branch where SCANNER_VERSION is updated and open a Merge Request.
  • Check for possible new security vulnerabilities by following the process in our handbook.
  • Check for possible license update by following the process in our handbook.

Running the analyzer in airgapped or internal networks

By default, this analyzer will make a network call to update its internal advisory DB (https://github.com/rubysec/ruby-advisory-db.git) at scan time.

  1. To prevent any scan-time updates use BUNDLER_AUDIT_UPDATE_DISABLED="true".
  2. To ensure the advisory DB is up to date against a fork you control, use BUNDLER_AUDIT_ADVISORY_DB_URL and BUNDLER_AUDIT_ADVISORY_DB_REF_NAME.

Note:

  • BUNDLER_AUDIT_ADVISORY_DB_URL is the Git URL of the advisory DB bundler-audit gem uses (forked from https://github.com/rubysec/ruby-advisory-db.git repository and following the same internal structure).
  • BUNDLER_AUDIT_ADVISORY_DB_REF_NAME is Git the ref name in the advisory DB above (can be a commit hash, a branch, or a tag name).

Contributing

Contributions are welcome, see CONTRIBUTING.md for more details.

License

This code is distributed under the MIT license, see the LICENSE file.

FAQs

Last updated on 12 May 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc