Skip to content

Change capa-rules version in installation guide#2965

Open
eversinc33 wants to merge 1 commit intomandiant:masterfrom
eversinc33:master
Open

Change capa-rules version in installation guide#2965
eversinc33 wants to merge 1 commit intomandiant:masterfrom
eversinc33:master

Conversation

@eversinc33
Copy link

@eversinc33 eversinc33 commented Mar 23, 2026

Updated the installation instructions to reflect the newest version of capa-rules.

The old version 4.0.0 that was listed isn't even supported anymore, so following the guide does not lead to being able to run capa.

Checklist

  • No CHANGELOG update needed
  • No new tests needed
  • No (further) documentation update needed
  • This submission includes AI-generated code and I have provided details in the description.

Updated the installation instructions to reflect the newest version of capa-rules.
@google-cla
Copy link

google-cla bot commented Mar 23, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add bug fixes, new features, breaking changes and anything else you think is worthwhile mentioning to the master (unreleased) section of CHANGELOG.md. If no CHANGELOG update is needed add the following to the PR description: [x] No CHANGELOG update needed

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses an issue in the installation guide where an outdated version of capa-rules was specified. By updating the version number, the instructions now accurately guide users through the setup process, ensuring they can successfully install and utilize capa with the correct rule set.

Highlights

  • Installation Guide Update: The doc/installation.md file has been updated to reflect the current version of capa-rules (v9.3.1) in the installation instructions. This corrects an issue where the previously listed version (v4.0.0) was unsupported, preventing users from successfully running capa.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions github-actions bot dismissed their stale review March 23, 2026 18:06

CHANGELOG updated or no update needed, thanks! 😄

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the capa-rules version in the installation documentation from v4.0.0 to v9.3.1. The review suggests an improvement to the installation instructions by making the example capa command more specific, using the actual directory name created after unzipping the rules, rather than a generic placeholder, to enhance clarity for users.

Comment on lines +33 to +34
$ wget https://github.com/mandiant/capa-rules/archive/refs/tags/v9.3.1.zip
$ unzip v9.3.1.zip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The version update is correct. For improved clarity, consider also updating the example capa command on the next line. Unzipping v9.3.1.zip creates a directory named capa-rules-9.3.1. Using this specific path in the example command instead of the generic placeholder /path/to/capa-rules would make the instructions easier to follow.

A suggested change for lines 33-35 would be:

$ wget https://github.com/mandiant/capa-rules/archive/refs/tags/v9.3.1.zip
$ unzip v9.3.1.zip
$ capa -r capa-rules-9.3.1/ suspicious.exe

While this change extends beyond the current diff, it would significantly improve the user experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant